From 3405a4417a2329661d38937c7228b785d5c6ac84 Mon Sep 17 00:00:00 2001 From: AndrewEichmann-NOAA Date: Thu, 18 Apr 2024 18:35:30 +0000 Subject: [PATCH] review suggestions --- jobs/JGLOBAL_PREP_OCEAN_OBS | 3 --- jobs/rocoto/prepoceanobs.sh | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/jobs/JGLOBAL_PREP_OCEAN_OBS b/jobs/JGLOBAL_PREP_OCEAN_OBS index dbbab898fd..339d90567e 100755 --- a/jobs/JGLOBAL_PREP_OCEAN_OBS +++ b/jobs/JGLOBAL_PREP_OCEAN_OBS @@ -14,9 +14,6 @@ YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COMOUT_OBS:COM_OBS_TMPL # Begin JOB SPECIFIC work ############################################## -# Add prep_ocean_obs.py to PYTHONPATH -export PYTHONPATH=${HOMEgfs}/ush:${PYTHONPATH} - ############################################################### # Run relevant script diff --git a/jobs/rocoto/prepoceanobs.sh b/jobs/rocoto/prepoceanobs.sh index d7ae87851f..3fa4dcf083 100755 --- a/jobs/rocoto/prepoceanobs.sh +++ b/jobs/rocoto/prepoceanobs.sh @@ -12,6 +12,11 @@ status=$? export job="prepoceanobs" export jobid="${job}.$$" +############################################################### +# setup python path for class defs and utils + +export PYTHONPATH=${HOMEgfs}/ush:${PYTHONPATH} + ############################################################### # Execute the JJOB "${HOMEgfs}"/jobs/JGLOBAL_PREP_OCEAN_OBS