Skip to content
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

find_met_files 23hr bug #110

Merged
merged 2 commits into from
Mar 4, 2025
Merged

find_met_files 23hr bug #110

merged 2 commits into from
Mar 4, 2025

Conversation

jmineau
Copy link
Member

@jmineau jmineau commented Mar 4, 2025

When hour(t_start) is 23 and hour(met_end_ceil) is 24, subtracting by 1 results in negative one. So we need to add to hour(met_end) and modulo divide by 24.

Additionally, removed the check for minutes greater than 0. When the time for t_start is something like 23:00, some arl files like HRRR can interpolate the last hour, however, other such as the NCAR/NCEP reanalysis and 12km NAM, need the next days file to interpolate the last hour.

@John-C-Lin John-C-Lin merged commit 0f9ff18 into uataq:main Mar 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants