Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate tracker and genesis jobs from vrfy job #2058

Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
eae8120
Create rocoto job scripts for tracker/genesis
KateFriedman-NOAA Nov 3, 2023
3b0035d
Add tracker/genesis settings to config.base
KateFriedman-NOAA Nov 3, 2023
65526d2
Remove tracker/genesis settings from config.vrfy
KateFriedman-NOAA Nov 3, 2023
0a325c6
Remove tracker/genesis from vrfy rocoto job script
KateFriedman-NOAA Nov 3, 2023
91b9aad
Create configs for tracker/genesis jobs
KateFriedman-NOAA Nov 3, 2023
ec25fa9
Add tracker/genesis to resource config
KateFriedman-NOAA Nov 3, 2023
d794dde
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 6, 2023
d1c0794
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 6, 2023
7211e69
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 7, 2023
b26dad4
Add tracker and genesis jobs to setup
KateFriedman-NOAA Nov 7, 2023
8b86919
Reduce vrfy job resources
KateFriedman-NOAA Nov 7, 2023
ea3f4ca
Update jjob_header arguments for tracker/genesis
KateFriedman-NOAA Nov 7, 2023
64bfe75
Change tracker_ver to ens_tracker_ver
KateFriedman-NOAA Nov 7, 2023
9311843
Create and use config.tropcy
KateFriedman-NOAA Nov 7, 2023
f0b9ecd
Tropcy config updates
KateFriedman-NOAA Nov 7, 2023
88a749a
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 8, 2023
db8c460
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 8, 2023
f16996d
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 9, 2023
91ad811
Remove extra line in config.resources
KateFriedman-NOAA Nov 9, 2023
5f4e66e
Add tracker/genesis to forecast-only mode
KateFriedman-NOAA Nov 9, 2023
1ef9611
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 14, 2023
7d53fc7
Merge remote-tracking branch 'upstream/develop' into feature/tracker_…
KateFriedman-NOAA Nov 14, 2023
07f97a8
Update post dependencies for archive job
KateFriedman-NOAA Nov 14, 2023
baebcfb
Merge branch 'NOAA-EMC:develop' into feature/tracker_jobs_separate
KateFriedman-NOAA Nov 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_CYCLONE_GENESIS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "vrfy" -c "base vrfy"
source "${HOMEgfs}/ush/jjob_header.sh" -e "genesis" -c "base genesis"


##############################################
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_CYCLONE_TRACKER
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "vrfy" -c "base vrfy"
source "${HOMEgfs}/ush/jjob_header.sh" -e "tracker" -c "base tracker"


export COMPONENT="atmos"
Expand Down
2 changes: 1 addition & 1 deletion jobs/JGFS_ATMOS_FSU_GENESIS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "vrfy" -c "base vrfy"
source "${HOMEgfs}/ush/jjob_header.sh" -e "genesis_fsu" -c "base genesis_fsu"

export COMPONENT="atmos"

Expand Down
20 changes: 20 additions & 0 deletions jobs/rocoto/genesis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
status=$?
(( status != 0 )) && exit "${status}"

export job="genesis"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB

"${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_GENESIS"
status=$?

exit "${status}"
20 changes: 20 additions & 0 deletions jobs/rocoto/genesis_fsu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
status=$?
(( status != 0 )) && exit "${status}"

export job="genesis_fsu"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB

"${HOMEgfs}/jobs/JGFS_ATMOS_FSU_GENESIS"
status=$?

exit "${status}"
20 changes: 20 additions & 0 deletions jobs/rocoto/tracker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
status=$?
(( status != 0 )) && exit "${status}"

export job="tracker"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB

"${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_TRACKER"
status=$?

exit "${status}"
28 changes: 0 additions & 28 deletions jobs/rocoto/vrfy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,6 @@ if [[ "${RUNMOS}" == "YES" && "${CDUMP}" == "gfs" ]]; then
fi


################################################################################
echo
echo "=============== START TO RUN CYCLONE TRACK VERIFICATION ==============="
if [[ ${VRFYTRAK} = "YES" ]]; then

COMINsyn=${COMINsyn:-$(compath.py "${envir}/com/gfs/${gfs_ver}")/syndat}
export COMINsyn

${TRACKERSH}
fi


################################################################################
echo
echo "=============== START TO RUN CYCLONE GENESIS VERIFICATION ==============="
if [[ ${VRFYGENESIS} = "YES" && "${CDUMP}" = "gfs" ]]; then
${GENESISSH}
fi


################################################################################
echo
echo "=============== START TO RUN CYCLONE GENESIS VERIFICATION (FSU) ==============="
if [[ ${VRFYFSU} = "YES" && "${CDUMP}" = "gfs" ]]; then
${GENESISFSU}
fi


###############################################################
# Force Exit out cleanly
cd "${DATAROOT}"
Expand Down
3 changes: 3 additions & 0 deletions parm/config/gfs/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export DO_BUFRSND="NO" # BUFR sounding products
export DO_GEMPAK="NO" # GEMPAK products
export DO_AWIPS="NO" # AWIPS products
export DO_VRFY="YES" # VRFY step
export DO_TRACKER="YES" # Hurricane track verification
export DO_GENESIS="YES" # Cyclone genesis verification
export DO_GENESIS_FSU="NO" # Cyclone genesis verification (FSU)
export DO_VERFOZN="YES" # Ozone data assimilation monitoring
export DO_VERFRAD="YES" # Radiance data assimilation monitoring
export DO_VMINMON="YES" # GSI minimization monitoring
Expand Down
12 changes: 12 additions & 0 deletions parm/config/gfs/config.genesis
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /usr/bin/env bash

########## config.genesis ##########
echo "BEGIN: config.genesis"

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

# Get tropcy settings
. "${EXPDIR}/config.tropcy"

echo "END: config.genesis"
12 changes: 12 additions & 0 deletions parm/config/gfs/config.genesis_fsu
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /usr/bin/env bash

########## config.genesis_fsu ##########
echo "BEGIN: config.genesis_fsu"

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

# Get tropcy settings
. "${EXPDIR}/config.tropcy"

echo "END: config.genesis_fsu"
35 changes: 28 additions & 7 deletions parm/config/gfs/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if [[ $# -ne 1 ]]; then
echo "landanl"
echo "aeroanlinit aeroanlrun aeroanlfinal"
echo "anal sfcanl analcalc analdiag fcst post echgres"
echo "tracker genesis genesis_fsu"
echo "verfozn verfrad vminmon vrfy fit2obs metp arch cleanup"
echo "eobs ediag eomg eupd ecen esfc efcs epos earc"
echo "init_chem mom6ic ocnpost"
Expand Down Expand Up @@ -749,19 +750,39 @@ elif [[ ${step} = "vminmon" ]]; then
export npe_node_vminmon_gfs=1
export memory_vminmon="1G"

elif [[ ${step} = "tracker" ]]; then

export wtime_tracker="00:10:00"
export npe_tracker=1
export nth_tracker=1
export npe_node_tracker=1
export memory_tracker="4G"

elif [[ ${step} = "genesis" ]]; then

export wtime_genesis="00:25:00"
export npe_genesis=1
export nth_genesis=1
export npe_node_genesis=1
export memory_genesis="4G"

elif [[ ${step} = "genesis_fsu" ]]; then

export wtime_genesis_fsu="00:10:00"
export npe_genesis_fsu=1
export nth_genesis_fsu=1
export npe_node_genesis_fsu=1
export memory_genesis_fsu="4G"

elif [[ ${step} = "vrfy" ]]; then

export wtime_vrfy="03:00:00"
export wtime_vrfy_gfs="06:00:00"
export npe_vrfy=3
export wtime_vrfy="00:10:00"
export wtime_vrfy_gfs="00:10:00"
export npe_vrfy=1
export nth_vrfy=1
export npe_node_vrfy=1
export npe_vrfy_gfs=1
export npe_node_vrfy_gfs=1
if [[ ${machine} == "HERA" ]]; then
export memory_vrfy="16384M"
fi
export is_exclusive=True

elif [[ "${step}" = "fit2obs" ]]; then

Expand Down
12 changes: 12 additions & 0 deletions parm/config/gfs/config.tracker
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /usr/bin/env bash

########## config.tracker ##########
echo "BEGIN: config.tracker"

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

# Get tropcy settings
. "${EXPDIR}/config.tropcy"

echo "END: config.tracker"
15 changes: 15 additions & 0 deletions parm/config/gfs/config.tropcy
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#! /usr/bin/env bash

########## config.tropcy ##########
echo "BEGIN: config.tropcy"

# Tracker/genesis package location
export HOMEens_tracker=${BASE_GIT}/TC_tracker/${ens_tracker_ver}

export SENDCOM="YES" # Needed by tracker scripts still

export FHOUT_CYCLONE=6
FHMAX_CYCLONE=$(( FHMAX_GFS<240 ? FHMAX_GFS : 240 ))
export FHMAX_CYCLONE

echo "END: config.tropcy"
37 changes: 0 additions & 37 deletions parm/config/gfs/config.vrfy
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,8 @@ echo "BEGIN: config.vrfy"

export CDFNL="gdas" # Scores verification against GDAS/GFS analysis
export MKPGB4PRCP="YES" # Make 0.25-deg pgb files in ARCDIR for precip verification
export VRFYTRAK="YES" # Hurricane track verification
export VRFYGENESIS="YES" # Cyclone genesis verification
export VRFYFSU="NO" # Cyclone genesis verification (FSU)
export RUNMOS="NO" # whether to run entire MOS package

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

export SENDCOM="YES" # Needed by tracker/genesis scripts still

export HOMEens_tracker=$BASE_GIT/TC_tracker/${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 ))
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
Expand Down
2 changes: 1 addition & 1 deletion versions/run.hera.ver
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export wgrib2_ver=2.0.8
export obsproc_run_ver=1.1.2
export prepobs_run_ver=1.0.1

export tracker_ver=feature-GFSv17_com_reorg
export ens_tracker_ver=feature-GFSv17_com_reorg
export fit2obs_ver=1.0.0
2 changes: 1 addition & 1 deletion versions/run.jet.ver
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export anaconda_ver=5.3.1
export obsproc_run_ver=1.1.2
export prepobs_run_ver=1.0.1

export tracker_ver=feature-GFSv17_com_reorg
export ens_tracker_ver=feature-GFSv17_com_reorg
export fit2obs_ver=1.0.0
2 changes: 1 addition & 1 deletion versions/run.orion.ver
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export wgrib2_ver=2.0.8
export obsproc_run_ver=1.1.2
export prepobs_run_ver=1.0.1

export tracker_ver=feature-GFSv17_com_reorg
export ens_tracker_ver=feature-GFSv17_com_reorg
export fit2obs_ver=1.0.0
2 changes: 1 addition & 1 deletion versions/run.s4.ver
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export wgrib2_ver=2.0.8
export obsproc_run_ver=1.1.2
export prepobs_run_ver=1.0.1

export tracker_ver=feature-GFSv17_com_reorg
export ens_tracker_ver=feature-GFSv17_com_reorg
export fit2obs_ver=1.0.0
2 changes: 1 addition & 1 deletion versions/run.wcoss2.ver
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ export wgrib2_ver=2.0.8
export obsproc_run_ver=1.1.2
export prepobs_run_ver=1.0.1

export tracker_ver=feature-GFSv17_com_reorg
export ens_tracker_ver=feature-GFSv17_com_reorg
export fit2obs_ver=1.0.0
3 changes: 3 additions & 0 deletions workflow/applications/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def __init__(self, conf: Configuration) -> None:
self.do_verfozn = _base.get('DO_VERFOZN', True)
self.do_verfrad = _base.get('DO_VERFRAD', True)
self.do_vminmon = _base.get('DO_VMINMON', True)
self.do_tracker = _base.get('DO_TRACKER', True)
self.do_genesis = _base.get('DO_GENESIS', True)
self.do_genesis_fsu = _base.get('DO_GENESIS_FSU', False)
self.do_metp = _base.get('DO_METP', False)

self.do_hpssarch = _base.get('HPSSARCH', False)
Expand Down
18 changes: 18 additions & 0 deletions workflow/applications/gfs_cycled.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ def _get_app_configs(self):
if self.do_vminmon:
configs += ['vminmon']

if self.do_tracker:
configs += ['tracker']

if self.do_genesis:
configs += ['genesis']

if self.do_genesis_fsu:
configs += ['genesis_fsu']

if self.do_metp:
configs += ['metp']

Expand Down Expand Up @@ -195,6 +204,15 @@ def get_task_names(self):
if self.do_vminmon:
gfs_tasks += ['vminmon']

if self.do_tracker:
gfs_tasks += ['tracker']

if self.do_genesis:
gfs_tasks += ['genesis']

if self.do_genesis_fsu:
gfs_tasks += ['genesis_fsu']

if self.do_metp:
gfs_tasks += ['metp']

Expand Down
18 changes: 18 additions & 0 deletions workflow/applications/gfs_forecast_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ def _get_app_configs(self):
if self.do_ocean or self.do_ice:
configs += ['ocnpost']

if self.do_atm and self.do_tracker:
configs += ['tracker']

if self.do_atm and self.do_genesis:
configs += ['genesis']

if self.do_atm and self.do_genesis_fsu:
configs += ['genesis_fsu']

if self.do_atm and self.do_metp:
configs += ['metp']

Expand Down Expand Up @@ -85,6 +94,15 @@ def get_task_names(self):
if self.do_atm:
tasks += ['vrfy']

if self.do_atm and self.do_tracker:
tasks += ['tracker']

if self.do_atm and self.do_genesis:
tasks += ['genesis']

if self.do_atm and self.do_genesis_fsu:
tasks += ['genesis_fsu']

if self.do_atm and self.do_metp:
tasks += ['metp']

Expand Down
Loading