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
Describe the bug
If a raster contains NaN as a value (usually as the no-data value), geoblaze.sum() returns [NaN]
To Reproduce
import geoblaze from "geoblaze";
const test = async () => {
const sum = await geoblaze.sum([Any tif with NaN as no-data value]);
console.log(sum); \\ outputs [NaN]
};
test();
Expected behavior
Expect geoblaze to ignore NaN no-data values and return normal sum.
The text was updated successfully, but these errors were encountered:
avmey
changed the title
NaN values cause errors
NaN values cause unexpected results
Jun 15, 2023
Describe the bug
If a raster contains NaN as a value (usually as the no-data value), geoblaze.sum() returns
[NaN]
To Reproduce
Expected behavior
Expect geoblaze to ignore NaN no-data values and return normal sum.
The text was updated successfully, but these errors were encountered: