-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change grib2 file name forecast hour precision from two to three digits #282
Change grib2 file name forecast hour precision from two to three digits #282
Conversation
… three values instead of two
…n plotting script.
…t hour formats in post filenames
scripts/exregional_run_post.sh
Outdated
# | ||
len_fhr=${#fhr} | ||
if [ ${len_fhr} -eq 2 ]; then | ||
post_fhr=${fhr} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 220: Indent 2 spaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in latest commit.
scripts/exregional_run_post.sh
Outdated
post_fhr="${fhr:1}" | ||
fi | ||
else | ||
print_err_msg_exit "\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 226: Indent two spaces (but not lines 227 and 228!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in latest commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
DESCRIPTION OF CHANGES:
Changes forecast hour precision from two to three digits, and adds an "f" prior to the forecast hour in the final grib2 file names. Requested by GSL.
Modifies the plot_allvars.py Python script to match this convention.
TESTS CONDUCTED:
Tested successfully on Hera with both HRRR3km and HRRR25km domains.
CONTRIBUTORS (optional):
@gsketefian