Skip to content

Commit

Permalink
Extend realtime XMLs to 15Nov 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
jkhender committed Nov 2, 2023
1 parent 3a5b5ec commit 91a074e
Show file tree
Hide file tree
Showing 11 changed files with 263 additions and 18 deletions.
13 changes: 8 additions & 5 deletions FV3GFSwfm/rt_v17p8_c3/rt_pygraf_global_c3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<!-- Experiment parameters such as starting, ending dates -->
<!ENTITY SDATE "202307181200">
<!ENTITY EDATE "202311010000">
<!ENTITY EDATE "202311150000">
<!ENTITY INTERVAL "12:00:00">

<!-- Run Envrionment -->
Expand All @@ -33,9 +33,9 @@
<!ENTITY SCHEDULER "slurm">

<!-- ROCOTO parameters that control workflow -->
<!ENTITY CYCLETHROTTLE "6">
<!ENTITY CYCLETHROTTLE "16">
<!ENTITY TASKTHROTTLE "29">
<!ENTITY MAXTRIES "2">
<!ENTITY MAXTRIES "1">

<!ENTITY RESERVATION_POST "judy_post_">
<!ENTITY NATIVE_POST "--reservation=&RESERVATION_POST;<cyclestr>@H</cyclestr> --export=NONE">
Expand All @@ -45,7 +45,7 @@

<!ENTITY QUEUE_PYTHON "&QUEUE;">
<!ENTITY PARTITION_PYTHON "&PARTITION_BATCH;">
<!ENTITY WALLTIME_PYTHON "03:30:00">
<!ENTITY WALLTIME_PYTHON "03:45:00">
<!ENTITY RESOURCES_PYTHON "1:ppn=16:tpp=1">
<!ENTITY MEMORY_PYTHON "40G">
<!ENTITY NATIVE_PYTHON "&NATIVE_POST;">
Expand Down Expand Up @@ -128,7 +128,10 @@
<join><cyclestr>&ROTDIR;/logs/@Y@m@d@H/python_@Y@m@d@H00_maps_#GRID_ID#_0-6-&FCST_LENGTH;.log</cyclestr></join>

<dependency>
<metataskdep metatask="remapgrib"/>
<or>
<timedep><cyclestr offset="015:00:00">@Y@m@d@H@M00</cyclestr></timedep>
<metataskdep metatask="remapgrib"/>
</or>
</dependency>

</task>
Expand Down
4 changes: 2 additions & 2 deletions FV3GFSwfm/rt_v17p8_c3/rt_v17p8_c3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<!ENTITY NATIVE_POST "--reservation=&RESERVATION_POST;12 --export=NONE">
]>

<workflow realtime="T" scheduler="slurm" cyclethrottle="6" taskthrottle="25">
<workflow realtime="T" scheduler="slurm" cyclethrottle="16" taskthrottle="25">

<log verbosity="10"><cyclestr>&EXPDIR;/logs/@Y@m@[email protected]</cyclestr></log>

<!-- Define the cycles -->
<cycledef group="gfs">202307131200 202311010000 12:00:00</cycledef>
<cycledef group="gfs">202307131200 202311150000 12:00:00</cycledef>

<task name="postwait" cycledefs="gfs" maxtries="1">

Expand Down
3 changes: 3 additions & 0 deletions FV3GFSwfm/rt_v17p8_c3/runcmds
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ rocotostat -w res_pygraf_c3_vjet.xml -d res_pygraf_c3_vjet.db
rocotorun -w res_pygraf_c3_sjet.xml -d res_pygraf_c3_sjet.db
rocotostat -w res_pygraf_c3_sjet.xml -d res_pygraf_c3_sjet.db

rocotorun -w pygraf_c3_vjet.xml -d pygraf_c3_vjet.db
rocotostat -w pygraf_c3_vjet.xml -d pygraf_c3_vjet.db

rocotorun -w trak.xml -d trak.db
rocotostat -w trak.xml -d trak.db

Expand Down
112 changes: 112 additions & 0 deletions FV3GFSwfm/rt_v17p8_mynn/config.vrfy_120h
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
#! /usr/bin/env bash

########## config.vrfy ##########
# Verification step specific

echo "BEGIN: config.vrfy"

# Get task specific resources
. "${EXPDIR}/config.resources" vrfy

export CDFNL="gdas" # Scores verification against GDAS/GFS analysis
export MKPGB4PRCP="NO" # Make 0.25-deg pgb files in ARCDIR for precip verification ## JKH
export VRFYRAD="NO" # Radiance data assimilation monitoring ## JKH
export VRFYOZN="NO" # Ozone data assimilation monitoring ## JKH
export VRFYMINMON="NO" # GSI minimization monitoring ## JKH
export VRFYTRAK="YES" # Hurricane track verification
export VRFYGENESIS="NO" # Cyclone genesis verification ## JKH
export VRFYFSU="NO" # Cyclone genesis verification (FSU)
export RUNMOS="NO" # whether to run entire MOS package

#----------------------------------------------------------
# Minimization, Radiance and Ozone Monitoring
#----------------------------------------------------------

if [[ ${VRFYRAD} = "YES" || ${VRFYMINMON} = "YES" || ${VRFYOZN} = "YES" ]]; then

export envir="para"
export COM_IN=${ROTDIR}

# Radiance Monitoring
if [[ "${VRFYRAD}" == "YES" && "${RUN}" == "${CDFNL}" ]] ; then

export RADMON_SUFFIX=${PSLOT}
export TANKverf="${NOSCRUB}/monitor/radmon"
export VRFYRADSH="${HOMEgfs}/jobs/JGDAS_ATMOS_VERFRAD"

fi

# Minimization Monitoring
if [[ "${VRFYMINMON}" = "YES" ]] ; then

export MINMON_SUFFIX=${PSLOT}
export M_TANKverf="${NOSCRUB}/monitor/minmon"
if [[ "${RUN}" = "gdas" ]] ; then
export VRFYMINSH="${HOMEgfs}/jobs/JGDAS_ATMOS_VMINMON"
elif [[ "${RUN}" = "gfs" ]] ; then
export VRFYMINSH="${HOMEgfs}/jobs/JGFS_ATMOS_VMINMON"
fi

fi

# Ozone Monitoring
if [[ "${VRFYOZN}" == "YES" && "${RUN}" == "${CDFNL}" ]] ; then

export HOMEgfs_ozn="${HOMEgfs}"
export OZNMON_SUFFIX=${PSLOT}
export TANKverf_ozn="${NOSCRUB}/monitor/oznmon"
export VRFYOZNSH="${HOMEgfs}/jobs/JGDAS_ATMOS_VERFOZN"

fi

fi


#-------------------------------------------------
# Cyclone genesis and cyclone track verification
#-------------------------------------------------

#JKHexport ens_tracker_ver=feature-GFSv17_com_reorg # TODO - temporary ahead of new tag/version
export ens_tracker_ver=v1.1.15.6 ## JKH
export HOMEens_tracker=$BASE_GIT/TC_tracker/${ens_tracker_ver}

if [[ "${VRFYTRAK}" = "YES" ]]; then

export TRACKERSH="${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_TRACKER"
COMINsyn=${COMINsyn:-$(compath.py "${envir}"/com/gfs/"${gfs_ver}")/syndat}
export COMINsyn
if [[ "${RUN}" = "gdas" ]]; then
export FHOUT_CYCLONE=3
export FHMAX_CYCLONE=${FHMAX}
else
export FHOUT_CYCLONE=6
FHMAX_CYCLONE=$(( FHMAX_GFS<240 ? FHMAX_GFS : 240 ))
FHMAX_CYCLONE=120
export FHMAX_CYCLONE
fi
fi


if [[ "${VRFYGENESIS}" == "YES" && "${RUN}" == "gfs" ]]; then

export GENESISSH="${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_GENESIS"
fi

if [[ "${VRFYFSU}" == "YES" && "${RUN}" == "gfs" ]]; then

export GENESISFSU="${HOMEgfs}/jobs/JGFS_ATMOS_FSU_GENESIS"
fi

if [[ "${RUNMOS}" == "YES" && "${RUN}" == "gfs" ]]; then

if [[ "${machine}" = "HERA" ]] ; then
export RUNGFSMOSSH="${HOMEgfs}/scripts/run_gfsmos_master.sh.hera"
else
echo "WARNING: MOS package is not enabled on ${machine}!"
export RUNMOS="NO"
export RUNGFSMOSSH=""
fi
fi


echo "END: config.vrfy"
9 changes: 6 additions & 3 deletions FV3GFSwfm/rt_v17p8_mynn/rt_pygraf_global_mynn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<!-- Experiment parameters such as starting, ending dates -->
<!ENTITY SDATE "202307181200">
<!ENTITY EDATE "202311010000">
<!ENTITY EDATE "202311150000">
<!ENTITY INTERVAL "12:00:00">

<!-- Run Envrionment -->
Expand All @@ -33,7 +33,7 @@
<!ENTITY SCHEDULER "slurm">

<!-- ROCOTO parameters that control workflow -->
<!ENTITY CYCLETHROTTLE "2">
<!ENTITY CYCLETHROTTLE "16">
<!ENTITY TASKTHROTTLE "25">
<!ENTITY MAXTRIES "2">

Expand All @@ -44,7 +44,7 @@

<!ENTITY QUEUE_PYTHON "&QUEUE;">
<!ENTITY PARTITION_PYTHON "&PARTITION_BATCH;">
<!ENTITY WALLTIME_PYTHON "03:30:00">
<!ENTITY WALLTIME_PYTHON "03:45:00">
<!ENTITY RESOURCES_PYTHON "1:ppn=16:tpp=1">
<!ENTITY MEMORY_PYTHON "40G">
<!ENTITY NATIVE_PYTHON "&NATIVE_POST;">
Expand Down Expand Up @@ -127,7 +127,10 @@

<dependency>
<or>
<and>
<timedep><cyclestr offset="015:00:00">@Y@m@d@H@M00</cyclestr></timedep>
<datadep age="120"> <cyclestr>&ROTDIR;/&CDUMP;.@Y@m@d/@H/products/&COMPONENT;/img/full/files.zip</cyclestr></datadep>
</and>
<metataskdep metatask="remapgrib"/>
</or>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions FV3GFSwfm/rt_v17p8_mynn/rt_v17p8_mynn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
<!ENTITY NATIVE_POST "--reservation=&RESERVATION_POST;00 --export=NONE">
]>

<workflow realtime="T" scheduler="slurm" cyclethrottle="6" taskthrottle="25">
<workflow realtime="T" scheduler="slurm" cyclethrottle="16" taskthrottle="25">

<log verbosity="10"><cyclestr>&EXPDIR;/logs/@Y@m@[email protected]</cyclestr></log>

<!-- Define the cycles -->
<cycledef group="gfs">202307131200 202311010000 12:00:00</cycledef>
<cycledef group="gfs">202307131200 202311150000 12:00:00</cycledef>

<task name="fcstwait" cycledefs="gfs" maxtries="1">
<task name="fcstwait" cycledefs="gfs" maxtries="3">

<command>/home/Judy.K.Henderson/tmp/postwait2.sh</command>

Expand Down
6 changes: 6 additions & 0 deletions FV3GFSwfm/rt_v17p8_mynn/runcmds
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ rocotostat -w pygraf_mynn_vjet.xml -d pygraf_mynn_vjet.db
rocotorun -w res_pygraf_mynn_vjet.xml -d res_pygraf_mynn_vjet.db
rocotostat -w res_pygraf_mynn_vjet.xml -d res_pygraf_mynn_vjet.db

rocotorun -w res_pygraf_mynn2_vjet.xml -d res_pygraf_mynn2_vjet.db
rocotostat -w res_pygraf_mynn2_vjet.xml -d res_pygraf_mynn2_vjet.db

rocotorun -w pygraf_mynn_xjet.xml -d pygraf_mynn_xjet.db
rocotostat -w pygraf_mynn_xjet.xml -d pygraf_mynn_xjet.db

rocotorun -w pygraf_mynn2_xjet.xml -d pygraf_mynn2_xjet.db
rocotostat -w pygraf_mynn2_xjet.xml -d pygraf_mynn2_xjet.db

rocotorun -w res_pygraf_mynn_xjet.xml -d res_pygraf_mynn_xjet.db
rocotostat -w res_pygraf_mynn_xjet.xml -d res_pygraf_mynn_xjet.db

Expand Down
112 changes: 112 additions & 0 deletions FV3GFSwfm/rt_v17p8_thompson/config.vrfy_120h
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
#! /usr/bin/env bash

########## config.vrfy ##########
# Verification step specific

echo "BEGIN: config.vrfy"

# Get task specific resources
. "${EXPDIR}/config.resources" vrfy

export CDFNL="gdas" # Scores verification against GDAS/GFS analysis
export MKPGB4PRCP="NO" # Make 0.25-deg pgb files in ARCDIR for precip verification ## JKH
export VRFYRAD="NO" # Radiance data assimilation monitoring ## JKH
export VRFYOZN="NO" # Ozone data assimilation monitoring ## JKH
export VRFYMINMON="NO" # GSI minimization monitoring ## JKH
export VRFYTRAK="YES" # Hurricane track verification
export VRFYGENESIS="NO" # Cyclone genesis verification ## JKH
export VRFYFSU="NO" # Cyclone genesis verification (FSU)
export RUNMOS="NO" # whether to run entire MOS package

#----------------------------------------------------------
# Minimization, Radiance and Ozone Monitoring
#----------------------------------------------------------

if [[ ${VRFYRAD} = "YES" || ${VRFYMINMON} = "YES" || ${VRFYOZN} = "YES" ]]; then

export envir="para"
export COM_IN=${ROTDIR}

# Radiance Monitoring
if [[ "${VRFYRAD}" == "YES" && "${RUN}" == "${CDFNL}" ]] ; then

export RADMON_SUFFIX=${PSLOT}
export TANKverf="${NOSCRUB}/monitor/radmon"
export VRFYRADSH="${HOMEgfs}/jobs/JGDAS_ATMOS_VERFRAD"

fi

# Minimization Monitoring
if [[ "${VRFYMINMON}" = "YES" ]] ; then

export MINMON_SUFFIX=${PSLOT}
export M_TANKverf="${NOSCRUB}/monitor/minmon"
if [[ "${RUN}" = "gdas" ]] ; then
export VRFYMINSH="${HOMEgfs}/jobs/JGDAS_ATMOS_VMINMON"
elif [[ "${RUN}" = "gfs" ]] ; then
export VRFYMINSH="${HOMEgfs}/jobs/JGFS_ATMOS_VMINMON"
fi

fi

# Ozone Monitoring
if [[ "${VRFYOZN}" == "YES" && "${RUN}" == "${CDFNL}" ]] ; then

export HOMEgfs_ozn="${HOMEgfs}"
export OZNMON_SUFFIX=${PSLOT}
export TANKverf_ozn="${NOSCRUB}/monitor/oznmon"
export VRFYOZNSH="${HOMEgfs}/jobs/JGDAS_ATMOS_VERFOZN"

fi

fi


#-------------------------------------------------
# Cyclone genesis and cyclone track verification
#-------------------------------------------------

#JKHexport ens_tracker_ver=feature-GFSv17_com_reorg # TODO - temporary ahead of new tag/version
export ens_tracker_ver=v1.1.15.6 ## JKH
export HOMEens_tracker=$BASE_GIT/TC_tracker/${ens_tracker_ver}

if [[ "${VRFYTRAK}" = "YES" ]]; then

export TRACKERSH="${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_TRACKER"
COMINsyn=${COMINsyn:-$(compath.py "${envir}"/com/gfs/"${gfs_ver}")/syndat}
export COMINsyn
if [[ "${RUN}" = "gdas" ]]; then
export FHOUT_CYCLONE=3
export FHMAX_CYCLONE=${FHMAX}
else
export FHOUT_CYCLONE=6
FHMAX_CYCLONE=$(( FHMAX_GFS<240 ? FHMAX_GFS : 240 ))
FHMAX_CYCLONE=120
export FHMAX_CYCLONE
fi
fi


if [[ "${VRFYGENESIS}" == "YES" && "${RUN}" == "gfs" ]]; then

export GENESISSH="${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_GENESIS"
fi

if [[ "${VRFYFSU}" == "YES" && "${RUN}" == "gfs" ]]; then

export GENESISFSU="${HOMEgfs}/jobs/JGFS_ATMOS_FSU_GENESIS"
fi

if [[ "${RUNMOS}" == "YES" && "${RUN}" == "gfs" ]]; then

if [[ "${machine}" = "HERA" ]] ; then
export RUNGFSMOSSH="${HOMEgfs}/scripts/run_gfsmos_master.sh.hera"
else
echo "WARNING: MOS package is not enabled on ${machine}!"
export RUNMOS="NO"
export RUNGFSMOSSH=""
fi
fi


echo "END: config.vrfy"
9 changes: 6 additions & 3 deletions FV3GFSwfm/rt_v17p8_thompson/rt_pygraf_global_thompson.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<!-- Experiment parameters such as starting, ending dates -->
<!ENTITY SDATE "202307181200">
<!ENTITY EDATE "202311010000">
<!ENTITY EDATE "202311150000">
<!ENTITY INTERVAL "12:00:00">

<!-- Run Envrionment -->
Expand All @@ -33,7 +33,7 @@
<!ENTITY SCHEDULER "slurm">

<!-- ROCOTO parameters that control workflow -->
<!ENTITY CYCLETHROTTLE "6">
<!ENTITY CYCLETHROTTLE "16">
<!ENTITY TASKTHROTTLE "25">
<!ENTITY MAXTRIES "2">

Expand Down Expand Up @@ -127,7 +127,10 @@
<join><cyclestr>&ROTDIR;/logs/@Y@m@d@H/python_@Y@m@d@H00_maps_#GRID_ID#_0-6-&FCST_LENGTH;.log</cyclestr></join>

<dependency>
<metataskdep metatask="remapgrib"/>
<or>
<timedep><cyclestr offset="015:00:00">@Y@m@d@H@M00</cyclestr></timedep>
<metataskdep metatask="remapgrib"/>
</or>
</dependency>

</task>
Expand Down
Loading

0 comments on commit 91a074e

Please sign in to comment.