Skip to content

Commit

Permalink
Add /atmos to HPSS path for GFS grib2 files after certain date (#515)
Browse files Browse the repository at this point in the history
* Add atmos to HPSS path for GFS grib2 files after certain date

* Add slash_atmos_or_null
  • Loading branch information
JeffBeck-NOAA authored Jun 16, 2021
1 parent d96eccc commit 4b86b14
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ush/get_extrn_mdl_file_dir_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -919,8 +919,13 @@ workflow to look for the external model files in a user-staged directory."
fi

arcv_fmt="tar"
arcvrel_dir="./gfs.${yyyymmdd}/${hh}"


slash_atmos_or_null=""
if [ "${cdate_FV3LAM}" -ge "2021032100" ]; then
slash_atmos_or_null="/atmos"
fi
arcvrel_dir="./gfs.${yyyymmdd}/${hh}${slash_atmos_or_null}"

is_array arcv_fns
if [ "$?" = "0" ]; then
suffix=".${arcv_fmt}"
Expand Down

0 comments on commit 4b86b14

Please sign in to comment.