Skip to content

Commit

Permalink
Remove unused date variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabdi-noaa committed Apr 6, 2023
1 parent a7192b7 commit 18a3da4
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions scripts/exregional_process_bufr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,8 @@ with FV3 for the specified cycle.
#
#-----------------------------------------------------------------------
#
START_DATE=$(echo "${CDATE}" | sed 's/\([[:digit:]]\{2\}\)$/ \1/')
START_DATE=$(echo "${PDY}${cyc}")
YYYYMMDDHH=$(date +%Y%m%d%H -d "${START_DATE}")
JJJ=$(date +%j -d "${START_DATE}")

YYYY=${YYYYMMDDHH:0:4}
MM=${YYYYMMDDHH:4:2}
DD=${YYYYMMDDHH:6:2}
HH=${YYYYMMDDHH:8:2}
YYYYMMDD=${YYYYMMDDHH:0:8}

YYJJJHH=$(date +"%y%j%H" -d "${START_DATE}")
PREYYJJJHH=$(date +"%y%j%H" -d "${START_DATE} 1 hours ago")

#
#-----------------------------------------------------------------------
#
Expand Down

0 comments on commit 18a3da4

Please sign in to comment.