CACHE94: SOFTWARE Messages: 23 Entries..

Return to Logbook Contents Page
Entry Date Title Site Author
72Fri 12-Aug-1994xstrip version in sun4/ needs update nonepa
78Fri 12-Aug-1994AIR sensor removed from dailyplots: nonesrs
102Mon 15-Aug-1994More changes for dailyplots: nonesrs
122Wed 17-Aug-1994Synch problem in fun.plot.prep nonepa
123Wed 17-Aug-1994Data Error in fast228200000 after 23:19 nonepa
152Sat 20-Aug-1994corrupted marigold.covar nonespo
162Mon 22-Aug-1994Analytic Applications IR hygrometer ins nonespo
163Mon 22-Aug-1994Tex and Latex nonespo
164Mon 22-Aug-1994Splus TRUNC_AUDIT nonespo
166Mon 22-Aug-1994'bkfiles' script modified nonejm
194Thu 25-Aug-1994Don't use did aliases? nonespo
208Sat 27-Aug-1994splus gobbled up swap? noneclm
231Thu 01-Sep-1994System Backup nonesn
242Fri 02-Sep-1994Delayed entry - xfssp devours swap spac nonesn
243Fri 02-Sep-1994t.AA.7.5.flux spikes fixed! nonesn
245Fri 02-Sep-1994xfssp definitely has a big memory leak noneSantiago Newbery
251Sat 03-Sep-1994realtime covar cosmos not running from 257 to 1600; jd 246noneCharlie Martin
255Sat 03-Sep-1994jd display added to tklognoneCharlie Martin
273Mon 05-Sep-1994System Backup donenoneSantiago Newbery
277Tue 06-Sep-1994new covariance group added; create_cdl breaksnoneCharlie Martin
278Tue 06-Sep-1994Whew, never again! (mucking around with covars)noneCharlie Martin
302Fri 09-Sep-1994Sugg. for improvement on xcockpitsnoneSantiago Newbery
314Sun 11-Sep-1994Removed non-existent props from prop.confignoneTom Horst


72: SOFTWARE /none Fri 12-Aug-1994 02:27:31 GMT xstrip version in sun4/ needs update
xstrip version in sun4/ needs update 
 
78: SOFTWARE /none Fri 12-Aug-1994 17:02:45 GMT AIR sensor removed from dailyplots:
AIR sensor removed from dailyplots: 
 
 Psyc.config.S was modified to remove the AIR 
sensor from daily plots starting on day 222. 
 
102: SOFTWARE /none Mon 15-Aug-1994 20:36:11 GMT More changes for dailyplots:
More changes for dailyplots: 
 
 Tony wanted co2 to be correlated to 
the atik sonic instead of solent. So 
sonic.config.S in sfun/CACHE94 was changed. 
This file was also changed to include 
"c.pvm.10m.walk". 
 
122: SOFTWARE /none Wed 17-Aug-1994 01:42:06 GMT Synch problem in fun.plot.prep
Synch problem in fun.plot.prep 
 
fun.plot.prep(c("co2.licor.10m.walk","u.atik.10m.walk"),1994,228) 
start 231930 
end   232000 
data are getting synched to 10Hz 
 
results in missing line segments in the co2.licor signal, instead of 
expected data fragmentation of u.atik signal. 
 
123: SOFTWARE /none Wed 17-Aug-1994 01:44:32 GMT Data Error in fast228200000 after 23:19
Data Error in fast228200000 after 23:19  
 
 Tried data for co2.licor.10m.walk 
 
fun.plot.prep stops displaying data after that time. 
prep stops with a segmentation fault. 
data_dump does ok. 
 
152: SOFTWARE /none Sat 20-Aug-1994 17:29:48 GMT corrupted marigold.covar
corrupted marigold.covar 
 
We got another bad timetag  which advanced the time in marigold.covar 
(but not solentfssp.covar!?) to j=233.  Since emacs kept on acting 
strange when I tried to edit this file, I just used "sed" to change 
j=233 to j=232.  Note that this left a few bad entries with s=00.0000? 
in the data file, which (presumably) will be used instead of the good 
entries for this time period, but I'm not going to worry about this 
in the field. 
 
I restarted covar_marigold for this change (just to ensure that editing 
an open file wasn't causing the emacs problems).  I also made a copy 
of the unmodified file as marigold.covar.first. 
 
162: SOFTWARE /none Mon 22-Aug-1994 00:28:25 GMT Analytic Applications IR hygrometer ins
Analytic Applications IR hygrometer installed 
 
I've spent the day adding the ir_AA_1 calibration routine and all of 
its associated configuration files to connect this instrument to our 
data system.  The files I've changed are: 
ir_AA_1.c 
calib/Makefile.cpp 
calib/calib_defs.h 
sio_converters 
sio_msg_formats 
channel_config 
archive_config 
prep.config 
prep.config.raw 
did.config 
idraw/ops1 
create_cdl.csh 
cov2netcdf.csh 
covar_cosmos.csh 
 
After mucking around with all these files, I re"make"d prep, xstrip, 
xcockpit, and covar. 
 
We mounted the sensor at 7.5m on the flux tower.  (Actually, it 
is closer to 7.6m [2.4m down from Tony's 10m mark on the tower]  
to utilize a rung for support.) 
We rebooted cosmos to have the changes take effect. 
 
I am archiving the "raw" output from this sensor, which has all of 
the internal parameters used to measure humidity, but only sending 
the derived humidity, internal temperature, and reference (signal 
strength).  It should be possible to write another calibration 
routine which uses the raw data if necessary (e.g., a different 
calibration is needed). 
 
Now I get to think about daily_S_plots for this sensor. 
 
BOY, THIS IS A LOT OF WORK!  WE NEED AN EASIER WAY TO ADD SENSORS! 
 
163: SOFTWARE /none Mon 22-Aug-1994 01:28:47 GMT Tex and Latex
Tex and Latex 
 
These don't appear to be installed on aster? 
 
164: SOFTWARE /none Mon 22-Aug-1994 01:31:09 GMT Splus TRUNC_AUDIT
Splus TRUNC_AUDIT 
 
I got an error something like:  
truncating to most recent 100000 characters, 
truncating produced only 95xxx characters 
file not truncated. 
 
I've never seen this before.  I just deleted .Audit to prevent 
S from screaming at us all the time. 
 
166: SOFTWARE /none Mon 22-Aug-1994 18:32:55 GMT 'bkfiles' script modified
'bkfiles' script modified 
 
The 'bkfiles' script was changed to combine functionality 
with the bkfiles_kill script. 
 
Bkfiles will now query the operator (if any) to go into 
and purge all existing files in the  raw_data/backup 
directory tree and then proceed with the copy and tape 
archive as usual. 
 
Bkfiles_kill is no longer needed but can still be run 
as usual. 
This allows an operator greater flexibility to retain 
'yesterdays' data files for further examination without 
copying it into the save tree (which obviously can still 
be done if longer retention of specific files is desired). 
 
For CACHE, anticipated capacity of /data is about 5-days 
worth of data, therefore, retaining more than 4-days in 
the backup tree is a very bad idea. 
 
194: SOFTWARE /none Thu 25-Aug-1994 17:46:02 GMT Don't use did aliases?
Don't use did aliases? 
 
prep bug. 
 
We just found that prep does not resample to evenly-spaced 
times (using r=xx) if aliases are used in did.config.  I.e: 
chanA.peter	290 
t.licor		290 
caused prep to not resample chanA.peter data.  This showed 
up when fun.plot.prep gave "all missing data" when requesting 
chanA.peter alone.  (If multiple channels were requested, 
all were synchronized.) 
 
 
208: SOFTWARE /none Sat 27-Aug-1994 02:17:10 GMT splus gobbled up swap?
 
Also discovered that swap space was all used up. 
Found an Splus session which seemed to be  
using a bunch of space; it had a message about 
not being able to allocated dynamic message. 
When I killed the Splus session, 40 MB swap 
space returned to the system. 
 
It looks like the daily plots ran into the 
same problem, since tey are not running 
and have not finished. I will restart them 
by hand. 
 
 
231: SOFTWARE /none Thu 01-Sep-1994 18:12:21 GMT System Backup
System Backup 
 
Done this morning! 
 
242: SOFTWARE /none Fri 02-Sep-1994 17:59:00 GMT Delayed entry - xfssp devours swap spac
Delayed entry - xfssp devours swap space! 
 
Yesterday afternoon, Charlie discovered xfssp had 
grown to gargantuan proportions, and aster had very 
little swap space left. Killing the hog process, 
which had been up for several hours, 
brought things back to normal. 
 
 
243: SOFTWARE /none Fri 02-Sep-1994 18:02:25 GMT t.AA.7.5.flux spikes fixed!
t.AA.7.5.flux spikes fixed! 
 
The negative going spikes we have been seeing 
were caused by an incorrect calib function, 
which was occasionally parsing random '-' signs, 
and assigning them to the temperature reading. 
I changed this today, and restarted covars and 
cockpits. Looks good now. 
 
245: SOFTWARE /none Fri 02-Sep-1994 18:51:13 GMT xfssp definitely has a big memory leak
xfssp definitely has a big memory leak 
 
I have been running xfssp and watching its memory usage. 
It has grown from about 600K at start to consume 5Meg of 
swap space in about 0.5 hour. 
I will suggest it should not be left running for long periods 
of time. 
 
251: SOFTWARE /none Sat 03-Sep-1994 16:59:32 GMT realtime covar cosmos not running from 257 to 1600; jd 246
For some reason the cosmos covar was not 
running from 0257. Perhaps I forgot to start
it after the cosmos reboot? I ran it
in post processing mode "covar_cosmos 300 246";
it claimed that it was updating the cdf file.

Restarted it for realtime mode around 1600.

255: SOFTWARE /none Sat 03-Sep-1994 21:24:54 GMT jd display added to tklog
Just added jd display capability to tklog. Will
make it a lot easier to relate to the daily plots.
273: SOFTWARE /none Mon 05-Sep-1994 17:34:34 GMT System Backup done
The weekly system backup is on Aster Backup tape # 1

277: SOFTWARE /none Tue 06-Sep-1994 00:02:35 GMT new covariance group added; create_cdl breaks
Now that the two krypton hygrometers are broken,
we want to calculate latent heat flux from the AA
instrument. This means that we need w.atik.10m.flux -
h2o.AA.7.5m.flux correlation.

I have modified cosmos_covar to calculate this
quantity. It is showing up in covar.cosmos,
in a variance group with dids of 202:400:401:402.

I have added variance group "-v w.atik.10m.flux:h2o.AA.7.5m.flux"
to cov2netcdf.csh. This causes cov2netcdf to croak when
processing archive files, since for some reason the AA data is 
going into separate archive files. It would not
help for it to make it any further, though, since:

I tried to add h2o.AA.7.5m.flux to a covariance group containing
w.atik.10m.flux in the obscure create_cdl.csh script. For some reason,
it generates broken cdl, which ncgen then chokes on. I had
to abandon this attempt.

In any event, the realtime covars are putting the correlations
into cosmos.covar. We just can't get them into the cdf files.

It turns out that create_cdl does not want to let you mix variables that 
do not share common suffixes. It seems to have something to do
with the npts varaibles in the cdf files. If the AA instrument were
named h20.AA.10m.flux, I guess that it would work.
278: SOFTWARE /none Tue 06-Sep-1994 03:16:29 GMT Whew, never again! (mucking around with covars)
I have put everything back to the way
it was originally, I think. The upshot
of it all is that I am unable to make 
the 7.5m moisture flux available for
plotting!

It turned out that just having an
unexpected covariance group in the covar output
(w.atik.10m.flux:h2o.AA.7.5m.flux) really
fouled things up. cov2netcdf, when it found
this group in the covar output, but not in
the netcdf file, would burp and just stop
filling the netcdf file. This caused the
covar netcdf to loose about half of it's
variables. (Recall from comment 277 that I was
forbidden from correlating two dids with different
suffixes).

So.... I had to take out the covariance specification
from covar_cosmos. I used grep to find offending
entries in covar.cosmos, and then built a sed script
to remove them (emacs is ungracious about editing an 11MB file,
and vi, well...it just dies, violently). 

But this was not enough! For some reason, I had to run
covar_cosmos in a post processing mode, which apparently produced a
different cdf file than running cov2netcdf directly.
So I had to run covar_cosmos for 248 and 249.

302: SOFTWARE /none Fri 09-Sep-1994 18:31:34 GMT Sugg. for improvement on xcockpits
I have noticed that the data plot sometimes overwrites the
field label and/or the scale numbers.
Suggest that the labels be a different color, and be refreshed
more often.

314: SOFTWARE /none Sun 11-Sep-1994 22:18:46 GMT Removed non-existent props from prop.config
Removed references to non-existent 4m and 6m props from fun.prop.config,
and changed prop indexing in prop.config and sonic.config.  These two
wind sensors showed up on the dailyplots for JD 251-253 only.  Why were
they put back into prop.config???