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.
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.