#PBS -N cdas2_getpentad_%CYC%
#PBS -l walltime=00:30:00
#PBS -A %PROJ%-%PROJENVIR%
#PBS -q %QUEUE%
#PBS -l place=shared,select=1:ncpus=1:mem=1500MB
#PBS -j oe
#PBS -l debug=true
model=cdas2
%include
%include
module load intel/${intel_ver}
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load craype/${craype_ver}
module load cray-mpich/${cray_mpich_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
module load wgrib2/${wgrib2_ver}
set -x
export OMP_NUM_THREADS=1
export cyc=%CYC%
${HOMEcdas2}/jobs/JCDAS2_V1_GETPENTAD
if [ $? -ne 0 ]; then
ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***"
ecflow_client --abort
exit
fi
%include
%manual
################################################################################
# PURPOSE: To execute the job that get cdas pentad data.
################################################################################
%end