Skip to content

Commit

Permalink
Compress sourcing of parm file in configs
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed Nov 28, 2023
1 parent 3b9c3a9 commit 909f7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions parm/config/gfs/config.verfozn
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export PARMmonitor=${PARMgfs}/monitor
export SATYPE_FILE=${PARMmonitor}/gdas_oznmon_satype.txt

# Source the parm file
export parm_file=${PARMmonitor}/gdas_oznmon.parm
. "${parm_file}"
. "${PARMmonitor}/gdas_oznmon.parm"

# Set up validation file
if [[ ${VALIDATE_DATA} -eq 1 ]]; then
Expand Down
3 changes: 1 addition & 2 deletions parm/config/gfs/config.verfrad
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export PARMmonitor=${PARMgfs}/monitor
export satype_file=${PARMmonitor}/gdas_radmon_satype.txt

# Source the parm file
export parm_file=${PARMmonitor}/da_mon.parm
. "${parm_file}"
. "${PARMmonitor}/da_mon.parm"

# Other variables
export RAD_AREA="glb"
Expand Down

0 comments on commit 909f7b4

Please sign in to comment.