#PBS -N rtma_%FAMILY1%_gempak_%CYC%%SUBCYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -A %PROJ%-%PROJENVIR%
#PBS -q %QUEUE%
#PBS -l walltime=00:10:00
#PBS -l select=1:ncpus=1:mem=1000MB
#PBS -l select=shared
#PBS -l debug=true
export model=rtma
%include
%include
export cyc=%CYC%
export subcyc=%SUBCYC%
export ntasks=1
export ppn=1
export threads=1
if [ "%FAMILY1%" = "2p5" ]; then
export RUN=rtma2p5
elif [ "%FAMILY1%" = "rapid" ]; then
export RUN=rtma2p5_ru
else
export RUN=%FAMILY1%rtma
fi
module load PrgEnv-intel/${PrgEnv_intel_ver:?}
module load craype/${craype_ver:?}
module load intel/${intel_ver:?}
module load libjpeg/${libjpeg_ver:?}
module load grib_util/${grib_util_ver:?}
module load gempak/${gempak_ver:?}
module list
$HOMErtma/jobs/JRTMA_GEMPAK
%include
%manual
###################################################################
#Runs RTMA Gempak processing
###################################################################
%end