#! /bin/csh
# temp - C Shell script to print Min and Max temps in OASIS can
#

set oasis = /oasis
set bin = /oasis/bin/util
set can = m1
if ($#argv > 0) set can = $1

cd $oasis/$can/oasis

echo "Day  Min Temp  Max Temp  (degrees C)"
foreach file (9* 199* 200*)
	@ day = $file % 1000
	awk -f $bin/temp.awk day=$day $file
end
