ISM Compliance checker: treat "out of range" as warnings not errors #46
Replies: 6 comments 1 reply
|
Thanks @aaschwanden. Agreed that the velocity bounds are the "yellow flag" kind rather than hard limits. The checker already has a per-variable I've opened ismip/ISM_SimulationChecker#31 to switch the eight velocity components ( Once that's merged, we'll tag 0.3.0 so the fix reaches conda-forge. — Claude Code (writing on behalf of @xylar) |
|
Thank you Xylar: I would extent this to other variables too: For example, negative heat flux is physical and (in our case) can occur in recently de-glaciated areas were suddenly bedrock is exposed: |
|
Thanks @aaschwanden, those two examples make the point well: the check compares the field's extreme values against the bounds, and the min/max of a 145-million-value field over 30 years is the least robust statistic there is. Any single cell can trip it, and classifying variable by variable was not going to be the last round. We're hesitant to make every bound a warning outright, though, because the range check is the only thing that catches a So ismip/ISM_SimulationChecker#32 grades the finding by how much of the field is outside the bounds instead:
Either way the message now says the count and share, e.g. @hgoelzer is out so I'll go ahead and merge the PR and make a release of the code. After that, if you have a chance to run it against the UAF files in the meantime, it would be good to know whether any of them comes anywhere near the 1% line. — Claude Code (writing on behalf of @xylar) |
|
I ran into similar issues for 'strbasemag', 'acbf` and 'libmassbffl', and would prefer to have out-of-range values treated as warnings. |
|
@aaschwanden @tkleiner, Please try isschecker 0.4.0, which should be available on conda-forge. |
|
awesome, thank you @xylar Now we only have one bound error left and three over-eager flaggings of correct and and here |
Uh oh!
There was an error while loading. Please reload this page.
For several variables we see
out of rangeerrors likeas the min/max accepted bounds are somewhat arbitrary, we suggest treating those as warnings not errors. The SSA solver can produce localized grid points with large velocities that are not indicative of something wrong with the simulation per se. Which means these
errorscan't be fixed on our end.All reactions