#! /bin/csh
cd ~jhorel/saltlake
set file = /home/virga/u/mesonet/data/mesonet_
#foreach stn ( hat gni snx )
foreach stn ( HAT )
#foreach mon ( 09 10 11 )
foreach mon ( 9812 9901 )
foreach day ( 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 )
set fil = $file$mon${day}.gem
set outfile = data/${stn}_$mon${day}.dat
set out
sflist<<EOF
sffile=$fil
area=@$stn
dattim=all
sfparm=tmpc;dwpc;tsoi;sped;pres
output=f/$outfile
idntyp=stid
run

EOF
end
end
end

