gms_proc

Remaps GMS data from our Hawaii source, and does thermal band subtraction.

Inputs

Output

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)