Skip to content

Commit

Permalink
added ex script
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewEichmann-NOAA committed Sep 20, 2023
1 parent 68c30e9 commit 1bdc423
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions jobs/JGLOBAL_PREP_OCEAN_OBS
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
#!/bin/bash
source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "prepoceanobs" -c "base prepoceanobs"
source "${HOMEgfs}/ush/jjob_header.sh" -e "prepoceanobs" -c "base ocnanal prepoceanobs"


##############################################
# Set variables used in the script
##############################################

export COMIN_OBS="${DATA}"

##############################################
# Begin JOB SPECIFIC work
##############################################

# Add prep_marine_obs.py to PYTHONPATH
export PYTHONPATH=${HOMEgfs}/sorc/gdas.cd/ush/soca:${PYTHONPATH}

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

# the relevant script goes here
EXSCRIPT=${GDASPREPPY:-${HOMEgfs}/sorc/gdas.cd/scripts/exglobal_prep_ocean_obs.py}
${EXSCRIPT}
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"


##############################################
# End JOB SPECIFIC work
Expand Down

0 comments on commit 1bdc423

Please sign in to comment.