Skip to content

find_met_files 23hr bug#110

Merged
John-C-Lin merged 2 commits intouataq:mainfrom
jmineau:met_file_23hr_bug
Mar 4, 2025
Merged

find_met_files 23hr bug#110
John-C-Lin merged 2 commits intouataq:mainfrom
jmineau:met_file_23hr_bug

Conversation

@jmineau
Copy link
Copy Markdown
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