#!/bin/sh
#
# Pull over an area file from the McIdas PC.
#
dpart=`date -u +'%m%d-%H'`
localfile=/zeb/coare/sat-spool/gms-ir-$dpart
ftp -n toga4 <<END-FTP
	user toga4 badger
	binary
	get AREA0001 /zeb/coare/sat-spool/temp-sat 
	quit
END-FTP
mv /zeb/coare/sat-spool/temp-sat $localfile
/zeb/coare/proc-gms
