-
Notifications
You must be signed in to change notification settings - Fork 138
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
2024.01-alpha2 stdout is swamped by a warning increasing its size 1000 fold #1430
Comments
Anyone knows what is wrong with this logic and why it is tripped in seemingly fine regression tests?
|
@raphaeldussin we should fix this. This check was not in the original code, perhaps it should not be in the new code either? |
I got curious and put print statements to see what's going on. Indeed the logic above is tripped thousands of times with values like
or
I don't know what is going on. But given that models run with these warnings, we should remove the if blocks and let it be like it was before. Ignorance is bliss. |
@nikizadehgfdl This sounds dangerous. Removing the |
In ESM4 case most of these warnings are because the data file has only 1 time level at 12/31/1899, (I guess that's where day=693499 comes from above). I think time_interp handles constant in time source data. |
fixed with #1431 |
Describe the bug
In the tag 2024.01-alpha2 stdout is swamped by the following warning for regression tests
To Reproduce
Run ESM4.2 regression test
Expected behavior
Should be no such warning or at most a NOTE or FATAL if this is a problem
Additional context
The code is newly added to main branch by PR #1408 . There are many lines of code with this warning
https://github.com/NOAA-GFDL/FMS/pull/1408/files#diff-482d9c64ab36090ff35a1709f8ad19050a7d6817855d6a2d897096bfc51e0f36R845
The text was updated successfully, but these errors were encountered: