Skip to content

Instantly share code, notes, and snippets.

@jmettes
Created July 9, 2024 06:34
Show Gist options
  • Save jmettes/fd6c5e86fee10c39c5d7067324515736 to your computer and use it in GitHub Desktop.
Save jmettes/fd6c5e86fee10c39c5d7067324515736 to your computer and use it in GitHub Desktop.
{
"Type": "Notification",
"MessageId": "bc8f3042-1f1f-520e-b714-6efebb5447e2",
"TopicArn": "arn:aws:sns:us-west-2:608149789419:cirrus-v0-publish",
"Message": "{\"type\": \"Feature\", \"stac_version\": \"1.0.0-beta.2\", \"stac_extensions\": [\"eo\", \"view\", \"proj\"], \"id\": \"S2A_20XNP_20240513_1_L2A\", \"bbox\": [-59.16907507611783, 79.13759275586341, -57.62213331481395, 79.464887111401], \"geometry\": {\"type\": \"Polygon\", \"coordinates\": [[[-57.77989638851707, 79.13759275586341], [-59.16907507611783, 79.15793002190871], [-57.62213331481395, 79.464887111401], [-57.77989638851707, 79.13759275586341]]]}, \"properties\": {\"datetime\": \"2024-05-13T17:11:09Z\", \"platform\": \"sentinel-2a\", \"constellation\": \"sentinel-2\", \"instruments\": [\"msi\"], \"gsd\": 10, \"view:off_nadir\": 0, \"proj:epsg\": 32620, \"sentinel:utm_zone\": 20, \"sentinel:latitude_band\": \"X\", \"sentinel:grid_square\": \"NP\", \"sentinel:sequence\": \"1\", \"sentinel:product_id\": \"S2A_MSIL2A_20240513T170851_N0510_R112_T20XNP_20240513T215652\", \"sentinel:data_coverage\": 4.46, \"eo:cloud_cover\": 8.71, \"sentinel:valid_cloud_cover\": true, \"sentinel:processing_baseline\": \"05.10\", \"sentinel:boa_offset_applied\": true}, \"collection\": \"sentinel-s2-l2a-cogs\", \"assets\": {\"thumbnail\": {\"title\": \"Thumbnail\", \"type\": \"image/png\", \"roles\": [\"thumbnail\"], \"href\": \"https://roda.sentinel-hub.com/sentinel-s2-l1c/tiles/20/X/NP/2024/5/13/1/preview.jpg\"}, \"overview\": {\"title\": \"True color image\", \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\", \"roles\": [\"overview\"], \"gsd\": 10, \"eo:bands\": [{\"name\": \"B04\", \"common_name\": \"red\", \"center_wavelength\": 0.6645, \"full_width_half_max\": 0.038}, {\"name\": \"B03\", \"common_name\": \"green\", \"center_wavelength\": 0.56, \"full_width_half_max\": 0.045}, {\"name\": \"B02\", \"common_name\": \"blue\", \"center_wavelength\": 0.4966, \"full_width_half_max\": 0.098}], \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/L2A_PVI.tif\", \"proj:shape\": [343, 343], \"proj:transform\": [320.0, 0.0, 499980.0, 0.0, -320.0, 8900040.0, 0.0, 0.0, 1.0]}, \"info\": {\"title\": \"Original JSON metadata\", \"type\": \"application/json\", \"roles\": [\"metadata\"], \"href\": \"https://roda.sentinel-hub.com/sentinel-s2-l2a/tiles/20/X/NP/2024/5/13/1/tileInfo.json\"}, \"metadata\": {\"title\": \"Original XML metadata\", \"type\": \"application/xml\", \"roles\": [\"metadata\"], \"href\": \"https://roda.sentinel-hub.com/sentinel-s2-l2a/tiles/20/X/NP/2024/5/13/1/metadata.xml\"}, \"visual\": {\"title\": \"True color image\", \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\", \"roles\": [\"overview\"], \"gsd\": 10, \"eo:bands\": [{\"name\": \"B04\", \"common_name\": \"red\", \"center_wavelength\": 0.6645, \"full_width_half_max\": 0.038}, {\"name\": \"B03\", \"common_name\": \"green\", \"center_wavelength\": 0.56, \"full_width_half_max\": 0.045}, {\"name\": \"B02\", \"common_name\": \"blue\", \"center_wavelength\": 0.4966, \"full_width_half_max\": 0.098}], \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/TCI.tif\", \"proj:shape\": [10980, 10980], \"proj:transform\": [10.0, 0.0, 499980.0, 0.0, -10.0, 8900040.0, 0.0, 0.0, 1.0]}, \"B01\": {\"title\": \"Band 1 (coastal)\", \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B01.tif\", \"proj:shape\": [1830, 1830], \"proj:transform\": [60.0, 0.0, 499980.0, 0.0, -60.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B02.tif\", \"proj:shape\": [10980, 10980], \"proj:transform\": [10.0, 0.0, 499980.0, 0.0, -10.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B03.tif\", \"proj:shape\": [10980, 10980], \"proj:transform\": [10.0, 0.0, 499980.0, 0.0, -10.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B04.tif\", \"proj:shape\": [10980, 10980], \"proj:transform\": [10.0, 0.0, 499980.0, 0.0, -10.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B05.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B06.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B07.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B08.tif\", \"proj:shape\": [10980, 10980], \"proj:transform\": [10.0, 0.0, 499980.0, 0.0, -10.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B8A.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B09.tif\", \"proj:shape\": [1830, 1830], \"proj:transform\": [60.0, 0.0, 499980.0, 0.0, -60.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B11.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}, \"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\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/B12.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}, \"AOT\": {\"title\": \"Aerosol Optical Thickness (AOT)\", \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\", \"roles\": [\"data\"], \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/AOT.tif\", \"proj:shape\": [1830, 1830], \"proj:transform\": [60.0, 0.0, 499980.0, 0.0, -60.0, 8900040.0, 0.0, 0.0, 1.0]}, \"WVP\": {\"title\": \"Water Vapour (WVP)\", \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\", \"roles\": [\"data\"], \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/WVP.tif\", \"proj:shape\": [10980, 10980], \"proj:transform\": [10.0, 0.0, 499980.0, 0.0, -10.0, 8900040.0, 0.0, 0.0, 1.0]}, \"SCL\": {\"title\": \"Scene Classification Map (SCL)\", \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\", \"roles\": [\"data\"], \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/SCL.tif\", \"proj:shape\": [5490, 5490], \"proj:transform\": [20.0, 0.0, 499980.0, 0.0, -20.0, 8900040.0, 0.0, 0.0, 1.0]}}, \"links\": [{\"rel\": \"self\", \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/S2A_20XNP_20240513_1_L2A.json\", \"type\": \"application/json\"}, {\"rel\": \"canonical\", \"href\": \"https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/S2A_20XNP_20240513_1_L2A.json\", \"type\": \"application/json\"}, {\"title\": \"sentinel-s2-l2a-aws/workflow-publish-sentinel/tiles-20-X-NP-2024-5-13-1\", \"rel\": \"via-cirrus\", \"href\": \"https://cirrus-earth-search.aws.element84.com/v0/catid/sentinel-s2-l2a-aws/workflow-publish-sentinel/tiles-20-X-NP-2024-5-13-1\"}, {\"title\": \"Source STAC Item\", \"rel\": \"derived_from\", \"href\": \"https://cirrus-v0-data-1qm7gekzjucbq.s3.us-west-2.amazonaws.com/sentinel-s2-l2a/20/X/NP/2024/5/S2A_20XNP_20240513_1_L2A/S2A_20XNP_20240513_1_L2A.json\", \"type\": \"application/json\"}, {\"title\": \"sentinel-s2-l2a/workflow-cog-archive/S2A_20XNP_20240513_1_L2A\", \"rel\": \"via-cirrus\", \"href\": \"https://cirrus-earth-search.aws.element84.com/v0/catid/sentinel-s2-l2a/workflow-cog-archive/S2A_20XNP_20240513_1_L2A\"}]}",
"Timestamp": "2024-05-13T23:28:11.194Z",
"SignatureVersion": "1",
"Signature": "XySc6n5ooHsHoejYtHoUpcCEYmwpOaWTkQM0hfZIxfETgoRnal13wZ0IiyRODXSbrgTJLRIUq+sLjsAR47nFsYFdZmmvYRNpar7OjnVT5xyv4xs2+TC7Baf7MaF3fK2MthAAVSpQTFJt4dpeNTNiyGFEkOynwh5m9G+hLcNvdvO18Qi7Dmn8aXIi2mN7z7YCLCSFg6oo6p2DV2QHeHspXnyytAAzxInDIf4DIGGMcwOEFHdaZ08YqJ+N1UVVBFoPj6nJPEVnsyIeu3hZWlDlR0E0yJT4n+H4xsK3efB5JbWg1FXZxTHaUiV60zZNeUOdlj7mHck5tlLMahDhVtWUjw==",
"SigningCertURL": "https://sns.us-west-2.amazonaws.com/SimpleNotificationService-60eadc530605d63b8e62a523676ef735.pem",
"UnsubscribeURL": "https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-west-2:608149789419:cirrus-v0-publish:e971285c-c515-45af-afd3-d276948e24bf",
"MessageAttributes": {
"datetime": {
"Type": "String",
"Value": "2024-05-13T17:11:09Z"
},
"bbox.ur_lon": {
"Type": "Number",
"Value": "-57.62213331481395"
},
"cloud_cover": {
"Type": "Number",
"Value": "8.71"
},
"bbox.ur_lat": {
"Type": "Number",
"Value": "79.464887111401"
},
"bbox.ll_lon": {
"Type": "Number",
"Value": "-59.16907507611783"
},
"collection": {
"Type": "String",
"Value": "sentinel-s2-l2a-cogs"
},
"bbox.ll_lat": {
"Type": "Number",
"Value": "79.13759275586341"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment