#!/bin/csh
#SBATCH -p singlepe
#SBATCH -t 24:00:00
#SBATCH -n 1
#SBATCH -c 1
#SBATCH --gid=romo
#SBATCH --account=romo



setenv ALT_AGL 1  #1=above ground level 0=above sea level

setenv GRID 36US3
setenv YEAR 2023

foreach CASE ( base2023_rxeqemis+isam  )

set OUTDIR = /work/ROMO/lrt/cmaq/$GRID/postp/$CASE
set INDIR = $OUTDIR

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


setenv G3D  $INDIR/dailyavg.${YEAR}${mon}.$GRID.$CASE.ncf
setenv OUTF $OUTDIR/monthavg.${YEAR}${mon}.$GRID.$CASE.ncf
rm -rf $OUTF
/work/ROMO/users/kpc/util/iomath/iomath

end
end

exit()
