You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing degrib2 is fraught with difficulties when comparing text output. What we need is something (snippet of sed? python?) to get rid of the 3rd decimal onward.
(Or, better still, add a flag to degrib2 which causes output to be rounded, then use that for testing.)
The text was updated successfully, but these errors were encountered:
OK, turns out I already have a utility function to compare two degrib2 outputs and check within tolerances. I just have to remove the two old tests that still use a diff for this, but those tests are reproduced already using the new method.
degrib2 tests are failing on Intel and Windows because of differences in calculated averages
For example:
Testing degrib2 is fraught with difficulties when comparing text output. What we need is something (snippet of sed? python?) to get rid of the 3rd decimal onward.
(Or, better still, add a flag to degrib2 which causes output to be rounded, then use that for testing.)
The text was updated successfully, but these errors were encountered: