Skip to content

Commit

Permalink
Add shellcheck disable for SC2153 for monitor jobs
Browse files Browse the repository at this point in the history
Disable shellcheck SC2153 for PDY in GDATE

Refs NOAA-EMC#1925
  • Loading branch information
KateFriedman-NOAA committed Nov 29, 2023
1 parent 9600f0a commit d280a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions jobs/JGDAS_ATMOS_VERFRAD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source "${HOMEgfs}/ush/jjob_header.sh" -e "verfrad" -c "base verfrad"
#############################################
# determine PDY and cyc for previous cycle
#############################################
# shellcheck disable=SC2153
GDATE=$(date --utc +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours")
export gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
Expand Down
1 change: 1 addition & 0 deletions jobs/JGLOBAL_ATMOS_VMINMON
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source "${HOMEgfs}/ush/jjob_header.sh" -e "vminmon" -c "base vminmon"
#############################################
# Determine PDY and cyc for previous cycle
#############################################
# shellcheck disable=SC2153
GDATE=$(date --utc +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours")
export gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
Expand Down

0 comments on commit d280a02

Please sign in to comment.