Skip to content

Commit

Permalink
restore arch.sh to original
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonMFernando-NOAA committed Jul 16, 2024
1 parent 5c8fe4a commit d6bafc5
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions jobs/rocoto/arch.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Execute the JJOB
echo "test is successful!"
# Source FV3GFS workflow modules
. "${HOMEgfs}"/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

###############################################################
# setup python path for workflow utilities and tasks
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/ush/python"
export PYTHONPATH

exit "${status}"
export job="arch"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGLOBAL_ARCHIVE
status=$?

exit "${status}"

0 comments on commit d6bafc5

Please sign in to comment.