Skip to content

Commit

Permalink
fix linter error and remove exports in UFSDA ATM var jobs ((NOAA-EMC#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Apr 26, 2023
1 parent 6ad2759 commit 0565b4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions jobs/JGLOBAL_ATM_ANALYSIS_FINALIZE
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ source "${HOMEgfs}/ush/jjob_header.sh" -e "atmanlfinal" -c "base atmanl atmanlfi
##############################################
# Set variables used in the script
##############################################
# shellcheck disable=SC2153
GDATE=$(date +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours")
export gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
gPDY=${GDATE:0:8}
gcyc=${GDATE:8:2}
GDUMP="gdas"


Expand Down
7 changes: 4 additions & 3 deletions jobs/JGLOBAL_ATM_ANALYSIS_INITIALIZE
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ source "${HOMEgfs}/ush/jjob_header.sh" -e "atmanlinit" -c "base atmanl atmanlini
##############################################
# Set variables used in the script
##############################################
# shellcheck disable=SC2153
GDATE=$(date +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours")
export gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
gPDY=${GDATE:0:8}
gcyc=${GDATE:8:2}
GDUMP="gdas"
export GDUMP_ENS="enkf${GDUMP}"
GDUMP_ENS="enkf${GDUMP}"


##############################################
Expand Down

0 comments on commit 0565b4e

Please sign in to comment.