Skip to content

Commit

Permalink
Add PYTHONPATH to soca ocean prep jjob (NOAA-EMC#1292)
Browse files Browse the repository at this point in the history
Adds the UFSDA location to PYTHONPATH in soca prep jjob so the path building is not done in script.

Refs: NOAA-EMC/GDASApp#242 and NOAA-EMC/GDASApp#234

The issues require changes also to GDASApp, but this PR will not break GDASApp as is
  • Loading branch information
AndrewEichmann-NOAA committed Jan 31, 2023
1 parent 32b2169 commit 6b5d92d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_PREP
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ mkdir -p "${COMOUT}"
# COMIN_GES and COMIN_GES_ENS are used in script
export COMIN_GES="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/ocean"

# Add UFSDA to PYTHONPATH
ufsdaPATH="${HOMEgfs}/sorc/gdas.cd/ush/"
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${ufsdaPATH}"
export PYTHONPATH

###############################################################
# Run relevant script

Expand Down

0 comments on commit 6b5d92d

Please sign in to comment.