diff --git a/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN b/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN index 9c819e7879..b2b7b67912 100755 --- a/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN +++ b/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN @@ -13,12 +13,10 @@ source "${HOMEgfs}/ush/jjob_header.sh" -e "ocnanalecen" -c "base ocnanalecen" # Begin JOB SPECIFIC work ############################################## -export PYTHONPATH=${HOMEgfs}/sorc/gdas.cd/ush:${PYTHONPATH} - ############################################################### # Run relevant script -EXSCRIPT=${GDASOCNRUNSH:-${HOMEgfs}/sorc/gdas.cd/scripts/exgdas_global_marine_analysis_ecen.py} +EXSCRIPT=${GDASOCNCENPY:-${HOMEgfs}/ush/exgdas_global_marine_analysis_ecen.py} ${EXSCRIPT} status=$? [[ ${status} -ne 0 ]] && exit "${status}" diff --git a/jobs/rocoto/ocnanalecen.sh b/jobs/rocoto/ocnanalecen.sh index dd88c30396..015f8d0198 100755 --- a/jobs/rocoto/ocnanalecen.sh +++ b/jobs/rocoto/ocnanalecen.sh @@ -11,6 +11,11 @@ status=$? export job="ocnanalecen" export jobid="${job}.$$" +############################################################### +# Setup Python path for GDASApp ush +PYTHONPATH=${HOMEgfs}/sorc/gdas.cd/ush:${PYTHONPATH} +export PYTHONPATH + ############################################################### # Execute the JJOB "${HOMEgfs}"/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN