#PBS -N madis_raob_dump_%TIME%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:10:00
#PBS -l select=1:ncpus=1:mem=1000MB
#PBS -l debug=true

set -ax
model=madis

%include <head.h>
%include <envir-p1.h>

# EXPORT list here
export envir=%ENVIR%
#export cyc=00   # hardwired to 00 for consistency with Dell-p3 version
export cyc=`date -u +%%H`   # set cyc in realtime
# To run a specific time set HHMM to that time.  The default is current time.
export HHMM=${HMMM:-%TIME%}
export runtyp=raob

#############################################
###  module load
##############################################
module load intel/${intel_ver:?}
module load bufr_dump/${bufr_dump_ver:?}
module list

##############################################
# CALL executable job script here
##############################################
${HOMEmadis}/jobs/JMADIS_DUMP

%include <tail.h>
%manual
######################################################################
# Purpose: Job to execute the MADIS DATA DUMP processing.
######################################################################

######################################################################
# Job specific troubleshooting instructions:
#   <none yet>
#
######################################################################

%end