Skip to content

bugfix for how gdal undefined values are handled

Compare
Choose a tag to compare
@ChHarding ChHarding released this 25 Jan 02:10
· 806 commits to master since this release
changed how undefined gdal values create numpy NaNs

as testing with == didn't work for -3.402823e+38 as gdal_undef,  I now test for 
< gdal_undef+0.00001 for negative undefs and > gdal_undef-0.00001 for positive undefs