Skip to content

Commit

Permalink
Remove other extensions, simplify Item
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcandr committed Oct 30, 2024
1 parent ef68e1c commit 2d65be1
Showing 1 changed file with 16 additions and 246 deletions.
262 changes: 16 additions & 246 deletions tests/data-files/render/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"type": "Feature",
"stac_version": "1.1.0",
"stac_extensions": [
"https://stac-extensions.github.io/eo/v1.1.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.1.0/schema.json",
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
"https://stac-extensions.github.io/render/v1.0.0/schema.json",
"https://stac-extensions.github.io/virtual-assets/v1.0.0/schema.json"
"https://stac-extensions.github.io/render/v1.0.0/schema.json"
],
"id": "S2B_33SVB_20210221_0_L2A",
"bbox": [
Expand All @@ -32,16 +27,6 @@
"constellation": "sentinel-2",
"instruments": ["msi"],
"gsd": 10,
"view:off_nadir": 0,
"proj:epsg": 32633,
"sentinel:utm_zone": 33,
"sentinel:latitude_band": "S",
"sentinel:grid_square": "VB",
"sentinel:sequence": "0",
"sentinel:product_id": "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149",
"sentinel:data_coverage": 100,
"eo:cloud_cover": 21.22,
"sentinel:valid_cloud_cover": true,
"renders": {
"thumbnail": {
"title": "Thumbnail",
Expand All @@ -66,7 +51,7 @@
}
}
},
"collection": "sentinel-s2-l2a-cogs",
"collection": "sentinel-s2-l2a",
"assets": {
"metadata": {
"title": "Original XML metadata",
Expand All @@ -79,303 +64,90 @@
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 60,
"eo:bands": [
{
"name": "B01",
"common_name": "coastal",
"center_wavelength": 0.4439,
"full_width_half_max": 0.027
}
],
"href": "B01.tif",
"proj:shape": [1830, 1830],
"proj:transform": [60, 0, 399960, 0, -60, 4200000, 0, 0, 1],
"raster:bands": [
{
"data_type": "uint16",
"nodata": 0,
"stats_min": 1,
"stats_max": 20567,
"stats_mean": 2339.4759595597,
"stats_stddev": 3026.6973619954,
"stats_valid_percent": 99.83,
"values": [
{
"name": "BOA reflectance"
}
]
}
]
"href": "B01.tif"
},
"B02": {
"title": "Band 2 (blue)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 10,
"eo:bands": [
{
"name": "B02",
"common_name": "blue",
"center_wavelength": 0.4966,
"full_width_half_max": 0.098
}
],
"href": "B02.tif",
"proj:shape": [10980, 10980],
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1],
"raster:bands": [
{
"data_type": "uint16",
"nodata": 0,
"stats_min": 1,
"stats_max": 19264,
"stats_mean": 2348.069117847,
"stats_stddev": 2916.5446249911,
"stats_valid_percent": 99.99,
"values": [
{
"name": "BOA reflectance"
}
]
}
]
"href": "B02.tif"
},
"B03": {
"title": "Band 3 (green)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 10,
"eo:bands": [
{
"name": "B03",
"common_name": "green",
"center_wavelength": 0.56,
"full_width_half_max": 0.045
}
],
"href": "B03.tif",
"proj:shape": [10980, 10980],
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1],
"raster:bands": [
{
"data_type": "uint16",
"nodata": 0,
"stats_min": 1,
"stats_max": 18064,
"stats_mean": 2384.4680007438,
"stats_stddev": 2675.410513295,
"stats_valid_percent": 99.999,
"values": [
{
"name": "BOA reflectance"
}
]
}
]
"href": "B03.tif"
},
"B04": {
"title": "Band 4 (red)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 10,
"eo:bands": [
{
"name": "B04",
"common_name": "red",
"center_wavelength": 0.6645,
"full_width_half_max": 0.038
}
],
"href": "B04.tif",
"proj:shape": [10980, 10980],
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1],
"raster:bands": [
{
"data_type": "uint16",
"nodata": 0,
"stats_min": 1,
"stats_max": 17200,
"stats_mean": 2273.9667970732,
"stats_stddev": 2618.272802792,
"stats_valid_percent": 99.999,
"values": [
{
"name": "BOA reflectance"
}
]
}
]
"href": "B04.tif"
},
"B05": {
"title": "Band 5",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 20,
"eo:bands": [
{
"name": "B05",
"center_wavelength": 0.7039,
"full_width_half_max": 0.019
}
],
"href": "B05.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1],
"raster:bands": [
{
"data_type": "uint16",
"nodata": 0,
"stats_min": 1,
"stats_max": 16842,
"stats_mean": 2634.1490243416,
"stats_stddev": 2634.1490243416,
"stats_valid_percent": 99.999,
"values": [
{
"name": "BOA reflectance"
}
]
}
]
"href": "B05.tif"
},
"B06": {
"title": "Band 6",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 20,
"eo:bands": [
{
"name": "B06",
"center_wavelength": 0.7402,
"full_width_half_max": 0.018
}
],
"href": "B06.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1],
"raster:bands": [
{
"data_type": "uint16",
"nodata": 0,
"stats_min": 1,
"stats_max": 16502,
"stats_mean": 3329.8844628619,
"stats_stddev": 2303.0096294469,
"stats_valid_percent": 99.999,
"values": [
{
"name": "BOA reflectance"
}
]
}
]
"href": "B06.tif"
},
"B07": {
"title": "Band 7",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 20,
"eo:bands": [
{
"name": "B07",
"center_wavelength": 0.7825,
"full_width_half_max": 0.028
}
],
"href": "B07.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
"href": "B07.tif"
},
"B08": {
"title": "Band 8 (nir)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 10,
"eo:bands": [
{
"name": "B08",
"common_name": "nir",
"center_wavelength": 0.8351,
"full_width_half_max": 0.145
}
],
"href": "B08.tif",
"proj:shape": [10980, 10980],
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1]
"href": "B08.tif"
},
"B8A": {
"title": "Band 8A",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 20,
"eo:bands": [
{
"name": "B8A",
"center_wavelength": 0.8648,
"full_width_half_max": 0.033
}
],
"href": "B8A.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
"href": "B8A.tif"
},
"B09": {
"title": "Band 9",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 60,
"eo:bands": [
{
"name": "B09",
"center_wavelength": 0.945,
"full_width_half_max": 0.026
}
],
"href": "B09.tif",
"proj:shape": [1830, 1830],
"proj:transform": [60, 0, 399960, 0, -60, 4200000, 0, 0, 1]
"href": "B09.tif"
},
"B11": {
"title": "Band 11 (swir16)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 20,
"eo:bands": [
{
"name": "B11",
"common_name": "swir16",
"center_wavelength": 1.6137,
"full_width_half_max": 0.143
}
],
"href": "B11.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
"href": "B11.tif"
},
"B12": {
"title": "Band 12 (swir22)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"gsd": 20,
"eo:bands": [
{
"name": "B12",
"common_name": "swir22",
"center_wavelength": 2.22024,
"full_width_half_max": 0.242
}
],
"href": "B12.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
"href": "B12.tif"
},
"AOT": {
"title": "Aerosol Optical Thickness (AOT)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"href": "AOT.tif",
"proj:shape": [1830, 1830],
"proj:transform": [60, 0, 399960, 0, -60, 4200000, 0, 0, 1]
"href": "AOT.tif"
},
"WVP": {
"title": "Water Vapour (WVP)",
Expand All @@ -389,9 +161,7 @@
"title": "Scene Classification Map (SCL)",
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": ["data"],
"href": "SCL.tif",
"proj:shape": [5490, 5490],
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
"href": "SCL.tif"
}
},
"links": [
Expand Down

0 comments on commit 2d65be1

Please sign in to comment.