SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
27 stars 12 forks source link

Replace "nodata" value with NaN as sampled value in GeoRaster #262

Closed jpswinski closed 1 year ago

jpswinski commented 1 year ago

When sampling a raster and returning the sampled result, if the value is the "nodata" value, then instead of returning it, return NaN instead. This is because the user doesn't have access to the original TIFF file and cannot unambiguously know if a value is the "nodata" value or not.

elidwa commented 1 year ago

Fixed on branch xyz https://github.com/ICESat2-SlideRule/sliderule/commit/03b2d20446eb85063b5cf53150dc4b337b25b8b6

jpswinski commented 1 year ago

Released in v3.5.0