Home| superdarn| rfc| RFC0027

RFC: 0027

Title

iqdat DataMap variables definitions

Author

R.J.Barnes

Summary

A description of the variables stored in a iqdat DataMap file.

Description

1. Introduction

The iqdat files are stored using the DataMap self-describing file format. Listed here are the variable names and definitions.

2. Scalars

The scalar components of the iqdat file format are listed below:

Variable NameData TypeDescription
radar.revision.majorcharMajor version number of the radar operating system.
radar.revision.minorcharMinor version number of the radar operating system.
origin.codecharCode indicating origin of the data.
origin.timestringASCII representation of when the data was generated.
origin.commandstringThe command line or control program used to generate the data.
cpshortControl program identifier.
stidshortStation identifier.
time.yrshortYear.
time.moshortMonth.
time.dyshortDay.
time.hrshortHour.
time.mtshortMinute.
time.scshortSecond.
time.usshortMicro-Second.
txpowshortTransmitted power (kW).
naveshortNumber of pulse sequences transmitted.
attenshortAttenuation level.
lagfrshortLag to first range (microseconds).
smsepshortSample separation (microseconds).
ercodshortError code.
stat.agcshortAGC status word.
stat.lopwrshortLOPWR status word.
noise.searchfloatCalculated noise from clear frequency search.
noise.meanfloatAverage noise across frequency band.
channelshortChannel number for a stereo radar (zero for all others).
bmnumshortBeam number.
bmazmfloatBeam azimuth.
scanshortScan flag.
offsetshortOffset between channels for a stereo radar (zero for all others).
rxriseshortReceiver rise time (microseconds).
intt.scshortWhole number of seconds of integration time.
intt.usshortFractional number of microseconds of integration time.
txplshortTransmit pulse length (microseconds).
mpincshortMulti-pulse increment (microseconds).
mppulshortNumber of pulses in sequence.
mplgsshortNumber of lags in sequence.
nrangshortNumber of ranges.
frangshortDistance to first range (kilometers).
rsepshortRange separation (kilometers).
xcfshortXCF flag.
tfreqshortTransmitted frequency.
mxpwrintMaximum power (kHz).
lvmaxintMaximum noise level allowed.
iqdata.revision.majorintMajor version number of the iqdata library.
iqdata.revision.minorintMinor version number of the iqdata library.
combfstringComment buffer.
seqnumintNumber of pulse sequences transmitted.
chnnumintNumber of channels sampled (both I and Q quadrature samples).
smpnumintNumber of samples taken per sequence.
skpnumintNumber of samples to skip before the first valid sample.

2. Arrays

The Array components of the iqdat file format are listed below:

Variable NameData TypeDimensionsDescription
ptab[mppul]shortmppulPulse table.
ltab[2][mplgs]short2,mplgsLag table.
tsc[seqnum]intseqnumSeconds component of time past epoch of pulse sequence.
tus[seqnum]intseqnumMicrosecond component of time past epoch of pulse sequence.
tatten[seqnum]shortseqnumAttenuator setting for each pulse sequence.
tnoise[seqnum]floatseqnumNoise value for each pulse sequence.
toff[seqnum]intseqnumOffset into the sample buffer for each pulse sequence.
tsze[seqnum]intseqnumNumber of words stored for this pulse sequence.
data[totnum]inttotnumArray of raw I and Q samples.

The extent of each dimension is determined by the radar operating parameters. For example a value of mppul of 7 would result in the array ptab[7].

The raw sample data is arranged in multiplexed I and Q sample order; so the first smpnum*2 samples are the interleaved I and Q values for the first pulse sequence. If more than one channel is samples, the next smpnum*2 samples represent the next channel. The total number of samples,totnum, is equal to 2*seqnum*chnnum*smpnum.

References

RFC #0006

History

2008/03/25 Initial Revision.