Translate raw ELDORA data to sweep files

#!/bin/csh
#
#script to create sweep files from an eldora field format tape
#
setenv AC_NETCDF_FILES 803rf01.cdf 
#
setenv AC_NETCDF_ALIASES "LATC < XLATC LONC < XLONC PALT < PALT HGME < HGME \
   PITCH < NOT ROLL < NOT VEWC < XVEWC VNSC < XVNSC THDG < NOT \
   UIC < XVEWC VIC < XVNSC WIC < VSPD"
#
setenv INPUT_FORMAT "ELDORA_FORMAT"
#
setenv DORADE_DIR ../data
#
setenv SOURCE_DEV /dev/rmt/1bn
#
setenv OUTPUT_FLAGS "SWEEP_FILES" 
#
setenv NCP_THRESHOLD_VAL "NCP 0.25"
#
setenv ALTITUDE_LIMITS "-5. < 22.5"
#
setenv COMPRESSION_SCHEME "HRD_COMPRESSION"
#
setenv FIRST_GOOD_GATE  2
#
setenv TIME_LIMITS "09/15/99:15:00 < 09/15/99:15:05"
#
setenv DERIVED_FIELDS "DEFAULT(VR > VRB1 VRB1 > VG  VG > VT) \
                       DUAL_PRT(VS > VQB1 VQB1 > VG  VG > VT)"
#
# the correction files
setenv CFAC_FILES "TF > cfac.fore \
                   TA > cfac.aft"
#
# year is incorrect on first flight of MAP (RF01)
setenv YEAR_OF_DATA 1999
#
setenv BATCH_MODE
#
# fix for record size bug
setenv OPTIONS "DESC_SEARCH"
#
/localbin/xltrs