You can edit or write scripts using the text editor in UNIX. Just click on the text editor button on the bottom of the screen. These files can be named anything. I like to use a format that includes the date such as: reo980813 (year, month, day) or 980813r for example.
Use this exact format for the REORDER script file.
INPUT:SPOLM_980813_222519_22304402.UF;
OUTPUT:REORD98081301;
^CHILL Radar Burlington, CO Co-Ordinates;
RLONGITUDE:-80.74555; RLATITUDE:27.88944; RALTITUDE:0.009;
;
GLONGITUDE:-80.74555; GLATITUDE:27.88944; GALTITUDE:0.009;
;
COMMENT: R PREFIX IMPLIES THE RADAR LOCATION AND
G PREFIX IMPLIES THE GRID ORIGIN LOC.
THE ALTITUDE IS IN KM. ABOVE MSL;
;
COMMENT: GRID LIMITS, RESOLUTION, AND
RADIUS OF INFLUENCE IN KM.;
;
XMIN: -25.0; XMAX: 25.0; XSPACING: 2.0; XRADIUS:1.0;
YMIN: 10.0; YMAX: 60.0; YSPACING: 2.0; YRADIUS:1.0;
ZMIN: 0.5; ZMAX: 15.0; ZSPACING: 0.5; ZRADIUS:0.5;
;
COMMENT: FOR WEIGHTING FUNCTIONS...
CRESSMAN IS THE DEFAULT;
WEIGHTING FUNCTION: CRESSMAN;
^WEIGHTING FUNCTION: EXPONENTIAL;
^WEIGHTING FUNCTION: CLOSEST POINT;
;
;
^AZRADIUS:1.0 ; ^ IMPLIES THAT THE RADIUS OF
INFLUENCE IS
IN DEGREES AN IS ANGULAR RATHER THAN
LINEAR
AND VARIES WITH RANGE. SAME FOR
ELRADIUS;
COMMENT: IF AZRADIUS IS PRESENT, THEN XRADIUS AND
YRADIUS ARE IGNORED;
^ELRADIUS:1.0;
COMMENT: IF ELRADIUS IS PRESENT, THEN ZRADIUS IS
IGNORED;
;
^RGRADIUS:1.0;
;
COMMENT: DATA FIELDS;
;
FIELD:TI,TIME; ^ THE OPTIONAL SECOND ARGUMENT IS THE NAME
USED
ON THE MUDRAS TAPE. THE SECOND ARGUMENT
IS NOT OPTIONAL FOR OPERATORS LIKE
QUALITY,
AVERAGE, ETC.;
FIELD:DZ,ZH;
FIELD:ZD,ZD;
^FIELD:LD,LD;
^FIELD:KD,KD;
^FIELD:RH,RH;
^FIELD:DM,DM;
^FIELD:SW,SW;
^FIELD:VE,VE;
^FIELD:PH,PH;
^FIELD:AZ;
^FIELD:EL;
^FIELD:RG,RANGE;
^EARTHRADIUS:6378.137;
^QUALITY:VF,QUAL; ^ THIS IS THE STANDARD DEVIATION NORMALIZED
BY THE NYQUIST VELOCITY SQUARED OVER 3;
^UNFOLD:VE,VENE;
^EXPERIMENT:REU SUMMER 2000;
^INSTRUMENT:CHILL RADAR;
START:13-AUG-98,22:25:19;
STOP:13-AUG-98,22:30:44;
SPANVOLUMES;
COMMENT: "INPUT" IS USED ONLY FOR THE UNIVERSAL
FORMAT
VERSION AND SPECIFIES THE PATH NAME OF
THE INPUT FILE;
;
COMMENT: FOR ADVECTION, THE FIRST ARGUMENT IS
THE METEOROLOGIST'S WIND DIRECTION IN
DEGREES.
THE SECOND IS SPEED IN M/S AND THE
THIRD
IS THE ELEVATION IN KM.;
quit;
;
Notes:
INPUT: Input .UF file
here when you get it.
OUTPUT:
This is what you name the .ced file that this program creates. Name it whatever you want. Again, I like to keep things consistent with
dates.
RLONGITUDE/RLATITUDE/RALTITUDE:
Radar coordinates. IMPORTANT! The coordinates given above are not CHILL’s
coordinates. Be sure to find out what
those are!
GLONGITUDE/GLATITUDE/GALTITUDE:
Same values as radar coordinates. These are the grid locations.
XMIN/MAX/SPACING/RADIUS:
As the name implies, it is the x coordinates you want to plot at a spacing of
your choice. Find this out from original radar data by using RDSS or SOLO. Same for Y and Z coordinates.
WEIGHTING
FUNCTION: Use CRESSMAN unless otherwise stated.
Ignore
AZRADUIS, ELRADIUS, and RGRADIUS,
unless stated otherwise. Comment these out ( ^).
FIELDS: Use the ones stated by professor. Comment the rest out. These include:
Time: TI, TIME
Horizontal Reflectivity: DZ,ZH
Differential Reflectivity: ZD,ZD
Linear Depolarization Ratio: LD, LD
Differential Propagation Phase Shift: KD,KD
Cross-Correlation Coeffiecient: RH,RH
Power: DM,DM
Spectral Width: SW,SW
Velocity: VE,VE
PhiDP: PH,PH
(What the actual radar measures)
Azimuth: AZ
Elevation: EL
Range: RG,RANGE
Comment out
EARTHRADIUS, QUALITY, UNFOLD, EXPERIMENT, and INSTRUMENT.
Be
sure to enter the correct start and stop times. These can be obtained form the .UF file on SOLO or RDSS.
Be
sure to leave SPANVOLUMES and quit as is.
Once the script file is set, REORDER
can be run. At the prompt, type:
qreou (name of reorder script)
After the program is
finished running, a .ced file as named above should be present in your
folder. This is the input to
Cedric.