-
Notifications
You must be signed in to change notification settings - Fork 179
Possible FPE for valid_min, valid_max of scaled data #1068
Comments
The fix is on 5.0, but I think @msdsoftware is on 4.6.x but looking at 5 (is that understanding correct?) |
Yes, I am still using 4.6.x, @lesserwhirls. Started looking at switching to 5.0 last week but then backed off after finding that changes to catalog handling were significant. I may take another whack at it later this week. |
@lesserwhirls, I managed to get my code to compile and link against 5.0.0, but I am encountering some problems obtaining listings from remote catalogs (i.e., branches may be reported as having nothing in them), so it looks like I will revert to 4.6 for a while longer. I have a kludge in place in my own code to deal with the scaled valid_max problem, so there's no crying need on my end to apply the #1070 fix to 4.6. |
@cwardgar, I may have figured out the 5.0 problem reading catalogs. It appears that I need to call |
That's good news! Frankly, I haven't had a chance to look into the new Catalog code much (it was one of John's last contributions before he left), so I can't provide any guidance there. We'd love to know the steps you end up taking to get it working though. |
A user sent me a sample dataset where testing whether data values were good/bad was not working correctly because FPE was resulting in values that equalled the supposed
valid_max
being reported as invalid because the calculatedvalid_max
was incorrect by a minuscule amount.The var is described as
After opening the dataset in enhanced mode, calling
VariableDS.getValidMax()
on this variable returns a value of 0.9999999776482582.But when extracting values from the array, there are values that are reported as being == 1.0, and calling either
VariableDS.isInvalidData(1.0)
orVariableDS.isMissing(1.0)
returnstrue
.The text was updated successfully, but these errors were encountered: