ncar_goes_proc
Remaps GOES data from our NCAR source, and does thermal band subtraction.
Inputs
- Master file named Master, generated using Terascan command master file.
- Terascan GOES data file in standard format from NCAR
(e.g.) g8.97064.2245.msub where:
- g8=goes 8
- 97064=year and julian date
- 2245=start time of scan
Output
- Registered GOES data file (*.reg) containing all of the bands
of the input file, and a 4m5 temperature difference file.
The script is below between the horizontal rules.
#!/bin/sh
for I in `ls $1*.msub | cut -c1-13 | sort | uniq`
do
echo $I
echo doing registration
fastreg master_file="Master" \
include_vars="*" \
poly_size="" \
$I.msub $I.reg
echo $I.reg is done
echo doing subtraction
emath expr_vars="gvar_ch4 gvar_ch5" \
expression="x1-x2" \
var_name="4m5" \
var_units="" \
var_type="fl" \
$I.reg $I.4m5
echo copying variable 4m5
copyvar include_vars="4m5" \
overwrite_vars="no" \
$I.4m5 $I.reg
\rm $I.4m5
done
This page maintained by Dave Schneider (djschnei@mtu.edu)