From a4c71874a8bada436d10f93d7ccc67a5f2f0bb26 Mon Sep 17 00:00:00 2001 From: AndrewEichmann-NOAA Date: Wed, 21 Feb 2024 23:02:03 +0000 Subject: [PATCH] tweaks --- jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN b/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN index b2b7b67912..15b3141b23 100755 --- a/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN +++ b/jobs/JGDAS_GLOBAL_OCEAN_ANALYSIS_ECEN @@ -1,9 +1,6 @@ #!/bin/bash source "${HOMEgfs}/ush/preamble.sh" -export WIPE_DATA="NO" -export DATA="${DATAROOT}/${RUN}ocnanal_${cyc}" -source "${HOMEgfs}/ush/jjob_header.sh" -e "ocnanalecen" -c "base ocnanalecen" - +source "${HOMEgfs}/ush/jjob_header.sh" -e "ocnanalecen" -c "base ocnanal ocnanalecen" ############################################## # Set variables used in the script @@ -33,8 +30,9 @@ if [[ -e "${pgmout}" ]] ; then fi ########################################## -# Do not remove the Temporary working directory (do this in POST) +# Remove the Temporary working directory ########################################## cd "${DATAROOT}" || exit 1 +[[ "${KEEPDATA}" = "NO" ]] && rm -rf "${DATA}" exit 0