-
Notifications
You must be signed in to change notification settings - Fork 20
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
Issue with floating nodata
on latest rasterio
versions
#293
Comments
Update: this problem might not actually be My guess right now: this may be related to floating point precision. Looking into it... |
The above problem was actually a combination of an issue now described in #294, and the behaviour of >1.2.10 But reverting the environment to rasterio >=1.3 in xDEM's CI showed that there is indeed an issue with |
Still an issue for floating nodata, no way to merge GlacioHack/xdem#301 with But forcing <=1.2.10 in xDEM is in direct conflict with the forcing of >1.3 on the latest GeoUtils for the cropping bugs... we'll have to find a solution soon! |
Alelujah, finally found the issue, after 2 weeks... 😓. Nothing to do with floating nodatas ! It actually comes from This is likely because we added more tests that rely on the But overall, I will add an article to the xDEM wiki. |
The reason our tests kept failing with Longyearbyen example in xDEM, that has a floating nodata of -3.4028235e+38. See for example here.
Locally, the environment solved for rasterio 1.2.10 which passes tests (must have been the same for @adehecq). But on the CI, it solved for 1.3.2 which kept failing! 1.2.10 is the last release before 1.3, so this is where the error might have been introduced. I did not see any issue on it in
rasterio
yet, it would nice to work out a reproducible example and open an issue there.The text was updated successfully, but these errors were encountered: