OTF2CLASS This procedure converts raw otf data [sdd file format] into class file format. 12m Usage: otf2class [ options ] datafile where datafile is the input sdd file [ e.g. sdd_hc.sys_001 ] (sdd._version for filterbanks. Add _hc as above for MAC) Outputs a class file named class.sdd_._ in the specified directory and making a link to it in the current directory Information about this is put on the screen and in a log file, otf2class.log The options are: -bs begin_scan_num [ first scan of map within the raw data file ] -es ending_scan_num [ last scan of map within the raw data file ] Optional selection of first & last velocity or channel to write Either: -bc begin_chan_num [ lowest channel number to write ] -ec ending_chan_num [ highest channel number to write ] or: -bv begin_velocity [ lowest velocity to write ] -ev ending_velocity [ highest velocity to write ] -i specifies the backend portion read: fb11, fb12, ...] or can instead be the backend number: [ 1 | 2 | 3 | 4 for filters] [ 11 | 12 for MAC ] -s smooth_count [ 2 | 4 | 8 etc ] [ number of 0.1 Sec samples to bin ] -d Turn on debugging info. Multiple times for more. -nos Do not interpolate between adjacent off scans. [default: on] -syn Recalculate the synthesizer and interpolate to correct it -o output_directory. [default: /home/class2/otfclass/] (Due to limited disk space, please don't use a /home/obs directory) -f Read sdd files from the /home/data4/fixed (vs /home/data/'inits']) -skip file [ File of scan nos to ignore ] (0 or more blank separated integers per line, "#" starts comment) -p Create a new .log file after renaming the old one(s): (otf2class.oldestlog deleted, .olderlog -> .oldestlog, .oldlog -> .olderlog, .log -> .oldlog) Example: otf2class -bs 117 -es 135 -i fb21 -s 4 sdd.lmz_001 NOTES: 1) If you are using the fixed data directory, '-f', and the data was the results of an 'otfmakeoffs' then also supply the '-nos' switch to prevent 'off' smoothing 2) Use only one of the bandwidth options: [bc & ec | bv & ev] 3) Must have setenv OBSINIT to the observer initials as otf2class looks in /home/data/$OBSINIT for the sdd and gsdd files 4) Unless the class file is written to the current directory, a link to that file is made in the current directory