#!/bin/csh

#  Enter site at command line
#set site = $1

set site = 'sgp'

set avg_int = '5min' #'1hr'  #'5min'

set ret_type = 'ciret4' #'mine' #'ciret' #'basep'


#foreach year( 1997 1998 1999 2000 2001 2002 2003 2004 2005 )
foreach year ( 2001 )

#foreach month( 01 02 03 04 05 06 07 08 09 10 11 12 )
foreach month( 01 )

#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 )
foreach day ( 03 )

echo ${year} ${month} ${day}

idl<<EOF
plot_average_daily_1d_arm,'${site}','${year}${month}${day}','${avg_int}','${ret_type}' 
exit
EOF

end
end
end

exit


