| Script |
Description |
Routines used: |
inpSuf |
outSuf |
| drv_all.sc |
|
|
.rawfN |
.dcdfN .mapfN |
| drv_scale.sc |
|
|
.mapfN | .mapsfN |
| drv_mapmsc.sc |
|
|
.mapsfN |
.imgN.M or .fits |
| SUFFIX |
DESCRIPTION |
OUTPUT BY: INPUT BY: |
| .rawfN |
raw input datafiles containing
the packed complex voltages from the ri or pfs. |
input:radardecode |
| .dcdfN |
after decoding by drv_decode.sc
this file contains the complex decoded data. The user can specify a subset of the rangebins to keep (via numbins in drv.dat). The data is still in ipp order (it hasn't been transposed yet). |
output:radardecode input:radarfft |
| .mapfN |
The unscaled delay doppler maps.
One for each look. The data is now in freq order by rangebin. |
output:radarfft input:drv_scale.sc |
| .mapsfN |
The scaled delay doppler maps.
The .mapsfN files are scaled to units of sigma |
output:drv_scale.sc input:drv_mapmsc.sc |
| .fit |
Fits file containing mosaic of
scaled maps. |
output:makefits |
| KEY |
VALUE |
Description |
| fbase |
2003UV11.p05 |
base name for all files used. If
no directory path than used current directory. |
| tapedev |
/share/aeron5/SN12.001 |
file location for the input
data. used by drv_tapetodisc.sc to create the .rawfN files |
| codelen |
65535 |
length of pncode to use for
decoding |
| bits |
2 |
number of bits the input data is
backed to. |
| numpol |
1 |
number of polarizations in the
input .rawfN data. |
| poltouse |
1 |
If numpol=2 then this is the
polarization to process (1 or 2). 1 is normally the OC. |
| bin1 |
29761 |
after decoding the data you can
save only a subset of the range bins using bin1 and numbins. bin1 is 1
based. |
| numbins |
200 |
number of range bins to keep
starting at bin1. |
| smpperbaud |
1 |
Number of samples per baud on
input data. |
| machine |
pfs |
what type of data this is: ri,
pfs,cbr,bytes, floats or unpacked |
| dcdpacked |
0 |
always 0. Originally this was
for the hardware decoder. |
| dcdfftlen |
262144 |
This is the fftlen to use for
decoding. If not a power of 2, the script drv_decode.sc will round up
to the nearest power of 2. The cpu has to be able to allocate a few
complex arrays of this length. So don't make it larger than a fraction
of the available memory. |
| numthreads |
1 |
if > 1 then use
radardecode_thr which uses a threaded version of fftw to decode the
data. The number of threads to use depends on the dcdfftlen and the
number of processors on the cpu. For a 128k dcdlength the cpu
utilization stopped increasing after 5 threads (on an 8 processor
nehalem system). Setting numthreads to 1 uses radardecode which has the unthreaded fftw routines. |
| codestodecode |
99999999 |
Maximum number of codes to
decode in a look. |
| removedc |
1 |
1 will remove dc prior to
decoding. It does this using dcdfftlen complex points at a time. |
| cohavg |
1 |
if > 1 then coherently add
this many decoded ipps after decoding. |
| spcfftlen |
7932 |
Length of fft to use when
computing spectra. |
| spcfftkeep |
400 |
Number of spectral channels to
keep after spectra computed. Dc will always be located at spcffttokeep/2 + 1 (1 based). |
| compcodeprog |
No longer used |
|
| codetype |
aopnc dsnpnc barker |
Type of code used for coding.
The default is ao pncodes. |
| Suffix
defintions |
||
| sufraw |
raw |
input datafiles: to drv_decode.sc |
| sufdcd |
dcd |
decoded files: output from
drv_decode.sc, inp drv_fft_pwr.sc |
| sufsps |
map |
unscaled delay doppler maps:
output from drv_scale.sc, inp to:drv_mapmsc.sc |
| sufscl |
maps |
scaled delay doppler maps: from
drv_scale.sc |
| sufpha |
pha |
used by drv_phase to compute
phase of range bins |
| sufeng |
eng |
Used for engineering
tests:drv_decodepwr,drv_power |
| NAME |
|
||||||
| SYNTAX |
drvall.sc -d firstfile
numfiles |
||||||
| ARGS |
|
||||||
| DESCRIPTION |
This is the main driver script
called by the user. It will process numfiles
.rawfN input files starting at firstfile. For each file it will:
decode the file, transpose the matrix, compute the unscaled delay
doppler map. The .dcdfN and .mapfN files are created by
this routine. This script can gobble up lots of disc space (depending
on the number freq and range bins kept |
||||||
| SCRIPTS USED |
drv_decode.sc drv_fft_pwr.sc |
||||||
| SUFFIXES USED |
Input: .rawfN Output: .dcdfN, .mapfN |
||||||
| EXAMPLE |
To use this routine:
|
||||||
| logfile |
fbase.hdrfN is written
to by drv_decode.sc and drv_fft_pwr.sc: drv_decode.sc START :Wed Nov 3 19:16:57 AST 2010 decoding program : radardecode 1st range bin kept : 30060 number of range bins kept : 200 samples per baud : 1 numPol, pol Used : 1,1 fftlength used for decoding: 262144 remove Dc : 1 coherent average per FFT : 1 machine : pfs codetype : aopnc maximum # codes to decode : 99999999 input file : 2003UV11.p05.rawf1 output file : 2003UV11.p05.dcdf1 drv_decode.sc END :Wed Nov 3 19:17:52 AST 2010 drv_fft_pwr.sc START : Wed Nov 3 20:03:56 AST 2010 samples/rbin input : 3354 samples/rbin used : 7932 length fft : 7932 dcd packed data : 0 ffts added incoherently: 1 freq points kept : 400 input file : 2003UV11.p05.dcdf1 output file : 2003UV11.p05.mapf1 drv_fft_pwr.sc END : Wed Nov 3 20:04:03 AST 2010 Done with 2003UV11.p05.dcdf1 |
| NAME |
|
||||||||||||
| SYNTAX |
|
||||||||||||
| ARGS |
|
||||||||||||
| drv.dat
info |
|
||||||||||||
| DESCRIPTION |
drv_fft_pwr.sc will compute the
delay doppler maps from the decoded files. Data is processed 1 look
(.dcdfN) file at a time. For each file:
|
||||||||||||
| SCRIPTS USED |
radarfft: program to transpose,
fft, and compute power. selectpnts: to keep only spcfftkeep frequency channels |
||||||||||||
| SUFFIXES USED |
Input: .dcdfN Output: .mapfN unscaled delay dopper maps. |
||||||||||||
| EXAMPLE |
To use this routine:
|
||||||||||||
| logfile |
fbase.hdrfN is written to by this script.
the output is: drv_fft_pwr.sc START : Wed Nov 3 18:19:04 AST 2010 samples/rbin input : 3354 samples/rbin used : 7932 length fft : 7932 dcd packed data : 0 ffts added incoherently: 1 freq points kept : 400 input file : 2003UV11.p05.dcdf1 output file : 2003UV11.p05.mapf1 drv_fft_pwr.sc END : Wed Nov 3 18:19:11 AST 2010 |
| NAME |
|
||||||||||||||||||||
| SYNTAX |
|
||||||||||||||||||||
| ARGS |
|
||||||||||||||||||||
| DESCRIPTION |
drv_mapmsc.sc will make a mosaic
of the .mapsfN files and output to a .fits file. The script can
optionally:
|
||||||||||||||||||||
| SCRIPTS USED |
drv_scale.sc
(if -s or -S are
supplied) drv_rotrange.sc (if -r bins is supplied) drv_mapavg.sc (if filesToAvg > 1) drv_mergemaps3.sc (to do the merging). |
||||||||||||||||||||
| SUFFIXES USED |
Input: .mapsfN,(.mapfN if -s or
-S) Output: .fit (written to Fits/ subdirectory). |
||||||||||||||||||||
| EXAMPLE |
To use this routine:
|
||||||||||||||||||||
| logfile |
fbase.hdrmsc is written to by this script.
the output is: drv_mapmsc.sc START :Thu Nov 4 08:43:25 AST 2010 basefile : 2003UV11.p05 fits filename : ./Fits/f2x3.fit 1st file, numfiles : 1 51 orig frq,range bins : 400 200 kept frq,range bins : 400 200 frq bin offset,smp/baud: 0 1 rotate range bins : 0 maps avged : 8 maps per row : 3 drv_mapmsc.sc END : |