Skip to content

Commit

Permalink
Allow obsproc_run_ver to be unset in config.base
Browse files Browse the repository at this point in the history
Add ":-" to obsproc_run_ver variable setting for HOMEobsproc;
the run.spack.ver version file is not currently sourced during
forecast jobs and thus obsproc_run_ver is not set; it's not
needed for forecast jobs however so allow it to be unset

Refs NOAA-EMC#2291
  • Loading branch information
KateFriedman-NOAA committed Aug 26, 2024
1 parent f36c329 commit c3a74d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parm/config/gfs/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export MODE="@MODE@" # cycled/forecast-only
# Build paths relative to $HOMEgfs
export FIXgsi="${HOMEgfs}/fix/gsi"
export HOMEpost="${HOMEgfs}"
export HOMEobsproc="${BASE_GIT:-}/obsproc/v${obsproc_run_ver}"
export HOMEobsproc="${BASE_GIT:-}/obsproc/v${obsproc_run_ver:-}"

# CONVENIENT utility scripts and other environment parameters
export NCP="/bin/cp -p"
Expand Down

0 comments on commit c3a74d5

Please sign in to comment.