#!/bin/bash
#     keyword :: canesm_nemo_diag
# description :: NEMO diagnostics
set -a
. betapath2  # sets path for new package (required until old package is retired)

#  * ........................... Parmsub Parameters ............................

 runid="runid"; year="yyyy"; mon="mm"; year_rtdiag_start="yyyy"; crawork="crawork";
 nemo_rtd_mons="";

 username="username"; user="USER"; nqsprfx=""; nqsext="_${runid}_${year}";
 lopgm="lopgm"; stime="7200"; memory1="16gb";

 nemo_config="nemo_config"

 output_level="output_level"

#  * ............................ Condef Parameters ............................

 noprint=off
 nextjob=on
 debug=on

#  * ............................. Deck Definition .............................

#deck nemo_diag
jobname=nemo_diag; time=$stime ; memory=$memory1
.   comjcl.cdk
cat > Execute_Script <<'end_of_script'

# the main script is now located in CanESM/CanNEMO/diag/canesm_nemo_diag.sh
. $CCRNSRC/CanESM/CanNEMO/diag/canesm_nemo_diag.sh

end_of_script

. endjcl.cdk

#end_of_job
