#PBS -N wsp_ondemand_%TIME%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q prod_transfer
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:20:00
#PBS -l select=1:ncpus=2:mem=1GB
#PBS -l debug=true
model=wsp
%include
%include
set -x
export SENDDBN_NTC=NO
############################################################
## Load modules
#############################################################
module load intel/${intel_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
module load wgrib2/${wgrib2_ver}
module list
#############################################################
# EXPORT list here
#############################################################
export ecf_name=${ecf_name:-%ECF_NAME%}
export last_runid=${last_run_id:-%LAST_RUNID:%}
export last_output=${last_output:-%LAST_OUTPUT:%}
#############################################################
# CALL executable job script here
#############################################################
${HOMEwsp}/jobs/JNHC_WINDPROB_ONDEMAND
%include
%manual
%end