Skip to content
Snippets Groups Projects

load scale and offset if present

Merged RufaiOmowunmi.Balogun requested to merge rob_dev into main
5 unresolved threads
Files
6
{
"type": "Feature",
"stac_version": "1.0.0",
"id": "20240301000000",
"id": "20200301000000",
"properties": {
"datetime": "2024-03-01T00:00:00Z"
"datetime": "2020-03-01T00:00:00Z"
},
"geometry": {
"type": "Polygon",
@@ -45,7 +45,7 @@
},
{
"rel": "self",
"href": "http://10.8.244.74:8082/collections/BD_SOILGRIDS/items/20240301000000",
"href": "http://10.8.244.74:8082/collections/BD_SOILGRIDS/items/20200301000000",
"type": "application/json"
},
{
@@ -56,7 +56,7 @@
],
"assets": {
"bd_sl1": {
"href": "./stac/BD_SOILGRIDS/20240301000000/bd_sl1_20240301000000.tif",
"href": "./stac/BD_SOILGRIDS/20200301000000/bd_sl1_20200301000000.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"proj:epsg": 4326,
"proj:geometry": {
@@ -145,31 +145,32 @@
"raster:bands": [
{
"data_type": "int16",
"scale": 1.0,
"scale": 0.01,
"offset": 0.0,
"sampling": "area",
"nodata": -32768.0,
"statistics": {
"mean": -7243.044276281381,
"minimum": -32768,
"maximum": 3944,
"stddev": 12923.693193303632,
"valid_percent": 0.00020430177824267782
"mean": 113.06354800975733,
"minimum": 60,
"maximum": 141,
"stddev": 15.031083230767154,
"valid_percent": 79.81682302562761
},
"histogram": {
"count": 11,
"min": -32768.0,
"max": 3944.0,
"min": 60.0,
"max": 141.0,
"buckets": [
92325,
2651,
3177,
3585,
4695,
6189,
9281,
15775,
305625,
46169
189,
2177,
13082,
30056,
43150,
56967,
54944,
76422,
93976,
19718
]
}
}
@@ -184,7 +185,7 @@
]
},
"bd_sl2": {
"href": "./stac/BD_SOILGRIDS/20240301000000/bd_sl2_20240301000000.tif",
"href": "./stac/BD_SOILGRIDS/20200301000000/bd_sl2_20200301000000.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"proj:epsg": 4326,
"proj:geometry": {
@@ -273,38 +274,39 @@
"raster:bands": [
{
"data_type": "int16",
"scale": 1.0,
"scale": 0.01,
"offset": 0.0,
"sampling": "area",
"nodata": -32768.0,
"statistics": {
"mean": -7235.064522587604,
"minimum": -32768,
"maximum": 3954,
"stddev": 12927.77463403079,
"valid_percent": 0.00020430177824267782
"mean": 123.3198722231181,
"minimum": 72,
"maximum": 157,
"stddev": 14.552005154496849,
"valid_percent": 79.81682302562761
},
"histogram": {
"count": 11,
"min": -32768.0,
"max": 3954.0,
"min": 72.0,
"max": 157.0,
"buckets": [
92324,
2652,
3175,
3586,
4696,
6189,
9281,
15775,
305459,
46335
223,
3129,
17939,
36662,
54610,
47308,
88635,
101173,
38174,
2828
]
}
}
],
"eo:bands": [
{
"name": "bd_sl2"
"name": "bd_sl1"
}
],
"roles": [
@@ -312,7 +314,7 @@
]
},
"bd_sl3": {
"href": "./stac/BD_SOILGRIDS/20240301000000/bd_sl3_20240301000000.tif",
"href": "./stac/BD_SOILGRIDS/20200301000000/bd_sl3_20200301000000.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"proj:epsg": 4326,
"proj:geometry": {
@@ -401,38 +403,39 @@
"raster:bands": [
{
"data_type": "int16",
"scale": 1.0,
"scale": 0.01,
"offset": 0.0,
"sampling": "area",
"nodata": -32768.0,
"statistics": {
"mean": -7230.745174391998,
"minimum": -32768,
"maximum": 3958,
"stddev": 12929.990325021297,
"valid_percent": 0.00020430177824267782
"mean": 128.8672804666723,
"minimum": 86,
"maximum": 160,
"stddev": 13.291673704662564,
"valid_percent": 79.81682302562761
},
"histogram": {
"count": 11,
"min": -32768.0,
"max": 3958.0,
"min": 86.0,
"max": 160.0,
"buckets": [
92323,
2652,
3175,
3586,
4696,
6185,
9282,
15772,
305280,
46521
1152,
8828,
27664,
38599,
41840,
57737,
96440,
89083,
28117,
1221
]
}
}
],
"eo:bands": [
{
"name": "bd_sl3"
"name": "bd_sl1"
}
],
"roles": [
@@ -440,7 +443,7 @@
]
},
"bd_sl4": {
"href": "./stac/BD_SOILGRIDS/20240301000000/bd_sl4_20240301000000.tif",
"href": "./stac/BD_SOILGRIDS/20200301000000/bd_sl4_20200301000000.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"proj:epsg": 4326,
"proj:geometry": {
@@ -529,38 +532,39 @@
"raster:bands": [
{
"data_type": "int16",
"scale": 1.0,
"scale": 0.01,
"offset": 0.0,
"sampling": "area",
"nodata": -32768.0,
"statistics": {
"mean": -7220.713856972411,
"minimum": -32768,
"maximum": 3973,
"stddev": 12935.234422465275,
"valid_percent": 0.00020430177824267782
"mean": 141.70923080467185,
"minimum": 101,
"maximum": 168,
"stddev": 10.70779058996517,
"valid_percent": 79.81682302562761
},
"histogram": {
"count": 11,
"min": -32768.0,
"max": 3973.0,
"min": 101.0,
"max": 168.0,
"buckets": [
92324,
2653,
3176,
3585,
4695,
6192,
9284,
15780,
305417,
46366
625,
2928,
17072,
34611,
44061,
51624,
85206,
135812,
18686,
56
]
}
}
],
"eo:bands": [
{
"name": "bd_sl4"
"name": "bd_sl1"
}
],
"roles": [
@@ -568,7 +572,7 @@
]
},
"bd_sl5": {
"href": "./stac/BD_SOILGRIDS/20240301000000/bd_sl5_20240301000000.tif",
"href": "./stac/BD_SOILGRIDS/20200301000000/bd_sl5_20200301000000.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"proj:epsg": 4326,
"proj:geometry": {
@@ -657,38 +661,39 @@
"raster:bands": [
{
"data_type": "int16",
"scale": 1.0,
"scale": 0.01,
"offset": 0.0,
"sampling": "area",
"nodata": -32768.0,
"statistics": {
"mean": -7215.294163915402,
"minimum": -32768,
"maximum": 3983,
"stddev": 12938.077252886005,
"valid_percent": 0.00020430177824267782
"mean": 148.6391173361387,
"minimum": 110,
"maximum": 176,
"stddev": 8.792520440566197,
"valid_percent": 79.81682302562761
},
"histogram": {
"count": 11,
"min": -32768.0,
"max": 3983.0,
"min": 110.0,
"max": 176.0,
"buckets": [
92325,
2652,
3178,
3585,
4697,
6194,
9291,
15785,
305838,
45927
277,
2768,
11127,
32254,
39804,
83651,
155859,
59929,
4967,
45
]
}
}
],
"eo:bands": [
{
"name": "bd_sl5"
"name": "bd_sl1"
}
],
"roles": [
@@ -696,7 +701,7 @@
]
},
"bd_sl6": {
"href": "./stac/BD_SOILGRIDS/20240301000000/bd_sl6_20240301000000.tif",
"href": "./stac/BD_SOILGRIDS/20200301000000/bd_sl6_20200301000000.tif",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"proj:epsg": 4326,
"proj:geometry": {
@@ -785,38 +790,39 @@
"raster:bands": [
{
"data_type": "int16",
"scale": 1.0,
"scale": 0.01,
"offset": 0.0,
"sampling": "area",
"nodata": -32768.0,
"statistics": {
"mean": -7213.9952377255495,
"minimum": -32768,
"maximum": 3983,
"stddev": 12938.747506639347,
"valid_percent": 0.00020430177824267782
"mean": 150.30348545232556,
"minimum": 112,
"maximum": 175,
"stddev": 8.417987391686886,
"valid_percent": 79.81682302562761
},
"histogram": {
"count": 11,
"min": -32768.0,
"max": 3983.0,
"min": 112.0,
"max": 175.0,
"buckets": [
92325,
2652,
3176,
3586,
4697,
6194,
9289,
15781,
305636,
46136
361,
1887,
7889,
26976,
40976,
66078,
149841,
87709,
8828,
136
]
}
}
],
"eo:bands": [
{
"name": "bd_sl6"
"name": "bd_sl1"
}
],
"roles": [
Loading