Describe the bug
Hey hey! I'm working with a dataset called GSOC to calculate soil organic carbon for a geometry. There's some geometries that are producing... interesting :D results for us. If I run geoblaze.stats on the geometry, it gives me these results:
[
{
"count": 3,
"valid": 3,
"invalid": 0,
"median": 43,
"min": -3.3999999521443642e+38,
"max": 43,
"sum": -3.3999999521443642e+38,
"range": 3.3999999521443642e+38,
"mean": -1.1333333173814548e+38,
"variance": 2.5688888165737062e+76,
"std": 1.6027753481301446e+38,
"histogram": {
"43": {
"n": 43,
"ct": 2
},
"-3.3999999521443642e+38": {
"n": -3.3999999521443642e+38,
"ct": 1
}
},
"modes": [
43
],
"mode": 43,
"uniques": [
-3.3999999521443642e+38,
43
]
}
]
That -3.3999999521443642e+38, doesn't seem right, and I have no idea what's causing that...
To Reproduce
// this is close to my house, found it by accident but the issue is prevalent in the dataset.
const geometry = [
[
[
13.457568617507945,
52.49182485147867
],
[
13.46005856478584,
52.492777796740285
],
[
13.476492216820844,
52.487622982948125
],
[
13.479195588151981,
52.48467710379617
],
[
13.473148573333333,
52.48155772259062
],
[
13.457568617507945,
52.49182485147867
]
]
];
const gsoc = await geoblaze.parse('https://storage.googleapis.com/fao-maps-catalog-data/geonetwork/gsoc/GSOCmap/GSOCmap1.5.0.tif';
const stats = await geoblaze.stats(gsoc, geometry);
Expected behavior
I'm not sure to be honest. QGIS doesn't give me values like this when loading the dataset and looking up the coordinates...
Any help at all understanding what's happening here would be greatly appreciated <3
Describe the bug
Hey hey! I'm working with a dataset called GSOC to calculate soil organic carbon for a geometry. There's some geometries that are producing... interesting :D results for us. If I run
geoblaze.statson the geometry, it gives me these results:[ { "count": 3, "valid": 3, "invalid": 0, "median": 43, "min": -3.3999999521443642e+38, "max": 43, "sum": -3.3999999521443642e+38, "range": 3.3999999521443642e+38, "mean": -1.1333333173814548e+38, "variance": 2.5688888165737062e+76, "std": 1.6027753481301446e+38, "histogram": { "43": { "n": 43, "ct": 2 }, "-3.3999999521443642e+38": { "n": -3.3999999521443642e+38, "ct": 1 } }, "modes": [ 43 ], "mode": 43, "uniques": [ -3.3999999521443642e+38, 43 ] } ]That
-3.3999999521443642e+38,doesn't seem right, and I have no idea what's causing that...To Reproduce
Expected behavior
I'm not sure to be honest. QGIS doesn't give me values like this when loading the dataset and looking up the coordinates...
Any help at all understanding what's happening here would be greatly appreciated <3