Home| superdarn| rfc| RFC0007

RFC: 0007

Title

cFit Compressed FitACF data format

Author

R.J.Barnes

Summary

A description of the compressed FitACF data format "cFit".

Description

1. Introduction

The cFit format is a compressed format for storing a limited sub-set of data from the output of the FitACF algorithm. The format does not store all of the radar operating parameters or the full set of derived values of the algorithm, instead it stores sufficient paramaters to characterize the operation of the radar and the power, spectral width, and velocity, and the derived errors, from the analysis.

The advantage of cFit files is that they are considerably smaller and more convenient to work with than full fit or fitacf files. Typically a cFit file is a few megabytes in length, whereas a fit file can be over a 100 megabytes.

2. The Format

A cFit file is divided up into blocks or records, each record has the same format but can have varying length depending on the scatter observed by the radar.Each record is divided up into a header and a data section. The structure of a record is given below:

Byte OffsetSize (Bytes)TypeContent
0864-bit double floatTime in seconds from UNIX epoch (00:00:00 UTC, January 1, 1970).
8216-bit short integerStation identifier
10216-bit short integerScan flag
12216-bit short integerProgram identifier
14216-bit short integerBeam number
16432-bit floatBeam azimuth
20216-bit short integerChannel
22216-bit short integerIntegral component of integration time in seconds
24432-bit integerFractional component of integration time in micro-seconds
28216-bit short integerDistance to first range in kilometers
30216-bit short integerRange separation in kilometers
32216-bit short integerReceiver rise time in micro-seconds
34216-bit short integerOperating frequency in kilohertz
36432-bit integerNoise Level
40216-bit short integerAttenuation
42216-bit short integerNumber of averages
44216-bit short integerNumber range gates
461byteNumber of stored ranges
47mm bytesRange table
47+mnn bytesData table

The remainder of the block consists of the data values for the stored ranges. The range table indicates which range a data value corresponds to. For example, if the first entry in the range table contains a value of 23, that indicates that the first set of data values in the data table came from range 23.

Each entry in the data table has the same format shown below:

Byte OffsetSize (Bytes)TypeContent
01byteGround scatter flag.
1432-bit floatLag-zero power
5432-bit floatLag-zero power error
9432-bit floatVelocity
13432-bit floatLambda power
17432-bit floatLambda spectral width
21432-bit floatVelocity error
25432-bit floatLambda power error
29432-bit floatLambda spectral width error

References

None

History

2007/03/26 Update to reflect changes to file format
2004/07/27 Initial Revision.