gms_proc
Remaps GMS data from our Hawaii 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 Hawaii
(e.g.) g5.97064.2245.msub where:
- g5=gms 5
- 97064=year and julian date
- 2245=start time of scan
Output
- Registered GMS data file (*.reg) containing all of the bands
of the input file, and a 1m2 temperature difference file.
The script is below between the horizontal rules.
#!/bin/sh
for I in `ls $1*.ir1 | cut -c1-13 | sort | uniq`
do
echo $I
assemble include_vars="*"\
extend_names="no"\
instantiate="no"\
$I.ir1 $I.ir2 $I.vis $I.tmp
echo doing registration
fastreg master_file="Master"\
include_vars="*"\
poly_size=""\
$I.tmp $I.reg
echo doing subtraction
emath expr_vars="svissr_ir1 svissr_ir2"\
expression="x1-x2"\
var_name="1m2"\
var_units=""\
var_type="float"\
$I.reg $I.1m2
echo copying variable 1m2
copyvar include_vars="1m2"\
overwrite_vars="no"\
$I.1m2 $I.reg
\rm $I.1m2 $I.tmp
done
This page maintained by Dave Schneider (djschnei@mtu.edu)