testReadDec.tar.gz - test
programs that read compressed a2130_dtm and a2130_dfrq files
(decimated in time and decimated in frequencyt). To download
right click on line and save link location (at least on firefox)

090906: b1sXg0 spectrometer box failed
before run started. Replace the group 1 box..

started late so only got about 76 files.

There is not a2144 data for this night since i stole the box
from group 1. Spectrometer has to run with group 0, group 1 is
optional.

There is a large dc offset in b1sXg0 since i didn't update
the a/d converter offset file prior to running.

090905: testReadDec.tar.gz. downloadable test program.

Before 090905: contained

: testReadDec.c to read compressed time domain files.

After 090905: contains

testReadTmDec.c (same as old test program to read
decimated time domain files).

testReadFrqDec.c . new program to read decimated in
freq files.

090902:
punta salinas ran in all frequency modes till 21:17. They then
ran left 1367,1382 on till 23:00.

090830:
bm 2, band 0 lost 600millisecs of data between file .00000 and
file 00001.

Found first 12000 bytes of file
2130.20090830.b2s0g0.00001.fits to be bad (not a fits header).

copied first 12000 bytes of 2130.20090830.b2s1g0.00001.fits
to this bad file (since hdrs are identical).

Found that there is 1 missing row (600 millisecs of data)
between end of file .00000 and first row in .00001 for
b2s0g0.00001

The header info is correct for the data in b2s0g0.00001.
This means that the problem occurred on the open of file
.00001. The sequence was probably:

write header for .00001

write first row of data.. this ended up overwriting part
of the header

write 2nd row of data (this went in the location for row
1..)

So all data files .00001 -> end of run for b2s0g0 is 1
row (600 Milliseconds) later than all the other
corresponding beams/bands). The headers should be correct so
if you use the headers then things should be ok.