Skip to content

Commit

Permalink
Move arch-specific features to config.arch_tars
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Feb 10, 2025
1 parent ffcc1dc commit e9a2099
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
12 changes: 10 additions & 2 deletions parm/config/gfs/config.arch_tars
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ echo "BEGIN: config.arch_tars"
# Get task specific resources
. "${EXPDIR}/config.resources" "arch_tars"

export ARCH_CYC=00 # Archive data at this cycle for warm start and/or forecast-only capabilities
export ARCH_WARMICFREQ=4 # Archive frequency in days for warm start capability
export ARCH_FCSTICFREQ=1 # Archive frequency in days for gdas and gfs forecast-only capability
export ARCH_EXPDIR='YES' # Archive the EXPDIR configs, XML, and database
export ARCH_EXPDIR_FREQ=0 # How often to archive the EXPDIR in hours or 0 for first and last cycle only
export ARCH_HASHES='YES' # Archive the hashes of the GW and submodules and 'git status' for each; requires ARCH_EXPDIR
export ARCH_DIFFS='NO' # Archive the output of 'git diff' for the GW; requires ARCH_EXPDIR

export ARCH_GAUSSIAN="YES"
export ARCH_GAUSSIAN_FHMAX=${FHMAX_GFS}
export ARCH_GAUSSIAN_FHINC=${FHOUT_GFS}
export ARCH_GAUSSIAN_FHMAX=${FHMAX_GFS:-}
export ARCH_GAUSSIAN_FHINC=${FHOUT_GFS:-}

# If we are running globus archiving, create tarballs in a temporary location
if [[ "${GLOBUSARCH}" == "YES" ]]; then
Expand Down
4 changes: 0 additions & 4 deletions parm/config/gfs/config.arch_vrfy
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ echo "BEGIN: config.arch_vrfy"
# Get task specific resources
. "${EXPDIR}/config.resources" "arch_vrfy"

export ARCH_GAUSSIAN="YES"
export ARCH_GAUSSIAN_FHMAX=${FHMAX_GFS}
export ARCH_GAUSSIAN_FHINC=${FHOUT_GFS}

echo "END: config.arch_vrfy"
8 changes: 0 additions & 8 deletions parm/config/gfs/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -501,14 +501,6 @@ fi
# Globus UUID for this machine
export CLIENT_GLOBUS_UUID='@CLIENT_GLOBUS_UUID@'

export ARCH_CYC=00 # Archive data at this cycle for warm start and/or forecast-only capabilities
export ARCH_WARMICFREQ=4 # Archive frequency in days for warm start capability
export ARCH_FCSTICFREQ=1 # Archive frequency in days for gdas and gfs forecast-only capability
export ARCH_EXPDIR='YES' # Archive the EXPDIR configs, XML, and database
export ARCH_EXPDIR_FREQ=0 # How often to archive the EXPDIR in hours or 0 for first and last cycle only
export ARCH_HASHES='YES' # Archive the hashes of the GW and submodules and 'git status' for each; requires ARCH_EXPDIR
export ARCH_DIFFS='NO' # Archive the output of 'git diff' for the GW; requires ARCH_EXPDIR

# The monitor jobs are not yet supported for JEDIATMVAR.
if [[ ${DO_JEDIATMVAR} = "YES" ]]; then
export DO_FIT2OBS="NO" # Run fit to observations package
Expand Down

0 comments on commit e9a2099

Please sign in to comment.