From 3509796e7daca21f0bcf99abe1292e2d9ca3640b Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 3 Mar 2022 15:39:14 -0500 Subject: [PATCH 01/47] adds STAC Item creation for MSS, TM, and ETM data --- .../item/LC08_L2SP_005009_20150710_02_T2.json | 598 ------------------ .../etm/LE07_L2SP_021030_20100109_02_T1.json | 534 ++++++++++++++++ .../mss/LM01_L1GS_001010_19720908_02_T2.json | 273 ++++++++ .../LC08_L2SP_005009_20150710_02_T2.json | 598 ++++++++++++++++++ .../tm/LT04_L2SP_002026_19830110_02_T1.json | 534 ++++++++++++++++ scripts/create_examples.py | 52 ++ setup.cfg | 8 +- src/stactools/landsat/constants.py | 46 +- src/stactools/landsat/fragments/__init__.py | 102 +++ .../fragments/common/common-assets.json | 42 ++ .../landsat/fragments/etm/sr-assets.json | 52 ++ .../landsat/fragments/etm/sr-eo-bands.json | 38 ++ .../fragments/etm/sr-raster-bands.json | 61 ++ .../landsat/fragments/etm/st-assets.json | 47 ++ .../landsat/fragments/etm/st-eo-bands.json | 8 + .../fragments/etm/st-raster-bands.json | 57 ++ .../landsat/fragments/mss/sr-assets.json | 33 + .../landsat/fragments/mss/sr-eo-bands.json | 26 + .../fragments/mss/sr-raster-bands.json | 30 + .../landsat/fragments/oli-tirs/sr-assets.json | 52 ++ .../fragments/oli-tirs/sr-eo-bands.json | 44 ++ .../fragments/oli-tirs/sr-raster-bands.json | 64 ++ .../landsat/fragments/oli-tirs/st-assets.json | 47 ++ .../fragments/oli-tirs/st-eo-bands.json | 8 + .../fragments/oli-tirs/st-raster-bands.json | 57 ++ .../landsat/fragments/tm/sr-assets.json | 52 ++ .../landsat/fragments/tm/sr-eo-bands.json | 38 ++ .../landsat/fragments/tm/sr-raster-bands.json | 61 ++ .../landsat/fragments/tm/st-assets.json | 47 ++ .../landsat/fragments/tm/st-eo-bands.json | 8 + .../landsat/fragments/tm/st-raster-bands.json | 57 ++ src/stactools/landsat/mtl_metadata.py | 96 ++- src/stactools/landsat/stac.py | 286 ++++++--- ...2SP_021030_20100109_20200911_02_T1_ANG.txt | 583 +++++++++++++++++ ...2SP_021030_20100109_20200911_02_T1_MTL.xml | 367 +++++++++++ ...21030_20100109_20200911_02_T1_SR_stac.json | 235 +++++++ ...21030_20100109_20200911_02_T1_ST_stac.json | 193 ++++++ ...1GS_001010_19720908_20200909_02_T2_MTL.xml | 167 +++++ ...S_001010_19720908_20200909_02_T2_stac.json | 328 ++++++++++ ...1GS_001001_19830527_20210902_02_T2_MTL.xml | 167 +++++ ...2SP_002026_19830110_20200918_02_T1_ANG.txt | 475 ++++++++++++++ ...2SP_002026_19830110_20200918_02_T1_MTL.xml | 322 ++++++++++ ...02026_19830110_20200918_02_T1_SR_stac.json | 437 +++++++++++++ ...02026_19830110_20200918_02_T1_ST_stac.json | 408 ++++++++++++ tests/fixtures/usgs_stac_api.yml | 36 +- 45 files changed, 7056 insertions(+), 718 deletions(-) delete mode 100644 examples/item/LC08_L2SP_005009_20150710_02_T2.json create mode 100644 examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json create mode 100644 examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json create mode 100644 examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json create mode 100644 examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json create mode 100755 scripts/create_examples.py create mode 100644 src/stactools/landsat/fragments/__init__.py create mode 100644 src/stactools/landsat/fragments/common/common-assets.json create mode 100644 src/stactools/landsat/fragments/etm/sr-assets.json create mode 100644 src/stactools/landsat/fragments/etm/sr-eo-bands.json create mode 100644 src/stactools/landsat/fragments/etm/sr-raster-bands.json create mode 100644 src/stactools/landsat/fragments/etm/st-assets.json create mode 100644 src/stactools/landsat/fragments/etm/st-eo-bands.json create mode 100644 src/stactools/landsat/fragments/etm/st-raster-bands.json create mode 100644 src/stactools/landsat/fragments/mss/sr-assets.json create mode 100644 src/stactools/landsat/fragments/mss/sr-eo-bands.json create mode 100644 src/stactools/landsat/fragments/mss/sr-raster-bands.json create mode 100644 src/stactools/landsat/fragments/oli-tirs/sr-assets.json create mode 100644 src/stactools/landsat/fragments/oli-tirs/sr-eo-bands.json create mode 100644 src/stactools/landsat/fragments/oli-tirs/sr-raster-bands.json create mode 100644 src/stactools/landsat/fragments/oli-tirs/st-assets.json create mode 100644 src/stactools/landsat/fragments/oli-tirs/st-eo-bands.json create mode 100644 src/stactools/landsat/fragments/oli-tirs/st-raster-bands.json create mode 100644 src/stactools/landsat/fragments/tm/sr-assets.json create mode 100644 src/stactools/landsat/fragments/tm/sr-eo-bands.json create mode 100644 src/stactools/landsat/fragments/tm/sr-raster-bands.json create mode 100644 src/stactools/landsat/fragments/tm/st-assets.json create mode 100644 src/stactools/landsat/fragments/tm/st-eo-bands.json create mode 100644 src/stactools/landsat/fragments/tm/st-raster-bands.json create mode 100644 tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt create mode 100644 tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml create mode 100644 tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_stac.json create mode 100644 tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_stac.json create mode 100644 tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml create mode 100644 tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_stac.json create mode 100644 tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml create mode 100644 tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt create mode 100644 tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml create mode 100644 tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_stac.json create mode 100644 tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_stac.json diff --git a/examples/item/LC08_L2SP_005009_20150710_02_T2.json b/examples/item/LC08_L2SP_005009_20150710_02_T2.json deleted file mode 100644 index 7a9fcbb..0000000 --- a/examples/item/LC08_L2SP_005009_20150710_02_T2.json +++ /dev/null @@ -1,598 +0,0 @@ -{ - "type": "Feature", - "stac_version": "1.0.0", - "id": "LC08_L2SP_005009_20150710_02_T2", - "properties": { - "platform": "landsat-8", - "instruments": [ - "oli", - "tirs" - ], - "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", - "eo:cloud_cover": 54.65, - "view:off_nadir": 0, - "view:sun_elevation": 40.0015903, - "view:sun_azimuth": 177.8846007, - "proj:epsg": 32624, - "proj:bbox": [ - 365685.0, - 7879185.0, - 629415.0, - 8143815.0 - ], - "landsat:cloud_cover_land": 54.67, - "landsat:wrs_type": "2", - "landsat:wrs_path": "005", - "landsat:wrs_row": "009", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:processing_level": "L2SP", - "landsat:scene_id": "LC80050092015191LGN01", - "datetime": "2015-07-10T14:34:35.978399Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -40.24668835688223, - 73.34767227948275 - ], - [ - -34.958411161782664, - 72.5174838111986 - ], - [ - -37.92205787926383, - 70.98117952546042 - ], - [ - -43.192625531993365, - 71.82092278865927 - ], - [ - -40.24668835688223, - 73.34767227948275 - ] - ] - ] - }, - "links": [ - { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" - } - ], - "assets": { - "thumbnail": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image" - }, - "reduced_resolution_browse": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image" - }, - "ANG": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" - }, - "MTL.txt": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File", - "description": "Collection 2 Level-1 Product Metadata File (MTL)" - }, - "MTL.xml": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)" - }, - "MTL.json": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)" - }, - "QA_PIXEL": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "QA_RADSAT": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B1": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B1", - "common_name": "coastal", - "gsd": 30, - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B2": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B2", - "common_name": "blue", - "gsd": 30, - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B3": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B3", - "common_name": "green", - "gsd": 30, - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B4": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B4", - "common_name": "red", - "gsd": 30, - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B5": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B5", - "common_name": "nir08", - "gsd": 30, - "center_wavelength": 0.86, - "full_width_half_max": 0.03 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B6": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B6", - "common_name": "swir16", - "gsd": 30, - "center_wavelength": 1.6, - "full_width_half_max": 0.08 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B7": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B7", - "common_name": "swir22", - "gsd": 30, - "center_wavelength": 2.2, - "full_width_half_max": 0.2 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_QA_AEROSOL": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Analysis Band", - "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_B10": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", - "gsd": 100.0, - "eo:bands": [ - { - "name": "ST_B10", - "common_name": "lwir11", - "gsd": 100.0, - "center_wavelength": 10.9, - "full_width_half_max": 0.8 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_ATRAN": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_ATRAN", - "description": "atmospheric transmission", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_CDIST": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_CDIST", - "description": "distance to nearest cloud", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_DRAD": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_DRAD", - "description": "downwelled radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_URAD": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_URAD", - "description": "upwelled radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_TRAD": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_TRAD", - "description": "thermal radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_EMIS": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_EMIS", - "description": "emissivity", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_EMSD": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_EMSD", - "description": "emissivity standard deviation", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_QA": { - "href": "../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - } - }, - "bbox": [ - -43.20190248750403, - 70.9793158649215, - -34.95084086107732, - 73.3491841350785 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" - ] -} \ No newline at end of file diff --git a/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json b/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json new file mode 100644 index 0000000..9e41fba --- /dev/null +++ b/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json @@ -0,0 +1,534 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LE07_L2SP_021030_20100109_02_T1", + "properties": { + "platform": "landsat-7", + "instruments": [ + "etm" + ], + "created": "2022-03-03T20:31:32.561226Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2 Science Product", + "eo:cloud_cover": 8.0, + "view:off_nadir": 0, + "view:sun_elevation": 21.38957268, + "view:sun_azimuth": 156.98419323, + "proj:epsg": 32616, + "proj:shape": [ + 7091, + 8031 + ], + "proj:transform": [ + 30.0, + 0.0, + 559485.0, + 0.0, + -30.0, + 4890015.0 + ], + "sci:doi": "10.5066/P9C7I13B", + "landsat:cloud_cover_land": 8.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "021", + "landsat:wrs_row": "030", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:scene_id": "LE70210302010009EDC00", + "landsat:correction": "L2SP", + "datetime": "2010-01-09T16:13:46.040058Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -85.67488231282587, + 44.14296057923245 + ], + [ + -83.3310432482907, + 43.79702861643741 + ], + [ + -83.9033122014118, + 42.21809335234831 + ], + [ + -86.19109880697113, + 42.54669435242093 + ], + [ + -85.67488231282587, + 44.14296057923245 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1", + "type": "text/html", + "title": "USGS stac-browser page" + } + ], + "assets": { + "thumbnail": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "MTL.json": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "MTL.txt": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "MTL.xml": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ANG": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "QA_PIXEL": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "QA_RADSAT": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "SR_B1": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B2": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B3": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B4": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "nir08", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B5": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B7": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.26 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_ATMOS_OPACITY": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "SR_CLOUD_QA": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "ST_B6": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "eo:bands": [ + { + "name": "ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 60, + "roles": [ + "temperature" + ] + }, + "ST_ATRAN": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "unitless", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "ST_CDIST": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "ST_DRAD": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "ST_URAD": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "ST_TRAD": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "ST_EMIS": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "ST_EMSD": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "ST_QA": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -86.27896161900016, + 42.19003498766947, + -83.24665262826434, + 44.160915012330534 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ] +} \ No newline at end of file diff --git a/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json b/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json new file mode 100644 index 0000000..65e9a2c --- /dev/null +++ b/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json @@ -0,0 +1,273 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LM01_L1GS_001010_19720908_02_T2", + "properties": { + "platform": "landsat-1", + "instruments": [ + "mss" + ], + "created": "2022-03-03T20:31:29.689260Z", + "gsd": 60, + "description": "Landsat Collection 2 Level-1 Data Product", + "eo:cloud_cover": 43.0, + "view:off_nadir": 0, + "view:sun_elevation": 24.87312023, + "view:sun_azimuth": 172.41815593, + "proj:epsg": 32625, + "proj:shape": [ + 4214, + 4296 + ], + "proj:transform": [ + 60.0, + 0.0, + 358830.0, + 0.0, + -60.0, + 7953510.0 + ], + "sci:doi": "10.5066/P9AF14YV", + "landsat:cloud_cover_land": 46.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "010", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:scene_id": "LM10010101972252XXX01", + "landsat:correction": "L1GS", + "datetime": "1972-09-08T13:43:34.091000Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -34.342777359690906, + 71.6736886240419 + ], + [ + -36.70080544861747, + 70.18448226408043 + ], + [ + -32.42683403196701, + 69.42483853001222 + ], + [ + -29.841815210171347, + 70.85738280018273 + ], + [ + -34.342777359690906, + 71.6736886240419 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + } + ], + "assets": { + "thumbnail": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "MTL.json": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "MTL.txt": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "MTL.xml": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "QA_PIXEL": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "QA_RADSAT": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "B4": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.95591, + "offset": -18.55591 + } + ], + "roles": [ + "data" + ] + }, + "B5": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.64843, + "offset": -0.74843 + } + ], + "roles": [ + "data" + ] + }, + "B6": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.65236, + "offset": -0.75236 + } + ], + "roles": [ + "data" + ] + }, + "B7": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.60866, + "offset": -0.60866 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -37.01805350426969, + 69.37813163170388, + -29.679836196002512, + 71.65367836829611 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ] +} \ No newline at end of file diff --git a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json new file mode 100644 index 0000000..21f541f --- /dev/null +++ b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json @@ -0,0 +1,598 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC08_L2SP_005009_20150710_02_T2", + "properties": { + "platform": "landsat-8", + "instruments": [ + "oli", + "tirs" + ], + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "eo:cloud_cover": 54.65, + "view:off_nadir": 0, + "view:sun_elevation": 40.0015903, + "view:sun_azimuth": 177.8846007, + "proj:epsg": 32624, + "proj:bbox": [ + 365685.0, + 7879185.0, + 629415.0, + 8143815.0 + ], + "landsat:cloud_cover_land": 54.67, + "landsat:wrs_type": "2", + "landsat:wrs_path": "005", + "landsat:wrs_row": "009", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:processing_level": "L2SP", + "landsat:scene_id": "LC80050092015191LGN01", + "datetime": "2015-07-10T14:34:35.978399Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -40.24668835688223, + 73.34767227948275 + ], + [ + -34.958411161782664, + 72.5174838111986 + ], + [ + -37.92205787926383, + 70.98117952546042 + ], + [ + -43.192625531993365, + 71.82092278865927 + ], + [ + -40.24668835688223, + 73.34767227948275 + ] + ] + ] + }, + "links": [ + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + } + ], + "assets": { + "thumbnail": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image" + }, + "reduced_resolution_browse": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image" + }, + "ANG": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" + }, + "MTL.txt": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)" + }, + "MTL.xml": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)" + }, + "MTL.json": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)" + }, + "QA_PIXEL": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "QA_RADSAT": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B1": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "gsd": 30, + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B2": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B3": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B4": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B5": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B6": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B6", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B7": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_QA_AEROSOL": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Analysis Band", + "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_B10": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B10)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", + "gsd": 100.0, + "eo:bands": [ + { + "name": "ST_B10", + "common_name": "lwir11", + "gsd": 100.0, + "center_wavelength": 10.9, + "full_width_half_max": 0.8 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_ATRAN": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_ATRAN", + "description": "atmospheric transmission", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_CDIST": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_CDIST", + "description": "distance to nearest cloud", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_DRAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_DRAD", + "description": "downwelled radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_URAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_URAD", + "description": "upwelled radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_TRAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_TRAD", + "description": "thermal radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_EMIS": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_EMIS", + "description": "emissivity", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_EMSD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_EMSD", + "description": "emissivity standard deviation", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_QA": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + } + }, + "bbox": [ + -43.20190248750403, + 70.9793158649215, + -34.95084086107732, + 73.3491841350785 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" + ] +} \ No newline at end of file diff --git a/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json b/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json new file mode 100644 index 0000000..07e009b --- /dev/null +++ b/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json @@ -0,0 +1,534 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LT04_L2SP_002026_19830110_02_T1", + "properties": { + "platform": "landsat-4", + "instruments": [ + "tm" + ], + "created": "2022-03-03T20:31:32.520951Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2 Science Product", + "eo:cloud_cover": 7.0, + "view:off_nadir": 0, + "view:sun_elevation": 15.13135888, + "view:sun_azimuth": 154.05548755, + "proj:epsg": 32622, + "proj:shape": [ + 7431, + 8121 + ], + "proj:transform": [ + 30.0, + 0.0, + 210285.0, + 0.0, + -30.0, + 5525415.0 + ], + "sci:doi": "10.5066/P9IAXOVV", + "landsat:cloud_cover_land": 1.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "002", + "landsat:wrs_row": "026", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:scene_id": "LT40020261983010XXX03", + "landsat:correction": "L2SP", + "datetime": "1983-01-10T13:52:14.171013Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -54.226939515711834, + 49.821493141847654 + ], + [ + -54.832447078795774, + 48.24918657186607 + ], + [ + -52.39444909021588, + 47.889771295111935 + ], + [ + -51.718867851908016, + 49.45404347029966 + ], + [ + -54.226939515711834, + 49.821493141847654 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1", + "type": "text/html", + "title": "USGS stac-browser page" + } + ], + "assets": { + "thumbnail": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "MTL.json": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "MTL.txt": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "MTL.xml": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ANG": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "QA_PIXEL": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "QA_RADSAT": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "SR_B1": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B2": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B3": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B4": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B5": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_B7": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "SR_ATMOS_OPACITY": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "SR_CLOUD_QA": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "ST_B6": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "eo:bands": [ + { + "name": "ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "ST_ATRAN": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "unitless", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "ST_CDIST": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "ST_DRAD": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "ST_URAD": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "ST_TRAD": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "ST_EMIS": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "ST_EMSD": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "ST_QA": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -55.02729032475574, + 47.81043529680275, + -51.616291535260345, + 49.87936470319725 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ] +} \ No newline at end of file diff --git a/scripts/create_examples.py b/scripts/create_examples.py new file mode 100755 index 0000000..082a8ef --- /dev/null +++ b/scripts/create_examples.py @@ -0,0 +1,52 @@ +import os + +from stactools.landsat.stac import create_stac_item + + +def test_data_href(path: str) -> str: + return os.path.join(os.path.dirname(os.path.dirname(__file__)), "tests", + "data-files", path) + + +# MSS, Landsat 1-5 (Collection 2 Level-1) +mtl_xml_href = test_data_href( + "mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") +item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +item.validate() +destination = "examples/item/mss" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) + +# TM, Landsat 4-5 (Collection 2 Level-2) +mtl_xml_href = test_data_href( + "tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml") +item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +item.validate() +destination = "examples/item/tm" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) + +# ETM, Landsat 7 (Collection 2 Level-2) +mtl_xml_href = test_data_href( + "etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml") +item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +item.validate() +destination = "examples/item/etm" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) + +# OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) +mtl_xml_href = test_data_href( + "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") +item = create_stac_item(mtl_xml_href) +destination = "examples/item/oli-tirs" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) diff --git a/setup.cfg b/setup.cfg index 4bde9db..efbb64d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,12 +24,18 @@ classifiers = Programming Language :: Python :: 3.9 [options] +include_package_data = True package_dir = = src -packages = find_namespace: +packages = + stactools.landsat + stactools.landsat.fragments install_requires = stactools >= 0.2.6 pystac_client >= 0.3.2 [options.packages.find] where = src + +[options.package_data] +stactools.landsat = fragments/*/*.json diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index 34ed4f0..4a967cc 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -1,5 +1,48 @@ +from enum import Enum +from typing import Any, Dict + from pystac.extensions.eo import Band + +class Sensor(Enum): + MSS = "M" + TM = "T" + ETM = "E" + OLI_TIRS = "C" + + +LANDSAT_EXTENSION_SCHEMA = "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" +USGS_API = "https://landsatlook.usgs.gov/stac-server" +USGS_BROWSER_C2 = "https://landsatlook.usgs.gov/stac-browser/collection02" +USGS_C2L1 = "landsat-c2l1" +USGS_C2L2_SR = "landsat-c2l2-sr" + +SENSORS: Dict[str, Any] = { + "MSS": { + "instruments": ["mss"], + "doi": "10.5066/P9AF14YV", + "reflective_gsd": 60 + }, + "TM": { + "instruments": ["tm"], + "doi": "10.5066/P9IAXOVV", + "reflective_gsd": 30, + "thermal_gsd": 120 + }, + "ETM": { + "instruments": ["etm"], + "doi": "10.5066/P9C7I13B", + "reflective_gsd": 30, + "thermal_gsd": 60 + }, + "OLI_TIRS": { + "instruments": ["oli", "tirs"], + "doi": "10.5066/P9OGBGM6", + "reflective_gsd": 30, + "thermal_gsd": 100 + } +} + L8_PLATFORM = "landsat-8" L8_INSTRUMENTS = ["oli", "tirs"] @@ -7,9 +50,6 @@ L8_EXTENSION_SCHEMA = "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" L8_ITEM_DESCRIPTION = "Landsat Collection 2 Level-2 Surface Reflectance Product" -USGS_STAC_API = "https://landsatlook.usgs.gov/stac-server" -USGS_C2L2_SR = "landsat-c2l2-sr" - L8_SR_BANDS = { "SR_B1": Band({ diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py new file mode 100644 index 0000000..350d052 --- /dev/null +++ b/src/stactools/landsat/fragments/__init__.py @@ -0,0 +1,102 @@ +import json +from typing import Any, Dict, Optional + +import pkg_resources +from pystac import Asset, MediaType + +from stactools.landsat.constants import Sensor + + +class Fragments: + + def __init__(self, sensor: Sensor, satellite: int, base_href: str, + level1_radiance: Dict[str, Dict[str, float]]): + self._sensor = sensor + self._satellite = satellite + self.base_href = base_href + self.level1_radiance = level1_radiance + + def common_assets(self) -> Dict[str, Any]: + asset_dicts = self._load("common-assets.json", "common") + assets = self._convert_assets(asset_dicts) + return assets + + def sr_assets(self) -> Dict[str, Any]: + asset_dicts = self._load("sr-assets.json") + if self._satellite < 4: + asset_dicts = self._update_mss_num(asset_dicts) + assets = self._convert_assets(asset_dicts) + return assets + + def sr_eo_bands(self) -> Dict[str, Any]: + eo = self._load("sr-eo-bands.json") + if self._satellite < 4: + eo = self._update_mss_num(eo) + return eo + + def sr_raster_bands(self) -> Dict[str, Any]: + raster = self._load("sr-raster-bands.json") + if self._satellite < 4: + raster = self._update_mss_num(raster) + if self._sensor is Sensor.MSS: + raster = self._update_mss_raster(raster) + return raster + + def st_assets(self) -> Dict[str, Any]: + asset_dicts = self._load("st-assets.json") + assets = self._convert_assets(asset_dicts) + return assets + + def st_eo_bands(self) -> Dict[str, Any]: + eo = self._load("st-eo-bands.json") + return eo + + def st_raster_bands(self) -> Dict[str, Any]: + raster = self._load("st-raster-bands.json") + return raster + + def _update_mss_num(self, mss_dict: Dict[str, Any]) -> Dict[str, Any]: + mss_str = json.dumps(mss_dict) + mss_str = mss_str.replace("B4", "B7") + mss_str = mss_str.replace("B3", "B6") + mss_str = mss_str.replace("B2", "B5") + mss_str = mss_str.replace("B1", "B4") + return json.loads(mss_str) + + def _update_mss_raster(self, mss_raster_dict: Dict[str, + Any]) -> Dict[str, Any]: + for key, value in self.level1_radiance.items(): + mss_key = f"B{key}" + mss_raster_dict[mss_key]["scale"] = value["mult"] + mss_raster_dict[mss_key]["offset"] = value["add"] + return mss_raster_dict + + def _convert_assets(self, asset_dicts: Dict[str, Any]) -> dict[str, Asset]: + assets = {} + for key, asset_dict in asset_dicts.items(): + media_type = asset_dict.pop("type", None) + if media_type is not None: + asset_dict["type"] = MediaType[media_type] + else: + asset_dict["type"] = MediaType.COG + + href_suffix = asset_dict.pop('href_suffix', None) + if href_suffix is not None: + asset_dict["href"] = f"{self.base_href}_{href_suffix}" + else: + asset_dict["href"] = f"{self.base_href}_{key}.TIF" + + assets[key] = Asset.from_dict(asset_dict) + + return assets + + def _load(self, file_name: str, dir_name: Optional[str] = None) -> Any: + if dir_name is None: + dir_name = self._sensor.name.lower() + try: + with pkg_resources.resource_stream( + "stactools.landsat.fragments", + f"{dir_name}/{file_name}") as stream: + return json.load(stream) + except FileNotFoundError as e: + raise e diff --git a/src/stactools/landsat/fragments/common/common-assets.json b/src/stactools/landsat/fragments/common/common-assets.json new file mode 100644 index 0000000..1ba1e42 --- /dev/null +++ b/src/stactools/landsat/fragments/common/common-assets.json @@ -0,0 +1,42 @@ +{ + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": ["thumbnail"], + "href_suffix": "thumb_small.jpeg" + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": ["overview"], + "href_suffix": "thumb_large.jpeg" + }, + "MTL.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-X Product Metadata File (json)", + "roles": ["metadata"], + "href_suffix": "MTL.json" + }, + "MTL.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-X Product Metadata File (txt)", + "roles": ["metadata"], + "href_suffix": "MTL.txt" + }, + "MTL.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-X Product Metadata File (xml)", + "roles": ["metadata"], + "href_suffix": "MTL.xml" + }, + "ANG": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": ["metadata"], + "href_suffix": "ANG.txt" + } +} diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json new file mode 100644 index 0000000..55f7cf8 --- /dev/null +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -0,0 +1,52 @@ +{ + "QA_PIXEL": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] + }, + "QA_RADSAT": { + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": ["saturation"] + }, + "SR_B1": { + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B2": { + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B3": { + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B4": { + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B5": { + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B7": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_ATMOS_OPACITY": { + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "roles": ["data"] + }, + "SR_CLOUD_QA": { + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] + } +} diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json new file mode 100644 index 0000000..74aef22 --- /dev/null +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -0,0 +1,38 @@ +{ + "SR_B1": { + "name": "SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + "SR_B2": { + "name": "SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + "SR_B3": { + "name": "SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + "SR_B4": { + "name": "SR_B4", + "common_name": "nir08", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + "SR_B5": { + "name": "SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + "SR_B7": { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.26 + } +} diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json new file mode 100644 index 0000000..a04aa39 --- /dev/null +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -0,0 +1,61 @@ +{ + "QA_PIXEL": { + "data_type": "uint16", + "unit": "bit index" + }, + "QA_RADSAT": { + "data_type": "uint16", + "unit": "bit index" + }, + "SR_B1": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B2": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B3": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B4": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B5": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B7": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_ATMOS_OPACITY": { + "data_type": "int16", + "nodata": -9999, + "scale": 0.001 + }, + "SR_CLOUD_QA": { + "data_type": "uint8", + "unit": "bit index" + } +} diff --git a/src/stactools/landsat/fragments/etm/st-assets.json b/src/stactools/landsat/fragments/etm/st-assets.json new file mode 100644 index 0000000..058056a --- /dev/null +++ b/src/stactools/landsat/fragments/etm/st-assets.json @@ -0,0 +1,47 @@ +{ + "ST_B6": { + "title": "Surface Temperature Band (B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "roles": ["temperature"] + }, + "ST_ATRAN": { + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_CDIST": { + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_DRAD": { + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_URAD": { + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_TRAD": { + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_EMIS": { + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_EMSD": { + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_QA": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": ["data"] + } +} diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json new file mode 100644 index 0000000..c35218d --- /dev/null +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -0,0 +1,8 @@ +{ + "ST_B6": { + "name": "ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } +} diff --git a/src/stactools/landsat/fragments/etm/st-raster-bands.json b/src/stactools/landsat/fragments/etm/st-raster-bands.json new file mode 100644 index 0000000..b9ba30b --- /dev/null +++ b/src/stactools/landsat/fragments/etm/st-raster-bands.json @@ -0,0 +1,57 @@ +{ + "ST_B6": { + "data_type": "uint16", + "nodata": 0, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + }, + "ST_ATRAN": { + "data_type": "int16", + "nodata": -9999, + "unit": "unitless", + "scale": 0.0001 + }, + "ST_CDIST": { + "data_type": "int16", + "nodata": -9999, + "unit": "kilometer", + "scale": 0.01 + }, + "ST_DRAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_URAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_TRAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_EMIS": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "ST_EMSD": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "ST_QA": { + "data_type": "int16", + "nodata": -9999, + "unit": "kelvin", + "scale": 0.01 + } +} diff --git a/src/stactools/landsat/fragments/mss/sr-assets.json b/src/stactools/landsat/fragments/mss/sr-assets.json new file mode 100644 index 0000000..38dc103 --- /dev/null +++ b/src/stactools/landsat/fragments/mss/sr-assets.json @@ -0,0 +1,33 @@ +{ + "QA_PIXEL": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": ["cloud"] + }, + "QA_RADSAT": { + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": ["saturation"] + }, + "B1": { + "title": "Green Band (B1)", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "roles": ["data"] + }, + "B2": { + "title": "Red Band (B2)", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "roles": ["data"] + }, + "B3": { + "title": "Near Infrared Band 0.8 (B3)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "roles": ["data"] + }, + "B4": { + "title": "Near Infrared Band 0.9 (B4)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "roles": ["data"] + } +} + diff --git a/src/stactools/landsat/fragments/mss/sr-eo-bands.json b/src/stactools/landsat/fragments/mss/sr-eo-bands.json new file mode 100644 index 0000000..931b5f8 --- /dev/null +++ b/src/stactools/landsat/fragments/mss/sr-eo-bands.json @@ -0,0 +1,26 @@ +{ + "B1": { + "name": "B1", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + "B2": { + "name": "B2", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + "B3": { + "name": "B3", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + "B4": { + "name": "B4", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } +} diff --git a/src/stactools/landsat/fragments/mss/sr-raster-bands.json b/src/stactools/landsat/fragments/mss/sr-raster-bands.json new file mode 100644 index 0000000..036d45b --- /dev/null +++ b/src/stactools/landsat/fragments/mss/sr-raster-bands.json @@ -0,0 +1,30 @@ +{ + "QA_PIXEL": { + "data_type": "uint16", + "unit": "bit index" + }, + "QA_RADSAT": { + "data_type": "uint16", + "unit": "bit index" + }, + "B1": { + "data_type": "uint8", + "nodata": 0, + "unit": "watt/steradian/square_meter/micrometer" + }, + "B2": { + "data_type": "uint8", + "nodata": 0, + "unit": "watt/steradian/square_meter/micrometer" + }, + "B3": { + "data_type": "uint8", + "nodata": 0, + "unit": "watt/steradian/square_meter/micrometer" + }, + "B4": { + "data_type": "uint8", + "nodata": 0, + "unit": "watt/steradian/square_meter/micrometer" + } +} diff --git a/src/stactools/landsat/fragments/oli-tirs/sr-assets.json b/src/stactools/landsat/fragments/oli-tirs/sr-assets.json new file mode 100644 index 0000000..87caa9a --- /dev/null +++ b/src/stactools/landsat/fragments/oli-tirs/sr-assets.json @@ -0,0 +1,52 @@ +{ + "QA_PIXEL": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": ["cloud", "cloud-shadow", "cirrus", "snow-ice", "water-mask"] + }, + "QA_RADSAT": { + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "roles": ["saturation"] + }, + "SR_B1": { + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B2": { + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B3": { + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B4": { + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B5": { + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B6": { + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B7": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_QA_AEROSOL": { + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "roles": ["data-mask", "water-mask"] + } +} diff --git a/src/stactools/landsat/fragments/oli-tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli-tirs/sr-eo-bands.json new file mode 100644 index 0000000..2c59588 --- /dev/null +++ b/src/stactools/landsat/fragments/oli-tirs/sr-eo-bands.json @@ -0,0 +1,44 @@ +{ + "SR_B1": { + "name": "SR_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + "SR_B2": { + "name": "SR_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + "SR_B3": { + "name": "SR_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + "SR_B4": { + "name": "SR_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + "SR_B5": { + "name": "SR_B5", + "common_name": "nir08", + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + }, + "SR_B6": { + "name": "SR_B6", + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + }, + "SR_B7": { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } +} diff --git a/src/stactools/landsat/fragments/oli-tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli-tirs/sr-raster-bands.json new file mode 100644 index 0000000..d5bda53 --- /dev/null +++ b/src/stactools/landsat/fragments/oli-tirs/sr-raster-bands.json @@ -0,0 +1,64 @@ +{ + "QA_PIXEL": { + "data_type": "uint16", + "unit": "bit index" + }, + "QA_RADSAT": { + "data_type": "uint16", + "unit": "bit index" + }, + "SR_B1": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B2": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B3": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B4": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B5": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B6": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B7": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_QA_AEROSOL": { + "data_type": "uint8", + "nodata": 1, + "unit": "bit index" + } +} diff --git a/src/stactools/landsat/fragments/oli-tirs/st-assets.json b/src/stactools/landsat/fragments/oli-tirs/st-assets.json new file mode 100644 index 0000000..5cf79e3 --- /dev/null +++ b/src/stactools/landsat/fragments/oli-tirs/st-assets.json @@ -0,0 +1,47 @@ +{ + "ST_B10": { + "title": "Surface Temperature Band (B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "roles": ["temperature"] + }, + "ST_ATRAN": { + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_CDIST": { + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_DRAD": { + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_URAD": { + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_TRAD": { + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_EMIS": { + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_EMSD": { + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_QA": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": ["data"] + } +} diff --git a/src/stactools/landsat/fragments/oli-tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli-tirs/st-eo-bands.json new file mode 100644 index 0000000..b2b2fd4 --- /dev/null +++ b/src/stactools/landsat/fragments/oli-tirs/st-eo-bands.json @@ -0,0 +1,8 @@ +{ + "ST_B10": { + "name": "ST_B10", + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 + } +} diff --git a/src/stactools/landsat/fragments/oli-tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli-tirs/st-raster-bands.json new file mode 100644 index 0000000..46eb424 --- /dev/null +++ b/src/stactools/landsat/fragments/oli-tirs/st-raster-bands.json @@ -0,0 +1,57 @@ +{ + "ST_B10": { + "data_type": "uint16", + "nodata": 0, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + }, + "ST_ATRAN": { + "data_type": "int16", + "nodata": -9999, + "unit": "unitless", + "scale": 0.0001 + }, + "ST_CDIST": { + "data_type": "int16", + "nodata": -9999, + "unit": "kilometer", + "scale": 0.01 + }, + "ST_DRAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_URAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_TRAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_EMIS": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "ST_EMSD": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "ST_QA": { + "data_type": "int16", + "nodata": -9999, + "unit": "kelvin", + "scale": 0.01 + } +} diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json new file mode 100644 index 0000000..55f7cf8 --- /dev/null +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -0,0 +1,52 @@ +{ + "QA_PIXEL": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] + }, + "QA_RADSAT": { + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": ["saturation"] + }, + "SR_B1": { + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B2": { + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B3": { + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B4": { + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B5": { + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_B7": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "roles": ["reflectance"] + }, + "SR_ATMOS_OPACITY": { + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "roles": ["data"] + }, + "SR_CLOUD_QA": { + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] + } +} diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json new file mode 100644 index 0000000..b0af011 --- /dev/null +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -0,0 +1,38 @@ +{ + "SR_B1": { + "name": "SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + "SR_B2": { + "name": "SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + "SR_B3": { + "name": "SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + "SR_B4": { + "name": "SR_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + "SR_B5": { + "name": "SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + "SR_B7": { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + } +} diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json new file mode 100644 index 0000000..a04aa39 --- /dev/null +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -0,0 +1,61 @@ +{ + "QA_PIXEL": { + "data_type": "uint16", + "unit": "bit index" + }, + "QA_RADSAT": { + "data_type": "uint16", + "unit": "bit index" + }, + "SR_B1": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B2": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B3": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B4": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B5": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_B7": { + "data_type": "uint16", + "nodata": 0, + "unit": "unitless", + "scale": 0.0000275, + "offset": -0.2 + }, + "SR_ATMOS_OPACITY": { + "data_type": "int16", + "nodata": -9999, + "scale": 0.001 + }, + "SR_CLOUD_QA": { + "data_type": "uint8", + "unit": "bit index" + } +} diff --git a/src/stactools/landsat/fragments/tm/st-assets.json b/src/stactools/landsat/fragments/tm/st-assets.json new file mode 100644 index 0000000..058056a --- /dev/null +++ b/src/stactools/landsat/fragments/tm/st-assets.json @@ -0,0 +1,47 @@ +{ + "ST_B6": { + "title": "Surface Temperature Band (B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "roles": ["temperature"] + }, + "ST_ATRAN": { + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_CDIST": { + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_DRAD": { + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_URAD": { + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_TRAD": { + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_EMIS": { + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_EMSD": { + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": ["data"] + }, + "ST_QA": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": ["data"] + } +} diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json new file mode 100644 index 0000000..c35218d --- /dev/null +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -0,0 +1,8 @@ +{ + "ST_B6": { + "name": "ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } +} diff --git a/src/stactools/landsat/fragments/tm/st-raster-bands.json b/src/stactools/landsat/fragments/tm/st-raster-bands.json new file mode 100644 index 0000000..b9ba30b --- /dev/null +++ b/src/stactools/landsat/fragments/tm/st-raster-bands.json @@ -0,0 +1,57 @@ +{ + "ST_B6": { + "data_type": "uint16", + "nodata": 0, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + }, + "ST_ATRAN": { + "data_type": "int16", + "nodata": -9999, + "unit": "unitless", + "scale": 0.0001 + }, + "ST_CDIST": { + "data_type": "int16", + "nodata": -9999, + "unit": "kilometer", + "scale": 0.01 + }, + "ST_DRAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_URAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_TRAD": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "ST_EMIS": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "ST_EMSD": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "ST_QA": { + "data_type": "int16", + "nodata": -9999, + "unit": "kelvin", + "scale": 0.01 + } +} diff --git a/src/stactools/landsat/mtl_metadata.py b/src/stactools/landsat/mtl_metadata.py index 25d5049..fd7a036 100644 --- a/src/stactools/landsat/mtl_metadata.py +++ b/src/stactools/landsat/mtl_metadata.py @@ -1,3 +1,4 @@ +from collections import defaultdict from datetime import datetime from typing import Any, Dict, List, Optional @@ -36,13 +37,16 @@ def _get_float(self, xpath: str) -> float: def _get_int(self, xpath: str) -> int: return int(self._get_text(xpath)) + @property + def satellite_num(self) -> int: + return int(self.product_id[2:4]) + @property def product_id(self) -> str: return self._get_text("PRODUCT_CONTENTS/LANDSAT_PRODUCT_ID") @property - def scene_id(self) -> str: - product_id = self._get_text("PRODUCT_CONTENTS/LANDSAT_PRODUCT_ID") + def item_id(self) -> str: # Remove the processing date, as products IDs # that only vary by processing date represent the # same scene @@ -51,11 +55,15 @@ def scene_id(self) -> str: # ID format: LXSS_LLLL_PPPRRR_YYYYMMDD_yyyymmdd_CX_TX # remove yyyymmdd - id_parts = product_id.split('_') + id_parts = self.product_id.split('_') id = '_'.join(id_parts[:4] + id_parts[-2:]) return id + @property + def scene_id(self) -> str: + return self._get_text("LEVEL1_PROCESSING_RECORD/LANDSAT_SCENE_ID") + @property def processing_level(self) -> str: """Processing level. Determines product contents. @@ -71,10 +79,24 @@ def processing_level(self) -> str: def epsg(self) -> int: utm_zone = self._root.find_text('PROJECTION_ATTRIBUTES/UTM_ZONE') if utm_zone: - bbox = self.bbox + # NOTE: This logic is retained to keep current STAC Item content for + # Landsat 8-9 consistent. If the STAC format for Landsat 8-9 is ever + # updated, this logic should be deleted. + if self.satellite_num > 7: + bbox = self.bbox + utm_zone = self._get_text('PROJECTION_ATTRIBUTES/UTM_ZONE') + center_lat = (bbox[1] + bbox[3]) / 2.0 + return int(f"{326 if center_lat > 0 else 327}{utm_zone}") + + # The projection transforms in the COGs provided by the USGS are + # always for UTM North zones (see the negative PROJECTION_Y values + # in the metadata files for southern hemisphere scenes, or directly + # examine the transform from a southern hemisphere scene COG). The + # EPSG codes should therefore always be UTM north zones (326XX, + # where XX is the UTM zone number). For more detail, see + # https://www.usgs.gov/faqs/why-do-landsat-scenes-southern-hemisphere-display-negative-utm-values # noqa utm_zone = self._get_text('PROJECTION_ATTRIBUTES/UTM_ZONE') - center_lat = (bbox[1] + bbox[3]) / 2.0 - return int(f"{326 if center_lat > 0 else 327}{utm_zone}") + return int(f"326{utm_zone}") else: # Polar Stereographic # Based on Landsat 8-9 OLI/TIRS Collection 2 Level 1 Data Format Control Book, @@ -197,8 +219,15 @@ def thermal_transform(self) -> Optional[List[float]]: @property def sr_gsd(self) -> float: + # This was set to pull the "GRID_CELL_SIZE_THERMAL" values, which seemed + # incorrect. However, since this is actually the grid cell size, and not + # the sensor view gsd, the sr_gsd and thermal_gsd should always be equal + # and thus no downstream effects. However, MSS MTL data does not contain + # thermal information, so this failed when used for MSS data. Therefore, + # it was updated to "GRID_CELL_SIZE_REFLECTIVE", which would seem to be + # the correct value anyway. return self._get_float( - "LEVEL1_PROJECTION_PARAMETERS/GRID_CELL_SIZE_THERMAL") + "LEVEL1_PROJECTION_PARAMETERS/GRID_CELL_SIZE_REFLECTIVE") @property def thermal_gsd(self) -> Optional[float]: @@ -220,7 +249,12 @@ def cloud_cover(self) -> float: @property def sun_azimuth(self) -> float: - return self._get_float("IMAGE_ATTRIBUTES/SUN_AZIMUTH") + # Sun Azimuth in landsat metadata is -180 to 180 from north, west being + # negative. In STAC, it's 0 to 360 clockwise from north. + azimuth = self._get_float("IMAGE_ATTRIBUTES/SUN_AZIMUTH") + if azimuth < 0.0: + azimuth += 360 + return azimuth @property def sun_elevation(self) -> float: @@ -228,10 +262,26 @@ def sun_elevation(self) -> float: @property def off_nadir(self) -> Optional[float]: - if self._get_text("IMAGE_ATTRIBUTES/NADIR_OFFNADIR") == "NADIR": - return 0 + # NOTE: This logic is retained to keep current STAC Item content for + # Landsat 8-9 consistent. If the STAC format for Landsat 8-9 is ever + # updated, this logic should be deleted. + if self.satellite_num > 7: + if self._get_text("IMAGE_ATTRIBUTES/NADIR_OFFNADIR") == "NADIR": + return 0 + else: + return None + + # NADIR_OFFNADIR and ROLL_ANGLE xml entries do not exist prior to + # landsat 8. Therefore, we perform a soft check for NADIR_OFFNADIR. If + # it exists and is equal to "OFFNADIR", then a non-zero ROLL_ANGLE + # exists. We force this ROLL_ANGLE to be positive to conform with the + # stactools View Geometry extension. We return 0 otherwise since + # off-nadir views are only an option on Landsat 8-9. + if self._root.find_text( + "IMAGE_ATTRIBUTES/NADIR_OFFNADIR") == "OFFNADIR": + return abs(self._get_float("IMAGE_ATTRIBUTES/ROLL_ANGLE")) else: - return None + return 0 @property def wrs_path(self) -> str: @@ -242,7 +292,7 @@ def wrs_row(self) -> str: return self._get_text("IMAGE_ATTRIBUTES/WRS_ROW").zfill(3) @property - def additional_metadata(self) -> Dict[str, Any]: + def landsat_metadata(self) -> Dict[str, Any]: return { "landsat:cloud_cover_land": self._get_float("IMAGE_ATTRIBUTES/CLOUD_COVER_LAND"), @@ -257,9 +307,29 @@ def additional_metadata(self) -> Dict[str, Any]: "landsat:collection_number": self._get_text("PRODUCT_CONTENTS/COLLECTION_NUMBER"), "landsat:processing_level": - self.processing_level + self.processing_level, + "landsat:scene_id": + self.scene_id } + @property + def level1_radiance(self) -> Dict[str, Any]: + """Scale (mult) and offset (add) values for generating TOA radiance from + Level-1 DNs. This is relevant to the MSS data, which is only processed + to Level-1. + """ + node = self._root.find_or_throw("LEVEL1_RADIOMETRIC_RESCALING", + self._xml_error) + mult_add: Dict[str, Any] = defaultdict(dict) + for item in node.element: + if item.tag.startswith("RADIANCE_MULT_BAND"): + band = item.tag.split("_")[-1] + mult_add[band]["mult"] = float(str(item.text)) + elif item.tag.startswith("RADIANCE_ADD_BAND"): + band = item.tag.split("_")[-1] + mult_add[band]["add"] = float(str(item.text)) + return mult_add + @classmethod def from_file(cls, href, diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index a1b8c0f..6b28a5f 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -1,10 +1,15 @@ +import logging +from datetime import datetime, timezone from typing import Any, Dict, Optional -import pystac -from pystac.extensions.eo import EOExtension +from pystac import Item, Link +from pystac.extensions.eo import Band, EOExtension from pystac.extensions.projection import ProjectionExtension +from pystac.extensions.raster import RasterBand, RasterExtension +from pystac.extensions.scientific import ScientificExtension from pystac.extensions.view import ViewExtension from pystac_client import Client +from shapely.geometry import box, mapping from stactools.core.io import ReadHrefModifier from stactools.core.utils import href_exists @@ -13,116 +18,219 @@ SR_ASSET_DEFS, THERMAL_ASSET_DEFS) from stactools.landsat.constants import (L8_EXTENSION_SCHEMA, L8_INSTRUMENTS, L8_ITEM_DESCRIPTION, L8_PLATFORM, - USGS_C2L2_SR, USGS_STAC_API) + LANDSAT_EXTENSION_SCHEMA, SENSORS, + USGS_API, USGS_BROWSER_C2, USGS_C2L1, + USGS_C2L2_SR, Sensor) +from stactools.landsat.fragments import Fragments from stactools.landsat.mtl_metadata import MtlMetadata +logger = logging.getLogger(__name__) + def create_stac_item( mtl_xml_href: str, use_usgs_geometry: bool = False, - read_href_modifier: Optional[ReadHrefModifier] = None) -> pystac.Item: - """Creates a Landsat 8 C2 L2 STAC Item. Reads data from a single scene of - Landsat Collection 2 Level-2 Product data. Uses the MTL XML HREF as the - basis for other files; assumes that all files are co-located in a directory - or blob prefix. - - Args - mtl_xml_href (str): href to a Landsat scene XML metadata file + read_href_modifier: Optional[ReadHrefModifier] = None) -> Item: + """Creates a STAC Item for Landsat 1-5 Collection 2 Level-1 or Landsat + 4-5, 7-9 Collection 2 Level-2 scene data. + + Args: + mtl_xml_href (str): An href to an MTL XML metadata file. use_usgs_geometry (bool): Option to use the geometry from a USGS STAC file that is stored alongside the XML metadata file or pulled from - the USGS STAC API + the USGS STAC API. read_href_modifier (Callable[[str], str]): An optional function to - modify the storage href (e.g. to add a token to a url) + modify the MTL and USGS STAC hrefs (e.g. to add a token to a url). Returns: - pystac.Item + pystac.Item: A STAC Item representing the Landsat scene. """ base_href = '_'.join(mtl_xml_href.split('_')[:-1]) # Remove the _MTL.txt mtl_metadata = MtlMetadata.from_file(mtl_xml_href, read_href_modifier) - ang_href = ANG_ASSET_DEF.get_href(base_href) - ang_metadata = AngMetadata.from_file(ang_href, read_href_modifier) - - scene_datetime = mtl_metadata.scene_datetime + sensor = Sensor(mtl_metadata.item_id[1]) if use_usgs_geometry: - geometry = get_usgs_geometry(base_href, mtl_metadata.product_id, + geometry = get_usgs_geometry(base_href, sensor, + mtl_metadata.product_id, read_href_modifier) else: geometry = None if geometry is None: - geometry = ang_metadata.get_scene_geometry(mtl_metadata.bbox) - - item = pystac.Item(id=mtl_metadata.scene_id, - bbox=mtl_metadata.bbox, - geometry=geometry, - datetime=scene_datetime, - properties={}) - - item.common_metadata.platform = L8_PLATFORM - item.common_metadata.instruments = L8_INSTRUMENTS - item.common_metadata.description = L8_ITEM_DESCRIPTION - - # eo - eo = EOExtension.ext(item, add_if_missing=True) - eo.cloud_cover = mtl_metadata.cloud_cover - - # view - view = ViewExtension.ext(item, add_if_missing=True) - view.off_nadir = mtl_metadata.off_nadir - view.sun_elevation = mtl_metadata.sun_elevation - # Sun Azimuth in landsat metadata is -180 to 180 from north, west being negative. - # In STAC, it's 0 to 360 clockwise from north. - sun_azimuth = mtl_metadata.sun_azimuth - if sun_azimuth < 0.0: - sun_azimuth = 360 + sun_azimuth - view.sun_azimuth = sun_azimuth - - # projection - projection = ProjectionExtension.ext(item, add_if_missing=True) - projection.epsg = mtl_metadata.epsg - projection.bbox = mtl_metadata.proj_bbox - - # landsat8 - item.stac_extensions.append(L8_EXTENSION_SCHEMA) - item.properties.update(**mtl_metadata.additional_metadata) - item.properties['landsat:scene_id'] = ang_metadata.scene_id - - # -- Add assets - - # Add common assets - for asset_definition in COMMON_ASSET_DEFS: - asset_definition.add_asset(item, mtl_metadata, base_href) - - # Add SR assets - for asset_definition in SR_ASSET_DEFS: - asset_definition.add_asset(item, mtl_metadata, base_href) - - # Add thermal assets, if this is a L2SP product - if mtl_metadata.processing_level == 'L2SP': - for asset_definition in THERMAL_ASSET_DEFS: + if sensor is Sensor.OLI_TIRS: + ang_href = ANG_ASSET_DEF.get_href(base_href) + ang_metadata = AngMetadata.from_file(ang_href, read_href_modifier) + geometry = ang_metadata.get_scene_geometry(mtl_metadata.bbox) + else: + geometry = mapping(box(*mtl_metadata.bbox)) + logger.warning( + f"Using bbox for geometry for {mtl_metadata.product_id}.") + + item = Item(id=mtl_metadata.item_id, + bbox=mtl_metadata.bbox, + geometry=geometry, + datetime=mtl_metadata.scene_datetime, + properties={}) + + if sensor is Sensor.OLI_TIRS: + item.common_metadata.platform = L8_PLATFORM + item.common_metadata.instruments = L8_INSTRUMENTS + item.common_metadata.description = L8_ITEM_DESCRIPTION + + # eo + eo_item = EOExtension.ext(item, add_if_missing=True) + eo_item.cloud_cover = mtl_metadata.cloud_cover + + # view + view = ViewExtension.ext(item, add_if_missing=True) + view.off_nadir = mtl_metadata.off_nadir + view.sun_elevation = mtl_metadata.sun_elevation + view.sun_azimuth = mtl_metadata.sun_azimuth + + # projection + projection = ProjectionExtension.ext(item, add_if_missing=True) + projection.epsg = mtl_metadata.epsg + projection.bbox = mtl_metadata.proj_bbox + + # landsat8 + item.stac_extensions.append(L8_EXTENSION_SCHEMA) + item.properties.update(**mtl_metadata.landsat_metadata) + + # -- Add assets + + # Add common assets + for asset_definition in COMMON_ASSET_DEFS: + asset_definition.add_asset(item, mtl_metadata, base_href) + + # Add SR assets + for asset_definition in SR_ASSET_DEFS: asset_definition.add_asset(item, mtl_metadata, base_href) - # -- Add links + # Add thermal assets, if this is a L2SP product + if mtl_metadata.processing_level == 'L2SP': + for asset_definition in THERMAL_ASSET_DEFS: + asset_definition.add_asset(item, mtl_metadata, base_href) - usgs_item_page = ( - f"https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs" - f"/{scene_datetime.year}" - f"/{mtl_metadata.wrs_path}/{mtl_metadata.wrs_row}" - f"/{mtl_metadata.scene_id}") + # -- Add links + # NOTE: This link is incorrect. Leads to a dead "page". The last + # component needs to have the processing time in it (replace item_id + # with product_id to fix). May warrant a GitHub issue. + usgs_item_page = (f"{USGS_BROWSER_C2}/level-2/standard/oli-tirs" + f"/{mtl_metadata.scene_datetime.year}" + f"/{mtl_metadata.wrs_path}/{mtl_metadata.wrs_row}" + f"/{mtl_metadata.item_id}") - item.add_link( - pystac.Link(rel="alternate", - target=usgs_item_page, - title="USGS stac-browser page", - media_type="text/html")) + item.add_link( + Link(rel="alternate", + target=usgs_item_page, + title="USGS stac-browser page", + media_type="text/html")) + + else: + satellite = int(mtl_metadata.item_id[2:4]) + level = int(mtl_metadata.item_id[6]) + + item.common_metadata.platform = f"landsat-{satellite}" + item.common_metadata.instruments = SENSORS[sensor.name]["instruments"] + item.common_metadata.created = datetime.now(tz=timezone.utc) + item.common_metadata.gsd = SENSORS[sensor.name]["reflective_gsd"] + if level == 1: + item.common_metadata.description = "Landsat Collection 2 Level-1 Data Product" + elif level == 2: + item.common_metadata.description = "Landsat Collection 2 Level-2 Science Product" + + fragments = Fragments(sensor, satellite, base_href, + mtl_metadata.level1_radiance) + + # Common assets + assets = fragments.common_assets() + for key, asset in assets.items(): + # MSS data does not have an angle file + if sensor is Sensor.MSS and key.startswith("ANG"): + continue + # MTL files are specific to the processing level + if key.startswith("MTL"): + asset.description = asset.description.replace( + "Level-X", f"Level-{level}") + item.add_asset(key, asset) + + # Optical assets + assets = fragments.sr_assets() + eo_bands = fragments.sr_eo_bands() + raster_bands = fragments.sr_raster_bands() + for key, asset in assets.items(): + item.add_asset(key, asset) + eo_band = eo_bands.get(key, None) + if eo_band is not None: + optical_eo = EOExtension.ext(asset, add_if_missing=True) + optical_eo.bands = [Band.create(**eo_band)] + raster_band = raster_bands.get(key, None) + if raster_band is not None: + optical_raster = RasterExtension.ext(asset, + add_if_missing=True) + optical_raster.bands = [RasterBand.create(**raster_band)] + + # Thermal assets (only exist if optical exist) + if mtl_metadata.processing_level == 'L2SP': + assets = fragments.st_assets() + eo_bands = fragments.st_eo_bands() + raster_bands = fragments.st_raster_bands() + for key, asset in assets.items(): + item.add_asset(key, asset) + eo_band = eo_bands.get(key, None) + if eo_band is not None: + thermal_eo = EOExtension.ext(asset, add_if_missing=True) + thermal_eo.bands = [Band.create(**eo_band)] + raster_band = raster_bands.get(key, None) + if raster_band is not None: + thermal_raster = RasterExtension.ext(asset, + add_if_missing=True) + thermal_raster.bands = [RasterBand.create(**raster_band)] + if key.startswith("ST_B"): + asset.common_metadata.gsd = SENSORS[ + sensor.name]["thermal_gsd"] + + eo_item = EOExtension.ext(item, add_if_missing=True) + eo_item.cloud_cover = mtl_metadata.cloud_cover + + view = ViewExtension.ext(item, add_if_missing=True) + view.off_nadir = mtl_metadata.off_nadir + view.sun_elevation = mtl_metadata.sun_elevation + view.sun_azimuth = mtl_metadata.sun_azimuth + + projection = ProjectionExtension.ext(item, add_if_missing=True) + projection.epsg = mtl_metadata.epsg + projection.shape = mtl_metadata.sr_shape + projection.transform = mtl_metadata.sr_transform + + scientific = ScientificExtension.ext(item, add_if_missing=True) + scientific.doi = SENSORS[sensor.name]["doi"] + + item.stac_extensions.append(LANDSAT_EXTENSION_SCHEMA) + item.properties.update(**mtl_metadata.landsat_metadata) + item.properties["landsat:correction"] = item.properties.pop( + "landsat:processing_level") + + # Link to USGS STAC browser for this item + instrument = "-".join(i for i in SENSORS[sensor.name]["instruments"]) + usgs_item_page = ( + f"{USGS_BROWSER_C2}/level-{level}/standard/{instrument}" + f"/{mtl_metadata.scene_datetime.year}" + f"/{mtl_metadata.wrs_path}/{mtl_metadata.wrs_row}" + f"/{mtl_metadata.product_id}") + item.add_link( + Link(rel="alternate", + target=usgs_item_page, + title="USGS stac-browser page", + media_type="text/html")) return item def get_usgs_geometry( base_href: str, + sensor: Sensor, product_id: str, read_href_modifier: Optional[ReadHrefModifier] = None ) -> Optional[Dict[str, Any]]: @@ -130,6 +238,7 @@ def get_usgs_geometry( Args: base_href (str): Base href to a STAC storage location + sensor (Sensor): Enum of MSS, TM, ETM, or OLI-TIRS product_id (str): Scene product id from mtl metadata read_href_modifier (Callable[[str], str]): An optional function to modify the storage href (e.g. to add a token to a url) @@ -137,21 +246,28 @@ def get_usgs_geometry( Optional[Dict[str, Any]]: Either a GeoJSON geometry or None """ # Check data storage first - stac_href = f"{base_href}_SR_stac.json" + if sensor is Sensor.MSS: + stac_href = f"{base_href}_stac.json" + else: + stac_href = f"{base_href}_SR_stac.json" + if read_href_modifier is not None: stac_href = read_href_modifier(stac_href) if href_exists(stac_href): - item = pystac.Item.from_file(stac_href) + item = Item.from_file(stac_href) else: item = None # If not found, check the USGS STAC API if item is None: - collection = USGS_C2L2_SR - product_id = f"{product_id}_SR" + if sensor is Sensor.MSS: + collection = USGS_C2L1 + else: + collection = USGS_C2L2_SR + product_id = f"{product_id}_SR" - catalog = Client.open(USGS_STAC_API) + catalog = Client.open(USGS_API) search = catalog.search(collections=[collection], ids=[product_id]) if search.matched() == 1: item = next(search.get_items()) diff --git a/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt new file mode 100644 index 0000000..9e47aed --- /dev/null +++ b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt @@ -0,0 +1,583 @@ +GROUP = FILE_HEADER + LANDSAT_SCENE_ID = "LE70210302010009EDC00" + SPACECRAFT_ID = "L7_ETM" + WRS_PATH = 21 + WRS_ROW = 30 + MODE = "SLC_OFF" + FIRST_SCAN_DIRECTION = "R" + NUMBER_OF_BANDS = 9 + BAND_LIST = (1, 2, 3, 4, 5, 61, 62, 7, 8) +END_GROUP = FILE_HEADER +GROUP = PROJECTION + ELLIPSOID_AXES = (6378137.000000, 6356752.314200) + MAP_PROJECTION = "UTM" + PROJECTION_UNITS = "METERS" + DATUM = "WGS84" + ELLIPSOID = "WGS84" + UTM_ZONE = 16 + PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) + UL_CORNER = ( 559500.000, 4890000.000) + UR_CORNER = ( 800400.000, 4890000.000) + LL_CORNER = ( 559500.000, 4677300.000) + LR_CORNER = ( 800400.000, 4677300.000) +END_GROUP = PROJECTION +GROUP = EPHEMERIS + EPHEMERIS_EPOCH_YEAR = 2010 + EPHEMERIS_EPOCH_DAY = 009 + EPHEMERIS_EPOCH_SECONDS = 58412.000000 + NUMBER_OF_POINTS = 29 + EPHEMERIS_TIME = (58412.000000, 58413.000000, 58414.000000, 58415.000000, 58416.000000, + 58417.000000, 58418.000000, 58419.000000, 58420.000000, 58421.000000, + 58422.000000, 58423.000000, 58424.000000, 58425.000000, 58426.000000, + 58427.000000, 58428.000000, 58429.000000, 58430.000000, 58431.000000, + 58432.000000, 58433.000000, 58434.000000, 58435.000000, 58436.000000, + 58437.000000, 58438.000000, 58439.000000, 58440.000000) + EPHEMERIS_ECEF_X = ( 490729.265356, 489361.396674, 487992.214121, 486621.720193, 485249.917390, + 483876.808209, 482502.395148, 481126.680705, 479749.667378, 478371.357665, + 476991.754064, 475610.859073, 474228.675190, 472845.204912, 471460.450738, + 470074.415166, 468687.100693, 467298.509818, 465908.645038, 464517.508852, + 463125.103757, 461731.432251, 460336.496833, 458940.300000, 457542.844250, + 456144.132081, 454744.165991, 453342.948478, 451940.482039) + EPHEMERIS_ECEF_Y = (-5081870.428594, -5087122.322448, -5092368.322754, -5097608.423813, -5102842.619925, + -5108070.905390, -5113293.274508, -5118509.721581, -5123720.240908, -5128924.826790, + -5134123.473527, -5139316.175419, -5144502.926767, -5149683.721872, -5154858.555032, + -5160027.420550, -5165190.312725, -5170347.225857, -5175498.154247, -5180643.092196, + -5185782.034003, -5190914.973969, -5196041.906395, -5201162.825580, -5206277.725825, + -5211386.601431, -5216489.446697, -5221586.255925, -5226677.023414) + EPHEMERIS_ECEF_Z = ( 4900400.895235, 4895096.935521, 4889787.462737, 4884472.483157, 4879152.003056, + 4873826.028706, 4868494.566382, 4863157.622358, 4857815.202906, 4852467.314301, + 4847113.962817, 4841755.154727, 4836390.896305, 4831021.193825, 4825646.053560, + 4820265.481784, 4814879.484770, 4809488.068794, 4804091.240127, 4798689.005045, + 4793281.369820, 4787868.340727, 4782449.924039, 4777026.126030, 4771596.952973, + 4766162.411143, 4760722.506812, 4755277.246256, 4749826.635747) +END_GROUP = EPHEMERIS +GROUP = SOLAR_VECTOR + SOLAR_EPOCH_YEAR = 2010 + SOLAR_EPOCH_DAY = 009 + SOLAR_EPOCH_SECONDS = 58412.000000 + EARTH_SUN_DISTANCE = 0.98338898 + NUMBER_OF_POINTS = 29 + SAMPLE_TIME = (58412.000000, 58413.000000, 58414.000000, 58415.000000, 58416.000000, + 58417.000000, 58418.000000, 58419.000000, 58420.000000, 58421.000000, + 58422.000000, 58423.000000, 58424.000000, 58425.000000, 58426.000000, + 58427.000000, 58428.000000, 58429.000000, 58430.000000, 58431.000000, + 58432.000000, 58433.000000, 58434.000000, 58435.000000, 58436.000000, + 58437.000000, 58438.000000, 58439.000000, 58440.000000) + SOLAR_ECEF_X = ( 4.40902700e-01, 4.40843434e-01, 4.40784166e-01, 4.40724895e-01, 4.40665622e-01, + 4.40606346e-01, 4.40547068e-01, 4.40487786e-01, 4.40428503e-01, 4.40369218e-01, + 4.40309931e-01, 4.40250642e-01, 4.40191350e-01, 4.40132056e-01, 4.40072757e-01, + 4.40013458e-01, 4.39954157e-01, 4.39894854e-01, 4.39835548e-01, 4.39776240e-01, + 4.39716929e-01, 4.39657617e-01, 4.39598299e-01, 4.39538982e-01, 4.39479662e-01, + 4.39420340e-01, 4.39361015e-01, 4.39301689e-01, 4.39242360e-01) + SOLAR_ECEF_Y = (-8.15261222e-01, -8.15293284e-01, -8.15325341e-01, -8.15357394e-01, -8.15389443e-01, + -8.15421487e-01, -8.15453527e-01, -8.15485564e-01, -8.15517595e-01, -8.15549622e-01, + -8.15581645e-01, -8.15613663e-01, -8.15645677e-01, -8.15677687e-01, -8.15709694e-01, + -8.15741695e-01, -8.15773692e-01, -8.15805685e-01, -8.15837673e-01, -8.15869657e-01, + -8.15901636e-01, -8.15933612e-01, -8.15965584e-01, -8.15997551e-01, -8.16029513e-01, + -8.16061471e-01, -8.16093425e-01, -8.16125374e-01, -8.16157319e-01) + SOLAR_ECEF_Z = (-3.75438341e-01, -3.75438314e-01, -3.75438287e-01, -3.75438260e-01, -3.75438233e-01, + -3.75438206e-01, -3.75438179e-01, -3.75438152e-01, -3.75438125e-01, -3.75438098e-01, + -3.75438071e-01, -3.75438044e-01, -3.75438017e-01, -3.75437990e-01, -3.75437963e-01, + -3.75437936e-01, -3.75437909e-01, -3.75437882e-01, -3.75437855e-01, -3.75437827e-01, + -3.75437800e-01, -3.75437773e-01, -3.75437746e-01, -3.75437719e-01, -3.75437692e-01, + -3.75437665e-01, -3.75437638e-01, -3.75437611e-01, -3.75437584e-01) +END_GROUP = SOLAR_VECTOR +GROUP = SCAN_TIME_POLY + SCAN_TIME_POLY_NCOEFF = 4 + SCAN_TIME_POLY_NUMBER_DIRECTIONS = 2 + SCAN_TIME00_MEAN_ACTIVESCAN = 6.074645570e-02 + SCAN_TIME00_MEAN_EOL = 6.321000000e+03 + SCAN_TIME00_POLY_COEFF = (5.841264871e+04, 4.459044193e-03, -1.794893838e-11, 1.633872477e-15) + SCAN_TIME01_MEAN_ACTIVESCAN = 6.074645570e-02 + SCAN_TIME01_MEAN_EOL = 6.321000000e+03 + SCAN_TIME01_POLY_COEFF = (5.841264875e+04, 4.458953495e-03, 1.460275079e-11, -1.320865555e-15) +END_GROUP = SCAN_TIME_POLY +GROUP = RPC_BAND01 + BAND01_LINES_PER_SCAN = 16 + BAND01_NUMBER_OF_DIRECTIONS = 2 + BAND01_NUM_L1T_LINES = 7091 + BAND01_NUM_L1T_SAMPS = 8031 + BAND01_NUM_L1R_LINES = 5999 + BAND01_NUM_L1R_SAMPS = 6599 + BAND01_PIXEL_SIZE = 30.000 + BAND01_START_TIME = 58412.684381 + BAND01_LINE_TIME = 0.071154 + BAND01_MEAN_HEIGHT = 4000.000 + BAND01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND01_MEAN_L1T_LINE_SAMP = (3545.729, 4048.440) + BAND01_MEAN_SAT_VECTOR = (-0.000143786, -0.003141553, 0.995594548) + BAND01_SAT_X_NUM_COEF = (-1.250494e-04, 1.232363e-06, -4.731577e-05, -2.166098e-10, -1.168984e-05, + -1.359202e-11, 9.464761e-12, 4.189984e-11, 1.200612e-15, 4.299364e-17) + BAND01_SAT_X_DEN_COEF = ( 4.040688e-06, -7.006449e-07, -1.408796e-06, -4.208993e-06, 2.460368e-11, + 4.268709e-10, 9.723676e-10, 7.017598e-16, -1.567385e-19) + BAND01_SAT_Y_NUM_COEF = (-8.144067e-04, 4.732151e-05, 1.155787e-06, -4.453770e-09, -4.661822e-05, + 1.965197e-12, 3.590484e-11, 2.006687e-10, -1.180862e-15, -4.717556e-17) + BAND01_SAT_Y_DEN_COEF = ( 7.946691e-06, -1.582833e-06, -1.391721e-06, -7.953262e-06, -8.346746e-11, + 6.701246e-10, 9.681882e-10, 5.063963e-15, -5.955911e-16) + BAND01_SAT_Z_NUM_COEF = ( 4.397593e-03, 2.130484e-07, -1.213631e-08, -1.249973e-08, -2.145696e-07, + -5.302976e-11, -4.746436e-10, -1.061888e-09, -6.550713e-16, -5.133490e-20) + BAND01_SAT_Z_DEN_COEF = (-1.767663e-06, 4.046042e-07, -2.835559e-06, 1.647199e-06, 6.930372e-11, + 6.218797e-10, 1.400871e-09, 4.273647e-16, 1.735334e-18) + BAND01_MEAN_SUN_VECTOR = ( 0.363903027, -0.856999061, 0.364590796) + BAND01_SUN_X_NUM_COEF = ( 2.856961e-05, 1.462763e-07, -5.488725e-06, -1.372416e-14, -2.766581e-07, + -1.165351e-12, 1.757887e-11, 1.269986e-11, -4.346502e-18, 8.627667e-18) + BAND01_SUN_X_DEN_COEF = ( 1.173917e-06, -3.503139e-06, -1.574789e-10, 5.034713e-08, -2.319623e-11, + -8.088967e-12, 2.173839e-11, 1.328270e-16, 1.464804e-17) + BAND01_SUN_Y_NUM_COEF = (-9.384023e-05, 1.760307e-06, -1.558007e-06, 1.773633e-14, -8.106943e-08, + 1.902836e-11, 7.303589e-12, 1.577585e-11, 3.225241e-17, 4.441376e-17) + BAND01_SUN_Y_DEN_COEF = ( 5.162718e-06, 3.547772e-07, -9.396153e-11, 5.466822e-07, -2.425481e-12, + -1.146629e-11, 2.734621e-11, 1.614214e-16, 1.767729e-17) + BAND01_SUN_Z_NUM_COEF = ( 2.620458e-05, 3.993480e-06, 1.816181e-06, 7.717294e-15, 8.509692e-08, + -2.919602e-11, 2.552467e-11, 1.321408e-11, -4.020941e-17, 1.199048e-16) + BAND01_SUN_Z_DEN_COEF = (-6.431465e-06, 9.518225e-06, -6.708994e-11, 1.212218e-07, 2.366530e-11, + -2.743539e-11, 2.676312e-11, -2.606929e-17, 1.053976e-17) + BAND01_DIR00_MEAN_HEIGHT = 4000.000 + BAND01_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND01_DIR00_MEAN_L1T_LINE_SAMP = (3545.883, 4050.583) + BAND01_DIR00_LINE_NUM_COEF = ( 2.902367e-01, 9.726361e-01, -1.653377e-01, -1.294013e-04, 2.198015e-09) + BAND01_DIR00_LINE_DEN_COEF = ( 1.666609e-07, 3.118832e-07, -6.035458e-12, -2.509024e-12) + BAND01_DIR00_SAMP_NUM_COEF = ( 2.825251e+00, 2.115665e-01, 9.471109e-01, -2.503028e-05, -1.359221e-06) + BAND01_DIR00_SAMP_DEN_COEF = (-1.455127e-06, -9.805977e-08, -1.576468e-06, 1.273546e-10) + BAND01_DIR01_MEAN_HEIGHT = 4000.000 + BAND01_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND01_DIR01_MEAN_L1T_LINE_SAMP = (3545.574, 4046.286) + BAND01_DIR01_LINE_NUM_COEF = ( 7.005482e-01, 9.726374e-01, -1.653379e-01, -1.294015e-04, 2.197842e-09) + BAND01_DIR01_LINE_DEN_COEF = ( 1.666719e-07, 3.118843e-07, -6.035460e-12, -2.509027e-12) + BAND01_DIR01_SAMP_NUM_COEF = (-1.309636e+00, 2.115722e-01, 9.471104e-01, -2.503024e-05, -1.359237e-06) + BAND01_DIR01_SAMP_DEN_COEF = (-1.455690e-06, -9.810531e-08, -1.576466e-06, 1.273545e-10) +END_GROUP = RPC_BAND01 +GROUP = RPC_BAND02 + BAND02_LINES_PER_SCAN = 16 + BAND02_NUMBER_OF_DIRECTIONS = 2 + BAND02_NUM_L1T_LINES = 7091 + BAND02_NUM_L1T_SAMPS = 8031 + BAND02_NUM_L1R_LINES = 5999 + BAND02_NUM_L1R_SAMPS = 6599 + BAND02_PIXEL_SIZE = 30.000 + BAND02_START_TIME = 0.000000 + BAND02_LINE_TIME = 0.000000 + BAND02_MEAN_HEIGHT = 4000.000 + BAND02_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND02_MEAN_L1T_LINE_SAMP = (3545.601, 4047.780) + BAND02_MEAN_SAT_VECTOR = (-0.000113065, -0.003148366, 0.995594461) + BAND02_SAT_X_NUM_COEF = (-1.246816e-04, 1.232126e-06, -4.731579e-05, -1.729833e-10, -1.168960e-05, + -1.358634e-11, 9.506358e-12, 4.196210e-11, 1.095968e-15, 4.294066e-17) + BAND02_SAT_X_DEN_COEF = ( 4.040111e-06, -7.041106e-07, -1.408795e-06, -4.209465e-06, 2.668614e-11, + 4.261542e-10, 9.724299e-10, 7.026065e-16, -9.001516e-19) + BAND02_SAT_Y_NUM_COEF = (-8.144975e-04, 4.732190e-05, 1.155444e-06, -4.463226e-09, -4.661865e-05, + 1.973227e-12, 3.595506e-11, 2.006768e-10, -1.152691e-15, -4.713705e-17) + BAND02_SAT_Y_DEN_COEF = ( 7.950491e-06, -1.583906e-06, -1.391719e-06, -7.952392e-06, -8.063070e-11, + 6.690458e-10, 9.682744e-10, 4.993709e-15, -5.826397e-16) + BAND02_SAT_Z_NUM_COEF = ( 4.397659e-03, 2.079518e-07, -9.739865e-09, -1.249926e-08, -2.089906e-07, + -5.302844e-11, -4.746421e-10, -1.061888e-09, -6.551122e-16, -1.216072e-19) + BAND02_SAT_Z_DEN_COEF = (-1.872929e-06, 4.207294e-07, -2.835550e-06, 1.755045e-06, 6.931928e-11, + 6.219087e-10, 1.400862e-09, 4.260023e-16, 1.128398e-20) + BAND02_MEAN_SUN_VECTOR = ( 0.363906634, -0.856998256, 0.364589083) + BAND02_SUN_X_NUM_COEF = ( 2.857017e-05, 1.462580e-07, -5.488719e-06, -1.295867e-14, -2.766552e-07, + -1.165039e-12, 1.758927e-11, 1.271657e-11, -3.483074e-18, 8.462415e-18) + BAND02_SUN_X_DEN_COEF = ( 1.171847e-06, -3.506208e-06, -1.581749e-10, 5.058974e-08, -2.335027e-11, + -8.049224e-12, 2.173811e-11, 1.330291e-16, 1.395483e-17) + BAND02_SUN_Y_NUM_COEF = (-9.384131e-05, 1.760324e-06, -1.558035e-06, 1.462398e-14, -8.109956e-08, + 1.902184e-11, 7.303951e-12, 1.578101e-11, 3.161129e-17, 4.472372e-17) + BAND02_SUN_Y_DEN_COEF = ( 5.159069e-06, 3.513621e-07, -9.320161e-11, 5.464705e-07, -2.310727e-12, + -1.170902e-11, 2.732255e-11, 1.613014e-16, 1.740454e-17) + BAND02_SUN_Z_NUM_COEF = ( 2.620469e-05, 3.993465e-06, 1.816189e-06, 8.945161e-15, 8.511388e-08, + -2.919732e-11, 2.550977e-11, 1.320780e-11, -4.048356e-17, 1.194543e-16) + BAND02_SUN_Z_DEN_COEF = (-6.432588e-06, 9.514835e-06, -6.717869e-11, 1.220517e-07, 2.355027e-11, + -2.739050e-11, 2.675278e-11, -2.603960e-17, 1.049130e-17) + BAND02_DIR00_MEAN_HEIGHT = 4000.000 + BAND02_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND02_DIR00_MEAN_L1T_LINE_SAMP = (3545.813, 4049.939) + BAND02_DIR00_LINE_NUM_COEF = ( 2.898821e-01, 9.726362e-01, -1.653378e-01, -1.294250e-04, 2.745802e-09) + BAND02_DIR00_LINE_DEN_COEF = ( 1.666575e-07, 3.124045e-07, -6.073573e-12, -2.508925e-12) + BAND02_DIR00_SAMP_NUM_COEF = ( 2.888166e+00, 2.115649e-01, 9.471035e-01, -2.611581e-05, -1.359332e-06) + BAND02_DIR00_SAMP_DEN_COEF = (-1.454824e-06, -9.617919e-08, -1.576468e-06, 1.273775e-10) + BAND02_DIR01_MEAN_HEIGHT = 4000.000 + BAND02_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND02_DIR01_MEAN_L1T_LINE_SAMP = (3545.387, 4045.609) + BAND02_DIR01_LINE_NUM_COEF = ( 5.922842e-01, 9.726376e-01, -1.653381e-01, -1.294252e-04, 2.745628e-09) + BAND02_DIR01_LINE_DEN_COEF = ( 1.666686e-07, 3.124058e-07, -6.073577e-12, -2.508929e-12) + BAND02_DIR01_SAMP_NUM_COEF = (-1.302343e+00, 2.115705e-01, 9.471031e-01, -2.611577e-05, -1.359354e-06) + BAND02_DIR01_SAMP_DEN_COEF = (-1.455397e-06, -9.623966e-08, -1.576466e-06, 1.273774e-10) +END_GROUP = RPC_BAND02 +GROUP = RPC_BAND03 + BAND03_LINES_PER_SCAN = 16 + BAND03_NUMBER_OF_DIRECTIONS = 2 + BAND03_NUM_L1T_LINES = 7091 + BAND03_NUM_L1T_SAMPS = 8031 + BAND03_NUM_L1R_LINES = 5999 + BAND03_NUM_L1R_SAMPS = 6599 + BAND03_PIXEL_SIZE = 30.000 + BAND03_START_TIME = 0.000000 + BAND03_LINE_TIME = 0.000000 + BAND03_MEAN_HEIGHT = 4000.000 + BAND03_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND03_MEAN_L1T_LINE_SAMP = (3545.471, 4047.123) + BAND03_MEAN_SAT_VECTOR = (-0.000082551, -0.003155211, 0.995594376) + BAND03_SAT_X_NUM_COEF = (-1.243162e-04, 1.231895e-06, -4.731581e-05, -1.296534e-10, -1.168936e-05, + -1.358060e-11, 9.548096e-12, 4.202373e-11, 9.913326e-16, 4.288789e-17) + BAND03_SAT_X_DEN_COEF = ( 4.039541e-06, -7.075511e-07, -1.408794e-06, -4.209948e-06, 2.876838e-11, + 4.254376e-10, 9.724921e-10, 7.034338e-16, -1.645767e-18) + BAND03_SAT_Y_NUM_COEF = (-8.145875e-04, 4.732230e-05, 1.155102e-06, -4.472726e-09, -4.661909e-05, + 1.981132e-12, 3.600504e-11, 2.006854e-10, -1.123939e-15, -4.709880e-17) + BAND03_SAT_Y_DEN_COEF = ( 7.953846e-06, -1.584845e-06, -1.391716e-06, -7.951103e-06, -7.773510e-11, + 6.679483e-10, 9.683622e-10, 4.921971e-15, -5.694311e-16) + BAND03_SAT_Z_NUM_COEF = ( 4.397722e-03, 2.028158e-07, -7.346168e-09, -1.249878e-08, -2.033732e-07, + -5.302712e-11, -4.746407e-10, -1.061888e-09, -6.551535e-16, -1.924015e-19) + BAND03_SAT_Z_DEN_COEF = (-1.971626e-06, 4.357360e-07, -2.835542e-06, 1.856137e-06, 6.933373e-11, + 6.219355e-10, 1.400854e-09, 4.247800e-16, -1.621322e-18) + BAND03_MEAN_SUN_VECTOR = ( 0.363910217, -0.856997460, 0.364587376) + BAND03_SUN_X_NUM_COEF = ( 2.857072e-05, 1.462398e-07, -5.488713e-06, -1.218879e-14, -2.766524e-07, + -1.164702e-12, 1.760087e-11, 1.273504e-11, -2.615442e-18, 8.296687e-18) + BAND03_SUN_X_DEN_COEF = ( 1.169548e-06, -3.509597e-06, -1.588743e-10, 5.085049e-08, -2.350585e-11, + -8.010414e-12, 2.173819e-11, 1.332375e-16, 1.326026e-17) + BAND03_SUN_Y_NUM_COEF = (-9.384234e-05, 1.760341e-06, -1.558063e-06, 1.148314e-14, -8.112980e-08, + 1.901494e-11, 7.304867e-12, 1.578598e-11, 3.096794e-17, 4.502875e-17) + BAND03_SUN_Y_DEN_COEF = ( 5.155351e-06, 3.480435e-07, -9.245834e-11, 5.460983e-07, -2.197692e-12, + -1.195166e-11, 2.730020e-11, 1.611992e-16, 1.713680e-17) + BAND03_SUN_Z_NUM_COEF = ( 2.620478e-05, 3.993451e-06, 1.816197e-06, 1.015025e-14, 8.513089e-08, + -2.921484e-11, 2.547915e-11, 1.319775e-11, -4.076656e-17, 1.189852e-16) + BAND03_SUN_Z_DEN_COEF = (-6.437745e-06, 9.509359e-06, -6.727796e-11, 1.229357e-07, 2.342721e-11, + -2.734526e-11, 2.673782e-11, -2.603137e-17, 1.044279e-17) + BAND03_DIR00_MEAN_HEIGHT = 4000.000 + BAND03_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND03_DIR00_MEAN_L1T_LINE_SAMP = (3545.741, 4049.299) + BAND03_DIR00_LINE_NUM_COEF = ( 2.895170e-01, 9.726364e-01, -1.653379e-01, -1.294510e-04, 3.310125e-09) + BAND03_DIR00_LINE_DEN_COEF = ( 1.666542e-07, 3.129419e-07, -6.112547e-12, -2.508989e-12) + BAND03_DIR00_SAMP_NUM_COEF = ( 2.951054e+00, 2.115632e-01, 9.470964e-01, -2.719496e-05, -1.359440e-06) + BAND03_DIR00_SAMP_DEN_COEF = (-1.454518e-06, -9.430093e-08, -1.576468e-06, 1.273826e-10) + BAND03_DIR01_MEAN_HEIGHT = 4000.000 + BAND03_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND03_DIR01_MEAN_L1T_LINE_SAMP = (3545.200, 4044.936) + BAND03_DIR01_LINE_NUM_COEF = ( 4.840035e-01, 9.726378e-01, -1.653382e-01, -1.294512e-04, 3.309951e-09) + BAND03_DIR01_LINE_DEN_COEF = ( 1.666654e-07, 3.129435e-07, -6.112549e-12, -2.508993e-12) + BAND03_DIR01_SAMP_NUM_COEF = (-1.295056e+00, 2.115689e-01, 9.470960e-01, -2.719492e-05, -1.359467e-06) + BAND03_DIR01_SAMP_DEN_COEF = (-1.455101e-06, -9.437632e-08, -1.576466e-06, 1.273825e-10) +END_GROUP = RPC_BAND03 +GROUP = RPC_BAND04 + BAND04_LINES_PER_SCAN = 16 + BAND04_NUMBER_OF_DIRECTIONS = 2 + BAND04_NUM_L1T_LINES = 7091 + BAND04_NUM_L1T_SAMPS = 8031 + BAND04_NUM_L1R_LINES = 5999 + BAND04_NUM_L1R_SAMPS = 6599 + BAND04_PIXEL_SIZE = 30.000 + BAND04_START_TIME = 0.000000 + BAND04_LINE_TIME = 0.000000 + BAND04_MEAN_HEIGHT = 4000.000 + BAND04_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND04_MEAN_L1T_LINE_SAMP = (3545.331, 4046.451) + BAND04_MEAN_SAT_VECTOR = (-0.000051318, -0.003162619, 0.995594291) + BAND04_SAT_X_NUM_COEF = (-1.239411e-04, 1.231667e-06, -4.731584e-05, -8.530442e-11, -1.168913e-05, + -1.357468e-11, 9.590926e-12, 4.208670e-11, 8.867505e-16, 4.283539e-17) + BAND04_SAT_X_DEN_COEF = ( 4.038928e-06, -7.110691e-07, -1.408793e-06, -4.210415e-06, 3.084951e-11, + 4.247214e-10, 9.725541e-10, 7.042408e-16, -2.393068e-18) + BAND04_SAT_Y_NUM_COEF = (-8.146805e-04, 4.732270e-05, 1.154754e-06, -4.483020e-09, -4.661952e-05, + 1.988925e-12, 3.605484e-11, 2.006944e-10, -1.094704e-15, -4.706082e-17) + BAND04_SAT_Y_DEN_COEF = ( 7.957110e-06, -1.585832e-06, -1.391713e-06, -7.949782e-06, -7.479057e-11, + 6.668357e-10, 9.684529e-10, 4.849007e-15, -5.560127e-16) + BAND04_SAT_Z_NUM_COEF = ( 4.397781e-03, 1.976855e-07, -4.914089e-09, -1.249830e-08, -1.977528e-07, + -5.302578e-11, -4.746393e-10, -1.061888e-09, -6.551954e-16, -2.635545e-19) + BAND04_SAT_Z_DEN_COEF = (-2.068244e-06, 4.503319e-07, -2.835534e-06, 1.955077e-06, 6.934788e-11, + 6.219615e-10, 1.400844e-09, 4.236632e-16, -3.276914e-18) + BAND04_MEAN_SUN_VECTOR = ( 0.363913884, -0.856996660, 0.364585593) + BAND04_SUN_X_NUM_COEF = ( 2.857127e-05, 1.462212e-07, -5.488708e-06, -1.140612e-14, -2.766495e-07, + -1.164361e-12, 1.761245e-11, 1.274963e-11, -1.754553e-18, 8.132324e-18) + BAND04_SUN_X_DEN_COEF = ( 1.167269e-06, -3.512281e-06, -1.595682e-10, 5.107525e-08, -2.366054e-11, + -7.968859e-12, 2.173745e-11, 1.334430e-16, 1.257316e-17) + BAND04_SUN_Y_NUM_COEF = (-9.384332e-05, 1.760358e-06, -1.558092e-06, 8.333033e-15, -8.116009e-08, + 1.900776e-11, 7.306213e-12, 1.579079e-11, 3.032379e-17, 4.532931e-17) + BAND04_SUN_Y_DEN_COEF = ( 5.151621e-06, 3.447969e-07, -9.173248e-11, 5.455650e-07, -2.086264e-12, + -1.219389e-11, 2.727889e-11, 1.611099e-16, 1.687243e-17) + BAND04_SUN_Z_NUM_COEF = ( 2.620486e-05, 3.993436e-06, 1.816206e-06, 1.134716e-14, 8.514829e-08, + -2.920077e-11, 2.546865e-11, 1.319042e-11, -4.106063e-17, 1.184664e-16) + BAND04_SUN_Z_DEN_COEF = (-6.434985e-06, 9.505363e-06, -6.738772e-11, 1.236493e-07, 2.329897e-11, + -2.728946e-11, 2.672610e-11, -2.597999e-17, 1.039347e-17) + BAND04_DIR00_MEAN_HEIGHT = 4000.000 + BAND04_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND04_DIR00_MEAN_L1T_LINE_SAMP = (3545.659, 4048.643) + BAND04_DIR00_LINE_NUM_COEF = ( 2.891114e-01, 9.726366e-01, -1.653381e-01, -1.294905e-04, 3.936831e-09) + BAND04_DIR00_LINE_DEN_COEF = ( 1.666505e-07, 3.135384e-07, -6.154762e-12, -2.508850e-12) + BAND04_DIR00_SAMP_NUM_COEF = ( 3.013767e+00, 2.115615e-01, 9.470897e-01, -2.830118e-05, -1.359548e-06) + BAND04_DIR00_SAMP_DEN_COEF = (-1.454221e-06, -9.246365e-08, -1.576468e-06, 1.273704e-10) + BAND04_DIR01_MEAN_HEIGHT = 4000.000 + BAND04_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND04_DIR01_MEAN_L1T_LINE_SAMP = (3545.001, 4044.248) + BAND04_DIR01_LINE_NUM_COEF = ( 3.756759e-01, 9.726380e-01, -1.653383e-01, -1.294907e-04, 3.936656e-09) + BAND04_DIR01_LINE_DEN_COEF = ( 1.666618e-07, 3.135404e-07, -6.154764e-12, -2.508854e-12) + BAND04_DIR01_SAMP_NUM_COEF = (-1.287931e+00, 2.115672e-01, 9.470893e-01, -2.830114e-05, -1.359580e-06) + BAND04_DIR01_SAMP_DEN_COEF = (-1.454814e-06, -9.255396e-08, -1.576466e-06, 1.273702e-10) +END_GROUP = RPC_BAND04 +GROUP = RPC_BAND05 + BAND05_LINES_PER_SCAN = 16 + BAND05_NUMBER_OF_DIRECTIONS = 2 + BAND05_NUM_L1T_LINES = 7091 + BAND05_NUM_L1T_SAMPS = 8031 + BAND05_NUM_L1R_LINES = 5999 + BAND05_NUM_L1R_SAMPS = 6599 + BAND05_PIXEL_SIZE = 30.000 + BAND05_START_TIME = 0.000000 + BAND05_LINE_TIME = 0.000000 + BAND05_MEAN_HEIGHT = 4000.000 + BAND05_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND05_MEAN_L1T_LINE_SAMP = (3545.399, 4044.338) + BAND05_MEAN_SAT_VECTOR = ( 0.000047562, -0.003161885, 0.995594150) + BAND05_SAT_X_NUM_COEF = (-1.227870e-04, 1.231002e-06, -4.731582e-05, 5.505459e-11, -1.168845e-05, + -1.355702e-11, 9.716850e-12, 4.227194e-11, 5.902254e-16, 4.268696e-17) + BAND05_SAT_X_DEN_COEF = ( 4.038006e-06, -7.218466e-07, -1.408789e-06, -4.212773e-06, 3.674992e-11, + 4.226903e-10, 9.727298e-10, 7.064259e-16, -4.523992e-18) + BAND05_SAT_Y_NUM_COEF = (-8.148594e-04, 4.732382e-05, 1.153671e-06, -4.481334e-09, -4.662076e-05, + 2.010165e-12, 3.619217e-11, 2.007139e-10, -1.009933e-15, -4.695495e-17) + BAND05_SAT_Y_DEN_COEF = ( 7.957630e-06, -1.585576e-06, -1.391703e-06, -7.936965e-06, -6.625105e-11, + 6.636172e-10, 9.686791e-10, 4.637343e-15, -5.171552e-16) + BAND05_SAT_Z_NUM_COEF = ( 4.397933e-03, 1.820685e-07, 2.451643e-09, -1.249664e-08, -1.806525e-07, + -5.302192e-11, -4.746353e-10, -1.061889e-09, -6.553163e-16, -4.652237e-19) + BAND05_SAT_Z_DEN_COEF = (-2.346341e-06, 4.921062e-07, -2.835513e-06, 2.239810e-06, 6.938878e-11, + 6.220356e-10, 1.400817e-09, 4.209832e-16, -8.014901e-18) + BAND05_MEAN_SUN_VECTOR = ( 0.363925489, -0.856993246, 0.364582027) + BAND05_SUN_X_NUM_COEF = ( 2.857283e-05, 1.461625e-07, -5.488677e-06, -8.828659e-15, -2.766411e-07, + -1.163586e-12, 1.763522e-11, 1.279710e-11, 6.979035e-19, 7.660960e-18) + BAND05_SUN_X_DEN_COEF = ( 1.162610e-06, -3.521019e-06, -1.615569e-10, 5.176471e-08, -2.409272e-11, + -7.857324e-12, 2.173655e-11, 1.340006e-16, 1.059303e-17) + BAND05_SUN_Y_NUM_COEF = (-9.384542e-05, 1.760411e-06, -1.558173e-06, -5.989710e-16, -8.124653e-08, + 1.898530e-11, 7.313481e-12, 1.580299e-11, 2.850805e-17, 4.613534e-17) + BAND05_SUN_Y_DEN_COEF = ( 5.140649e-06, 3.363174e-07, -8.989469e-11, 5.431510e-07, -1.787191e-12, + -1.287095e-11, 2.722726e-11, 1.609857e-16, 1.616833e-17) + BAND05_SUN_Z_NUM_COEF = ( 2.620512e-05, 3.993391e-06, 1.816231e-06, 1.446302e-14, 8.519890e-08, + -2.916022e-11, 2.541451e-11, 1.315875e-11, -4.193275e-17, 1.168325e-16) + BAND05_SUN_Z_DEN_COEF = (-6.426906e-06, 9.487975e-06, -6.777356e-11, 1.255769e-07, 2.289690e-11, + -2.710815e-11, 2.667962e-11, -2.587418e-17, 1.027758e-17) + BAND05_DIR00_MEAN_HEIGHT = 4000.000 + BAND05_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND05_DIR00_MEAN_L1T_LINE_SAMP = (3545.892, 4046.576) + BAND05_DIR00_LINE_NUM_COEF = ( 2.898802e-01, 9.726372e-01, -1.653386e-01, -1.288383e-04, 2.789637e-09) + BAND05_DIR00_LINE_DEN_COEF = ( 1.666645e-07, 3.124382e-07, -6.068172e-12, -2.509804e-12) + BAND05_DIR00_SAMP_NUM_COEF = ( 3.191044e+00, 2.115571e-01, 9.470727e-01, -3.159165e-05, -1.359857e-06) + BAND05_DIR00_SAMP_DEN_COEF = (-1.453420e-06, -8.743931e-08, -1.576470e-06, 1.272410e-10) + BAND05_DIR01_MEAN_HEIGHT = 4000.000 + BAND05_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND05_DIR01_MEAN_L1T_LINE_SAMP = (3544.903, 4042.088) + BAND05_DIR01_LINE_NUM_COEF = ( 6.993035e-02, 9.726387e-01, -1.653388e-01, -1.288385e-04, 2.789457e-09) + BAND05_DIR01_LINE_DEN_COEF = ( 1.666760e-07, 3.124410e-07, -6.068175e-12, -2.509808e-12) + BAND05_DIR01_SAMP_NUM_COEF = (-1.268460e+00, 2.115628e-01, 9.470723e-01, -3.159160e-05, -1.359906e-06) + BAND05_DIR01_SAMP_DEN_COEF = (-1.454040e-06, -8.757186e-08, -1.576467e-06, 1.272408e-10) +END_GROUP = RPC_BAND05 +GROUP = RPC_BAND61 + BAND61_LINES_PER_SCAN = 8 + BAND61_NUMBER_OF_DIRECTIONS = 2 + BAND61_NUM_L1T_LINES = 7091 + BAND61_NUM_L1T_SAMPS = 8031 + BAND61_NUM_L1R_LINES = 2999 + BAND61_NUM_L1R_SAMPS = 3299 + BAND61_PIXEL_SIZE = 30.000 + BAND61_START_TIME = 0.000000 + BAND61_LINE_TIME = 0.000000 + BAND61_MEAN_HEIGHT = 4000.000 + BAND61_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) + BAND61_MEAN_L1T_LINE_SAMP = (3545.506, 4042.703) + BAND61_MEAN_SAT_VECTOR = ( 0.000130016, -0.003135506, 0.995594307) + BAND61_SAT_X_NUM_COEF = (-1.218703e-04, 1.230973e-06, -4.731578e-05, 1.718455e-10, -2.337685e-05, + -1.355003e-11, 9.774649e-12, 4.238711e-11, 4.447266e-15, 3.413016e-16) + BAND61_SAT_X_DEN_COEF = ( 4.082634e-06, -7.374140e-07, -1.408796e-06, -8.521098e-06, 3.742445e-11, + 4.224417e-10, 9.727511e-10, 5.657236e-15, -3.362080e-17) + BAND61_SAT_Y_NUM_COEF = (-8.148589e-04, 4.732510e-05, 1.152739e-06, -4.443581e-09, -9.324428e-05, + 2.014737e-12, 3.626439e-11, 2.007186e-10, -7.127285e-15, -3.754005e-16) + BAND61_SAT_Y_DEN_COEF = ( 7.079280e-06, -1.432929e-06, -1.391576e-06, -1.405262e-05, -5.410136e-11, + 6.595826e-10, 9.689412e-10, 3.465726e-14, -3.791031e-15) + BAND61_SAT_Z_NUM_COEF = ( 4.397881e-03, 1.731018e-07, 7.653020e-09, -1.249519e-08, -3.412380e-07, + -5.301956e-11, -4.746331e-10, -1.061890e-09, -5.244139e-15, -4.517446e-18) + BAND61_SAT_Z_DEN_COEF = (-2.561438e-06, 5.247860e-07, -2.835498e-06, 4.920242e-06, 6.941998e-11, + 6.220980e-10, 1.400814e-09, 3.357033e-15, -9.358160e-17) + BAND61_MEAN_SUN_VECTOR = ( 0.363934619, -0.856990471, 0.364579440) + BAND61_SUN_X_NUM_COEF = ( 2.857365e-05, 1.461173e-07, -5.488653e-06, -6.933890e-15, -5.532716e-07, + -1.159378e-12, 1.781410e-11, 1.288003e-11, 2.451901e-17, 5.801909e-17) + BAND61_SUN_X_DEN_COEF = ( 1.137920e-06, -3.537712e-06, -1.646441e-10, 8.739426e-08, -2.463185e-11, + -7.749083e-12, 2.174412e-11, 1.081451e-15, 7.295448e-17) + BAND61_SUN_Y_NUM_COEF = (-9.384396e-05, 1.760421e-06, -1.558232e-06, -5.259916e-15, -1.625654e-07, + 1.901298e-11, 7.298114e-12, 1.579373e-11, 2.433547e-16, 3.620490e-16) + BAND61_SUN_Y_DEN_COEF = ( 5.166767e-06, 3.405119e-07, -9.362320e-11, 1.066456e-06, -2.135058e-12, + -1.218967e-11, 2.725518e-11, 1.287655e-15, 1.339115e-16) + BAND61_SUN_Z_NUM_COEF = ( 2.620463e-05, 3.993335e-06, 1.816252e-06, 1.568790e-14, 1.705216e-07, + -2.878707e-11, 2.515269e-11, 1.297028e-11, -3.465415e-16, 8.983443e-16) + BAND61_SUN_Z_DEN_COEF = (-6.331176e-06, 9.382535e-06, -6.924787e-11, 2.425455e-07, 2.188312e-11, + -2.646181e-11, 2.644595e-11, -2.031305e-16, 8.100502e-17) + BAND61_DIR00_MEAN_HEIGHT = 4000.000 + BAND61_DIR00_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) + BAND61_DIR00_MEAN_L1T_LINE_SAMP = (3545.866, 4043.694) + BAND61_DIR00_LINE_NUM_COEF = ( 1.454284e-01, 4.863190e-01, -8.266949e-02, -6.413009e-05, 6.781207e-10) + BAND61_DIR00_LINE_DEN_COEF = ( 1.666883e-07, 3.110670e-07, -2.218824e-12, -2.513342e-12) + BAND61_DIR00_SAMP_NUM_COEF = ( 3.924161e-01, 1.057792e-01, 4.735326e-01, -1.605510e-05, -6.800181e-07) + BAND61_DIR00_SAMP_DEN_COEF = (-1.452971e-06, -8.315610e-08, -1.576469e-06, 1.270977e-10) + BAND61_DIR01_MEAN_HEIGHT = 4000.000 + BAND61_DIR01_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) + BAND61_DIR01_MEAN_L1T_LINE_SAMP = (3545.143, 4041.706) + BAND61_DIR01_LINE_NUM_COEF = (-4.167761e-02, 4.863194e-01, -8.266955e-02, -6.413014e-05, 6.780838e-10) + BAND61_DIR01_LINE_DEN_COEF = ( 1.666935e-07, 3.110690e-07, -2.218820e-12, -2.513344e-12) + BAND61_DIR01_SAMP_NUM_COEF = (-6.257444e-01, 1.057804e-01, 4.735325e-01, -1.605509e-05, -6.800357e-07) + BAND61_DIR01_SAMP_DEN_COEF = (-1.453259e-06, -8.325101e-08, -1.576467e-06, 1.270975e-10) +END_GROUP = RPC_BAND61 +GROUP = RPC_BAND62 + BAND62_LINES_PER_SCAN = 8 + BAND62_NUMBER_OF_DIRECTIONS = 2 + BAND62_NUM_L1T_LINES = 7091 + BAND62_NUM_L1T_SAMPS = 8031 + BAND62_NUM_L1R_LINES = 2999 + BAND62_NUM_L1R_SAMPS = 3299 + BAND62_PIXEL_SIZE = 30.000 + BAND62_START_TIME = 0.000000 + BAND62_LINE_TIME = 0.000000 + BAND62_MEAN_HEIGHT = 4000.000 + BAND62_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) + BAND62_MEAN_L1T_LINE_SAMP = (3545.506, 4042.703) + BAND62_MEAN_SAT_VECTOR = ( 0.000130016, -0.003135506, 0.995594307) + BAND62_SAT_X_NUM_COEF = (-1.218703e-04, 1.230973e-06, -4.731578e-05, 1.718455e-10, -2.337685e-05, + -1.355003e-11, 9.774649e-12, 4.238711e-11, 4.447266e-15, 3.413016e-16) + BAND62_SAT_X_DEN_COEF = ( 4.082634e-06, -7.374140e-07, -1.408796e-06, -8.521098e-06, 3.742445e-11, + 4.224417e-10, 9.727511e-10, 5.657236e-15, -3.362080e-17) + BAND62_SAT_Y_NUM_COEF = (-8.148589e-04, 4.732510e-05, 1.152739e-06, -4.443581e-09, -9.324428e-05, + 2.014737e-12, 3.626439e-11, 2.007186e-10, -7.127285e-15, -3.754005e-16) + BAND62_SAT_Y_DEN_COEF = ( 7.079280e-06, -1.432929e-06, -1.391576e-06, -1.405262e-05, -5.410136e-11, + 6.595826e-10, 9.689412e-10, 3.465726e-14, -3.791031e-15) + BAND62_SAT_Z_NUM_COEF = ( 4.397881e-03, 1.731018e-07, 7.653020e-09, -1.249519e-08, -3.412380e-07, + -5.301956e-11, -4.746331e-10, -1.061890e-09, -5.244139e-15, -4.517446e-18) + BAND62_SAT_Z_DEN_COEF = (-2.561438e-06, 5.247860e-07, -2.835498e-06, 4.920242e-06, 6.941998e-11, + 6.220980e-10, 1.400814e-09, 3.357033e-15, -9.358160e-17) + BAND62_MEAN_SUN_VECTOR = ( 0.363934619, -0.856990471, 0.364579440) + BAND62_SUN_X_NUM_COEF = ( 2.857365e-05, 1.461173e-07, -5.488653e-06, -6.933890e-15, -5.532716e-07, + -1.159378e-12, 1.781410e-11, 1.288003e-11, 2.451901e-17, 5.801909e-17) + BAND62_SUN_X_DEN_COEF = ( 1.137920e-06, -3.537712e-06, -1.646441e-10, 8.739426e-08, -2.463185e-11, + -7.749083e-12, 2.174412e-11, 1.081451e-15, 7.295448e-17) + BAND62_SUN_Y_NUM_COEF = (-9.384396e-05, 1.760421e-06, -1.558232e-06, -5.259916e-15, -1.625654e-07, + 1.901298e-11, 7.298114e-12, 1.579373e-11, 2.433547e-16, 3.620490e-16) + BAND62_SUN_Y_DEN_COEF = ( 5.166767e-06, 3.405119e-07, -9.362320e-11, 1.066456e-06, -2.135058e-12, + -1.218967e-11, 2.725518e-11, 1.287655e-15, 1.339115e-16) + BAND62_SUN_Z_NUM_COEF = ( 2.620463e-05, 3.993335e-06, 1.816252e-06, 1.568790e-14, 1.705216e-07, + -2.878707e-11, 2.515269e-11, 1.297028e-11, -3.465415e-16, 8.983443e-16) + BAND62_SUN_Z_DEN_COEF = (-6.331176e-06, 9.382535e-06, -6.924787e-11, 2.425455e-07, 2.188312e-11, + -2.646181e-11, 2.644595e-11, -2.031305e-16, 8.100502e-17) + BAND62_DIR00_MEAN_HEIGHT = 4000.000 + BAND62_DIR00_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) + BAND62_DIR00_MEAN_L1T_LINE_SAMP = (3545.866, 4043.694) + BAND62_DIR00_LINE_NUM_COEF = ( 1.454284e-01, 4.863190e-01, -8.266949e-02, -6.413009e-05, 6.781207e-10) + BAND62_DIR00_LINE_DEN_COEF = ( 1.666883e-07, 3.110670e-07, -2.218824e-12, -2.513342e-12) + BAND62_DIR00_SAMP_NUM_COEF = ( 3.924161e-01, 1.057792e-01, 4.735326e-01, -1.605510e-05, -6.800181e-07) + BAND62_DIR00_SAMP_DEN_COEF = (-1.452971e-06, -8.315610e-08, -1.576469e-06, 1.270977e-10) + BAND62_DIR01_MEAN_HEIGHT = 4000.000 + BAND62_DIR01_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) + BAND62_DIR01_MEAN_L1T_LINE_SAMP = (3545.143, 4041.706) + BAND62_DIR01_LINE_NUM_COEF = (-4.167761e-02, 4.863194e-01, -8.266955e-02, -6.413014e-05, 6.780838e-10) + BAND62_DIR01_LINE_DEN_COEF = ( 1.666935e-07, 3.110690e-07, -2.218820e-12, -2.513344e-12) + BAND62_DIR01_SAMP_NUM_COEF = (-6.257444e-01, 1.057804e-01, 4.735325e-01, -1.605509e-05, -6.800357e-07) + BAND62_DIR01_SAMP_DEN_COEF = (-1.453259e-06, -8.325101e-08, -1.576467e-06, 1.270975e-10) +END_GROUP = RPC_BAND62 +GROUP = RPC_BAND07 + BAND07_LINES_PER_SCAN = 16 + BAND07_NUMBER_OF_DIRECTIONS = 2 + BAND07_NUM_L1T_LINES = 7091 + BAND07_NUM_L1T_SAMPS = 8031 + BAND07_NUM_L1R_LINES = 5999 + BAND07_NUM_L1R_SAMPS = 6599 + BAND07_PIXEL_SIZE = 30.000 + BAND07_START_TIME = 0.000000 + BAND07_LINE_TIME = 0.000000 + BAND07_MEAN_HEIGHT = 4000.000 + BAND07_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND07_MEAN_L1T_LINE_SAMP = (3545.517, 4045.066) + BAND07_MEAN_SAT_VECTOR = ( 0.000013683, -0.003155449, 0.995594227) + BAND07_SAT_X_NUM_COEF = (-1.231921e-04, 1.231228e-06, -4.731580e-05, 6.956923e-12, -1.168868e-05, + -1.356350e-11, 9.670680e-12, 4.220530e-11, 6.985396e-16, 4.274082e-17) + BAND07_SAT_X_DEN_COEF = ( 4.038596e-06, -7.180675e-07, -1.408791e-06, -4.212188e-06, 3.459465e-11, + 4.234322e-10, 9.726657e-10, 7.056461e-16, -3.743621e-18) + BAND07_SAT_Y_NUM_COEF = (-8.147679e-04, 4.732340e-05, 1.154047e-06, -4.472439e-09, -4.662031e-05, + 2.002425e-12, 3.614134e-11, 2.007039e-10, -1.041582e-15, -4.699374e-17) + BAND07_SAT_Y_DEN_COEF = ( 7.955654e-06, -1.584939e-06, -1.391706e-06, -7.939677e-06, -6.943949e-11, + 6.648134e-10, 9.685830e-10, 4.716401e-15, -5.316546e-16) + BAND07_SAT_Z_NUM_COEF = ( 4.397880e-03, 1.874821e-07, -1.454746e-10, -1.249717e-08, -1.865900e-07, + -5.302334e-11, -4.746368e-10, -1.061889e-09, -6.552719e-16, -3.910705e-19) + BAND07_SAT_Z_DEN_COEF = (-2.248828e-06, 4.775059e-07, -2.835520e-06, 2.139981e-06, 6.937455e-11, + 6.220101e-10, 1.400828e-09, 4.218356e-16, -6.364590e-18) + BAND07_MEAN_SUN_VECTOR = ( 0.363921512, -0.856994172, 0.364583823) + BAND07_SUN_X_NUM_COEF = ( 2.857226e-05, 1.461826e-07, -5.488684e-06, -9.696660e-15, -2.766441e-07, + -1.163817e-12, 1.762884e-11, 1.278065e-11, -1.928895e-19, 7.832711e-18) + BAND07_SUN_X_DEN_COEF = ( 1.163942e-06, -3.517992e-06, -1.608370e-10, 5.152309e-08, -2.393716e-11, + -7.898032e-12, 2.173704e-11, 1.338049e-16, 1.131593e-17) + BAND07_SUN_Y_NUM_COEF = (-9.384458e-05, 1.760394e-06, -1.558143e-06, 2.711884e-15, -8.121478e-08, + 1.899364e-11, 7.310706e-12, 1.579851e-11, 2.917610e-17, 4.583969e-17) + BAND07_SUN_Y_DEN_COEF = ( 5.144584e-06, 3.394345e-07, -9.058253e-11, 5.441817e-07, -1.896897e-12, + -1.262196e-11, 2.724595e-11, 1.610327e-16, 1.642899e-17) + BAND07_SUN_Z_NUM_COEF = ( 2.620507e-05, 3.993406e-06, 1.816222e-06, 1.330224e-14, 8.518044e-08, + -2.917030e-11, 2.543788e-11, 1.317098e-11, -4.160182e-17, 1.174447e-16) + BAND07_SUN_Z_DEN_COEF = (-6.428705e-06, 9.494699e-06, -6.762786e-11, 1.248804e-07, 2.304882e-11, + -2.717503e-11, 2.669755e-11, -2.591968e-17, 1.032746e-17) + BAND07_DIR00_MEAN_HEIGHT = 4000.000 + BAND07_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND07_DIR00_MEAN_L1T_LINE_SAMP = (3545.950, 4047.287) + BAND07_DIR00_LINE_NUM_COEF = ( 2.901933e-01, 9.726370e-01, -1.653384e-01, -1.288470e-04, 2.302083e-09) + BAND07_DIR00_LINE_DEN_COEF = ( 1.666665e-07, 3.119739e-07, -6.036510e-12, -2.509319e-12) + BAND07_DIR00_SAMP_NUM_COEF = ( 3.125952e+00, 2.115588e-01, 9.470786e-01, -3.040707e-05, -1.359742e-06) + BAND07_DIR00_SAMP_DEN_COEF = (-1.453722e-06, -8.932824e-08, -1.576469e-06, 1.273048e-10) + BAND07_DIR01_MEAN_HEIGHT = 4000.000 + BAND07_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) + BAND07_DIR01_MEAN_L1T_LINE_SAMP = (3545.082, 4042.833) + BAND07_DIR01_LINE_NUM_COEF = ( 1.824946e-01, 9.726385e-01, -1.653387e-01, -1.288472e-04, 2.301904e-09) + BAND07_DIR01_LINE_DEN_COEF = ( 1.666780e-07, 3.119764e-07, -6.036515e-12, -2.509323e-12) + BAND07_DIR01_SAMP_NUM_COEF = (-1.275783e+00, 2.115645e-01, 9.470783e-01, -3.040702e-05, -1.359785e-06) + BAND07_DIR01_SAMP_DEN_COEF = (-1.454333e-06, -8.944534e-08, -1.576467e-06, 1.273046e-10) +END_GROUP = RPC_BAND07 +GROUP = RPC_BAND08 + BAND08_LINES_PER_SCAN = 32 + BAND08_NUMBER_OF_DIRECTIONS = 2 + BAND08_NUM_L1T_LINES = 14181 + BAND08_NUM_L1T_SAMPS = 16061 + BAND08_NUM_L1R_LINES = 11999 + BAND08_NUM_L1R_SAMPS = 13199 + BAND08_PIXEL_SIZE = 15.000 + BAND08_START_TIME = 0.000000 + BAND08_LINE_TIME = 0.000000 + BAND08_MEAN_HEIGHT = 4000.000 + BAND08_MEAN_L1R_LINE_SAMP = (5999.500, 6599.008) + BAND08_MEAN_L1T_LINE_SAMP = (7091.616, 8098.191) + BAND08_MEAN_SAT_VECTOR = (-0.000179663, -0.003160539, 0.995659109) + BAND08_SAT_X_NUM_COEF = (-1.229846e-04, 6.165611e-07, -2.365796e-05, -2.670461e-10, -5.845313e-06, + -3.398651e-12, 2.362771e-12, 1.047421e-11, 1.639210e-16, 5.382897e-18) + BAND08_SAT_X_DEN_COEF = ( 2.019040e-06, -3.489361e-07, -1.408959e-06, -2.102772e-06, 5.601375e-12, + 1.069175e-10, 2.430968e-10, 8.760237e-17, 7.658822e-20) + BAND08_SAT_Y_NUM_COEF = (-8.025521e-04, 2.366054e-05, 5.780778e-07, -4.481251e-09, -2.330887e-05, + 4.820146e-13, 8.933107e-12, 5.015748e-11, -1.493197e-16, -5.914147e-18) + BAND08_SAT_Y_DEN_COEF = ( 3.996899e-06, -7.995739e-07, -1.391886e-06, -4.010200e-06, -2.120795e-11, + 1.677477e-10, 2.420913e-10, 6.372178e-16, -7.529464e-17) + BAND08_SAT_Z_NUM_COEF = ( 4.332996e-03, 1.094187e-07, -7.328153e-09, -1.231745e-08, -1.104247e-07, + -1.325890e-11, -1.186714e-10, -2.654945e-10, -8.188201e-17, 2.110882e-21) + BAND08_SAT_Z_DEN_COEF = (-8.402526e-07, 1.957928e-07, -2.835607e-06, 7.789887e-07, 1.732361e-11, + 1.554718e-10, 3.502368e-10, 5.344276e-17, 3.859437e-19) + BAND08_MEAN_SUN_VECTOR = ( 0.363899510, -0.857001059, 0.364592568) + BAND08_SUN_X_NUM_COEF = ( 2.843530e-05, 7.314688e-08, -2.744366e-06, -1.474117e-14, -1.383307e-07, + -2.903213e-13, 4.441744e-12, 3.223705e-12, -6.507662e-19, 1.106099e-18) + BAND08_SUN_X_DEN_COEF = ( 5.690238e-07, -1.769276e-06, -1.567076e-10, 2.626394e-08, -5.795961e-12, + -2.064576e-12, 5.446171e-12, 1.667663e-17, 1.959592e-18) + BAND08_SUN_Y_NUM_COEF = (-9.274356e-05, 8.801476e-07, -7.789895e-07, 2.081737e-14, -4.051904e-08, + 4.756046e-12, 1.828278e-12, 3.942665e-12, 4.065098e-18, 5.512629e-18) + BAND08_SUN_Y_DEN_COEF = ( 2.581588e-06, 1.788470e-07, -9.322486e-11, 2.718213e-07, -6.376344e-13, + -2.838957e-12, 6.844208e-12, 2.017432e-17, 2.181118e-18) + BAND08_SUN_Z_NUM_COEF = ( 2.595786e-05, 1.996748e-06, 9.080859e-07, 6.402610e-15, 4.254089e-08, + -7.241200e-12, 6.447918e-12, 3.321714e-12, -5.023676e-18, 1.502521e-17) + BAND08_SUN_Z_DEN_COEF = (-3.185992e-06, 4.779092e-06, -6.654164e-11, 5.919624e-08, 5.945227e-12, + -6.864638e-12, 6.712585e-12, -3.141784e-18, 1.235238e-18) + BAND08_DIR00_MEAN_HEIGHT = 4000.000 + BAND08_DIR00_MEAN_L1R_LINE_SAMP = (5999.500, 6599.008) + BAND08_DIR00_MEAN_L1T_LINE_SAMP = (7091.806, 8102.442) + BAND08_DIR00_LINE_NUM_COEF = ( 5.811540e-01, 9.726360e-01, -1.653372e-01, -2.589039e-04, 8.450384e-10) + BAND08_DIR00_LINE_DEN_COEF = ( 8.333129e-08, 1.557010e-07, -7.914146e-12, -6.206837e-13) + BAND08_DIR00_SAMP_NUM_COEF = ( 5.536719e+00, 2.115705e-01, 9.471836e-01, -4.793217e-05, -6.796254e-07) + BAND08_DIR00_SAMP_DEN_COEF = (-7.277172e-07, -4.989989e-08, -1.576456e-06, 3.146639e-11) + BAND08_DIR01_MEAN_HEIGHT = 4000.000 + BAND08_DIR01_MEAN_L1R_LINE_SAMP = (5999.500, 6599.008) + BAND08_DIR01_MEAN_L1T_LINE_SAMP = (7091.424, 8093.916) + BAND08_DIR01_LINE_NUM_COEF = ( 1.619536e+00, 9.726373e-01, -1.653374e-01, -2.589042e-04, 8.449453e-10) + BAND08_DIR01_LINE_DEN_COEF = ( 8.333670e-08, 1.557013e-07, -7.914148e-12, -6.206845e-13) + BAND08_DIR01_SAMP_NUM_COEF = (-2.620238e+00, 2.115761e-01, 9.471832e-01, -4.793208e-05, -6.796303e-07) + BAND08_DIR01_SAMP_DEN_COEF = (-7.279905e-07, -4.991496e-08, -1.576455e-06, 3.146637e-11) +END_GROUP = RPC_BAND08 +END diff --git a/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml new file mode 100644 index 0000000..401dd46 --- /dev/null +++ b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml @@ -0,0 +1,367 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9C7I13B + LE07_L2SP_021030_20100109_20200911_02_T1 + L2SP + 02 + T1 + GEOTIFF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF + LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt + LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt + LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + UINT8 + INT16 + UINT16 + UINT16 + + + LANDSAT_7 + ETM + 2 + 021 + 030 + 2010-01-09 + 16:13:46.0400581Z + EDC + 8.00 + 8.00 + 9 + Y + Y + Y + Y + N + N + N + Y + N + 156.98419323 + 21.38957268 + 0.9833890 + BUMPER + OFF + NONE + + + UTM + WGS84 + WGS84 + 16 + 30.00 + 30.00 + 7091 + 8031 + 7091 + 8031 + NORTH_UP + 44.16078 + -86.25585 + 44.10151 + -83.24684 + 42.24562 + -86.27878 + 42.19017 + -83.36214 + 559500.000 + 4890000.000 + 800400.000 + 4890000.000 + 559500.000 + 4677300.000 + 800400.000 + 4677300.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9C7I13B + L2 + LE07_L2SP_021030_20100109_20200911_02_T1 + L2SP + GEOTIFF + 2020-09-11T13:26:28Z + LPGS_15.3.1c + LEDAPS_3.4.0 + TOMS + NCEP + NCEP + NCEP + st_1.3.0 + GEOS-5 FP-IT + + + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + + + 372.999941 + 149.003418 + 65535 + 1 + 0.00341802 + 149.0 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9TU80IG + L2 + LE70210302010009EDC00 + LE07_L1TP_021030_20100109_20200911_02_T1 + L1TP + T1 + GEOTIFF + 2020-09-11T13:13:14Z + LPGS_15.3.1c + LE07_L1TP_021030_20100109_20200911_02_T1_B1.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B2.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B3.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B4.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B5.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B6_VCID_1.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B6_VCID_2.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B7.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_B8.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_GCP.txt + LE07_L1TP_021030_20100109_20200911_02_T1_ANG.txt + LE07_L1TP_021030_20100109_20200911_02_T1_VAA.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_VZA.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_SAA.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_SZA.TIF + LE07_L1TP_021030_20100109_20200911_02_T1_MTL.txt + LE07_L1TP_021030_20100109_20200911_02_T1_MTL.xml + LE07CPF_20100101_20100331_02.01 + GLS2000 + 5 + 466 + 5.067 + 3.506 + 3.658 + DEFINITIVE + + + 191.600 + -6.200 + 196.500 + -6.400 + 152.900 + -5.000 + 157.400 + -5.100 + 31.060 + -1.000 + 17.040 + 0.000 + 12.650 + 3.200 + 10.800 + -0.350 + 243.100 + -4.700 + + + 0.285903 + -0.009252 + 0.321651 + -0.010476 + 0.304606 + -0.009961 + 0.446494 + -0.014467 + 0.425826 + -0.013710 + 0.403286 + -0.013069 + 0.559939 + -0.010826 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 7.7874E-01 + 7.9882E-01 + 6.2165E-01 + 6.3976E-01 + 1.2622E-01 + 6.7087E-02 + 3.7205E-02 + 4.3898E-02 + 9.7559E-01 + -6.97874 + -7.19882 + -5.62165 + -5.73976 + -1.12622 + -0.06709 + 3.16280 + -0.39390 + -5.67559 + 1.1620E-03 + 1.3076E-03 + 1.2385E-03 + 1.8148E-03 + 1.7305E-03 + 1.6392E-03 + 2.2471E-03 + -0.010414 + -0.011784 + -0.011199 + -0.016282 + -0.015440 + -0.014709 + -0.013073 + + + 666.09 + 1282.71 + 666.09 + 1282.71 + + + UTM + WGS84 + WGS84 + 16 + 15.00 + 30.00 + 30.00 + NORTH_UP + CUBIC_CONVOLUTION + 2.0 + + + CPF + CPF + CPF + CPF + CPF + CPF + CPF + CPF + CPF + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + H + H + H + H + H + L + H + H + L + HH + HH + HH + HH + HH + LL + HH + HH + LL + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + diff --git a/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_stac.json b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_stac.json new file mode 100644 index 0000000..009ad54 --- /dev/null +++ b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_stac.json @@ -0,0 +1,235 @@ +{ + "stac_version": "0.7.0", + "stac_extensions": [ + "eo", + "https://landsat.usgs.gov/stac/landsat-extension/schema.json" + ], + "id": "LE07_L2SP_021030_20100109_20200911_02_T1", + "type": "Feature", + "bbox": [ + -86.19109880697113, + 42.21809335234831, + -83.3310432482907, + 44.14296057923245 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -85.67488231282587, + 44.14296057923245 + ], + [ + -83.3310432482907, + 43.79702861643741 + ], + [ + -83.9033122014118, + 42.21809335234831 + ], + [ + -86.19109880697113, + 42.54669435242093 + ], + [ + -85.67488231282587, + 44.14296057923245 + ] + ] + ] + }, + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "properties": { + "datetime": "2010-01-09", + "eo:cloud_cover": 8.0, + "eo:sun_azimuth": 156.98419323, + "eo:sun_elevation": 21.38957268, + "eo:platform": "LANDSAT_7", + "eo:instrument": "ETM", + "eo:off_nadir": 0, + "landsat:cloud_cover_land": 8.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "021", + "landsat:wrs_row": "030", + "landsat:scene_id": "LE70210302010009EDC00", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.48 + }, + { + "name": "SR_B2", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56 + }, + { + "name": "SR_B3", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.65 + }, + { + "name": "SR_B4", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.86 + }, + { + "name": "SR_B5", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.6 + }, + { + "name": "SR_B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.2 + } + ] + }, + "assets": { + "thumbnail": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", + "title": "Thumbnail image", + "type": "image/jpeg" + }, + "reduced_resolution_browse": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", + "title": "Reduced resolution browse image", + "type": "image/jpeg" + }, + "index": { + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1", + "title": "HTML index page", + "type": "text/html" + }, + "SR_B1.TIF": { + "title": "BLue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 0 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF" + }, + "SR_B2.TIF": { + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 1 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF" + }, + "SR_B3.TIF": { + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 2 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF" + }, + "SR_B4.TIF": { + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 3 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF" + }, + "SR_B5.TIF": { + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 4 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF" + }, + "SR_B7.TIF": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 5 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF" + }, + "SR_ATMOS_OPACITY.TIF": { + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF" + }, + "SR_CLOUD_QA.TIF": { + "title": "Cloud Quality Analysis Band", + "description": "Collection 2 Level-2 Cloud Quality Opacity Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG) Surface Reflectance", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL) Surface Reflectance", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml) Surface Reflectance", + "type": "application/xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json) Surface Reflectance", + "type": "application/json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json" + }, + "QA_PIXEL.TIF": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF" + }, + "QA_RADSAT.TIF": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-sr.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_SR_stac.json" + } + ], + "collection": "landsat-c2l2-sr" +} \ No newline at end of file diff --git a/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_stac.json b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_stac.json new file mode 100644 index 0000000..25493ad --- /dev/null +++ b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_stac.json @@ -0,0 +1,193 @@ +{ + "stac_version": "0.7.0", + "stac_extensions": [ + "eo", + "https://landsat.usgs.gov/stac/landsat-extension/schema.json" + ], + "id": "LE07_L2SP_021030_20100109_20200911_02_T1", + "type": "Feature", + "bbox": [ + -86.19109880697113, + 42.21809335234831, + -83.3310432482907, + 44.14296057923245 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -85.67488231282587, + 44.14296057923245 + ], + [ + -83.3310432482907, + 43.79702861643741 + ], + [ + -83.9033122014118, + 42.21809335234831 + ], + [ + -86.19109880697113, + 42.54669435242093 + ], + [ + -85.67488231282587, + 44.14296057923245 + ] + ] + ] + }, + "description": "Landsat Collection 2 Level-2 Surface Temperature Product", + "properties": { + "datetime": "2010-01-09", + "eo:cloud_cover": 8.0, + "eo:sun_azimuth": 156.98419323, + "eo:sun_elevation": 21.38957268, + "eo:platform": "LANDSAT_7", + "eo:instrument": "ETM", + "eo:off_nadir": 0, + "landsat:cloud_cover_land": 8.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "021", + "landsat:wrs_row": "030", + "landsat:scene_id": "LE70210302010009EDC00", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "eo:bands": [ + { + "name": "ST_B6", + "common_name": "tir11", + "gsd": 30, + "center_wavelength": 11.45 + } + ] + }, + "assets": { + "thumbnail": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", + "title": "Thumbnail image", + "type": "image/jpeg" + }, + "reduced_resolution_browse": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", + "title": "Reduced resolution browse image", + "type": "image/jpeg" + }, + "index": { + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1", + "title": "HTML index page", + "type": "text/html" + }, + "ST_B6.TIF": { + "title": "Surface Temperature Band (B6)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B6) Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF" + }, + "ST_ATRAN.TIF": { + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF" + }, + "ST_CDIST.TIF": { + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF" + }, + "ST_DRAD.TIF": { + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF" + }, + "ST_URAD.TIF": { + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF" + }, + "ST_TRAD.TIF": { + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF" + }, + "ST_EMIS.TIF": { + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF" + }, + "ST_EMSD.TIF": { + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF" + }, + "ST_QA.TIF": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG) Surface Temperature", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL) Surface Temperature", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml) Surface Temperature", + "type": "application/xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json) Surface Temperature", + "type": "application/json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json" + }, + "QA_PIXEL.TIF": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF" + }, + "QA_RADSAT.TIF": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-st.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1/LE07_L2SP_021030_20100109_20200911_02_T1_ST_stac.json" + } + ], + "collection": "landsat-c2l2-st" +} \ No newline at end of file diff --git a/tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml b/tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml new file mode 100644 index 0000000..cb73ac0 --- /dev/null +++ b/tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml @@ -0,0 +1,167 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + LM01_L1GS_001010_19720908_20200909_02_T2 + L1GS + 02 + T2 + GEOTIFF + LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt + LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml + UINT8 + UINT8 + UINT8 + UINT8 + UINT16 + UINT16 + Y + Y + Y + Y + + + LANDSAT_1 + MSS + 1 + 001 + 010 + 1972-09-08 + 13:43:34.0910000Z + XXX + 43.00 + 46.00 + -1 + Y + Y + Y + N + 172.41815593 + 24.87312023 + 1.0072366 + + + UTM + WGS84 + WGS84 + 25 + 60.00 + 4214 + 4296 + NORTH_UP + 71.64003 + -37.01729 + 71.65341 + -29.68069 + 69.37840 + -36.59259 + 69.39021 + -30.03192 + 358860.000 + 7953480.000 + 616560.000 + 7953480.000 + 358860.000 + 7700700.000 + 616560.000 + 7700700.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + L2 + LM10010101972252XXX01 + LM01_L1GS_001010_19720908_20200909_02_T2 + L1GS + T2 + GEOTIFF + 2020-09-09T15:55:51Z + LPGS_15.3.1c + LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF + LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt + LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml + LM01CPF_19720723_19780107_02.01 + PREDICTIVE + + + 225.200 + -17.600 + 164.600 + -0.100 + 165.600 + -0.100 + 154.600 + 0.000 + + + 0.400761 + -0.031321 + 0.341326 + -0.000207 + 0.414289 + -0.000250 + 0.582235 + 0.000000 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 9.5591E-01 + 6.4843E-01 + 6.5236E-01 + 6.0866E-01 + -18.55591 + -0.74843 + -0.75236 + -0.60866 + 1.7011E-03 + 1.3446E-03 + 1.6320E-03 + 2.2923E-03 + -0.033022 + -0.001552 + -0.001882 + -0.002292 + + + UTM + WGS84 + WGS84 + 25 + 60.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + MSSR_L0RP + CPF + CPF + CPF + CPF + L + L + L + L + + diff --git a/tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_stac.json b/tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_stac.json new file mode 100644 index 0000000..9a17925 --- /dev/null +++ b/tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_stac.json @@ -0,0 +1,328 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LM01_L1GS_001010_19720908_20200909_02_T2", + "description": "Landsat Collection 2 Level-1 Product", + "bbox": [ + -36.70080544861747, + 69.42483853001222, + -29.841815210171347, + 71.6736886240419 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -34.342777359690906, + 71.6736886240419 + ], + [ + -36.70080544861747, + 70.18448226408043 + ], + [ + -32.42683403196701, + 69.42483853001222 + ], + [ + -29.841815210171347, + 70.85738280018273 + ], + [ + -34.342777359690906, + 71.6736886240419 + ] + ] + ] + }, + "properties": { + "datetime": "1972-09-08T13:43:34.091000Z", + "eo:cloud_cover": 43.0, + "view:sun_azimuth": 172.41815593, + "view:sun_elevation": 24.87312023, + "platform": "LANDSAT_1", + "instruments": [ + "MSS" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 46.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "010", + "landsat:scene_id": "LM10010101972252XXX01", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:correction": "L1GS", + "proj:epsg": 32625, + "proj:shape": [ + 4214, + 4296 + ], + "proj:transform": [ + 60.0, + 0.0, + 358830.0, + 0.0, + -60.0, + 7953510.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg" + } + }, + "file:checksum": "1340b58e2a59a6efebca8098380f0d02ca7ece1eb9bec4dd6d596652a054d60d5f694ac324256a05a81f0326e77a99eba45442c8f8437a4837d6c63d10bd2283c5f9" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg" + } + }, + "file:checksum": "1340b43362db5d4c463544cb931518992b55ae9b18c7560b6f102b24cef5fba87af7b652d493a903b717afebf8eae6c0b64b43593f10fabda7caf77d1ed054aa676f" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2" + }, + "green": { + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "gsd": 60, + "center_wavelength": 0.55 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF" + } + }, + "file:checksum": "13405f028068e4d849edeb4f2a1b1c52b272e0235af99f56d5acd0fc55cc718793dd2eca8732c64199d94718ada2cd6f27360005d14764586ee1774f665c1149dcc6" + }, + "red": { + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "gsd": 60, + "center_wavelength": 0.65 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF" + } + }, + "file:checksum": "1340d4b3df6910f5f00ad857d25c9f94cd0ebf55cc8a416ab08a8430dbfbfaf4de71cf1ded6e08956481c857a9fe01ad1d7100c150f9264981013b9975ed14fcd8b9" + }, + "nir08": { + "title": "Near Infrared Band 0.7 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "gsd": 60, + "center_wavelength": 0.75 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF" + } + }, + "file:checksum": "1340cf1406cf80f08f6c09e3211b11c78c17abdc2825f6357e2575b6340f1d62ecacdd22664ad9d8bc51e1be2b910d03ca4deb4c22444ff713dcdc4c280349053a90" + }, + "nir09": { + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "gsd": 60, + "center_wavelength": 0.95 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF" + } + }, + "file:checksum": "13403bdd713906326ef89ff1a3328a0c2daacee947637e71fc4807dbe2754bfe6deadc4bd0ea7283d35306a9cac45b952a1aa1f044581e5388b84a90f98396100e6f" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt" + } + }, + "file:checksum": "13403b858c353601253ff667891fe142c44a027f75bfd79059975f9e3d615eecd42ea7a80fef17bcc5e04916b85c5d86d69a7eaed91bee88b88e386424f59363668e" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml" + } + }, + "file:checksum": "13408f5ebdda78e614fe6437ce4e25c1da7fad5ab4fb8b7b4f0055fbe84dc9b2dce0a76ff1f90cef6a9098a6b7cedb55ea433a86a9112727dfcbce6ffb333afb577c" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json" + } + }, + "file:checksum": "1340b2f6e298f07289efee2cbc489c632e963ac6e02dbf96562e1f159ccea425a91485b1d671de0e5af0a1731a22bca3eddb4ccab39c4be5000d9efedc5480dc5959" + }, + "qa_pixel": { + "title": "Quality Assessment Band", + "description": "Collection 2 Level-1 Quality Assessment Band (QA_PIXEL) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF" + } + }, + "file:checksum": "1340d0ec6de6d223949a17114ef6fadaff1092fc06f48e07027dd0d0d065fee8ea4ea327f02c07d14b32ff0affcc9322d63c20bccb49543e8a3f02cf7f41e7e7c4b9" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Radiometric Saturation Quality Assessment Band Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF" + } + }, + "file:checksum": "134033253bcc3f3a9a5415dfbf31174ce9454fdf99f08d8f420fe6a63f0300b154b27060835a6a20a64149626b532f43e470df66c4ce264e236260ca88e90d1b5cd9" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l1.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2/LM01_L1GS_001010_19720908_20200909_02_T2_stac.json" + } + ], + "collection": "landsat-c2l1" +} \ No newline at end of file diff --git a/tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml b/tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml new file mode 100644 index 0000000..bb81112 --- /dev/null +++ b/tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml @@ -0,0 +1,167 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + LM04_L1GS_001001_19830527_20210902_02_T2 + L1GS + 02 + T2 + GEOTIFF + LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_MTL.txt + LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml + UINT8 + UINT8 + UINT8 + UINT8 + UINT16 + UINT16 + Y + Y + Y + Y + + + LANDSAT_4 + MSS + 2 + 001 + 001 + 1983-05-27 + 13:36:40.0940000Z + KIS + 32.00 + 0.00 + -1 + Y + Y + Y + Y + -149.68176135 + 29.32047976 + 1.0132538 + + + UTM + WGS84 + WGS84 + 31 + 60.00 + 4308 + 4371 + NORTH_UP + 81.87560 + -4.69386 + 81.84976 + 11.95370 + 79.57668 + -3.00314 + 79.55662 + 9.99199 + 378960.000 + 9099000.000 + 641160.000 + 9099000.000 + 378960.000 + 8840580.000 + 641160.000 + 8840580.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + P501050beeffx_00001 + LM40010011983147KIS00 + LM04_L1GS_001001_19830527_20210902_02_T2 + L1GS + T2 + GEOTIFF + 2021-09-02T17:19:24Z + LPGS_15.5.0 + LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF + LM04_L1GS_001001_19830527_20210902_02_T2_MTL.txt + LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml + LM04CPF_19830401_19931231_02.01 + PREDICTIVE + + + 226.100 + 3.800 + 161.200 + 3.700 + 144.600 + 5.100 + 125.300 + 4.300 + + + 0.412949 + 0.006940 + 0.340943 + 0.007826 + 0.377648 + 0.013320 + 0.481412 + 0.016521 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 8.7520E-01 + 6.2008E-01 + 5.4921E-01 + 4.7638E-01 + 2.92480 + 3.07992 + 4.55079 + 3.82362 + 1.5985E-03 + 1.3115E-03 + 1.4344E-03 + 1.8303E-03 + 0.005342 + 0.006514 + 0.011885 + 0.014691 + + + UTM + WGS84 + WGS84 + 31 + 60.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + MSSR_L0RP + CPF + CPF + CPF + CPF + L + L + L + L + + diff --git a/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt new file mode 100644 index 0000000..e56c384 --- /dev/null +++ b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt @@ -0,0 +1,475 @@ +GROUP = FILE_HEADER + LANDSAT_SCENE_ID = "LT40020261983010XXX03" + SPACECRAFT_ID = "L4_TM" + WRS_PATH = 2 + WRS_ROW = 26 + MODE = "SLC_ON" + FIRST_SCAN_DIRECTION = "R" + NUMBER_OF_BANDS = 7 + BAND_LIST = (1, 2, 3, 4, 5, 6, 7) +END_GROUP = FILE_HEADER +GROUP = PROJECTION + ELLIPSOID_AXES = (6378137.000000, 6356752.314200) + MAP_PROJECTION = "UTM" + PROJECTION_UNITS = "METERS" + DATUM = "WGS84" + ELLIPSOID = "WGS84" + UTM_ZONE = 22 + PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) + UL_CORNER = ( 210300.000, 5525400.000) + UR_CORNER = ( 453900.000, 5525400.000) + LL_CORNER = ( 210300.000, 5302500.000) + LR_CORNER = ( 453900.000, 5302500.000) +END_GROUP = PROJECTION +GROUP = EPHEMERIS + EPHEMERIS_EPOCH_YEAR = 1983 + EPHEMERIS_EPOCH_DAY = 010 + EPHEMERIS_EPOCH_SECONDS = 49920.000000 + NUMBER_OF_POINTS = 29 + EPHEMERIS_TIME = (49920.000000, 49921.000000, 49922.000000, 49923.000000, 49924.000000, + 49925.000000, 49926.000000, 49927.000000, 49928.000000, 49929.000000, + 49930.000000, 49931.000000, 49932.000000, 49933.000000, 49934.000000, + 49935.000000, 49936.000000, 49937.000000, 49938.000000, 49939.000000, + 49940.000000, 49941.000000, 49942.000000, 49943.000000, 49944.000000, + 49945.000000, 49946.000000, 49947.000000, 49948.000000) + EPHEMERIS_ECEF_X = ( 2768353.399289, 2770120.717659, 2771884.120318, 2773643.605947, 2775399.173226, + 2777150.820836, 2778898.547458, 2780642.351772, 2782382.232460, 2784118.188201, + 2785850.217678, 2787578.319570, 2789302.492558, 2791022.735323, 2792739.046545, + 2794451.424906, 2796159.869086, 2797864.377767, 2799564.949627, 2801261.583349, + 2802954.277613, 2804643.031100, 2806327.842491, 2808008.710466, 2809685.633706, + 2811358.610891, 2813027.640703, 2814692.721823, 2816353.852930) + EPHEMERIS_ECEF_Y = (-3666584.494331, -3672231.182595, -3677874.028902, -3683513.026416, -3689148.168304, + -3694779.447734, -3700406.857871, -3706030.391882, -3711650.042933, -3717265.804192, + -3722877.668823, -3728485.629995, -3734089.680873, -3739689.814624, -3745286.024414, + -3750878.303411, -3756466.644779, -3762051.041687, -3767631.487300, -3773207.974785, + -3778780.497308, -3784349.048036, -3789913.620136, -3795474.206773, -3801030.801115, + -3806583.396327, -3812131.985577, -3817676.562031, -3823217.118855) + EPHEMERIS_ECEF_Z = ( 5381101.455635, 5376352.257936, 5371597.006594, 5366835.707124, 5362068.365039, + 5357294.985851, 5352515.575075, 5347730.138222, 5342938.680807, 5338141.208343, + 5333337.726342, 5328528.240318, 5323712.755785, 5318891.278255, 5314063.813241, + 5309230.366257, 5304390.942816, 5299545.548432, 5294694.188616, 5289836.868883, + 5284973.594746, 5280104.371718, 5275229.205312, 5270348.101041, 5265461.064419, + 5260568.100958, 5255669.216172, 5250764.415575, 5245853.704679) +END_GROUP = EPHEMERIS +GROUP = SOLAR_VECTOR + SOLAR_EPOCH_YEAR = 1983 + SOLAR_EPOCH_DAY = 010 + SOLAR_EPOCH_SECONDS = 49920.000000 + EARTH_SUN_DISTANCE = 0.98340708 + NUMBER_OF_POINTS = 29 + SAMPLE_TIME = (49920.000000, 49921.000000, 49922.000000, 49923.000000, 49924.000000, + 49925.000000, 49926.000000, 49927.000000, 49928.000000, 49929.000000, + 49930.000000, 49931.000000, 49932.000000, 49933.000000, 49934.000000, + 49935.000000, 49936.000000, 49937.000000, 49938.000000, 49939.000000, + 49940.000000, 49941.000000, 49942.000000, 49943.000000, 49944.000000, + 49945.000000, 49946.000000, 49947.000000, 49948.000000) + SOLAR_ECEF_X = ( 8.32377771e-01, 8.32348071e-01, 8.32318368e-01, 8.32288660e-01, 8.32258947e-01, + 8.32229230e-01, 8.32199509e-01, 8.32169782e-01, 8.32140052e-01, 8.32110318e-01, + 8.32080579e-01, 8.32050836e-01, 8.32021088e-01, 8.31991336e-01, 8.31961578e-01, + 8.31931818e-01, 8.31902052e-01, 8.31872283e-01, 8.31842509e-01, 8.31812730e-01, + 8.31782947e-01, 8.31753160e-01, 8.31723367e-01, 8.31693571e-01, 8.31663771e-01, + 8.31633966e-01, 8.31604157e-01, 8.31574343e-01, 8.31544525e-01) + SOLAR_ECEF_Y = (-4.08619109e-01, -4.08679627e-01, -4.08740144e-01, -4.08800658e-01, -4.08861170e-01, + -4.08921680e-01, -4.08982188e-01, -4.09042696e-01, -4.09103199e-01, -4.09163700e-01, + -4.09224199e-01, -4.09284696e-01, -4.09345191e-01, -4.09405684e-01, -4.09466177e-01, + -4.09526665e-01, -4.09587151e-01, -4.09647635e-01, -4.09708117e-01, -4.09768597e-01, + -4.09829074e-01, -4.09889549e-01, -4.09950025e-01, -4.10010496e-01, -4.10070965e-01, + -4.10131432e-01, -4.10191896e-01, -4.10252358e-01, -4.10312819e-01) + SOLAR_ECEF_Z = (-3.74403086e-01, -3.74403059e-01, -3.74403031e-01, -3.74403004e-01, -3.74402976e-01, + -3.74402949e-01, -3.74402921e-01, -3.74402893e-01, -3.74402866e-01, -3.74402838e-01, + -3.74402811e-01, -3.74402783e-01, -3.74402756e-01, -3.74402728e-01, -3.74402701e-01, + -3.74402673e-01, -3.74402645e-01, -3.74402618e-01, -3.74402590e-01, -3.74402563e-01, + -3.74402535e-01, -3.74402508e-01, -3.74402480e-01, -3.74402453e-01, -3.74402425e-01, + -3.74402397e-01, -3.74402370e-01, -3.74402342e-01, -3.74402315e-01) +END_GROUP = SOLAR_VECTOR +GROUP = SCAN_TIME_POLY + SCAN_TIME_POLY_NCOEFF = 4 + SCAN_TIME_POLY_NUMBER_DIRECTIONS = 2 + SCAN_TIME00_MEAN_ACTIVESCAN = 6.073437755e-02 + SCAN_TIME00_MEAN_EOL = 6.320000000e+03 + SCAN_TIME00_POLY_COEFF = (4.992086764e+04, 4.458263754e-03, 7.552542757e-13, 4.172863267e-18) + SCAN_TIME01_MEAN_ACTIVESCAN = 6.073437755e-02 + SCAN_TIME01_MEAN_EOL = 6.320000000e+03 + SCAN_TIME01_POLY_COEFF = (4.992086763e+04, 4.458261088e-03, 1.719017150e-12, -1.109586398e-16) +END_GROUP = SCAN_TIME_POLY +GROUP = RPC_BAND01 + BAND01_LINES_PER_SCAN = 16 + BAND01_NUMBER_OF_DIRECTIONS = 2 + BAND01_NUM_L1T_LINES = 7431 + BAND01_NUM_L1T_SAMPS = 8121 + BAND01_NUM_L1R_LINES = 5983 + BAND01_NUM_L1R_SAMPS = 6599 + BAND01_PIXEL_SIZE = 30.000 + BAND01_START_TIME = 49920.903312 + BAND01_LINE_TIME = 0.071142 + BAND01_MEAN_HEIGHT = 4000.000 + BAND01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND01_MEAN_L1T_LINE_SAMP = (3716.048, 4068.093) + BAND01_MEAN_SAT_VECTOR = (-0.000907498, -0.002302858, 0.995828756) + BAND01_SAT_X_NUM_COEF = (-1.698074e-04, -1.559187e-06, -4.722417e-05, -1.266390e-09, -1.231008e-05, + -7.807520e-12, 2.045399e-11, 5.043985e-11, 6.511103e-16, 5.758269e-17) + BAND01_SAT_X_DEN_COEF = ( 4.926596e-06, -1.240247e-06, -1.407527e-06, -5.149174e-06, 7.077743e-11, + 5.510453e-10, 9.393390e-10, 5.402279e-16, -2.355945e-17) + BAND01_SAT_Y_NUM_COEF = (-9.262141e-04, 4.706907e-05, -1.476193e-06, -3.247196e-09, -4.615544e-05, + 1.067050e-11, 1.010021e-10, 2.335486e-10, -2.740670e-15, -3.496395e-17) + BAND01_SAT_Y_DEN_COEF = ( 2.008772e-05, -5.243709e-06, -1.392831e-06, -1.909587e-05, -1.658724e-10, + 8.658482e-10, 9.151881e-10, 8.736889e-15, -1.425718e-15) + BAND01_SAT_Z_NUM_COEF = ( 4.165440e-03, 1.278928e-07, -5.038398e-08, -1.181284e-08, -1.392130e-07, + -9.264213e-11, -6.145931e-10, -1.019298e-09, -4.147117e-16, -1.501283e-19) + BAND01_SAT_Z_DEN_COEF = (-9.479127e-06, 2.300937e-06, -2.830651e-06, 9.825321e-06, 1.223569e-10, + 8.043549e-10, 1.343802e-09, 2.461800e-16, -7.952140e-18) + BAND01_MEAN_SUN_VECTOR = ( 0.422079165, -0.867970369, 0.261258438) + BAND01_SUN_X_NUM_COEF = ( 3.954194e-05, -1.773963e-07, -5.888948e-06, 6.708513e-14, -2.667985e-07, + -4.310912e-12, -4.429962e-11, -4.081659e-12, 6.854360e-18, -6.031654e-18) + BAND01_SUN_X_DEN_COEF = ( 1.286182e-05, -1.328997e-06, -1.391510e-10, -3.628575e-09, 2.734456e-11, + -8.329471e-12, 2.353800e-11, -7.827486e-17, -1.020957e-16) + BAND01_SUN_Y_NUM_COEF = (-1.027797e-04, 1.160427e-06, -2.304271e-06, 1.075846e-13, -1.026091e-07, + 1.802348e-11, 8.058020e-12, 1.832234e-11, 5.194463e-17, 6.167350e-17) + BAND01_SUN_Y_DEN_COEF = ( 6.185884e-06, -2.075735e-08, -1.926861e-10, 5.125636e-07, 2.819414e-12, + -1.098173e-11, 3.400309e-11, 2.900034e-16, 4.962115e-17) + BAND01_SUN_Z_NUM_COEF = ( 1.691095e-05, 4.145366e-06, 1.858251e-06, -1.254898e-15, 8.989047e-08, + -8.224328e-12, 1.975317e-12, -1.621122e-13, 3.876949e-17, 3.800196e-17) + BAND01_SUN_Z_DEN_COEF = (-1.372045e-06, 1.240278e-06, -2.421149e-11, 2.308789e-08, 1.335844e-11, + -4.501211e-12, 1.003947e-11, -1.160646e-18, 6.131589e-18) + BAND01_DIR00_MEAN_HEIGHT = 4000.000 + BAND01_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND01_DIR00_MEAN_L1T_LINE_SAMP = (3708.119, 4069.891) + BAND01_DIR00_LINE_NUM_COEF = (-8.048180e+00, 9.563915e-01, -2.426998e-01, -1.111768e-04, 1.071684e-07) + BAND01_DIR00_LINE_DEN_COEF = ( 5.304045e-08, 2.249523e-07, 4.063090e-11, -3.866711e-12) + BAND01_DIR00_SAMP_NUM_COEF = (-2.242116e+00, 2.883248e-01, 9.546254e-01, 8.218937e-06, -5.964696e-07) + BAND01_DIR00_SAMP_DEN_COEF = (-6.168159e-07, -1.571737e-07, -1.573996e-06, 1.814874e-10) + BAND01_DIR01_MEAN_HEIGHT = 4000.000 + BAND01_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND01_DIR01_MEAN_L1T_LINE_SAMP = (3723.977, 4066.295) + BAND01_DIR01_LINE_NUM_COEF = ( 7.990905e+00, 9.563910e-01, -2.426981e-01, -1.111768e-04, 1.071684e-07) + BAND01_DIR01_LINE_DEN_COEF = ( 5.305438e-08, 2.248909e-07, 4.063090e-11, -3.866711e-12) + BAND01_DIR01_SAMP_NUM_COEF = (-1.101921e+00, 2.883296e-01, 9.546248e-01, 8.219526e-06, -5.961055e-07) + BAND01_DIR01_SAMP_DEN_COEF = (-6.171190e-07, -1.542942e-07, -1.574011e-06, 1.814891e-10) +END_GROUP = RPC_BAND01 +GROUP = RPC_BAND02 + BAND02_LINES_PER_SCAN = 16 + BAND02_NUMBER_OF_DIRECTIONS = 2 + BAND02_NUM_L1T_LINES = 7431 + BAND02_NUM_L1T_SAMPS = 8121 + BAND02_NUM_L1R_LINES = 5983 + BAND02_NUM_L1R_SAMPS = 6599 + BAND02_PIXEL_SIZE = 30.000 + BAND02_START_TIME = 0.000000 + BAND02_LINE_TIME = 0.000000 + BAND02_MEAN_HEIGHT = 4000.000 + BAND02_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND02_MEAN_L1T_LINE_SAMP = (3716.033, 4068.070) + BAND02_MEAN_SAT_VECTOR = (-0.000906376, -0.002303520, 0.995828672) + BAND02_SAT_X_NUM_COEF = (-1.698017e-04, -1.562911e-06, -4.722323e-05, -1.264344e-09, -1.230619e-05, + -7.806049e-12, 2.046042e-11, 5.044375e-11, 6.216232e-16, 5.757865e-17) + BAND02_SAT_X_DEN_COEF = ( 4.924558e-06, -1.239931e-06, -1.407526e-06, -5.147178e-06, 7.136347e-11, + 5.507485e-10, 9.393774e-10, 5.409578e-16, -2.376385e-17) + BAND02_SAT_Y_NUM_COEF = (-9.262368e-04, 4.706924e-05, -1.476249e-06, -3.248028e-09, -4.615562e-05, + 1.067381e-11, 1.010149e-10, 2.335680e-10, -2.753057e-15, -3.495684e-17) + BAND02_SAT_Y_DEN_COEF = ( 2.013900e-05, -5.254665e-06, -1.392838e-06, -1.914872e-05, -1.669971e-10, + 8.663859e-10, 9.150650e-10, 8.767531e-15, -1.431982e-15) + BAND02_SAT_Z_NUM_COEF = ( 4.165522e-03, 1.273683e-07, -5.019042e-08, -1.181301e-08, -1.386469e-07, + -9.264208e-11, -6.145930e-10, -1.019298e-09, -4.147174e-16, -1.505546e-19) + BAND02_SAT_Z_DEN_COEF = (-9.663985e-06, 2.347763e-06, -2.830629e-06, 1.001858e-05, 1.223658e-10, + 8.043744e-10, 1.343792e-09, 2.451954e-16, -8.065553e-18) + BAND02_MEAN_SUN_VECTOR = ( 0.422079305, -0.867970330, 0.261258331) + BAND02_SUN_X_NUM_COEF = ( 3.954223e-05, -1.773932e-07, -5.888949e-06, 6.669046e-14, -2.668027e-07, + -4.309041e-12, -4.427324e-11, -4.066275e-12, 6.846096e-18, -6.025185e-18) + BAND02_SUN_X_DEN_COEF = ( 1.285609e-05, -1.331285e-06, -1.389914e-10, -2.161475e-09, 2.732396e-11, + -8.335361e-12, 2.354342e-11, -7.818269e-17, -1.020534e-16) + BAND02_SUN_Y_NUM_COEF = (-1.027814e-04, 1.160422e-06, -2.304271e-06, 1.080844e-13, -1.026052e-07, + 1.802421e-11, 8.055311e-12, 1.832477e-11, 5.193640e-17, 6.168967e-17) + BAND02_SUN_Y_DEN_COEF = ( 6.185532e-06, -2.155887e-08, -1.925568e-10, 5.136570e-07, 2.823483e-12, + -1.099360e-11, 3.399502e-11, 2.899357e-16, 4.959947e-17) + BAND02_SUN_Z_NUM_COEF = ( 1.691115e-05, 4.145350e-06, 1.858255e-06, 6.480628e-16, 8.990832e-08, + -8.213556e-12, 1.955710e-12, -1.726513e-13, 3.876636e-17, 3.793628e-17) + BAND02_SUN_Z_DEN_COEF = (-1.368340e-06, 1.234244e-06, -2.435070e-11, 2.187568e-08, 1.334610e-11, + -4.489212e-12, 1.003241e-11, -1.163508e-18, 6.128755e-18) + BAND02_DIR00_MEAN_HEIGHT = 4000.000 + BAND02_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND02_DIR00_MEAN_L1T_LINE_SAMP = (3708.103, 4069.865) + BAND02_DIR00_LINE_NUM_COEF = (-8.048576e+00, 9.563914e-01, -2.426999e-01, -1.112743e-04, 1.076035e-07) + BAND02_DIR00_LINE_DEN_COEF = ( 5.303110e-08, 2.253466e-07, 4.061404e-11, -3.867037e-12) + BAND02_DIR00_SAMP_NUM_COEF = (-2.236687e+00, 2.883233e-01, 9.546191e-01, 8.164520e-06, -5.965084e-07) + BAND02_DIR00_SAMP_DEN_COEF = (-6.161047e-07, -1.546029e-07, -1.573996e-06, 1.815991e-10) + BAND02_DIR01_MEAN_HEIGHT = 4000.000 + BAND02_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND02_DIR01_MEAN_L1T_LINE_SAMP = (3723.962, 4066.274) + BAND02_DIR01_LINE_NUM_COEF = ( 7.990417e+00, 9.563910e-01, -2.426982e-01, -1.112743e-04, 1.076035e-07) + BAND02_DIR01_LINE_DEN_COEF = ( 5.304501e-08, 2.252852e-07, 4.061404e-11, -3.867037e-12) + BAND02_DIR01_SAMP_NUM_COEF = (-1.091896e+00, 2.883281e-01, 9.546185e-01, 8.165109e-06, -5.961439e-07) + BAND02_DIR01_SAMP_DEN_COEF = (-6.164070e-07, -1.517214e-07, -1.574010e-06, 1.816008e-10) +END_GROUP = RPC_BAND02 +GROUP = RPC_BAND03 + BAND03_LINES_PER_SCAN = 16 + BAND03_NUMBER_OF_DIRECTIONS = 2 + BAND03_NUM_L1T_LINES = 7431 + BAND03_NUM_L1T_SAMPS = 8121 + BAND03_NUM_L1R_LINES = 5983 + BAND03_NUM_L1R_SAMPS = 6599 + BAND03_PIXEL_SIZE = 30.000 + BAND03_START_TIME = 0.000000 + BAND03_LINE_TIME = 0.000000 + BAND03_MEAN_HEIGHT = 4000.000 + BAND03_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND03_MEAN_L1T_LINE_SAMP = (3716.066, 4068.037) + BAND03_MEAN_SAT_VECTOR = (-0.000904899, -0.002301899, 0.995828599) + BAND03_SAT_X_NUM_COEF = (-1.697956e-04, -1.565996e-06, -4.722244e-05, -1.261880e-09, -1.230296e-05, + -7.804750e-12, 2.046600e-11, 5.044709e-11, 5.945856e-16, 5.757513e-17) + BAND03_SAT_X_DEN_COEF = ( 4.924122e-06, -1.240007e-06, -1.407526e-06, -5.146845e-06, 7.190078e-11, + 5.504762e-10, 9.394126e-10, 5.416325e-16, -2.394881e-17) + BAND03_SAT_Y_NUM_COEF = (-9.262498e-04, 4.707019e-05, -1.476507e-06, -3.245731e-09, -4.615661e-05, + 1.067679e-11, 1.010271e-10, 2.335868e-10, -2.763899e-15, -3.495044e-17) + BAND03_SAT_Y_DEN_COEF = ( 2.020258e-05, -5.268560e-06, -1.392846e-06, -1.921442e-05, -1.679829e-10, + 8.668510e-10, 9.149479e-10, 8.794501e-15, -1.437462e-15) + BAND03_SAT_Z_NUM_COEF = ( 4.165603e-03, 1.267308e-07, -4.997519e-08, -1.181315e-08, -1.379648e-07, + -9.264203e-11, -6.145929e-10, -1.019298e-09, -4.147231e-16, -1.509850e-19) + BAND03_SAT_Z_DEN_COEF = (-9.858696e-06, 2.397101e-06, -2.830607e-06, 1.022215e-05, 1.223754e-10, + 8.043948e-10, 1.343782e-09, 2.442230e-16, -8.212276e-18) + BAND03_MEAN_SUN_VECTOR = ( 0.422079490, -0.867970216, 0.261258408) + BAND03_SUN_X_NUM_COEF = ( 3.954250e-05, -1.773944e-07, -5.888948e-06, 6.672569e-14, -2.668025e-07, + -4.308132e-12, -4.426005e-11, -4.054237e-12, 6.831425e-18, -6.019710e-18) + BAND03_SUN_X_DEN_COEF = ( 1.285271e-05, -1.333033e-06, -1.388504e-10, -8.386125e-10, 2.731578e-11, + -8.343155e-12, 2.354772e-11, -7.814157e-17, -1.020254e-16) + BAND03_SUN_Y_NUM_COEF = (-1.027831e-04, 1.160426e-06, -2.304273e-06, 1.076807e-13, -1.026088e-07, + 1.802496e-11, 8.052590e-12, 1.832719e-11, 5.192963e-17, 6.170472e-17) + BAND03_SUN_Y_DEN_COEF = ( 6.182368e-06, -2.164724e-08, -1.920980e-10, 5.176935e-07, 2.827104e-12, + -1.100482e-11, 3.398671e-11, 2.898549e-16, 4.957252e-17) + BAND03_SUN_Z_NUM_COEF = ( 1.691135e-05, 4.145363e-06, 1.858252e-06, -9.716040e-16, 8.989360e-08, + -8.228549e-12, 1.956058e-12, -1.696757e-13, 3.877374e-17, 3.797366e-17) + BAND03_SUN_Z_DEN_COEF = (-1.372283e-06, 1.235965e-06, -2.430115e-11, 2.229341e-08, 1.335217e-11, + -4.496156e-12, 1.003449e-11, -1.197971e-18, 6.145775e-18) + BAND03_DIR00_MEAN_HEIGHT = 4000.000 + BAND03_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND03_DIR00_MEAN_L1T_LINE_SAMP = (3708.136, 4069.831) + BAND03_DIR00_LINE_NUM_COEF = (-8.048807e+00, 9.563914e-01, -2.427000e-01, -1.112961e-04, 1.078543e-07) + BAND03_DIR00_LINE_DEN_COEF = ( 5.302540e-08, 2.255745e-07, 4.060422e-11, -3.867450e-12) + BAND03_DIR00_SAMP_NUM_COEF = (-2.231536e+00, 2.883218e-01, 9.546131e-01, 8.118770e-06, -5.965529e-07) + BAND03_DIR00_SAMP_DEN_COEF = (-6.154075e-07, -1.520647e-07, -1.573995e-06, 1.816919e-10) + BAND03_DIR01_MEAN_HEIGHT = 4000.000 + BAND03_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND03_DIR01_MEAN_L1T_LINE_SAMP = (3723.996, 4066.244) + BAND03_DIR01_LINE_NUM_COEF = ( 7.990104e+00, 9.563910e-01, -2.426983e-01, -1.112961e-04, 1.078542e-07) + BAND03_DIR01_LINE_DEN_COEF = ( 5.303930e-08, 2.255131e-07, 4.060422e-11, -3.867450e-12) + BAND03_DIR01_SAMP_NUM_COEF = (-1.082004e+00, 2.883266e-01, 9.546124e-01, 8.119359e-06, -5.961879e-07) + BAND03_DIR01_SAMP_DEN_COEF = (-6.157089e-07, -1.491815e-07, -1.574010e-06, 1.816936e-10) +END_GROUP = RPC_BAND03 +GROUP = RPC_BAND04 + BAND04_LINES_PER_SCAN = 16 + BAND04_NUMBER_OF_DIRECTIONS = 2 + BAND04_NUM_L1T_LINES = 7431 + BAND04_NUM_L1T_SAMPS = 8121 + BAND04_NUM_L1R_LINES = 5983 + BAND04_NUM_L1R_SAMPS = 6599 + BAND04_PIXEL_SIZE = 30.000 + BAND04_START_TIME = 0.000000 + BAND04_LINE_TIME = 0.000000 + BAND04_MEAN_HEIGHT = 4000.000 + BAND04_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND04_MEAN_L1T_LINE_SAMP = (3716.041, 4068.003) + BAND04_MEAN_SAT_VECTOR = (-0.000903259, -0.002302980, 0.995828519) + BAND04_SAT_X_NUM_COEF = (-1.697832e-04, -1.568305e-06, -4.722186e-05, -1.259265e-09, -1.230055e-05, + -7.803373e-12, 2.047253e-11, 5.045225e-11, 5.696395e-16, 5.757216e-17) + BAND04_SAT_X_DEN_COEF = ( 4.917409e-06, -1.238569e-06, -1.407524e-06, -5.139968e-06, 7.239689e-11, + 5.502255e-10, 9.394447e-10, 5.422298e-16, -2.412100e-17) + BAND04_SAT_Y_NUM_COEF = (-9.262742e-04, 4.707014e-05, -1.476513e-06, -3.247128e-09, -4.615656e-05, + 1.068007e-11, 1.010398e-10, 2.336059e-10, -2.776137e-15, -3.494396e-17) + BAND04_SAT_Y_DEN_COEF = ( 2.027037e-05, -5.283800e-06, -1.392855e-06, -1.928456e-05, -1.690951e-10, + 8.673818e-10, 9.148294e-10, 8.824845e-15, -1.443633e-15) + BAND04_SAT_Z_NUM_COEF = ( 4.165681e-03, 1.261746e-07, -4.974436e-08, -1.181331e-08, -1.373569e-07, + -9.264197e-11, -6.145927e-10, -1.019297e-09, -4.147289e-16, -1.515451e-19) + BAND04_SAT_Z_DEN_COEF = (-1.007245e-05, 2.451221e-06, -2.830582e-06, 1.044562e-05, 1.223858e-10, + 8.044166e-10, 1.343770e-09, 2.431627e-16, -8.400459e-18) + BAND04_MEAN_SUN_VECTOR = ( 0.422079696, -0.867970164, 0.261258243) + BAND04_SUN_X_NUM_COEF = ( 3.954279e-05, -1.773931e-07, -5.888948e-06, 6.650947e-14, -2.668052e-07, + -4.305593e-12, -4.422460e-11, -4.038083e-12, 6.828424e-18, -6.012700e-18) + BAND04_SUN_X_DEN_COEF = ( 1.284426e-05, -1.335157e-06, -1.385587e-10, 1.853153e-09, 2.728640e-11, + -8.346126e-12, 2.355329e-11, -7.801752e-17, -1.019738e-16) + BAND04_SUN_Y_NUM_COEF = (-1.027848e-04, 1.160445e-06, -2.304280e-06, 1.053431e-13, -1.026306e-07, + 1.802572e-11, 8.049761e-12, 1.832970e-11, 5.192246e-17, 6.172078e-17) + BAND04_SUN_Y_DEN_COEF = ( 6.180895e-06, -2.219335e-08, -1.918354e-10, 5.199951e-07, 2.831002e-12, + -1.101667e-11, 3.397822e-11, 2.897699e-16, 4.954095e-17) + BAND04_SUN_Z_NUM_COEF = ( 1.691152e-05, 4.145340e-06, 1.858258e-06, 1.736020e-15, 8.991816e-08, + -8.234157e-12, 1.941346e-12, -1.750052e-13, 3.878001e-17, 3.796048e-17) + BAND04_SUN_Z_DEN_COEF = (-1.374932e-06, 1.233398e-06, -2.414878e-11, 2.367726e-08, 1.334910e-11, + -4.493511e-12, 1.003091e-11, -1.225712e-18, 6.152346e-18) + BAND04_DIR00_MEAN_HEIGHT = 4000.000 + BAND04_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND04_DIR00_MEAN_L1T_LINE_SAMP = (3708.111, 4069.794) + BAND04_DIR00_LINE_NUM_COEF = (-8.049260e+00, 9.563914e-01, -2.427001e-01, -1.114032e-04, 1.083525e-07) + BAND04_DIR00_LINE_DEN_COEF = ( 5.301458e-08, 2.260252e-07, 4.058506e-11, -3.868131e-12) + BAND04_DIR00_SAMP_NUM_COEF = (-2.226820e+00, 2.883203e-01, 9.546073e-01, 8.044779e-06, -5.965916e-07) + BAND04_DIR00_SAMP_DEN_COEF = (-6.147281e-07, -1.496021e-07, -1.573995e-06, 1.817673e-10) + BAND04_DIR01_MEAN_HEIGHT = 4000.000 + BAND04_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND04_DIR01_MEAN_L1T_LINE_SAMP = (3723.972, 4066.212) + BAND04_DIR01_LINE_NUM_COEF = ( 7.989579e+00, 9.563909e-01, -2.426984e-01, -1.114032e-04, 1.083524e-07) + BAND04_DIR01_LINE_DEN_COEF = ( 5.302846e-08, 2.259638e-07, 4.058506e-11, -3.868131e-12) + BAND04_DIR01_SAMP_NUM_COEF = (-1.072404e+00, 2.883251e-01, 9.546066e-01, 8.045368e-06, -5.962263e-07) + BAND04_DIR01_SAMP_DEN_COEF = (-6.150286e-07, -1.467175e-07, -1.574010e-06, 1.817690e-10) +END_GROUP = RPC_BAND04 +GROUP = RPC_BAND05 + BAND05_LINES_PER_SCAN = 16 + BAND05_NUMBER_OF_DIRECTIONS = 2 + BAND05_NUM_L1T_LINES = 7431 + BAND05_NUM_L1T_SAMPS = 8121 + BAND05_NUM_L1R_LINES = 5983 + BAND05_NUM_L1R_SAMPS = 6599 + BAND05_PIXEL_SIZE = 30.000 + BAND05_START_TIME = 0.000000 + BAND05_LINE_TIME = 0.000000 + BAND05_MEAN_HEIGHT = 4000.000 + BAND05_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND05_MEAN_L1T_LINE_SAMP = (3715.752, 4067.554) + BAND05_MEAN_SAT_VECTOR = (-0.000881885, -0.002315876, 0.995828289) + BAND05_SAT_X_NUM_COEF = (-1.695434e-04, -1.571488e-06, -4.722114e-05, -1.228526e-09, -1.229723e-05, + -7.796269e-12, 2.051268e-11, 5.050128e-11, 5.031876e-16, 5.756667e-17) + BAND05_SAT_X_DEN_COEF = ( 4.881601e-06, -1.232294e-06, -1.407519e-06, -5.103543e-06, 7.371940e-11, + 5.495590e-10, 9.395273e-10, 5.437371e-16, -2.457190e-17) + BAND05_SAT_Y_NUM_COEF = (-9.264118e-04, 4.707141e-05, -1.477077e-06, -3.265067e-09, -4.615793e-05, + 1.068975e-11, 1.010768e-10, 2.336568e-10, -2.810979e-15, -3.492981e-17) + BAND05_SAT_Y_DEN_COEF = ( 2.052738e-05, -5.345695e-06, -1.392890e-06, -1.955164e-05, -1.722701e-10, + 8.689025e-10, 9.145336e-10, 8.911943e-15, -1.461204e-15) + BAND05_SAT_Z_NUM_COEF = ( 4.165891e-03, 1.249106e-07, -4.826517e-08, -1.181373e-08, -1.356960e-07, + -9.264164e-11, -6.145923e-10, -1.019297e-09, -4.147458e-16, -1.543321e-19) + BAND05_SAT_Z_DEN_COEF = (-1.076804e-05, 2.626182e-06, -2.830502e-06, 1.117248e-05, 1.224198e-10, + 8.044849e-10, 1.343726e-09, 2.399678e-16, -9.589325e-18) + BAND05_MEAN_SUN_VECTOR = ( 0.422082389, -0.867969461, 0.261256209) + BAND05_SUN_X_NUM_COEF = ( 3.954392e-05, -1.773930e-07, -5.888950e-06, 6.549226e-14, -2.668206e-07, + -4.301414e-12, -4.416447e-11, -4.000461e-12, 6.840965e-18, -6.004758e-18) + BAND05_SUN_X_DEN_COEF = ( 1.282969e-05, -1.340452e-06, -1.380076e-10, 6.800882e-09, 2.723484e-11, + -8.359491e-12, 2.356617e-11, -7.781058e-17, -1.019118e-16) + BAND05_SUN_Y_NUM_COEF = (-1.027893e-04, 1.160453e-06, -2.304308e-06, 1.031318e-13, -1.026571e-07, + 1.802807e-11, 8.041219e-12, 1.833716e-11, 5.189820e-17, 6.177406e-17) + BAND05_SUN_Y_DEN_COEF = ( 6.177495e-06, -2.405642e-08, -1.911634e-10, 5.259062e-07, 2.845621e-12, + -1.105212e-11, 3.395326e-11, 2.895077e-16, 4.945860e-17) + BAND05_SUN_Z_NUM_COEF = ( 1.691188e-05, 4.145238e-06, 1.858286e-06, 1.375943e-14, 9.002716e-08, + -8.210247e-12, 1.928403e-12, -1.851170e-13, 3.878947e-17, 3.790063e-17) + BAND05_SUN_Z_DEN_COEF = (-1.368622e-06, 1.227708e-06, -2.422555e-11, 2.298367e-08, 1.334061e-11, + -4.481199e-12, 1.002454e-11, -1.242376e-18, 6.176881e-18) + BAND05_DIR00_MEAN_HEIGHT = 4000.000 + BAND05_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND05_DIR00_MEAN_L1T_LINE_SAMP = (3707.819, 4069.338) + BAND05_DIR00_LINE_NUM_COEF = (-8.051102e+00, 9.563913e-01, -2.427005e-01, -1.119026e-04, 1.103909e-07) + BAND05_DIR00_LINE_DEN_COEF = ( 5.297308e-08, 2.278698e-07, 4.050755e-11, -3.868614e-12) + BAND05_DIR00_SAMP_NUM_COEF = (-2.218028e+00, 2.883161e-01, 9.545921e-01, 7.212824e-06, -5.966816e-07) + BAND05_DIR00_SAMP_DEN_COEF = (-6.130797e-07, -1.435773e-07, -1.573995e-06, 1.818959e-10) + BAND05_DIR01_MEAN_HEIGHT = 4000.000 + BAND05_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND05_DIR01_MEAN_L1T_LINE_SAMP = (3723.684, 4065.771) + BAND05_DIR01_LINE_NUM_COEF = ( 7.987605e+00, 9.563909e-01, -2.426988e-01, -1.119026e-04, 1.103908e-07) + BAND05_DIR01_LINE_DEN_COEF = ( 5.298690e-08, 2.278084e-07, 4.050755e-11, -3.868614e-12) + BAND05_DIR01_SAMP_NUM_COEF = (-1.048933e+00, 2.883209e-01, 9.545915e-01, 7.213406e-06, -5.963157e-07) + BAND05_DIR01_SAMP_DEN_COEF = (-6.133774e-07, -1.406900e-07, -1.574009e-06, 1.818976e-10) +END_GROUP = RPC_BAND05 +GROUP = RPC_BAND06 + BAND06_LINES_PER_SCAN = 4 + BAND06_NUMBER_OF_DIRECTIONS = 2 + BAND06_NUM_L1T_LINES = 7431 + BAND06_NUM_L1T_SAMPS = 8121 + BAND06_NUM_L1R_LINES = 1495 + BAND06_NUM_L1R_SAMPS = 1649 + BAND06_PIXEL_SIZE = 30.000 + BAND06_START_TIME = 0.000000 + BAND06_LINE_TIME = 0.000000 + BAND06_MEAN_HEIGHT = 4000.000 + BAND06_MEAN_L1R_LINE_SAMP = ( 747.500, 824.015) + BAND06_MEAN_L1T_LINE_SAMP = (3715.245, 4066.453) + BAND06_MEAN_SAT_VECTOR = (-0.000811097, -0.002268639, 0.995828723) + BAND06_SAT_X_NUM_COEF = (-1.688702e-04, -1.505962e-06, -4.723760e-05, -1.136113e-09, -4.946289e-05, + -7.683469e-12, 2.094274e-11, 5.045718e-11, -2.029697e-13, 3.676086e-15) + BAND06_SAT_X_DEN_COEF = ( 4.978304e-06, -1.262603e-06, -1.407495e-06, -2.086571e-05, 1.467503e-10, + 5.125110e-10, 9.443087e-10, 4.028220e-14, -2.949994e-15) + BAND06_SAT_Y_NUM_COEF = (-9.262983e-04, 4.747344e-05, -1.579831e-06, -3.245029e-09, -1.863138e-04, + 1.104778e-11, 1.010087e-10, 2.334844e-10, -4.285532e-13, -2.071668e-15) + BAND06_SAT_Y_DEN_COEF = ( 3.555296e-05, -9.173671e-06, -1.394866e-06, -1.409627e-04, -5.252558e-10, + 1.045091e-09, 8.922109e-10, 1.173211e-12, -2.214881e-13) + BAND06_SAT_Z_NUM_COEF = ( 4.165682e-03, 1.042960e-07, -4.014469e-08, -1.181033e-08, -4.531810e-07, + -9.263980e-11, -6.145899e-10, -1.019299e-09, -2.654953e-14, -1.134656e-17) + BAND06_SAT_Z_DEN_COEF = (-1.580205e-05, 3.899831e-06, -2.829919e-06, 6.573970e-05, 1.226844e-10, + 8.049833e-10, 1.343435e-09, 1.402558e-14, -9.093144e-16) + BAND06_MEAN_SUN_VECTOR = ( 0.422089364, -0.867967362, 0.261251929) + BAND06_SUN_X_NUM_COEF = ( 3.954331e-05, -1.744403e-07, -5.889697e-06, -2.810383e-13, -1.079778e-06, + -4.292873e-12, -4.403924e-11, -3.911952e-12, -1.847364e-16, -2.440929e-16) + BAND06_SUN_X_DEN_COEF = ( 1.263615e-05, -1.311776e-06, -1.101195e-10, 7.512802e-07, 2.868297e-11, + -9.167952e-12, 2.368302e-11, -5.076426e-15, -5.893249e-15) + BAND06_SUN_Y_NUM_COEF = (-1.027850e-04, 1.162291e-06, -2.304836e-06, -1.145855e-13, -4.184669e-07, + 1.801780e-11, 8.050393e-12, 1.836397e-11, 3.218633e-15, 4.002206e-15) + BAND06_SUN_Y_DEN_COEF = ( 5.992817e-06, 8.602543e-09, -1.681956e-10, 2.836255e-06, 3.175964e-12, + -1.161297e-11, 3.389334e-11, 1.860807e-14, 3.326012e-15) + BAND06_SUN_Z_NUM_COEF = ( 1.691103e-05, 4.144660e-06, 1.858441e-06, 8.136762e-14, 3.625371e-07, + -8.216356e-12, 1.908014e-12, -1.928248e-13, 2.472605e-15, 2.411182e-15) + BAND06_SUN_Z_DEN_COEF = (-1.393886e-06, 1.229527e-06, -2.156614e-11, 1.915071e-07, 1.328471e-11, + -4.447968e-12, 1.001462e-11, -8.991911e-17, 4.004093e-16) + BAND06_DIR00_MEAN_HEIGHT = 4000.000 + BAND06_DIR00_MEAN_L1R_LINE_SAMP = ( 747.500, 824.015) + BAND06_DIR00_MEAN_L1T_LINE_SAMP = (3706.879, 4066.524) + BAND06_DIR00_LINE_NUM_COEF = (-2.013174e+00, 2.390979e-01, -6.067525e-02, -2.809538e-05, 2.805101e-08) + BAND06_DIR00_LINE_DEN_COEF = ( 5.294896e-08, 2.295115e-07, 5.098222e-11, -3.879895e-12) + BAND06_DIR00_SAMP_NUM_COEF = (-1.429256e+00, 7.207894e-02, 2.386463e-01, 2.016650e-06, -1.491897e-07) + BAND06_DIR00_SAMP_DEN_COEF = (-6.122222e-07, -1.382699e-07, -1.573993e-06, 1.818070e-10) + BAND06_DIR01_MEAN_HEIGHT = 4000.000 + BAND06_DIR01_MEAN_L1R_LINE_SAMP = ( 747.500, 824.015) + BAND06_DIR01_MEAN_L1T_LINE_SAMP = (3723.612, 4066.382) + BAND06_DIR01_LINE_NUM_COEF = ( 1.996491e+00, 2.390977e-01, -6.067473e-02, -2.809536e-05, 2.805098e-08) + BAND06_DIR01_LINE_DEN_COEF = ( 5.294948e-08, 2.294463e-07, 5.098218e-11, -3.879892e-12) + BAND06_DIR01_SAMP_NUM_COEF = (-2.568876e-01, 7.207970e-02, 2.386462e-01, 2.016800e-06, -1.490932e-07) + BAND06_DIR01_SAMP_DEN_COEF = (-6.118775e-07, -1.352212e-07, -1.574009e-06, 1.818088e-10) +END_GROUP = RPC_BAND06 +GROUP = RPC_BAND07 + BAND07_LINES_PER_SCAN = 16 + BAND07_NUMBER_OF_DIRECTIONS = 2 + BAND07_NUM_L1T_LINES = 7431 + BAND07_NUM_L1T_SAMPS = 8121 + BAND07_NUM_L1R_LINES = 5983 + BAND07_NUM_L1R_SAMPS = 6599 + BAND07_PIXEL_SIZE = 30.000 + BAND07_START_TIME = 0.000000 + BAND07_LINE_TIME = 0.000000 + BAND07_MEAN_HEIGHT = 4000.000 + BAND07_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND07_MEAN_L1T_LINE_SAMP = (3715.754, 4067.577) + BAND07_MEAN_SAT_VECTOR = (-0.000882940, -0.002315808, 0.995828363) + BAND07_SAT_X_NUM_COEF = (-1.695476e-04, -1.571153e-06, -4.722123e-05, -1.230080e-09, -1.229758e-05, + -7.797363e-12, 2.050744e-11, 5.049739e-11, 5.270069e-16, 5.756852e-17) + BAND07_SAT_X_DEN_COEF = ( 4.894267e-06, -1.235326e-06, -1.407521e-06, -5.116672e-06, 7.324523e-11, + 5.497979e-10, 9.394972e-10, 5.431961e-16, -2.441366e-17) + BAND07_SAT_Y_NUM_COEF = (-9.263933e-04, 4.707164e-05, -1.477124e-06, -3.265121e-09, -4.615818e-05, + 1.068660e-11, 1.010642e-10, 2.336370e-10, -2.799289e-15, -3.493559e-17) + BAND07_SAT_Y_DEN_COEF = ( 2.041592e-05, -5.319585e-06, -1.392876e-06, -1.943585e-05, -1.712056e-10, + 8.684009e-10, 9.146492e-10, 8.882763e-15, -1.455366e-15) + BAND07_SAT_Z_NUM_COEF = ( 4.165816e-03, 1.256392e-07, -4.850111e-08, -1.181361e-08, -1.364729e-07, + -9.264170e-11, -6.145925e-10, -1.019297e-09, -4.147395e-16, -1.538082e-19) + BAND07_SAT_Z_DEN_COEF = (-1.050623e-05, 2.559816e-06, -2.830533e-06, 1.089875e-05, 1.224069e-10, + 8.044591e-10, 1.343742e-09, 2.411327e-16, -9.426642e-18) + BAND07_MEAN_SUN_VECTOR = ( 0.422082257, -0.867969511, 0.261256261) + BAND07_SUN_X_NUM_COEF = ( 3.954367e-05, -1.774270e-07, -5.888942e-06, 6.951053e-14, -2.667843e-07, + -4.302215e-12, -4.417609e-11, -4.010763e-12, 6.848886e-18, -6.008522e-18) + BAND07_SUN_X_DEN_COEF = ( 1.283308e-05, -1.339070e-06, -1.381843e-10, 5.203325e-09, 2.724284e-11, + -8.353304e-12, 2.356258e-11, -7.784620e-17, -1.019324e-16) + BAND07_SUN_Y_NUM_COEF = (-1.027877e-04, 1.160461e-06, -2.304309e-06, 1.022665e-13, -1.026643e-07, + 1.802725e-11, 8.044210e-12, 1.833455e-11, 5.190540e-17, 6.175692e-17) + BAND07_SUN_Y_DEN_COEF = ( 6.179000e-06, -2.348598e-08, -1.914354e-10, 5.235182e-07, 2.841295e-12, + -1.103995e-11, 3.396213e-11, 2.895917e-16, 4.948618e-17) + BAND07_SUN_Z_NUM_COEF = ( 1.691170e-05, 4.145274e-06, 1.858277e-06, 9.640093e-15, 8.998952e-08, + -8.217236e-12, 1.948629e-12, -1.750191e-13, 3.879594e-17, 3.796486e-17) + BAND07_SUN_Z_DEN_COEF = (-1.369778e-06, 1.233081e-06, -2.427667e-11, 2.246550e-08, 1.335330e-11, + -4.492734e-12, 1.003150e-11, -1.227743e-18, 6.176195e-18) + BAND07_DIR00_MEAN_HEIGHT = 4000.000 + BAND07_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND07_DIR00_MEAN_L1T_LINE_SAMP = (3707.823, 4069.363) + BAND07_DIR00_LINE_NUM_COEF = (-8.050663e+00, 9.563913e-01, -2.427004e-01, -1.118206e-04, 1.099086e-07) + BAND07_DIR00_LINE_DEN_COEF = ( 5.298377e-08, 2.274337e-07, 4.052399e-11, -3.868242e-12) + BAND07_DIR00_SAMP_NUM_COEF = (-2.222331e+00, 2.883176e-01, 9.545974e-01, 7.258799e-06, -5.966560e-07) + BAND07_DIR00_SAMP_DEN_COEF = (-6.137809e-07, -1.460948e-07, -1.573995e-06, 1.818639e-10) + BAND07_DIR01_MEAN_HEIGHT = 4000.000 + BAND07_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) + BAND07_DIR01_MEAN_L1T_LINE_SAMP = (3723.686, 4065.790) + BAND07_DIR01_LINE_NUM_COEF = ( 7.988088e+00, 9.563909e-01, -2.426987e-01, -1.118206e-04, 1.099085e-07) + BAND07_DIR01_LINE_DEN_COEF = ( 5.299761e-08, 2.273723e-07, 4.052399e-11, -3.868242e-12) + BAND07_DIR01_SAMP_NUM_COEF = (-1.058750e+00, 2.883224e-01, 9.545968e-01, 7.259382e-06, -5.962903e-07) + BAND07_DIR01_SAMP_DEN_COEF = (-6.140796e-07, -1.432082e-07, -1.574009e-06, 1.818656e-10) +END_GROUP = RPC_BAND07 +END diff --git a/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml new file mode 100644 index 0000000..7616fed --- /dev/null +++ b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml @@ -0,0 +1,322 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9IAXOVV + LT04_L2SP_002026_19830110_20200918_02_T1 + L2SP + 02 + T1 + GEOTIFF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF + LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt + LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt + LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + UINT8 + INT16 + UINT16 + UINT16 + + + LANDSAT_4 + TM + 2 + 002 + 026 + 1983-01-10 + 13:52:14.1710130Z + XXX + 7.00 + 1.00 + 9 + Y + Y + Y + Y + Y + N + Y + 154.05548755 + 15.13135888 + 0.9834071 + SAM + ON + NONE + + + UTM + WGS84 + WGS84 + 22 + 30.00 + 30.00 + 7431 + 8121 + 7431 + 8121 + NORTH_UP + 49.81100 + -55.02709 + 49.87923 + -51.64165 + 47.81057 + -54.86975 + 47.87418 + -51.61650 + 210300.000 + 5525400.000 + 453900.000 + 5525400.000 + 210300.000 + 5302500.000 + 453900.000 + 5302500.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9IAXOVV + L2 + LT04_L2SP_002026_19830110_20200918_02_T1 + L2SP + GEOTIFF + 2020-09-18T19:26:45Z + LPGS_15.3.1c + LEDAPS_3.4.0 + TOMS + NCEP + NCEP + NCEP + st_1.3.0 + MERRA-2 + + + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + + + 372.999941 + 149.003418 + 65535 + 1 + 0.00341802 + 149.0 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P918ROHC + L2 + LT40020261983010XXX03 + LT04_L1TP_002026_19830110_20200918_02_T1 + L1TP + T1 + GEOTIFF + 2020-09-18T19:04:59Z + LPGS_15.3.1c + LT04_L1TP_002026_19830110_20200918_02_T1_B1.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_B2.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_B3.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_B4.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_B5.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_B6.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_B7.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_GCP.txt + LT04_L1TP_002026_19830110_20200918_02_T1_ANG.txt + LT04_L1TP_002026_19830110_20200918_02_T1_VAA.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_VZA.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_SAA.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_SZA.TIF + LT04_L1TP_002026_19830110_20200918_02_T1_MTL.txt + LT04_L1TP_002026_19830110_20200918_02_T1_MTL.xml + LT04CPF_19830101_19830331_02.01 + LT04_L1TP_002026_19830110_20200918_02_T1_VER.txt + LT04_L1TP_002026_19830110_20200918_02_T1_VER.jpg + GLS2000 + 5 + 319 + 5.373 + 3.695 + 3.901 + 636 + 0.336 + 0.293 + 0.000 + 0.367 + 0.247 + PREDICTIVE + + + 163.000 + -1.520 + 336.000 + -2.840 + 254.000 + -1.170 + 221.000 + -1.510 + 31.400 + -0.370 + 15.303 + 1.238 + 16.600 + -0.150 + + + 0.254877 + -0.002377 + 0.580680 + -0.004908 + 0.519665 + -0.002394 + 0.649993 + -0.004441 + 0.430309 + -0.005071 + 0.605888 + -0.005475 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 6.4772E-01 + 1.3340E+00 + 1.0046E+00 + 8.7602E-01 + 1.2508E-01 + 5.5375E-02 + 6.5945E-02 + -2.16772 + -4.17402 + -2.17461 + -2.38602 + -0.49508 + 1.18243 + -0.21594 + 1.0128E-03 + 2.3055E-03 + 2.0554E-03 + 2.5765E-03 + 1.7141E-03 + 2.4069E-03 + -0.003390 + -0.007214 + -0.004449 + -0.007018 + -0.006785 + -0.007882 + + + 671.62 + 1284.30 + + + UTM + WGS84 + WGS84 + 22 + 30.00 + 30.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + TMR_L0RP + CPF + CPF + CPF + CPF + CPF + INTERNAL_CALIBRATION + CPF + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + INTERNAL_CALIBRATION + + diff --git a/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_stac.json b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_stac.json new file mode 100644 index 0000000..96cf030 --- /dev/null +++ b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_stac.json @@ -0,0 +1,437 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LT04_L2SP_002026_19830110_20200918_02_T1_SR", + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "bbox": [ + -54.832447078795774, + 47.889771295111935, + -51.718867851908016, + 49.821493141847654 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -54.226939515711834, + 49.821493141847654 + ], + [ + -54.832447078795774, + 48.24918657186607 + ], + [ + -52.39444909021588, + 47.889771295111935 + ], + [ + -51.718867851908016, + 49.45404347029966 + ], + [ + -54.226939515711834, + 49.821493141847654 + ] + ] + ] + }, + "properties": { + "datetime": "1983-01-10T13:52:14.171013Z", + "eo:cloud_cover": 7.0, + "view:sun_azimuth": 154.05548755, + "view:sun_elevation": 15.13135888, + "platform": "LANDSAT_4", + "instruments": [ + "TM" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 1.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "002", + "landsat:wrs_row": "026", + "landsat:scene_id": "LT40020261983010XXX03", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:correction": "L2SP", + "proj:epsg": 32622, + "proj:shape": [ + 7431, + 8121 + ], + "proj:transform": [ + 30.0, + 0.0, + 210285.0, + 0.0, + -30.0, + 5525415.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg" + } + }, + "file:checksum": "1340733ca28b19f80390c47ef0b7e456accc998f445947f5b95e03509363b22860c29b36563f5c5530fb6e61e2a10a0ffd2d616c4822288cae398ce8a47ea5494c1b" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg" + } + }, + "file:checksum": "1340fc0826897104a269975b74a0503e27cb0786ae7f1cef9a594cf655f3e524911cb04ce50874fe66c16547e8e0b054a0ebd98c5cc073ec5a524e39df693eb7f4b2" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1" + }, + "blue": { + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B1", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.49 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF" + } + }, + "file:checksum": "1340d72c97685ee32d58ed074e3f316b1ae648c8c7265d5f465c1efec74470d373e93183476242e23546223a09e4f6cfa7210ad0fb893cac2f30e0a6d3b03b3d9243" + }, + "green": { + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B2", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF" + } + }, + "file:checksum": "1340311fc993c4728094e6d1bc8e368597b7b4404605c8463bb4146082b5c27600b0c132521893ef8e07ac0a0fccbf6be9f53cf4f84cf2f8133fb78ad7cad03fa1ee" + }, + "red": { + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B3", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.66 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF" + } + }, + "file:checksum": "1340bfeaa282857a932ae9efea62be3a243eb597b48b56a9ba53b0fdf1844dbb381321b0f8154fee3326894162c136200a0331bcd60c014080a1a38365e8997efb71" + }, + "nir08": { + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.84 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF" + } + }, + "file:checksum": "13408af6f0a8e788b64fa9e7eb73c6026e4f27907c5241015522f95fbfd960037b2d5812034464ed3cc1eb42b997ca09a70997ad4976ef020a1fd7f268ab499490be" + }, + "swir16": { + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B5", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.65 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF" + } + }, + "file:checksum": "13403a499007d32308667285aa92239b8844166d3da71526d2acc64829adf639181506b63e43040181dfb4bb9793fe9ed724dd1cf14feb14dc9e0ba38c53409965d8" + }, + "swir22": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.22 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF" + } + }, + "file:checksum": "134087eac09f582f133045ee8c623070d7c62b746b4a52b3c899f17dddc1ab2e9020e7c48555df19598547e5a4a95857e3bb40a0e35475a0a6e8761ec725d1bbaa17" + }, + "atmos_opacity": { + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF" + } + }, + "file:checksum": "1340d1f7cc0afb37378f8f2d7d0cbafbfe574b24a1f4af7e451761a094b3c13421c375d96cc3a2399d0e3262bdf3c4e6d6389098483d6e93b436970bafd72baa10bc" + }, + "cloud_qa": { + "title": "Cloud Quality Analysis Band", + "description": "Collection 2 Level-2 Cloud Quality Opacity Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "metadata", + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF" + } + }, + "file:checksum": "1340d58b7e267ed9e751abda3d3e10f3f294fed3f1ff13ecd3c8acb88cf68b77d867f5308f22770e1ef78085c70e90f43c95d0cfd16068656e67976dd4641b8b62ac" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt" + } + }, + "file:checksum": "13403373797a357842adad70bf0c45aa7558c6f3627256114d874c92f8d8cfb280258837798aadbdb8530f03caa2977c7786650fcd6a6514fa86c21dc94d06cd8174" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt" + } + }, + "file:checksum": "13404b3073d824a35391df9f2d805b5576cc77d19c8496b6996433af23c16d17967ef187fad40a1bd67606fa47684a909e8dde9e9667f281e404a6090e5cd3829196" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml" + } + }, + "file:checksum": "1340f9d2ebe5da286d2bcd6338e098c12ffe85f3f773e8f7e56020d5f6e2e7dae1409cfbc7137f80b160e08a01de2676e58c7d1eda2f5aafae365d979cb47cb3fb70" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json" + } + }, + "file:checksum": "13405429da0f7f2f43518b28f6bb5df1676b849134008d182cd6fa247f0d6adde35d2d750674ea80859bdce9ee01ff501e03282ade9f3496f6d87e2ab44dcb16ca96" + }, + "qa_pixel": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF" + } + }, + "file:checksum": "13402377f4b78a7d366bcd15d51bc2c3c78ed9accfebaf67d054498882a71aa452273642e8a8b3a9a70df65b4efd72bf4ca1969886249b059b5220bd47e054ea41dd" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF" + } + }, + "file:checksum": "1340f9ea65e2cde48b3fc72bcd05839fc18ed2d8303a45488e4558b672bbd8647579d4bcb516ae94ea67b114e80670c82f544525124288c9e577e6162859b14bf617" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-sr.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1//LT04_L2SP_002026_19830110_20200918_02_T1_SR_stac.json" + } + ], + "collection": "landsat-c2l2-sr" +} \ No newline at end of file diff --git a/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_stac.json b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_stac.json new file mode 100644 index 0000000..266a30d --- /dev/null +++ b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_stac.json @@ -0,0 +1,408 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LT04_L2SP_002026_19830110_20200918_02_T1_ST", + "description": "Landsat Collection 2 Level-2 Surface Temperature Product", + "bbox": [ + -54.832447078795774, + 47.889771295111935, + -51.718867851908016, + 49.821493141847654 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -54.226939515711834, + 49.821493141847654 + ], + [ + -54.832447078795774, + 48.24918657186607 + ], + [ + -52.39444909021588, + 47.889771295111935 + ], + [ + -51.718867851908016, + 49.45404347029966 + ], + [ + -54.226939515711834, + 49.821493141847654 + ] + ] + ] + }, + "properties": { + "datetime": "1983-01-10T13:52:14.171013Z", + "eo:cloud_cover": 7.0, + "view:sun_azimuth": 154.05548755, + "view:sun_elevation": 15.13135888, + "platform": "LANDSAT_4", + "instruments": [ + "TM" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 1.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "002", + "landsat:wrs_row": "026", + "landsat:scene_id": "LT40020261983010XXX03", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:correction": "L2SP", + "proj:epsg": 32622, + "proj:shape": [ + 7431, + 8121 + ], + "proj:transform": [ + 30.0, + 0.0, + 210285.0, + 0.0, + -30.0, + 5525415.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg" + } + }, + "file:checksum": "1340733ca28b19f80390c47ef0b7e456accc998f445947f5b95e03509363b22860c29b36563f5c5530fb6e61e2a10a0ffd2d616c4822288cae398ce8a47ea5494c1b" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg" + } + }, + "file:checksum": "1340fc0826897104a269975b74a0503e27cb0786ae7f1cef9a594cf655f3e524911cb04ce50874fe66c16547e8e0b054a0ebd98c5cc073ec5a524e39df693eb7f4b2" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1" + }, + "lwir": { + "title": "Surface Temperature Band (B6)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B6) Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "temperature" + ], + "eo:bands": [ + { + "name": "B6", + "common_name": "lwir", + "gsd": 120, + "center_wavelength": 11.45 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF" + } + }, + "file:checksum": "1340f799e5f6cf1291d59813fcf485df5b853c4dbdfd492a652acfe9a4ad5fcf60e35e9d8f209ce5799b6bdb40ae11b768411c061fc0a5c4a1ccd8de6ddaef9e5b11" + }, + "ATRAN": { + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF" + } + }, + "file:checksum": "13402556387c689bc375af3c69d6839de781e28f58af95d838ae6b731e97b5e90426666bc5dc50e175e3c4f6552fd5eb2f6f8e78f8a652af8fbf4a9902698920e587" + }, + "CDIST": { + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF" + } + }, + "file:checksum": "13406958db5c8efeebce4056833e27242f53c89a5842d8ecc7cf80edd5f57ae4ba0e3077784cf56b0b2203203a4755f005ec8111bd86c8176a47909559a4164e5b2e" + }, + "DRAD": { + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF" + } + }, + "file:checksum": "13408206d24ac91cdecbec6ffe677568886e5d1496438039c2df5afa43847c0365cf98a10bdbaa3532e1ab35c952b0861d818d316ff1c7805b6d56c82c1daf3c716c" + }, + "URAD": { + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF" + } + }, + "file:checksum": "1340d04fedfb5a6f8f73cfea554d9a27f783bdde6fca206aa60299155f0205890128bd73a2abfd732524f6bffb0e13ae2eba352c4a0f152f76feee385bde5fc73b9d" + }, + "TRAD": { + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF" + } + }, + "file:checksum": "1340c5f4daed1c2707d9a8ce7e977736a0e1c365fe44f01310201bb91b07f8dfe3755f0c4675589dc95e036731663a084bb45df17ce5a083c12d4f9d08d2be8b23ae" + }, + "EMIS": { + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF" + } + }, + "file:checksum": "1340cc74e93d6bbe90e961a8b093b82466c4033037b1e784d16ed03fe3eb4c51bdb3e0c7f6fd3cd704ecfbc8a1fb36c4239743aa94cbf60d0f42545f345bd590c7af" + }, + "EMSD": { + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF" + } + }, + "file:checksum": "134050a5dcc424b83cdd4fb523d54600d463102ca145abaecc00c2c56d679a4200032e847ba197c492b5df81b9b7870cd3451985999e1cfa0dd1274b837f722c6540" + }, + "QA": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF" + } + }, + "file:checksum": "134010f98896121a6a7dfd0eabbbbc7ac4641b569a10016b5373c7833920d723a32846f004ead402a69dedaace3befe1173573931b8d818a22d5861c32516c0fcb74" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt" + } + }, + "file:checksum": "13403373797a357842adad70bf0c45aa7558c6f3627256114d874c92f8d8cfb280258837798aadbdb8530f03caa2977c7786650fcd6a6514fa86c21dc94d06cd8174" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt" + } + }, + "file:checksum": "13404b3073d824a35391df9f2d805b5576cc77d19c8496b6996433af23c16d17967ef187fad40a1bd67606fa47684a909e8dde9e9667f281e404a6090e5cd3829196" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml" + } + }, + "file:checksum": "1340f9d2ebe5da286d2bcd6338e098c12ffe85f3f773e8f7e56020d5f6e2e7dae1409cfbc7137f80b160e08a01de2676e58c7d1eda2f5aafae365d979cb47cb3fb70" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json" + } + }, + "file:checksum": "13405429da0f7f2f43518b28f6bb5df1676b849134008d182cd6fa247f0d6adde35d2d750674ea80859bdce9ee01ff501e03282ade9f3496f6d87e2ab44dcb16ca96" + }, + "qa_pixel": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF" + } + }, + "file:checksum": "13402377f4b78a7d366bcd15d51bc2c3c78ed9accfebaf67d054498882a71aa452273642e8a8b3a9a70df65b4efd72bf4ca1969886249b059b5220bd47e054ea41dd" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF" + } + }, + "file:checksum": "1340f9ea65e2cde48b3fc72bcd05839fc18ed2d8303a45488e4558b672bbd8647579d4bcb516ae94ea67b114e80670c82f544525124288c9e577e6162859b14bf617" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-st.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1//LT04_L2SP_002026_19830110_20200918_02_T1_ST_stac.json" + } + ], + "collection": "landsat-c2l2-st" +} \ No newline at end of file diff --git a/tests/fixtures/usgs_stac_api.yml b/tests/fixtures/usgs_stac_api.yml index 5c57dde..f5309f9 100644 --- a/tests/fixtures/usgs_stac_api.yml +++ b/tests/fixtures/usgs_stac_api.yml @@ -28,23 +28,23 @@ interactions: Content-Type: - application/json Date: - - Tue, 01 Mar 2022 17:36:01 GMT + - Thu, 03 Mar 2022 20:28:32 GMT Via: - - 1.1 20579d8c7e6a7d159f211e9ee1d4003c.cloudfront.net (CloudFront), 1.1 03888d3d53e55b618e81bb9295a091be.cloudfront.net + - 1.1 b471d3775e81a9be536b52b99f39452a.cloudfront.net (CloudFront), 1.1 59c697cf4339e5d1f1f4ae8a9dbb8d44.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - kd34RIere8U-YrIJ03vrejDjSnFUknDygW-bXu6KOAn0aL6LdE749g== + - Z5myladNyq2TSHst0Jr7KME6J2oY6LMIHLkY6P1cURkTV135qyvyNw== X-Amz-Cf-Pop: - IAD89-C3 - BOS50-C3 X-Amzn-Trace-Id: - - Root=1-621e5981-2abc7fd12388c32e236343a3;Sampled=0 + - Root=1-622124f0-3e09192e38f2fbe068ad199c;Sampled=0 X-Cache: - Miss from cloudfront x-amz-apigw-id: - - OULsVF3XvHcF3Dw= + - ObK1lFu1PHcFs4Q= x-amzn-RequestId: - - a85ac1b7-5a98-40e9-bbdf-ae71677768a3 + - fa1cd7f1-84b3-4eca-a942-f029ddb5494b status: code: 200 message: OK @@ -113,23 +113,23 @@ interactions: Content-Type: - application/json Date: - - Tue, 01 Mar 2022 17:36:02 GMT + - Thu, 03 Mar 2022 20:28:32 GMT Via: - - 1.1 caf2b247e5b726bc55b1ffca0b43da60.cloudfront.net (CloudFront), 1.1 03888d3d53e55b618e81bb9295a091be.cloudfront.net + - 1.1 077c6e8a1ed045a3d7858ad11d48a172.cloudfront.net (CloudFront), 1.1 59c697cf4339e5d1f1f4ae8a9dbb8d44.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - 0oiBLMgxom1e1q4BC9inBEPM5OgYetdcvd7lxf_bqyuNjd4q9-zXpA== + - 1jTOlReSLajYbwMtbAlz1fujPf7B79Fq0udDkZD9B8OXVO1fxkovZA== X-Amz-Cf-Pop: - BOS50-C1 - BOS50-C3 X-Amzn-Trace-Id: - - Root=1-621e5982-61f2b5ec45dc82cd41039804;Sampled=0 + - Root=1-622124f0-44dbee7237d62f9e2bd9deec;Sampled=0 X-Cache: - Miss from cloudfront x-amz-apigw-id: - - OULsXFoOPHcFmSw= + - ObK1nFM3vHcF5OA= x-amzn-RequestId: - - d2ba61eb-5898-4aa2-b71c-b8ab2df87aff + - b3ca204a-711c-4356-9013-fc70552c7c65 status: code: 200 message: OK @@ -198,23 +198,23 @@ interactions: Content-Type: - application/json Date: - - Tue, 01 Mar 2022 17:36:02 GMT + - Thu, 03 Mar 2022 20:28:32 GMT Via: - - 1.1 526c986feeff45698f7d22508efe6c52.cloudfront.net (CloudFront), 1.1 03888d3d53e55b618e81bb9295a091be.cloudfront.net + - 1.1 7cbeba72688c67adb3ad90a78c151742.cloudfront.net (CloudFront), 1.1 59c697cf4339e5d1f1f4ae8a9dbb8d44.cloudfront.net (CloudFront) X-Amz-Cf-Id: - - 7rXEM7ZFnT5mx3fIGX-p9gjeiIM3pWJCXQYWeX3N0aUqJNt_tP8V5w== + - -uP0_Nv2CGA8BFUx1iZ807A_PQvorBFJvAY8KNKsu9geIX2CVDQjFw== X-Amz-Cf-Pop: - BOS50-C1 - BOS50-C3 X-Amzn-Trace-Id: - - Root=1-621e5982-0504e6441767336d35380652;Sampled=0 + - Root=1-622124f0-2731de3a1de8f4e325757b87;Sampled=0 X-Cache: - Miss from cloudfront x-amz-apigw-id: - - OULsaHD9vHcF-oQ= + - ObK1pGhRvHcF2vg= x-amzn-RequestId: - - 855f4058-1d79-4925-a97e-ec7f3ecb60db + - 35a237e9-b3f2-4018-ab8e-2b3e85674c1e status: code: 200 message: OK From 22f599c8d37a29d7e4d10d7be6f1344e7e368f27 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 3 Mar 2022 18:05:02 -0500 Subject: [PATCH 02/47] edit command documentation --- src/stactools/landsat/commands.py | 78 ++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 28 deletions(-) diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 7096bff..dfc89cf 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -1,34 +1,31 @@ import os import click -import pystac +from click import Command, Group +from pystac import Item from stactools.landsat.stac import create_stac_item from stactools.landsat.utils import transform_stac_to_stac -def create_landsat_command(cli): - """Creates a command group for working - with Landsat metadata from USGS' Collection 2 +def create_landsat_command(cli: Group) -> Command: + """Creates a command group for commands working with the USGS' Landsat + Collection 2 metadata. """ @cli.group( 'landsat', short_help=("Commands for working with Landsat Collection 2 metadata.") ) - def landsat(): + def landsat() -> None: pass @landsat.command( "create-item", - short_help="Create a STAC item from collection 2 scene metadata.") - @click.option("--level", - type=click.Choice(['level-1', 'level-2'], - case_sensitive=False), - default="level-2", - show_default=True, - help="Product level to process") - @click.option("--mtl", required=True, help="HREF to an MTL file.") + short_help="Create a STAC item from Collection 2 scene metadata.") + @click.option("--mtl", + required=True, + help="HREF to the source MTL metadata xml file") @click.option("--output", required=True, help="HREF of directory in which to write the item.") @@ -36,17 +33,30 @@ def landsat(): default=False, show_default=True, help="Use USGS STAC Item geometry") - def create_item_cmd(level: str, mtl: str, output: str, - usgs_geometry: bool): - """Creates a STAC Item for a Landsat 8 C2 Level-2 scene's products. + def create_item_cmd(mtl: str, output: str, usgs_geometry: bool) -> None: + """\b + Creates a STAC Item for a Landsat Collection 2 scene based on metadata + from a Landsat MTL xml file. The following Landsat processing Levels and + sensors are supported: + Level-1 + - Landsat 1-5 Multi Spectral Scanner (MSS) + Level-2 + - Landat 4-5 Thematic Mapper (TM) + - Landsat 7 Enhanced Thematic Mapper (ETM) + - Landsat 8-9 Operational Land Imager - Thermal Infrared Sensor + (OLI-TIRS) - All asset paths are based on the MTL path, as all assets are assumed to - reside in the same directory/blob prefix/etc. - """ - if level != 'level-2': - raise click.BadOptionUsage("level", - "Only level-2 currently implemented.") + All assets (COGs, metadata files) must reside in the same directory / + blob prefix / etc. as the MTL xml metadata file. + \b + Args: + mtl (str): HREF to the source MTL metadata xml file + output (str): Directory that will contain the STAC Item + usgs_geometry (bool, optional): Use the geometry from a USGS STAC + Item that resides in the same directory as the MTL xml file or + can be queried from the USGS STAC API. + """ item = create_stac_item(mtl_xml_href=mtl, use_usgs_geometry=usgs_geometry) item.set_self_href(os.path.join(output, f'{item.id}.json')) @@ -54,16 +64,28 @@ def create_item_cmd(level: str, mtl: str, output: str, @landsat.command( "convert", - short_help="Convert a USGS STAC 0.7 Item to an updated STAC Item") - @click.option("--stac", "-s", required=True, help="Path to a STAC file.") + short_help="Convert a USGS STAC 0.7.0 Item to an updated STAC Item") + @click.option("-s", + "--stac", + required=True, + help="HREF to the source STAC file.") @click.option( - "--enable-proj", "-p", + "--enable-proj", is_flag=True, help="Enable the proj extension. Requires access to blue band.") - @click.option("--dst", "-d", help="Output directory") - def convert_cmd(stac, enable_proj, dst): - in_item = pystac.Item.from_file(stac) + @click.option("-d", "--dst", help="Output directory") + def convert_cmd(stac: str, enable_proj: bool, dst: str) -> None: + """Converts a USGS STAC 0.7.0 Item to an updated STAC Item. + + \b + Args: + stac (str): href to the source STAC file + dst (str): Directory that will contain the STAC Item + enable_proj (flag): Include the proj extension in the created STAC + Item + """ + in_item = Item.from_file(stac) item = transform_stac_to_stac(in_item, enable_proj=enable_proj) item_path = os.path.join(dst, '{}.json'.format(item.id)) From 1e5b45b0d7ac434eaaad5efe2d4a81a61a89fbb6 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 4 Mar 2022 05:12:12 -0500 Subject: [PATCH 03/47] add documentation --- src/stactools/landsat/fragments/README.md | 10 ++++ src/stactools/landsat/fragments/__init__.py | 52 +++++++++++++++++++++ src/stactools/landsat/mtl_metadata.py | 27 ++++++++--- tests/test_geometry.py | 23 +++++---- 4 files changed, 96 insertions(+), 16 deletions(-) create mode 100644 src/stactools/landsat/fragments/README.md diff --git a/src/stactools/landsat/fragments/README.md b/src/stactools/landsat/fragments/README.md new file mode 100644 index 0000000..cae81bc --- /dev/null +++ b/src/stactools/landsat/fragments/README.md @@ -0,0 +1,10 @@ +# Fragments + +Fragments are JSON files that contain constant values that are included in generated STAC items. The following fragment types/files exist: + +- `common-assets.json`: Asset data that is common to all Landsat data products. +- `sr-` or `st-assets.json`: Surface reflectance or surface temperature asset data. +- `sr-` or `st-eo-bands.json`: STAC EO extension data for surface reflectance or temperature assets. +- `sr-` or `st-raster-bands.json`: STAC raster-band extension data for surface reflectance or temperature assets. + +Note that MSS fragments use the `sr-` file pattern even though MSS data is TOA (not surface) radiance (not reflectance). diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index 350d052..880a945 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -8,20 +8,38 @@ class Fragments: + """Class for accessing asset and extension data.""" def __init__(self, sensor: Sensor, satellite: int, base_href: str, level1_radiance: Dict[str, Dict[str, float]]): + """Initialize a new group of fragments for the provided Sensor.""" self._sensor = sensor self._satellite = satellite self.base_href = base_href self.level1_radiance = level1_radiance def common_assets(self) -> Dict[str, Any]: + """Loads common-assets.json. + + Converts the loaded dicts to STAC Assets. + + Returns: + Dict[str, Asset]: Dict of Assets keys and Assets. + """ asset_dicts = self._load("common-assets.json", "common") assets = self._convert_assets(asset_dicts) return assets def sr_assets(self) -> Dict[str, Any]: + """Loads the sr-assets.json for the given sensor. + + If MSS, updates the band numbers depending on the given satellite number + (satellites 1-3 use bands 4-7, satellites 4-5 use bands 1-4). Converts + the loaded dicts to STAC Assets. + + Returns: + Dict[str, Asset]: Dict of Assets keys and Assets. + """ asset_dicts = self._load("sr-assets.json") if self._satellite < 4: asset_dicts = self._update_mss_num(asset_dicts) @@ -29,12 +47,29 @@ def sr_assets(self) -> Dict[str, Any]: return assets def sr_eo_bands(self) -> Dict[str, Any]: + """Loads the sr-eo-bands.json for the given sensor. + + If MSS, updates the band numbers depending on the given satellite number + (satellites 1-3 use bands 4-7, satellites 4-5 use bands 1-4). + + Returns: + Dict[str, Dict]: Dict of Assets keys and EO Extension dicts. + """ eo = self._load("sr-eo-bands.json") if self._satellite < 4: eo = self._update_mss_num(eo) return eo def sr_raster_bands(self) -> Dict[str, Any]: + """Loads the sr-raster-bands.json for the given sensor. + + If MSS, updates the band numbers depending on the given satellite number + (satellites 1-3 use bands 4-7, satellites 4-5 use bands 1-4). If MSS, + adds scale and offset informationt. + + Returns: + Dict[str, Dict]: Dict of Assets keys and Raster Extension dicts. + """ raster = self._load("sr-raster-bands.json") if self._satellite < 4: raster = self._update_mss_num(raster) @@ -43,15 +78,32 @@ def sr_raster_bands(self) -> Dict[str, Any]: return raster def st_assets(self) -> Dict[str, Any]: + """Loads the st-assets.json for the given sensor. + + Converts the loaded dicts to STAC Assets. + + Returns: + Dict[str, Asset]: Dict of Assets keys and Assets. + """ asset_dicts = self._load("st-assets.json") assets = self._convert_assets(asset_dicts) return assets def st_eo_bands(self) -> Dict[str, Any]: + """Loads the st-eo-bands.json for the given sensor. + + Returns: + Dict[str, Dict]: Dict of Assets keys and EO Extension dicts. + """ eo = self._load("st-eo-bands.json") return eo def st_raster_bands(self) -> Dict[str, Any]: + """Loads the st-raster-bands.json for the given sensor. + + Returns: + Dict[str, Dict]: Dict of Assets keys and Raster Extension dicts. + """ raster = self._load("st-raster-bands.json") return raster diff --git a/src/stactools/landsat/mtl_metadata.py b/src/stactools/landsat/mtl_metadata.py index fd7a036..c1a73d7 100644 --- a/src/stactools/landsat/mtl_metadata.py +++ b/src/stactools/landsat/mtl_metadata.py @@ -39,10 +39,12 @@ def _get_int(self, xpath: str) -> int: @property def satellite_num(self) -> int: + """Return the Landsat satellite number.""" return int(self.product_id[2:4]) @property def product_id(self) -> str: + """Return the Landsat product ID.""" return self._get_text("PRODUCT_CONTENTS/LANDSAT_PRODUCT_ID") @property @@ -62,6 +64,7 @@ def item_id(self) -> str: @property def scene_id(self) -> str: + """"Return the Landsat scene ID.""" return self._get_text("LEVEL1_PROCESSING_RECORD/LANDSAT_SCENE_ID") @property @@ -115,6 +118,7 @@ def epsg(self) -> int: @property def bbox(self) -> List[float]: + # Might be cleaner to transfrom the proj bbox to WGS84. lons = [ self._get_float("PROJECTION_ATTRIBUTES/CORNER_UL_LON_PRODUCT"), self._get_float("PROJECTION_ATTRIBUTES/CORNER_UR_LON_PRODUCT"), @@ -193,7 +197,7 @@ def sr_shape(self) -> List[int]: @property def thermal_shape(self) -> Optional[List[int]]: - """Shape for thermal bands (Bands 10–11). + """Shape for thermal bands. None if thermal bands not present. Used for proj:shape. In [row, col] order""" @@ -249,8 +253,14 @@ def cloud_cover(self) -> float: @property def sun_azimuth(self) -> float: - # Sun Azimuth in landsat metadata is -180 to 180 from north, west being - # negative. In STAC, it's 0 to 360 clockwise from north. + """Returns the sun azimuth in STAC form. + + Converts from Landsat metadata form (-180 to 180 from north, west being + negative) to STAC form (0 to 360 clockwise from north). + + Returns: + float: Sun azimuth, 0 to 360 clockwise from north. + """ azimuth = self._get_float("IMAGE_ATTRIBUTES/SUN_AZIMUTH") if azimuth < 0.0: azimuth += 360 @@ -314,9 +324,14 @@ def landsat_metadata(self) -> Dict[str, Any]: @property def level1_radiance(self) -> Dict[str, Any]: - """Scale (mult) and offset (add) values for generating TOA radiance from - Level-1 DNs. This is relevant to the MSS data, which is only processed - to Level-1. + """Gets the scale (mult) and offset (add) values for generating TOA + radiance from Level-1 DNs. + + This is relevant to MSS data, which is only processed to Level-1. + + Returns: + Dict[str, Any]: Dict of scale and offset dicts, keyed by band + number. """ node = self._root.find_or_throw("LEVEL1_RADIOMETRIC_RESCALING", self._xml_error) diff --git a/tests/test_geometry.py b/tests/test_geometry.py index b64198b..5c0df89 100644 --- a/tests/test_geometry.py +++ b/tests/test_geometry.py @@ -9,9 +9,10 @@ class GeometryTest(unittest.TestCase): def test_stored_stac(self): - # Test USGS STAC geometry is returned when use_usgs_stac=True and STAC - # exists in storage. Expected geometry copied from the SR STAC file in - # the tests/data-files/assets2 directory. + """Test USGS STAC geometry is returned when use_usgs_stac=True and STAC + exists in storage. Expected geometry copied from the SR STAC file in + the tests/data-files/assets2 directory. + """ mtl_xml_href = TEST_GEOMETRY_PATHS["stac_in_storage"] expected_geometry = { "type": @@ -31,9 +32,10 @@ def test_stored_stac(self): @vcr.use_cassette(TEST_GEOMETRY_PATHS["vcr_cassette"]) def test_api_stac(self): - # Test USGS STAC geometry is returned when use_usgs_stac=True and STAC - # does not exist in storage but does exist on the USGS server. Expected - # geometry copied from STAC generated by the USGS STAC API. + """Test USGS STAC geometry is returned when use_usgs_stac=True and STAC + does not exist in storage but does exist on the USGS server. Expected + geometry copied from STAC generated by the USGS STAC API. + """ mtl_xml_href = TEST_GEOMETRY_PATHS["stac_not_in_storage"] expected_geometry = { "type": @@ -52,10 +54,11 @@ def test_api_stac(self): self.assertAlmostEqual(e[1], i[1], 7) def test_ang(self): - # Test geometry is generated from the "ANG.txt" file data when - # use_usgs_stac=False. Expected geometry copied from Planetary Computer - # STAC API, which uses Items with geometries generated with the - # "ANG.txt" file. + """Test geometry is generated from the "ANG.txt" file data when + use_usgs_stac=False. Expected geometry copied from Planetary Computer + STAC API, which uses Items with geometries generated with the + "ANG.txt" file. + """ mtl_xml_href = TEST_GEOMETRY_PATHS["stac_in_storage"] expected_geometry = { "type": From f0181fbf1217bba93bb611d7e71126da338ff158 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 4 Mar 2022 08:57:10 -0500 Subject: [PATCH 04/47] make oli-tirs fragment directory name compatable (oli_tirs) --- .../fragments/{oli-tirs => oli_tirs}/sr-assets.json | 0 .../{oli-tirs => oli_tirs}/sr-eo-bands.json | 0 .../{oli-tirs => oli_tirs}/sr-raster-bands.json | 0 .../fragments/{oli-tirs => oli_tirs}/st-assets.json | 0 .../{oli-tirs => oli_tirs}/st-eo-bands.json | 0 .../{oli-tirs => oli_tirs}/st-raster-bands.json | 0 src/stactools/landsat/stac.py | 12 ++++++------ 7 files changed, 6 insertions(+), 6 deletions(-) rename src/stactools/landsat/fragments/{oli-tirs => oli_tirs}/sr-assets.json (100%) rename src/stactools/landsat/fragments/{oli-tirs => oli_tirs}/sr-eo-bands.json (100%) rename src/stactools/landsat/fragments/{oli-tirs => oli_tirs}/sr-raster-bands.json (100%) rename src/stactools/landsat/fragments/{oli-tirs => oli_tirs}/st-assets.json (100%) rename src/stactools/landsat/fragments/{oli-tirs => oli_tirs}/st-eo-bands.json (100%) rename src/stactools/landsat/fragments/{oli-tirs => oli_tirs}/st-raster-bands.json (100%) diff --git a/src/stactools/landsat/fragments/oli-tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json similarity index 100% rename from src/stactools/landsat/fragments/oli-tirs/sr-assets.json rename to src/stactools/landsat/fragments/oli_tirs/sr-assets.json diff --git a/src/stactools/landsat/fragments/oli-tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json similarity index 100% rename from src/stactools/landsat/fragments/oli-tirs/sr-eo-bands.json rename to src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json diff --git a/src/stactools/landsat/fragments/oli-tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json similarity index 100% rename from src/stactools/landsat/fragments/oli-tirs/sr-raster-bands.json rename to src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json diff --git a/src/stactools/landsat/fragments/oli-tirs/st-assets.json b/src/stactools/landsat/fragments/oli_tirs/st-assets.json similarity index 100% rename from src/stactools/landsat/fragments/oli-tirs/st-assets.json rename to src/stactools/landsat/fragments/oli_tirs/st-assets.json diff --git a/src/stactools/landsat/fragments/oli-tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json similarity index 100% rename from src/stactools/landsat/fragments/oli-tirs/st-eo-bands.json rename to src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json diff --git a/src/stactools/landsat/fragments/oli-tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json similarity index 100% rename from src/stactools/landsat/fragments/oli-tirs/st-raster-bands.json rename to src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 6b28a5f..bfc68a7 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -141,7 +141,7 @@ def create_stac_item( item.common_metadata.description = "Landsat Collection 2 Level-2 Science Product" fragments = Fragments(sensor, satellite, base_href, - mtl_metadata.level1_radiance) + mtl_metadata.level1_radiance) # Common assets assets = fragments.common_assets() @@ -168,7 +168,7 @@ def create_stac_item( raster_band = raster_bands.get(key, None) if raster_band is not None: optical_raster = RasterExtension.ext(asset, - add_if_missing=True) + add_if_missing=True) optical_raster.bands = [RasterBand.create(**raster_band)] # Thermal assets (only exist if optical exist) @@ -185,7 +185,7 @@ def create_stac_item( raster_band = raster_bands.get(key, None) if raster_band is not None: thermal_raster = RasterExtension.ext(asset, - add_if_missing=True) + add_if_missing=True) thermal_raster.bands = [RasterBand.create(**raster_band)] if key.startswith("ST_B"): asset.common_metadata.gsd = SENSORS[ @@ -221,9 +221,9 @@ def create_stac_item( f"/{mtl_metadata.product_id}") item.add_link( Link(rel="alternate", - target=usgs_item_page, - title="USGS stac-browser page", - media_type="text/html")) + target=usgs_item_page, + title="USGS stac-browser page", + media_type="text/html")) return item From 02912bc874b58212e60855460376fd6ca1ac3fb7 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 4 Mar 2022 16:22:28 -0500 Subject: [PATCH 05/47] add landsat-c2-l1 collection --- examples/collection/c2l2/landsat-c2-l1.json | 218 ++++++++++++++++++ scripts/create_examples.py | 99 ++++---- src/stactools/landsat/constants.py | 1 + src/stactools/landsat/fragments/__init__.py | 43 +++- .../fragments/collections/landsat-c2-l1.json | 187 +++++++++++++++ src/stactools/landsat/stac.py | 44 +++- 6 files changed, 545 insertions(+), 47 deletions(-) create mode 100644 examples/collection/c2l2/landsat-c2-l1.json create mode 100644 src/stactools/landsat/fragments/collections/landsat-c2-l1.json diff --git a/examples/collection/c2l2/landsat-c2-l1.json b/examples/collection/c2l2/landsat-c2-l1.json new file mode 100644 index 0000000..8292bbf --- /dev/null +++ b/examples/collection/c2l2/landsat-c2-l1.json @@ -0,0 +1,218 @@ +{ + "type": "Collection", + "id": "landsat-c2-l1", + "stac_version": "1.0.0", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset represents the global archive of Level-1 data acquired by the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "links": [ + { + "rel": "root", + "href": "./landsat-c2-l1.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "stac_extensions": [ + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json" + ], + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "MTL.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "MTL.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "MTL.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "QA_PIXEL": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud" + ] + }, + "QA_RADSAT": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "B4": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "B5": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "B6": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "B7": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "roles": [ + "data" + ] + } + }, + "title": "Landsat Collection 2 Level-1", + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + "2013-01-06T23:23:59Z" + ] + ] + } + }, + "license": "proprietary", + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery" + ], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "summaries": { + "platform": [ + "landsat-1", + "landsat-2", + "landsat-3", + "landsat-4", + "landsat-5" + ], + "instruments": [ + "mss" + ], + "gsd": [ + 60 + ], + "view:off_nadir": [ + 0 + ] + } +} \ No newline at end of file diff --git a/scripts/create_examples.py b/scripts/create_examples.py index 082a8ef..6eb5fb0 100755 --- a/scripts/create_examples.py +++ b/scripts/create_examples.py @@ -1,6 +1,8 @@ import os -from stactools.landsat.stac import create_stac_item +from pystac import CatalogType + +from stactools.landsat.stac import create_stac_item, create_collection def test_data_href(path: str) -> str: @@ -8,45 +10,56 @@ def test_data_href(path: str) -> str: "data-files", path) -# MSS, Landsat 1-5 (Collection 2 Level-1) -mtl_xml_href = test_data_href( - "mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") -item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -item.validate() -destination = "examples/item/mss" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# TM, Landsat 4-5 (Collection 2 Level-2) -mtl_xml_href = test_data_href( - "tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml") -item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -item.validate() -destination = "examples/item/tm" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# ETM, Landsat 7 (Collection 2 Level-2) -mtl_xml_href = test_data_href( - "etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml") -item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -item.validate() -destination = "examples/item/etm" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) -mtl_xml_href = test_data_href( - "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") -item = create_stac_item(mtl_xml_href) -destination = "examples/item/oli-tirs" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) +# # MSS, Landsat 1-5 (Collection 2 Level-1) +# mtl_xml_href = test_data_href( +# "mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") +# item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +# item.validate() +# destination = "examples/item/mss" +# item_path = os.path.join(destination, f"{item.id}.json") +# item.set_self_href(item_path) +# item.make_asset_hrefs_relative() +# item.save_object(include_self_link=False) + +# # TM, Landsat 4-5 (Collection 2 Level-2) +# mtl_xml_href = test_data_href( +# "tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml") +# item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +# item.validate() +# destination = "examples/item/tm" +# item_path = os.path.join(destination, f"{item.id}.json") +# item.set_self_href(item_path) +# item.make_asset_hrefs_relative() +# item.save_object(include_self_link=False) + +# # ETM, Landsat 7 (Collection 2 Level-2) +# mtl_xml_href = test_data_href( +# "etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml") +# item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +# item.validate() +# destination = "examples/item/etm" +# item_path = os.path.join(destination, f"{item.id}.json") +# item.set_self_href(item_path) +# item.make_asset_hrefs_relative() +# item.save_object(include_self_link=False) + +# # OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) +# mtl_xml_href = test_data_href( +# "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") +# item = create_stac_item(mtl_xml_href) +# destination = "examples/item/oli-tirs" +# item_path = os.path.join(destination, f"{item.id}.json") +# item.set_self_href(item_path) +# item.make_asset_hrefs_relative() +# item.save_object(include_self_link=False) + +# STAC Collection: Collection 2 Level-1 +collection = create_collection("landsat-c2-l1") +collection.catalog_type = CatalogType.SELF_CONTAINED +# NOTE: Will not validate until Item(s) are added to it +# collection.validate() +destination = "examples/collection/c2l2" +collection_path = os.path.join(destination, f"{collection.id}.json") +collection.set_self_href(collection_path) +collection.make_all_asset_hrefs_relative() +collection.save_object(include_self_link=False) diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index 4a967cc..b5aa7d6 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -16,6 +16,7 @@ class Sensor(Enum): USGS_BROWSER_C2 = "https://landsatlook.usgs.gov/stac-browser/collection02" USGS_C2L1 = "landsat-c2l1" USGS_C2L2_SR = "landsat-c2l2-sr" +COLLECTION_IDS = ["landsat-c2-l1", "landsat-c2-l2"] SENSORS: Dict[str, Any] = { "MSS": { diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index 880a945..bc259ac 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -2,11 +2,52 @@ from typing import Any, Dict, Optional import pkg_resources -from pystac import Asset, MediaType +from pystac import Asset, MediaType, Extent, Provider, Link, Summaries +from pystac.extensions.item_assets import AssetDefinition from stactools.landsat.constants import Sensor +class CollectionFragments: + """Class for accessing collection data.""" + + def __init__(self, collection_id: str): + """Initialize a new group of fragments for the provided Sensor.""" + self._id = collection_id + + def collection(self) -> Dict[str, Any]: + """Loads the collection.json for the given collection id. + + Converts some elements to pystac object. + + Returns: + Dict[str, Any]: Dict from parsed JSON with some converted fields. + """ + data = self._load() + data["extent"] = Extent.from_dict(data["extent"]) + data["providers"] = [ + Provider.from_dict(provider) for provider in data["providers"] + ] + data["links"] = [Link.from_dict(link) for link in data["links"]] + data["summaries"] = Summaries(data["summaries"]) + + item_assets = {} + for key, value in data["item_assets"].items(): + item_assets[key] = AssetDefinition(value) + data["item_assets"] = item_assets + + return data + + def _load(self) -> Any: + try: + with pkg_resources.resource_stream( + "stactools.landsat.fragments", + f"collections/{self._id}.json") as stream: + return json.load(stream) + except FileNotFoundError as e: + raise e + + class Fragments: """Class for accessing asset and extension data.""" diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json new file mode 100644 index 0000000..d98aabc --- /dev/null +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -0,0 +1,187 @@ +{ + "id": "landsat-c2-l1", + "title": "Landsat Collection 2 Level-1", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset represents the global archive of Level-1 data acquired by the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "license": "proprietary", + "links": [ + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery"], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + "2013-01-06T23:23:59Z" + ] + ] + } + }, + "summaries": { + "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], + "instruments": ["mss"], + "gsd": [60], + "view:off_nadir": [0] + }, + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "MTL.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "MTL.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "MTL.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "QA_PIXEL": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud" + ] + }, + "QA_RADSAT": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "B4": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "B5": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "B6": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "B7": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "roles": [ + "data" + ] + } + } +} + diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index bfc68a7..3158bfd 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -1,13 +1,15 @@ import logging from datetime import datetime, timezone +from sqlite3 import adapt from typing import Any, Dict, Optional -from pystac import Item, Link +from pystac import Item, Link, Collection from pystac.extensions.eo import Band, EOExtension from pystac.extensions.projection import ProjectionExtension from pystac.extensions.raster import RasterBand, RasterExtension from pystac.extensions.scientific import ScientificExtension from pystac.extensions.view import ViewExtension +from pystac.extensions.item_assets import ItemAssetsExtension from pystac_client import Client from shapely.geometry import box, mapping from stactools.core.io import ReadHrefModifier @@ -20,8 +22,8 @@ L8_ITEM_DESCRIPTION, L8_PLATFORM, LANDSAT_EXTENSION_SCHEMA, SENSORS, USGS_API, USGS_BROWSER_C2, USGS_C2L1, - USGS_C2L2_SR, Sensor) -from stactools.landsat.fragments import Fragments + USGS_C2L2_SR, COLLECTION_IDS, Sensor) +from stactools.landsat.fragments import Fragments, CollectionFragments from stactools.landsat.mtl_metadata import MtlMetadata logger = logging.getLogger(__name__) @@ -228,6 +230,42 @@ def create_stac_item( return item +def create_collection(collection_id: str) -> Collection: + """Creates a STAC Collection for Landsat Collection 2 Level-1 or Level-2 + data. + + Args: + collection_id (str): ID of the STAC Collection. Must be one of + "landsat-c2-l1" or "landsat-c2-l2". + Returns: + Collection: The created STAC Collection. + """ + ## TODO: Get the View Extension in here somehow + if collection_id not in COLLECTION_IDS: + raise ValueError(f"Invalid collection id: {collection_id}") + + fragment = CollectionFragments(collection_id).collection() + + collection = Collection(id=collection_id, + title=fragment["title"], + description=fragment["description"], + license=fragment["license"], + keywords=fragment["keywords"], + providers=fragment["providers"], + extent=fragment["extent"], + summaries=fragment["summaries"]) + collection.add_links(fragment["links"]) + + item_assets = ItemAssetsExtension(collection) + item_assets.item_assets = fragment["item_assets"] + + ItemAssetsExtension.add_to(collection) + EOExtension.add_to(collection) + ViewExtension.add_to(collection) + + return collection + + def get_usgs_geometry( base_href: str, sensor: Sensor, From 6933d760303ac47bdb1b57ea01959f8498047046 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Sat, 5 Mar 2022 09:31:35 -0500 Subject: [PATCH 06/47] change asset keys to common names, add create_collection command --- examples/c2l1-hrefs.txt | 5 + examples/c2l2-hrefs.txt | 5 + .../etm/LE07_L2SP_021030_20100109_02_T1.json | 50 +- .../mss/LM01_L1GS_001010_19720908_02_T2.json | 29 +- ...C08_L2SP_005009_20150710_02_T2-legacy.json | 598 ++++++++++++++++++ .../LC08_L2SP_005009_20150710_02_T2.json | 567 ++++++++--------- .../tm/LT04_L2SP_002026_19830110_02_T1.json | 50 +- .../LM01_L1GS_001010_19720908_02_T2.json | 301 +++++++++ .../LM02_L1GS_001004_19750411_02_T2.json | 301 +++++++++ .../LM03_L1GS_001001_19780510_02_T2.json | 301 +++++++++ .../LM04_L1GS_001001_19830527_02_T2.json | 301 +++++++++ .../LM05_L1GS_001001_19850524_02_T2.json | 301 +++++++++ .../collection.json} | 65 +- ...C08_L2SP_005009_20150710_02_T2-legacy.json | 598 ++++++++++++++++++ scripts/create_examples.py | 90 +-- src/stactools/landsat/commands.py | 86 ++- src/stactools/landsat/fragments/__init__.py | 17 +- .../fragments/collections/landsat-c2-l1.json | 42 +- .../fragments/collections/landsat-c2-l2.json | 194 ++++++ .../fragments/common/common-assets.json | 8 +- .../landsat/fragments/etm/sr-assets.json | 38 +- .../landsat/fragments/etm/sr-eo-bands.json | 12 +- .../fragments/etm/sr-raster-bands.json | 20 +- .../landsat/fragments/etm/st-assets.json | 21 +- .../landsat/fragments/etm/st-eo-bands.json | 2 +- .../fragments/etm/st-raster-bands.json | 18 +- .../landsat/fragments/mss/sr-assets.json | 24 +- .../landsat/fragments/mss/sr-eo-bands.json | 8 +- .../fragments/mss/sr-raster-bands.json | 16 +- .../landsat/fragments/oli_tirs/sr-assets.json | 41 +- .../fragments/oli_tirs/sr-eo-bands.json | 14 +- .../fragments/oli_tirs/sr-raster-bands.json | 20 +- .../landsat/fragments/oli_tirs/st-assets.json | 25 +- .../fragments/oli_tirs/st-eo-bands.json | 2 +- .../fragments/oli_tirs/st-raster-bands.json | 18 +- .../landsat/fragments/tm/sr-assets.json | 38 +- .../landsat/fragments/tm/sr-eo-bands.json | 12 +- .../landsat/fragments/tm/sr-raster-bands.json | 20 +- .../landsat/fragments/tm/st-assets.json | 21 +- .../landsat/fragments/tm/st-eo-bands.json | 2 +- .../landsat/fragments/tm/st-raster-bands.json | 18 +- src/stactools/landsat/mtl_metadata.py | 78 +-- src/stactools/landsat/stac.py | 111 +--- src/stactools/landsat/utils.py | 59 +- ...2SP_021030_20100109_20200911_02_T1_ANG.txt | 583 ----------------- ...1GS_001004_19750411_20200908_02_T2_MTL.xml | 167 +++++ ...S_001004_19750411_20200908_02_T2_stac.json | 328 ++++++++++ ...1GS_001001_19780510_20200907_02_T2_MTL.xml | 167 +++++ ...S_001001_19780510_20200907_02_T2_stac.json | 328 ++++++++++ ...1GS_001001_19850524_20210918_02_T2_MTL.xml | 167 +++++ ...S_001001_19850524_20210918_02_T2_stac.json | 316 +++++++++ ...2SP_047027_20201204_20210313_02_T1_MTL.xml | 356 +++++++++++ ...47027_20201204_20210313_02_T1_SR_stac.json | 244 +++++++ ...47027_20201204_20210313_02_T1_ST_stac.json | 193 ++++++ ...2SP_010065_20220129_20220131_02_T1_MTL.xml | 352 +++++++++++ ...2SP_002026_19830110_20200918_02_T1_ANG.txt | 475 -------------- ...2SP_010020_19860219_20200918_02_T1_MTL.xml | 322 ++++++++++ ...10020_19860219_20200918_02_T1_SR_stac.json | 437 +++++++++++++ ...10020_19860219_20200918_02_T1_ST_stac.json | 408 ++++++++++++ 59 files changed, 7548 insertions(+), 1842 deletions(-) create mode 100644 examples/c2l1-hrefs.txt create mode 100644 examples/c2l2-hrefs.txt create mode 100644 examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json create mode 100644 examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json create mode 100644 examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json create mode 100644 examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json create mode 100644 examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json create mode 100644 examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json rename examples/{collection/c2l2/landsat-c2-l1.json => landsat-c2-l1/collection.json} (78%) create mode 100644 examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json create mode 100644 src/stactools/landsat/fragments/collections/landsat-c2-l2.json delete mode 100644 tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt create mode 100644 tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml create mode 100644 tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_stac.json create mode 100644 tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml create mode 100644 tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_stac.json create mode 100644 tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml create mode 100644 tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_stac.json create mode 100644 tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml create mode 100644 tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_stac.json create mode 100644 tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_stac.json create mode 100644 tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml delete mode 100644 tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt create mode 100644 tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml create mode 100644 tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json create mode 100644 tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json diff --git a/examples/c2l1-hrefs.txt b/examples/c2l1-hrefs.txt new file mode 100644 index 0000000..727ad9a --- /dev/null +++ b/examples/c2l1-hrefs.txt @@ -0,0 +1,5 @@ +tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml +tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml +tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml +tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml +tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml diff --git a/examples/c2l2-hrefs.txt b/examples/c2l2-hrefs.txt new file mode 100644 index 0000000..cbbe863 --- /dev/null +++ b/examples/c2l2-hrefs.txt @@ -0,0 +1,5 @@ +tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml +tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml +tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml +tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml +tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml diff --git a/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json b/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json index 9e41fba..084f9de 100644 --- a/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-03T20:31:32.561226Z", + "created": "2022-03-05T11:13:07.477656Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 8.0, @@ -94,7 +94,7 @@ "overview" ] }, - "MTL.json": { + "mtl.json": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", @@ -103,7 +103,7 @@ "metadata" ] }, - "MTL.txt": { + "mtl.txt": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", @@ -112,7 +112,7 @@ "metadata" ] }, - "MTL.xml": { + "mtl.xml": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", @@ -121,7 +121,7 @@ "metadata" ] }, - "ANG": { + "ang": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", @@ -130,7 +130,7 @@ "metadata" ] }, - "QA_PIXEL": { + "qa_pixel": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", @@ -148,7 +148,7 @@ "water-mask" ] }, - "QA_RADSAT": { + "qa_radsat": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -163,7 +163,7 @@ "saturation" ] }, - "SR_B1": { + "sr_blue": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", @@ -189,7 +189,7 @@ "reflectance" ] }, - "SR_B2": { + "sr_green": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", @@ -215,7 +215,7 @@ "reflectance" ] }, - "SR_B3": { + "sr_red": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", @@ -241,7 +241,7 @@ "reflectance" ] }, - "SR_B4": { + "sr_nir08": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", @@ -267,7 +267,7 @@ "reflectance" ] }, - "SR_B5": { + "sr_swir16": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", @@ -293,7 +293,7 @@ "reflectance" ] }, - "SR_B7": { + "sr_swir22": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -319,7 +319,7 @@ "reflectance" ] }, - "SR_ATMOS_OPACITY": { + "sr_atmos_opacity": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", @@ -335,7 +335,7 @@ "data" ] }, - "SR_CLOUD_QA": { + "sr_cloud_qa": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", @@ -353,8 +353,8 @@ "water-mask" ] }, - "ST_B6": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF", + "st_lwir": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -380,7 +380,7 @@ "temperature" ] }, - "ST_ATRAN": { + "st_atran": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", @@ -397,7 +397,7 @@ "data" ] }, - "ST_CDIST": { + "st_cdist": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", @@ -414,7 +414,7 @@ "data" ] }, - "ST_DRAD": { + "st_drad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", @@ -431,7 +431,7 @@ "data" ] }, - "ST_URAD": { + "st_urad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", @@ -448,7 +448,7 @@ "data" ] }, - "ST_TRAD": { + "st_trad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", @@ -465,7 +465,7 @@ "data" ] }, - "ST_EMIS": { + "st_emis": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", @@ -482,7 +482,7 @@ "data" ] }, - "ST_EMSD": { + "st_emsd": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", @@ -499,7 +499,7 @@ "data" ] }, - "ST_QA": { + "st_qa": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", diff --git a/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json b/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json index 65e9a2c..bf807f8 100644 --- a/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-03T20:31:29.689260Z", + "created": "2022-03-05T11:13:05.241997Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 43.0, @@ -94,7 +94,7 @@ "overview" ] }, - "MTL.json": { + "mtl.json": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", @@ -103,7 +103,7 @@ "metadata" ] }, - "MTL.txt": { + "mtl.txt": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", @@ -112,7 +112,7 @@ "metadata" ] }, - "MTL.xml": { + "mtl.xml": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", @@ -121,7 +121,16 @@ "metadata" ] }, - "QA_PIXEL": { + "ang": { + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", @@ -136,7 +145,7 @@ "cloud" ] }, - "QA_RADSAT": { + "qa_radsat": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -151,7 +160,7 @@ "saturation" ] }, - "B4": { + "green": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", @@ -177,7 +186,7 @@ "data" ] }, - "B5": { + "red": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", @@ -203,7 +212,7 @@ "data" ] }, - "B6": { + "nir08": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", @@ -229,7 +238,7 @@ "data" ] }, - "B7": { + "nir09": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", diff --git a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json new file mode 100644 index 0000000..21f541f --- /dev/null +++ b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json @@ -0,0 +1,598 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC08_L2SP_005009_20150710_02_T2", + "properties": { + "platform": "landsat-8", + "instruments": [ + "oli", + "tirs" + ], + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "eo:cloud_cover": 54.65, + "view:off_nadir": 0, + "view:sun_elevation": 40.0015903, + "view:sun_azimuth": 177.8846007, + "proj:epsg": 32624, + "proj:bbox": [ + 365685.0, + 7879185.0, + 629415.0, + 8143815.0 + ], + "landsat:cloud_cover_land": 54.67, + "landsat:wrs_type": "2", + "landsat:wrs_path": "005", + "landsat:wrs_row": "009", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:processing_level": "L2SP", + "landsat:scene_id": "LC80050092015191LGN01", + "datetime": "2015-07-10T14:34:35.978399Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -40.24668835688223, + 73.34767227948275 + ], + [ + -34.958411161782664, + 72.5174838111986 + ], + [ + -37.92205787926383, + 70.98117952546042 + ], + [ + -43.192625531993365, + 71.82092278865927 + ], + [ + -40.24668835688223, + 73.34767227948275 + ] + ] + ] + }, + "links": [ + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + } + ], + "assets": { + "thumbnail": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image" + }, + "reduced_resolution_browse": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image" + }, + "ANG": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" + }, + "MTL.txt": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)" + }, + "MTL.xml": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)" + }, + "MTL.json": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)" + }, + "QA_PIXEL": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "QA_RADSAT": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B1": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "gsd": 30, + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B2": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B3": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B4": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B5": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B6": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B6", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B7": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_QA_AEROSOL": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Analysis Band", + "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_B10": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B10)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", + "gsd": 100.0, + "eo:bands": [ + { + "name": "ST_B10", + "common_name": "lwir11", + "gsd": 100.0, + "center_wavelength": 10.9, + "full_width_half_max": 0.8 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_ATRAN": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_ATRAN", + "description": "atmospheric transmission", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_CDIST": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_CDIST", + "description": "distance to nearest cloud", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_DRAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_DRAD", + "description": "downwelled radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_URAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_URAD", + "description": "upwelled radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_TRAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_TRAD", + "description": "thermal radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_EMIS": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_EMIS", + "description": "emissivity", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_EMSD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_EMSD", + "description": "emissivity standard deviation", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_QA": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + } + }, + "bbox": [ + -43.20190248750403, + 70.9793158649215, + -34.95084086107732, + 73.3491841350785 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" + ] +} \ No newline at end of file diff --git a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json index 21f541f..4743c0e 100644 --- a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json +++ b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json @@ -8,26 +8,35 @@ "oli", "tirs" ], - "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "created": "2022-03-05T11:13:07.506358Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 54.65, "view:off_nadir": 0, "view:sun_elevation": 40.0015903, "view:sun_azimuth": 177.8846007, "proj:epsg": 32624, - "proj:bbox": [ + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, 365685.0, - 7879185.0, - 629415.0, + 0.0, + -30.0, 8143815.0 ], + "sci:doi": "10.5066/P9OGBGM6", "landsat:cloud_cover_land": 54.67, "landsat:wrs_type": "2", "landsat:wrs_path": "005", "landsat:wrs_row": "009", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:processing_level": "L2SP", "landsat:scene_id": "LC80050092015191LGN01", + "landsat:correction": "L2SP", "datetime": "2015-07-10T14:34:35.978399Z" }, "geometry": { @@ -58,9 +67,13 @@ ] }, "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6" + }, { "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_20200908_02_T2", "type": "text/html", "title": "USGS stac-browser page" } @@ -69,517 +82,449 @@ "thumbnail": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", "type": "image/jpeg", - "title": "Thumbnail image" + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] }, "reduced_resolution_browse": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", "type": "image/jpeg", - "title": "Reduced resolution browse image" + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] }, - "ANG": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" + "mtl.json": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] }, - "MTL.txt": { + "mtl.txt": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", "type": "text/plain", - "title": "Product Metadata File", - "description": "Collection 2 Level-1 Product Metadata File (MTL)" + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] }, - "MTL.xml": { + "mtl.xml": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)" + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] }, - "MTL.json": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)" + "ang": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] }, - "QA_PIXEL": { + "qa_pixel": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "cloud", + "cloud-shadow", + "cirrus", + "snow-ice", + "water-mask" ] }, - "QA_RADSAT": { + "qa_radsat": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "saturation" ] }, - "SR_B1": { + "sr_coastal": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B1", "common_name": "coastal", - "gsd": 30, "center_wavelength": 0.44, "full_width_half_max": 0.02 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_B2": { + "sr_blue": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B2", "common_name": "blue", - "gsd": 30, "center_wavelength": 0.48, "full_width_half_max": 0.06 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_B3": { + "sr_green": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B3", "common_name": "green", - "gsd": 30, "center_wavelength": 0.56, "full_width_half_max": 0.06 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_B4": { + "sr_red": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B4", "common_name": "red", - "gsd": 30, "center_wavelength": 0.65, "full_width_half_max": 0.04 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_B5": { + "sr_nir08": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B5", "common_name": "nir08", - "gsd": 30, "center_wavelength": 0.86, "full_width_half_max": 0.03 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_B6": { + "sr_swir16": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B6", "common_name": "swir16", - "gsd": 30, "center_wavelength": 1.6, "full_width_half_max": 0.08 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_B7": { + "sr_swir22": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "gsd": 30.0, "eo:bands": [ { "name": "SR_B7", "common_name": "swir22", - "gsd": 30, "center_wavelength": 2.2, "full_width_half_max": 0.2 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "reflectance" ] }, - "SR_QA_AEROSOL": { + "sr_qa_aerosol": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Analysis Band", - "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "unit": "bit index" + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data-mask", + "water-mask" ] }, - "ST_B10": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "st_lwir11": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", - "gsd": 100.0, + "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", "eo:bands": [ { "name": "ST_B10", "common_name": "lwir11", - "gsd": 100.0, "center_wavelength": 10.9, - "full_width_half_max": 0.8 + "full_width_half_max": 0.6 } ], - "proj:shape": [ - 8821, - 8791 + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "gsd": 100, + "roles": [ + "temperature" ] }, - "ST_ATRAN": { + "st_atran": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", - "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_ATRAN", - "description": "atmospheric transmission", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "unitless", + "scale": 0.0001 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_CDIST": { + "st_cdist": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", - "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_CDIST", - "description": "distance to nearest cloud", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "kilometer", + "scale": 0.01 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_DRAD": { + "st_drad": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_DRAD", - "description": "downwelled radiance", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_URAD": { + "st_urad": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_URAD", - "description": "upwelled radiance", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_TRAD": { + "st_trad": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", - "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_TRAD", - "description": "thermal radiance", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_EMIS": { + "st_emis": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", - "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_EMIS", - "description": "emissivity", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_EMSD": { + "st_emsd": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", - "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ { - "name": "ST_EMSD", - "description": "emissivity standard deviation", - "gsd": 30 + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 } ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] }, - "ST_QA": { + "st_qa": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kelvin", + "scale": 0.01 + } ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + "roles": [ + "data" ] } }, @@ -590,9 +535,11 @@ 73.3491841350785 ], "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" ] } \ No newline at end of file diff --git a/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json b/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json index 07e009b..55d3016 100644 --- a/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-03T20:31:32.520951Z", + "created": "2022-03-05T11:13:07.436709Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 7.0, @@ -94,7 +94,7 @@ "overview" ] }, - "MTL.json": { + "mtl.json": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", @@ -103,7 +103,7 @@ "metadata" ] }, - "MTL.txt": { + "mtl.txt": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", @@ -112,7 +112,7 @@ "metadata" ] }, - "MTL.xml": { + "mtl.xml": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", @@ -121,7 +121,7 @@ "metadata" ] }, - "ANG": { + "ang": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", @@ -130,7 +130,7 @@ "metadata" ] }, - "QA_PIXEL": { + "qa_pixel": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", @@ -148,7 +148,7 @@ "water-mask" ] }, - "QA_RADSAT": { + "qa_radsat": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -163,7 +163,7 @@ "saturation" ] }, - "SR_B1": { + "sr_blue": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", @@ -189,7 +189,7 @@ "reflectance" ] }, - "SR_B2": { + "sr_green": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", @@ -215,7 +215,7 @@ "reflectance" ] }, - "SR_B3": { + "sr_red": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", @@ -241,7 +241,7 @@ "reflectance" ] }, - "SR_B4": { + "sr_nir08": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", @@ -267,7 +267,7 @@ "reflectance" ] }, - "SR_B5": { + "sr_swir16": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", @@ -293,7 +293,7 @@ "reflectance" ] }, - "SR_B7": { + "sr_swir22": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -319,7 +319,7 @@ "reflectance" ] }, - "SR_ATMOS_OPACITY": { + "sr_atmos_opacity": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", @@ -335,7 +335,7 @@ "data" ] }, - "SR_CLOUD_QA": { + "sr_cloud_qa": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", @@ -353,8 +353,8 @@ "water-mask" ] }, - "ST_B6": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF", + "st_lwir": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -380,7 +380,7 @@ "temperature" ] }, - "ST_ATRAN": { + "st_atran": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", @@ -397,7 +397,7 @@ "data" ] }, - "ST_CDIST": { + "st_cdist": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", @@ -414,7 +414,7 @@ "data" ] }, - "ST_DRAD": { + "st_drad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", @@ -431,7 +431,7 @@ "data" ] }, - "ST_URAD": { + "st_urad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", @@ -448,7 +448,7 @@ "data" ] }, - "ST_TRAD": { + "st_trad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", @@ -465,7 +465,7 @@ "data" ] }, - "ST_EMIS": { + "st_emis": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", @@ -482,7 +482,7 @@ "data" ] }, - "ST_EMSD": { + "st_emsd": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", @@ -499,7 +499,7 @@ "data" ] }, - "ST_QA": { + "st_qa": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json new file mode 100644 index 0000000..13cbbbc --- /dev/null +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -0,0 +1,301 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LM01_L1GS_001010_19720908_02_T2", + "properties": { + "platform": "landsat-1", + "instruments": [ + "mss" + ], + "created": "2022-03-05T13:14:25.809667Z", + "gsd": 60, + "description": "Landsat Collection 2 Level-1 Data Product", + "eo:cloud_cover": 43.0, + "view:off_nadir": 0, + "view:sun_elevation": 24.87312023, + "view:sun_azimuth": 172.41815593, + "proj:epsg": 32625, + "proj:shape": [ + 4214, + 4296 + ], + "proj:transform": [ + 60.0, + 0.0, + 358830.0, + 0.0, + -60.0, + 7953510.0 + ], + "sci:doi": "10.5066/P9AF14YV", + "landsat:cloud_cover_land": 46.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "010", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:scene_id": "LM10010101972252XXX01", + "landsat:correction": "L1GS", + "datetime": "1972-09-08T13:43:34.091000Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -34.342777359690906, + 71.6736886240419 + ], + [ + -36.70080544861747, + 70.18448226408043 + ], + [ + -32.42683403196701, + 69.42483853001222 + ], + [ + -29.841815210171347, + 70.85738280018273 + ], + [ + -34.342777359690906, + 71.6736886240419 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "green": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.95591, + "offset": -18.55591 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.64843, + "offset": -0.74843 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.65236, + "offset": -0.75236 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.60866, + "offset": -0.60866 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -37.01805350426969, + 69.37813163170388, + -29.679836196002512, + 71.65367836829611 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l1" +} \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json new file mode 100644 index 0000000..65c5ce1 --- /dev/null +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -0,0 +1,301 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LM02_L1GS_001004_19750411_02_T2", + "properties": { + "platform": "landsat-2", + "instruments": [ + "mss" + ], + "created": "2022-03-05T13:14:25.812139Z", + "gsd": 60, + "description": "Landsat Collection 2 Level-1 Data Product", + "eo:cloud_cover": 100.0, + "view:off_nadir": 0, + "view:sun_elevation": 20.56808495, + "view:sun_azimuth": 188.97324656, + "proj:epsg": 32628, + "proj:shape": [ + 4389, + 4431 + ], + "proj:transform": [ + 60.0, + 0.0, + 398790.0, + 0.0, + -60.0, + 8735730.0 + ], + "sci:doi": "10.5066/P9AF14YV", + "landsat:cloud_cover_land": 100.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "004", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:scene_id": "LM20010041975101AAA02", + "landsat:correction": "L1GS", + "datetime": "1975-04-11T13:29:55.002000Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -13.431308791460562, + 78.68339571471495 + ], + [ + -19.140055319321764, + 77.48870472546122 + ], + [ + -13.887579355330915, + 76.34196436390833 + ], + [ + -8.232224487808505, + 77.42956153413976 + ], + [ + -13.431308791460562, + 78.68339571471495 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "green": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 1.0598, + "offset": -9.05984 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.61496, + "offset": 4.18504 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.53386, + "offset": 4.06614 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.45787, + "offset": 3.14213 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -19.613963805463793, + 76.25558197021114, + -7.519545655072958, + 78.65736802978886 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l1" +} \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json new file mode 100644 index 0000000..d5d9639 --- /dev/null +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -0,0 +1,301 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LM03_L1GS_001001_19780510_02_T2", + "properties": { + "platform": "landsat-3", + "instruments": [ + "mss" + ], + "created": "2022-03-05T13:14:25.813741Z", + "gsd": 60, + "description": "Landsat Collection 2 Level-1 Data Product", + "eo:cloud_cover": 58.0, + "view:off_nadir": 0, + "view:sun_elevation": 26.41213243, + "view:sun_azimuth": 209.99619372, + "proj:epsg": 32631, + "proj:shape": [ + 4183, + 4219 + ], + "proj:transform": [ + 60.0, + 0.0, + 414210.0, + 0.0, + -60.0, + 9003150.0 + ], + "sci:doi": "10.5066/P9AF14YV", + "landsat:cloud_cover_land": 85.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "001", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:scene_id": "LM30010011978130XXX00", + "landsat:correction": "L1GS", + "datetime": "1978-05-10T13:28:09.003000Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 7.738555980320523, + 81.05336502723549 + ], + [ + -1.4963885861793036, + 80.29244773524437 + ], + [ + 2.9935143118359253, + 78.85095986958085 + ], + [ + 11.239331339979085, + 79.50784182403861 + ], + [ + 7.738555980320523, + 81.05336502723549 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "green": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 1.0827, + "offset": -6.48268 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.72559, + "offset": 0.97441 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.62756, + "offset": 2.57244 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.50787, + "offset": 0.19213 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -1.9483119357175678, + 78.74153210333539, + 12.587762188025835, + 81.05631789666461 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l1" +} \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json new file mode 100644 index 0000000..c434020 --- /dev/null +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -0,0 +1,301 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LM04_L1GS_001001_19830527_02_T2", + "properties": { + "platform": "landsat-4", + "instruments": [ + "mss" + ], + "created": "2022-03-05T13:14:27.055941Z", + "gsd": 60, + "description": "Landsat Collection 2 Level-1 Data Product", + "eo:cloud_cover": 32.0, + "view:off_nadir": 0, + "view:sun_elevation": 29.32047976, + "view:sun_azimuth": 210.31823865, + "proj:epsg": 32631, + "proj:shape": [ + 4308, + 4371 + ], + "proj:transform": [ + 60.0, + 0.0, + 378930.0, + 0.0, + -60.0, + 9099030.0 + ], + "sci:doi": "10.5066/P9AF14YV", + "landsat:cloud_cover_land": 0.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "001", + "landsat:wrs_row": "001", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:scene_id": "LM40010011983147KIS00", + "landsat:correction": "L1GS", + "datetime": "1983-05-27T13:36:40.094000Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 6.332989308273776, + 81.92973988051982 + ], + [ + -3.9422024221730747, + 81.06819206509687 + ], + [ + 1.410714745404463, + 79.63757972965578 + ], + [ + 10.559607884736671, + 80.37157900943353 + ], + [ + 6.332989308273776, + 81.92973988051982 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1983/001/001/LM04_L1GS_001001_19830527_20210902_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "green": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B1)", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B1", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.8752, + "offset": 2.9248 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B2)", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B2", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.62008, + "offset": 3.07992 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B3)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B3", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.54921, + "offset": 4.55079 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B4)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.47638, + "offset": 3.82362 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -4.69534636803089, + 79.55635317773654, + 11.955604125758864, + 81.87586682226346 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l1" +} \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json new file mode 100644 index 0000000..4dca910 --- /dev/null +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -0,0 +1,301 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LM05_L1GS_001001_19850524_02_T2", + "properties": { + "platform": "landsat-5", + "instruments": [ + "mss" + ], + "created": "2022-03-05T13:14:27.062180Z", + "gsd": 60, + "description": "Landsat Collection 2 Level-1 Data Product", + "eo:cloud_cover": 29.0, + "view:off_nadir": 0, + "view:sun_elevation": 28.86981221, + "view:sun_azimuth": 210.47337363, + "proj:epsg": 32631, + "proj:shape": [ + 4308, + 4371 + ], + "proj:transform": [ + 60.0, + 0.0, + 376050.0, + 0.0, + -60.0, + 9098730.0 + ], + "sci:doi": "10.5066/P9AF14YV", + "landsat:cloud_cover_land": 0.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "001", + "landsat:wrs_row": "001", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:scene_id": "LM50010011985144KIS00", + "landsat:correction": "L1GS", + "datetime": "1985-05-24T13:37:18.047002Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 6.144441810162687, + 81.92799324430756 + ], + [ + -4.104968434171051, + 81.06240793489489 + ], + [ + 1.2647277251274112, + 79.63467870117542 + ], + [ + 10.405023757516942, + 80.37275978464552 + ], + [ + 6.144441810162687, + 81.92799324430756 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-1" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "green": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B1)", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B1", + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.88504, + "offset": 1.51496 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B2)", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B2", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.66024, + "offset": 2.03976 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B3)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B3", + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.55866, + "offset": 4.34134 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9 (B4)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "eo:bands": [ + { + "name": "B4", + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.46654, + "offset": 1.03346 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -4.873586042979566, + 79.55674326408568, + 11.772903614206976, + 81.86973673591433 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l1" +} \ No newline at end of file diff --git a/examples/collection/c2l2/landsat-c2-l1.json b/examples/landsat-c2-l1/collection.json similarity index 78% rename from examples/collection/c2l2/landsat-c2-l1.json rename to examples/landsat-c2-l1/collection.json index 8292bbf..5a342ae 100644 --- a/examples/collection/c2l2/landsat-c2-l1.json +++ b/examples/landsat-c2-l1/collection.json @@ -6,7 +6,7 @@ "links": [ { "rel": "root", - "href": "./landsat-c2-l1.json", + "href": "./collection.json", "type": "application/json", "title": "Landsat Collection 2 Level-1" }, @@ -14,6 +14,31 @@ "rel": "license", "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", "title": "Public Domain" + }, + { + "rel": "item", + "href": "./LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json", + "type": "application/json" } ], "stac_extensions": [ @@ -36,7 +61,7 @@ "overview" ] }, - "MTL.json": { + "mtl.json": { "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -44,7 +69,7 @@ "metadata" ] }, - "MTL.txt": { + "mtl.txt": { "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -52,7 +77,7 @@ "metadata" ] }, - "MTL.xml": { + "mtl.xml": { "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -60,7 +85,7 @@ "metadata" ] }, - "QA_PIXEL": { + "qa_pixel": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -68,7 +93,7 @@ "cloud" ] }, - "QA_RADSAT": { + "qa_radsat": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -76,13 +101,12 @@ "saturation" ] }, - "B4": { + "green": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B4", "common_name": "green", "center_wavelength": 0.55, "full_width_half_max": 0.1 @@ -92,13 +116,12 @@ "data" ] }, - "B5": { + "red": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B5", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.1 @@ -108,13 +131,12 @@ "data" ] }, - "B6": { + "nir08": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B6", "common_name": "nir08", "center_wavelength": 0.75, "full_width_half_max": 0.1 @@ -124,13 +146,12 @@ "data" ] }, - "B7": { + "nir09": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B7", "common_name": "nir09", "center_wavelength": 0.95, "full_width_half_max": 0.3 diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json new file mode 100644 index 0000000..21f541f --- /dev/null +++ b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json @@ -0,0 +1,598 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC08_L2SP_005009_20150710_02_T2", + "properties": { + "platform": "landsat-8", + "instruments": [ + "oli", + "tirs" + ], + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "eo:cloud_cover": 54.65, + "view:off_nadir": 0, + "view:sun_elevation": 40.0015903, + "view:sun_azimuth": 177.8846007, + "proj:epsg": 32624, + "proj:bbox": [ + 365685.0, + 7879185.0, + 629415.0, + 8143815.0 + ], + "landsat:cloud_cover_land": 54.67, + "landsat:wrs_type": "2", + "landsat:wrs_path": "005", + "landsat:wrs_row": "009", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:processing_level": "L2SP", + "landsat:scene_id": "LC80050092015191LGN01", + "datetime": "2015-07-10T14:34:35.978399Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -40.24668835688223, + 73.34767227948275 + ], + [ + -34.958411161782664, + 72.5174838111986 + ], + [ + -37.92205787926383, + 70.98117952546042 + ], + [ + -43.192625531993365, + 71.82092278865927 + ], + [ + -40.24668835688223, + 73.34767227948275 + ] + ] + ] + }, + "links": [ + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", + "type": "text/html", + "title": "USGS stac-browser page" + } + ], + "assets": { + "thumbnail": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image" + }, + "reduced_resolution_browse": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image" + }, + "ANG": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" + }, + "MTL.txt": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)" + }, + "MTL.xml": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)" + }, + "MTL.json": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)" + }, + "QA_PIXEL": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "QA_RADSAT": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B1": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "gsd": 30, + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B2": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B3": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B4": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B5": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B6": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B6", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_B7": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "gsd": 30.0, + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "SR_QA_AEROSOL": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Analysis Band", + "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_B10": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B10)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", + "gsd": 100.0, + "eo:bands": [ + { + "name": "ST_B10", + "common_name": "lwir11", + "gsd": 100.0, + "center_wavelength": 10.9, + "full_width_half_max": 0.8 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_ATRAN": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_ATRAN", + "description": "atmospheric transmission", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_CDIST": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_CDIST", + "description": "distance to nearest cloud", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_DRAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_DRAD", + "description": "downwelled radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_URAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_URAD", + "description": "upwelled radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_TRAD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_TRAD", + "description": "thermal radiance", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_EMIS": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_EMIS", + "description": "emissivity", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_EMSD": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "gsd": 30.0, + "eo:bands": [ + { + "name": "ST_EMSD", + "description": "emissivity standard deviation", + "gsd": 30 + } + ], + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + }, + "ST_QA": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "gsd": 30.0, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ] + } + }, + "bbox": [ + -43.20190248750403, + 70.9793158649215, + -34.95084086107732, + 73.3491841350785 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" + ] +} \ No newline at end of file diff --git a/scripts/create_examples.py b/scripts/create_examples.py index 6eb5fb0..08a689f 100755 --- a/scripts/create_examples.py +++ b/scripts/create_examples.py @@ -2,7 +2,7 @@ from pystac import CatalogType -from stactools.landsat.stac import create_stac_item, create_collection +from stactools.landsat.stac import create_collection, create_stac_item def test_data_href(path: str) -> str: @@ -10,48 +10,58 @@ def test_data_href(path: str) -> str: "data-files", path) -# # MSS, Landsat 1-5 (Collection 2 Level-1) -# mtl_xml_href = test_data_href( -# "mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") -# item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -# item.validate() -# destination = "examples/item/mss" -# item_path = os.path.join(destination, f"{item.id}.json") -# item.set_self_href(item_path) -# item.make_asset_hrefs_relative() -# item.save_object(include_self_link=False) +# MSS, Landsat 1-5 (Collection 2 Level-1) +mtl_xml_href = test_data_href( + "mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") +item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +item.validate() +destination = "examples/item/mss" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) -# # TM, Landsat 4-5 (Collection 2 Level-2) -# mtl_xml_href = test_data_href( -# "tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml") -# item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -# item.validate() -# destination = "examples/item/tm" -# item_path = os.path.join(destination, f"{item.id}.json") -# item.set_self_href(item_path) -# item.make_asset_hrefs_relative() -# item.save_object(include_self_link=False) +# TM, Landsat 4-5 (Collection 2 Level-2) +mtl_xml_href = test_data_href( + "tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml") +item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +item.validate() +destination = "examples/item/tm" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) -# # ETM, Landsat 7 (Collection 2 Level-2) -# mtl_xml_href = test_data_href( -# "etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml") -# item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -# item.validate() -# destination = "examples/item/etm" -# item_path = os.path.join(destination, f"{item.id}.json") -# item.set_self_href(item_path) -# item.make_asset_hrefs_relative() -# item.save_object(include_self_link=False) +# ETM, Landsat 7 (Collection 2 Level-2) +mtl_xml_href = test_data_href( + "etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml") +item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) +item.validate() +destination = "examples/item/etm" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) -# # OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) -# mtl_xml_href = test_data_href( -# "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") -# item = create_stac_item(mtl_xml_href) -# destination = "examples/item/oli-tirs" -# item_path = os.path.join(destination, f"{item.id}.json") -# item.set_self_href(item_path) -# item.make_asset_hrefs_relative() -# item.save_object(include_self_link=False) +# OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) - Legacy +mtl_xml_href = test_data_href( + "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") +item = create_stac_item(mtl_xml_href) +destination = "examples/item/oli-tirs" +item_path = os.path.join(destination, f"{item.id}-legacy.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) + +# OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) - New +mtl_xml_href = test_data_href( + "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") +item = create_stac_item(mtl_xml_href, legacy_l8=False, use_usgs_geometry=True) +destination = "examples/item/oli-tirs" +item_path = os.path.join(destination, f"{item.id}.json") +item.set_self_href(item_path) +item.make_asset_hrefs_relative() +item.save_object(include_self_link=False) # STAC Collection: Collection 2 Level-1 collection = create_collection("landsat-c2-l1") diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index dfc89cf..5eb77a9 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -2,9 +2,9 @@ import click from click import Command, Group -from pystac import Item +from pystac import CatalogType, Item -from stactools.landsat.stac import create_stac_item +from stactools.landsat.stac import create_collection, create_stac_item from stactools.landsat.utils import transform_stac_to_stac @@ -22,21 +22,36 @@ def landsat() -> None: @landsat.command( "create-item", - short_help="Create a STAC item from Collection 2 scene metadata.") + short_help="Creates a STAC Item from Collection 2 scene metadata.") + @click.option("--level", + type=click.Choice(['level-1', 'level-2'], + case_sensitive=False), + default="level-2", + show_default=True, + help="Product level to process. Deprecated.") @click.option("--mtl", required=True, - help="HREF to the source MTL metadata xml file") + help="HREF to the source MTL metadata xml file.") @click.option("--output", required=True, help="HREF of directory in which to write the item.") - @click.option("--usgs_geometry", - default=False, + @click.option("-u", + "--usgs_geometry", + default=True, show_default=True, help="Use USGS STAC Item geometry") - def create_item_cmd(mtl: str, output: str, usgs_geometry: bool) -> None: + @click.option("-l", + "--legacy_l8", + default=False, + show_default=True, + help="Create deprecated Landsat 8 STAC Item") + def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, + legacy_l8) -> None: """\b Creates a STAC Item for a Landsat Collection 2 scene based on metadata - from a Landsat MTL xml file. The following Landsat processing Levels and + from a Landsat MTL xml file. + + The following Landsat processing Levels and sensors are supported: Level-1 - Landsat 1-5 Multi Spectral Scanner (MSS) @@ -51,17 +66,64 @@ def create_item_cmd(mtl: str, output: str, usgs_geometry: bool) -> None: \b Args: + level (str): Choice of 'level-1' or 'level-2'. This is deprecated + and has no effect. mtl (str): HREF to the source MTL metadata xml file output (str): Directory that will contain the STAC Item - usgs_geometry (bool, optional): Use the geometry from a USGS STAC - Item that resides in the same directory as the MTL xml file or - can be queried from the USGS STAC API. + usgs_geometry (bool): Use the geometry from a USGS STAC Item that + resides in the same directory as the MTL xml file or can be + queried from the USGS STAC API. + legacy_l8 (bool): Use the legacy (deprecated) method for creating a + Landsat 8 STAC Item. """ item = create_stac_item(mtl_xml_href=mtl, - use_usgs_geometry=usgs_geometry) + use_usgs_geometry=usgs_geometry, + legacy_l8=legacy_l8) item.set_self_href(os.path.join(output, f'{item.id}.json')) item.save_object() + @landsat.command( + "create-collection", + short_help="Creates a STAC Collection with contents defined by hrefs " + "in a text file.") + @click.argument("INFILE") + @click.argument("OUTDIR") + @click.argument("ID", + type=click.Choice(['landsat-c2-l1', 'landsat-c2-l2'], + case_sensitive=True)) + @click.option("--usgs_geometry", + default=False, + show_default=True, + help="Use USGS STAC Item geometry") + def create_collection_cmd(infile: str, outdir: str, id: str, + usgs_geometry: bool) -> None: + """Creates a STAC Collection for Items defined by the hrefs in INFILE. + + \b + Args: + infile (str): Text file containing one href per line. The hrefs + should point to XML MTL metadata files. + outdir (str): Directory that will contain the collection. + id (str): Choice of 'landsat-c2-l1' or 'landsat-c2-l2'. + usgs_geometry (bool): Use the geometry from a USGS STAC Item that + resides in the same directory as the MTL xml file or can be + queried from the USGS STAC API. + """ + with open(infile) as file: + hrefs = [line.strip() for line in file.readlines()] + + collection = create_collection(id) + collection.set_self_href(os.path.join(outdir, "collection.json")) + collection.catalog_type = CatalogType.SELF_CONTAINED + for href in hrefs: + item = create_stac_item(href, + use_usgs_geometry=usgs_geometry, + legacy_l8=False) + collection.add_item(item) + collection.validate_all() + collection.make_all_asset_hrefs_relative() + collection.save() + @landsat.command( "convert", short_help="Convert a USGS STAC 0.7.0 Item to an updated STAC Item") diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index bc259ac..ba8342e 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -2,7 +2,7 @@ from typing import Any, Dict, Optional import pkg_resources -from pystac import Asset, MediaType, Extent, Provider, Link, Summaries +from pystac import Asset, Extent, Link, MediaType, Provider, Summaries from pystac.extensions.item_assets import AssetDefinition from stactools.landsat.constants import Sensor @@ -158,10 +158,14 @@ def _update_mss_num(self, mss_dict: Dict[str, Any]) -> Dict[str, Any]: def _update_mss_raster(self, mss_raster_dict: Dict[str, Any]) -> Dict[str, Any]: - for key, value in self.level1_radiance.items(): - mss_key = f"B{key}" - mss_raster_dict[mss_key]["scale"] = value["mult"] - mss_raster_dict[mss_key]["offset"] = value["add"] + for key, value in mss_raster_dict.items(): + rad_key = value.pop("name", None) + if rad_key: + mss_raster_dict[key]["scale"] = self.level1_radiance[rad_key][ + "mult"] + mss_raster_dict[key]["offset"] = self.level1_radiance[rad_key][ + "add"] + return mss_raster_dict def _convert_assets(self, asset_dicts: Dict[str, Any]) -> dict[str, Asset]: @@ -177,8 +181,7 @@ def _convert_assets(self, asset_dicts: Dict[str, Any]) -> dict[str, Asset]: if href_suffix is not None: asset_dict["href"] = f"{self.base_href}_{href_suffix}" else: - asset_dict["href"] = f"{self.base_href}_{key}.TIF" - + asset_dict["href"] = f"{self.base_href}_{key.upper()}.TIF" assets[key] = Asset.from_dict(asset_dict) return assets diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index d98aabc..768fb9e 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -1,7 +1,7 @@ { "id": "landsat-c2-l1", "title": "Landsat Collection 2 Level-1", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset represents the global archive of Level-1 data acquired by the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", "license": "proprietary", "links": [ { @@ -51,7 +51,7 @@ "temporal": { "interval": [ [ - "1982-08-22T00:00:00Z", + "1972-07-01T00:00:00Z", "2013-01-06T23:23:59Z" ] ] @@ -78,7 +78,7 @@ "overview" ] }, - "MTL.json": { + "mtl.json": { "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -86,7 +86,7 @@ "metadata" ] }, - "MTL.txt": { + "mtl.txt": { "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -94,7 +94,7 @@ "metadata" ] }, - "MTL.xml": { + "mtl.xml": { "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -102,7 +102,7 @@ "metadata" ] }, - "QA_PIXEL": { + "qa_pixel": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -110,7 +110,7 @@ "cloud" ] }, - "QA_RADSAT": { + "qa_radsat": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -118,13 +118,12 @@ "saturation" ] }, - "B4": { + "green": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B4", "common_name": "green", "center_wavelength": 0.55, "full_width_half_max": 0.1 @@ -134,13 +133,12 @@ "data" ] }, - "B5": { + "red": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B5", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.1 @@ -150,13 +148,12 @@ "data" ] }, - "B6": { + "nir08": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B6", "common_name": "nir08", "center_wavelength": 0.75, "full_width_half_max": 0.1 @@ -166,13 +163,12 @@ "data" ] }, - "B7": { + "nir09": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { - "name": "B7", "common_name": "nir09", "center_wavelength": 0.95, "full_width_half_max": 0.3 diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json new file mode 100644 index 0000000..e5576db --- /dev/null +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -0,0 +1,194 @@ +{ + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "summaries": { + "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], + "instruments": ["tm", "etm", "oli", "tirs"], + "gsd": [30, 60, 100, 120], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + } + }, + + + + + + + + + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "green": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "roles": [ + "data" + ] + } + } +} + diff --git a/src/stactools/landsat/fragments/common/common-assets.json b/src/stactools/landsat/fragments/common/common-assets.json index 1ba1e42..b7355e7 100644 --- a/src/stactools/landsat/fragments/common/common-assets.json +++ b/src/stactools/landsat/fragments/common/common-assets.json @@ -11,28 +11,28 @@ "roles": ["overview"], "href_suffix": "thumb_large.jpeg" }, - "MTL.json": { + "mtl.json": { "type": "JSON", "title": "Product Metadata File (json)", "description": "Collection 2 Level-X Product Metadata File (json)", "roles": ["metadata"], "href_suffix": "MTL.json" }, - "MTL.txt": { + "mtl.txt": { "type": "TEXT", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-X Product Metadata File (txt)", "roles": ["metadata"], "href_suffix": "MTL.txt" }, - "MTL.xml": { + "mtl.xml": { "type": "XML", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-X Product Metadata File (xml)", "roles": ["metadata"], "href_suffix": "MTL.xml" }, - "ANG": { + "ang": { "type": "TEXT", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json index 55f7cf8..7d2ca2a 100644 --- a/src/stactools/landsat/fragments/etm/sr-assets.json +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -1,50 +1,56 @@ { - "QA_PIXEL": { + "qa_pixel": { "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, - "QA_RADSAT": { + "qa_radsat": { "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, - "SR_B1": { + "sr_blue": { "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B1.TIF" }, - "SR_B2": { + "sr_green": { "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B2.TIF" }, - "SR_B3": { + "sr_red": { "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B3.TIF" }, - "SR_B4": { + "sr_nir08": { "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B4.TIF" }, - "SR_B5": { + "sr_swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B5.TIF" }, - "SR_B7": { + "sr_swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B7.TIF" }, - "SR_ATMOS_OPACITY": { + "sr_atmos_opacity": { "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": ["data"] }, - "SR_CLOUD_QA": { + "sr_cloud_qa": { "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json index 74aef22..599ce51 100644 --- a/src/stactools/landsat/fragments/etm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -1,35 +1,35 @@ { - "SR_B1": { + "sr_blue": { "name": "SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, - "SR_B2": { + "sr_green": { "name": "SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, - "SR_B3": { + "sr_red": { "name": "SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, - "SR_B4": { + "sr_nir08": { "name": "SR_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 }, - "SR_B5": { + "sr_swir16": { "name": "SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 }, - "SR_B7": { + "sr_swir22": { "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.22, diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json index a04aa39..d1ad200 100644 --- a/src/stactools/landsat/fragments/etm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -1,60 +1,60 @@ { - "QA_PIXEL": { + "qa_pixel": { "data_type": "uint16", "unit": "bit index" }, - "QA_RADSAT": { + "qa_radsat": { "data_type": "uint16", "unit": "bit index" }, - "SR_B1": { + "sr_blue": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B2": { + "sr_green": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B3": { + "sr_red": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B4": { + "sr_nir08": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B5": { + "sr_swir16": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B7": { + "sr_swir22": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_ATMOS_OPACITY": { + "sr_atmos_opacity": { "data_type": "int16", "nodata": -9999, "scale": 0.001 }, - "SR_CLOUD_QA": { + "sr_cloud_qa": { "data_type": "uint8", "unit": "bit index" } diff --git a/src/stactools/landsat/fragments/etm/st-assets.json b/src/stactools/landsat/fragments/etm/st-assets.json index 058056a..deb4ffc 100644 --- a/src/stactools/landsat/fragments/etm/st-assets.json +++ b/src/stactools/landsat/fragments/etm/st-assets.json @@ -1,45 +1,46 @@ { - "ST_B6": { + "st_lwir": { "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", - "roles": ["temperature"] + "roles": ["temperature"], + "href_suffix": "SR_B6.TIF" }, - "ST_ATRAN": { + "st_atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"] }, - "ST_CDIST": { + "st_cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"] }, - "ST_DRAD": { + "st_drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_URAD": { + "st_urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_TRAD": { + "st_trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_EMIS": { + "st_emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"] }, - "ST_EMSD": { + "st_emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"] }, - "ST_QA": { + "st_qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"] diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json index c35218d..cb6c899 100644 --- a/src/stactools/landsat/fragments/etm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -1,5 +1,5 @@ { - "ST_B6": { + "st_lwir": { "name": "ST_B6", "common_name": "lwir", "center_wavelength": 11.45, diff --git a/src/stactools/landsat/fragments/etm/st-raster-bands.json b/src/stactools/landsat/fragments/etm/st-raster-bands.json index b9ba30b..267d21c 100644 --- a/src/stactools/landsat/fragments/etm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/st-raster-bands.json @@ -1,54 +1,54 @@ { - "ST_B6": { + "st_lwir": { "data_type": "uint16", "nodata": 0, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 }, - "ST_ATRAN": { + "st_atran": { "data_type": "int16", "nodata": -9999, "unit": "unitless", "scale": 0.0001 }, - "ST_CDIST": { + "st_cdist": { "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, - "ST_DRAD": { + "st_drad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_URAD": { + "st_urad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_TRAD": { + "st_trad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_EMIS": { + "st_emis": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "ST_EMSD": { + "st_emsd": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "ST_QA": { + "st_qa": { "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/fragments/mss/sr-assets.json b/src/stactools/landsat/fragments/mss/sr-assets.json index 38dc103..eb03ae0 100644 --- a/src/stactools/landsat/fragments/mss/sr-assets.json +++ b/src/stactools/landsat/fragments/mss/sr-assets.json @@ -1,33 +1,37 @@ { - "QA_PIXEL": { + "qa_pixel": { "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud"] }, - "QA_RADSAT": { + "qa_radsat": { "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, - "B1": { + "green": { "title": "Green Band (B1)", "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "B1.TIF" }, - "B2": { + "red": { "title": "Red Band (B2)", "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "B2.TIF" }, - "B3": { + "nir08": { "title": "Near Infrared Band 0.8 (B3)", "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "B3.TIF" }, - "B4": { + "nir09": { "title": "Near Infrared Band 0.9 (B4)", "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "B4.TIF" } } diff --git a/src/stactools/landsat/fragments/mss/sr-eo-bands.json b/src/stactools/landsat/fragments/mss/sr-eo-bands.json index 931b5f8..2f7195a 100644 --- a/src/stactools/landsat/fragments/mss/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-eo-bands.json @@ -1,23 +1,23 @@ { - "B1": { + "green": { "name": "B1", "common_name": "green", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, - "B2": { + "red": { "name": "B2", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, - "B3": { + "nir08": { "name": "B3", "common_name": "nir08", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, - "B4": { + "nir09": { "name": "B4", "common_name": "nir09", "center_wavelength": 0.95, diff --git a/src/stactools/landsat/fragments/mss/sr-raster-bands.json b/src/stactools/landsat/fragments/mss/sr-raster-bands.json index 036d45b..a8a2fc2 100644 --- a/src/stactools/landsat/fragments/mss/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-raster-bands.json @@ -1,28 +1,32 @@ { - "QA_PIXEL": { + "qa_pixel": { "data_type": "uint16", "unit": "bit index" }, - "QA_RADSAT": { + "qa_radsat": { "data_type": "uint16", "unit": "bit index" }, - "B1": { + "green": { + "name": "B1", "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" }, - "B2": { + "red": { + "name": "B2", "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" }, - "B3": { + "nir08": { + "name": "B3", "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" }, - "B4": { + "nir09": { + "name": "B4", "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json index 87caa9a..ab4971a 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json @@ -1,50 +1,57 @@ { - "QA_PIXEL": { + "qa_pixel": { "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud", "cloud-shadow", "cirrus", "snow-ice", "water-mask"] }, - "QA_RADSAT": { + "qa_radsat": { "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "roles": ["saturation"] }, - "SR_B1": { + "sr_coastal": { "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B1.TIF" }, - "SR_B2": { + "sr_blue": { "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B2.TIF" }, - "SR_B3": { + "sr_green": { "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B3.TIF" }, - "SR_B4": { + "sr_red": { "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B4.TIF" }, - "SR_B5": { + "sr_nir08": { "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B5.TIF" }, - "SR_B6": { + "sr_swir16": { "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B6.TIF" }, - "SR_B7": { + "sr_swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B7.TIF" }, - "SR_QA_AEROSOL": { + "sr_qa_aerosol": { "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", "roles": ["data-mask", "water-mask"] diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json index 2c59588..239aaf2 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json @@ -1,41 +1,41 @@ { - "SR_B1": { + "sr_coastal": { "name": "SR_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 }, - "SR_B2": { + "sr_blue": { "name": "SR_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 }, - "SR_B3": { + "sr_green": { "name": "SR_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 }, - "SR_B4": { + "sr_red": { "name": "SR_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 }, - "SR_B5": { + "sr_nir08": { "name": "SR_B5", "common_name": "nir08", "center_wavelength": 0.86, "full_width_half_max": 0.03 }, - "SR_B6": { + "sr_swir16": { "name": "SR_B6", "common_name": "swir16", "center_wavelength": 1.6, "full_width_half_max": 0.08 }, - "SR_B7": { + "sr_swir22": { "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.2, diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index d5bda53..ae85e62 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -1,62 +1,62 @@ { - "QA_PIXEL": { + "qa_pixel": { "data_type": "uint16", "unit": "bit index" }, - "QA_RADSAT": { + "qa_radsat": { "data_type": "uint16", "unit": "bit index" }, - "SR_B1": { + "sr_coastal": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B2": { + "sr_blue": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B3": { + "sr_green": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B4": { + "sr_red": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B5": { + "sr_nir08": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B6": { + "sr_swir16": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B7": { + "sr_swir22": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_QA_AEROSOL": { + "sr_qa_aerosol": { "data_type": "uint8", "nodata": 1, "unit": "bit index" diff --git a/src/stactools/landsat/fragments/oli_tirs/st-assets.json b/src/stactools/landsat/fragments/oli_tirs/st-assets.json index 5cf79e3..5d37ea5 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-assets.json @@ -1,45 +1,46 @@ { - "ST_B10": { - "title": "Surface Temperature Band (B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", - "roles": ["temperature"] + "st_lwir11": { + "title": "Surface Temperature Band (B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "roles": ["temperature"], + "href_suffix": "SR_B10.TIF" }, - "ST_ATRAN": { + "st_atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"] }, - "ST_CDIST": { + "st_cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"] }, - "ST_DRAD": { + "st_drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_URAD": { + "st_urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_TRAD": { + "st_trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_EMIS": { + "st_emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"] }, - "ST_EMSD": { + "st_emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"] }, - "ST_QA": { + "st_qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"] diff --git a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json index b2b2fd4..4183365 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json @@ -1,5 +1,5 @@ { - "ST_B10": { + "st_lwir11": { "name": "ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, diff --git a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json index 46eb424..56b3498 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json @@ -1,54 +1,54 @@ { - "ST_B10": { + "st_lwir11": { "data_type": "uint16", "nodata": 0, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 }, - "ST_ATRAN": { + "st_atran": { "data_type": "int16", "nodata": -9999, "unit": "unitless", "scale": 0.0001 }, - "ST_CDIST": { + "st_cdist": { "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, - "ST_DRAD": { + "st_drad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_URAD": { + "st_urad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_TRAD": { + "st_trad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_EMIS": { + "st_emis": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "ST_EMSD": { + "st_emsd": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "ST_QA": { + "st_qa": { "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json index 55f7cf8..7d2ca2a 100644 --- a/src/stactools/landsat/fragments/tm/sr-assets.json +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -1,50 +1,56 @@ { - "QA_PIXEL": { + "qa_pixel": { "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, - "QA_RADSAT": { + "qa_radsat": { "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, - "SR_B1": { + "sr_blue": { "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B1.TIF" }, - "SR_B2": { + "sr_green": { "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B2.TIF" }, - "SR_B3": { + "sr_red": { "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B3.TIF" }, - "SR_B4": { + "sr_nir08": { "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B4.TIF" }, - "SR_B5": { + "sr_swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B5.TIF" }, - "SR_B7": { + "sr_swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "roles": ["reflectance"] + "roles": ["reflectance"], + "href_suffix": "SR_B7.TIF" }, - "SR_ATMOS_OPACITY": { + "sr_atmos_opacity": { "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": ["data"] }, - "SR_CLOUD_QA": { + "sr_cloud_qa": { "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json index b0af011..0857d52 100644 --- a/src/stactools/landsat/fragments/tm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -1,35 +1,35 @@ { - "SR_B1": { + "sr_blue": { "name": "SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, - "SR_B2": { + "sr_green": { "name": "SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, - "SR_B3": { + "sr_red": { "name": "SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, - "SR_B4": { + "sr_nir08": { "name": "SR_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 }, - "SR_B5": { + "sr_swir16": { "name": "SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 }, - "SR_B7": { + "sr_swir22": { "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.22, diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index a04aa39..d1ad200 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -1,60 +1,60 @@ { - "QA_PIXEL": { + "qa_pixel": { "data_type": "uint16", "unit": "bit index" }, - "QA_RADSAT": { + "qa_radsat": { "data_type": "uint16", "unit": "bit index" }, - "SR_B1": { + "sr_blue": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B2": { + "sr_green": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B3": { + "sr_red": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B4": { + "sr_nir08": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B5": { + "sr_swir16": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_B7": { + "sr_swir22": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "SR_ATMOS_OPACITY": { + "sr_atmos_opacity": { "data_type": "int16", "nodata": -9999, "scale": 0.001 }, - "SR_CLOUD_QA": { + "sr_cloud_qa": { "data_type": "uint8", "unit": "bit index" } diff --git a/src/stactools/landsat/fragments/tm/st-assets.json b/src/stactools/landsat/fragments/tm/st-assets.json index 058056a..deb4ffc 100644 --- a/src/stactools/landsat/fragments/tm/st-assets.json +++ b/src/stactools/landsat/fragments/tm/st-assets.json @@ -1,45 +1,46 @@ { - "ST_B6": { + "st_lwir": { "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", - "roles": ["temperature"] + "roles": ["temperature"], + "href_suffix": "SR_B6.TIF" }, - "ST_ATRAN": { + "st_atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"] }, - "ST_CDIST": { + "st_cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"] }, - "ST_DRAD": { + "st_drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_URAD": { + "st_urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_TRAD": { + "st_trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"] }, - "ST_EMIS": { + "st_emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"] }, - "ST_EMSD": { + "st_emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"] }, - "ST_QA": { + "st_qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"] diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json index c35218d..cb6c899 100644 --- a/src/stactools/landsat/fragments/tm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -1,5 +1,5 @@ { - "ST_B6": { + "st_lwir": { "name": "ST_B6", "common_name": "lwir", "center_wavelength": 11.45, diff --git a/src/stactools/landsat/fragments/tm/st-raster-bands.json b/src/stactools/landsat/fragments/tm/st-raster-bands.json index b9ba30b..267d21c 100644 --- a/src/stactools/landsat/fragments/tm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/st-raster-bands.json @@ -1,54 +1,54 @@ { - "ST_B6": { + "st_lwir": { "data_type": "uint16", "nodata": 0, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 }, - "ST_ATRAN": { + "st_atran": { "data_type": "int16", "nodata": -9999, "unit": "unitless", "scale": 0.0001 }, - "ST_CDIST": { + "st_cdist": { "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, - "ST_DRAD": { + "st_drad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_URAD": { + "st_urad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_TRAD": { + "st_trad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "ST_EMIS": { + "st_emis": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "ST_EMSD": { + "st_emsd": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "ST_QA": { + "st_qa": { "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/mtl_metadata.py b/src/stactools/landsat/mtl_metadata.py index c1a73d7..e535e3f 100644 --- a/src/stactools/landsat/mtl_metadata.py +++ b/src/stactools/landsat/mtl_metadata.py @@ -20,9 +20,13 @@ class MtlMetadata: References https://github.com/sat-utils/sat-stac-landsat/blob/f2263485043a827b4153aecc12f45a3d1363e9e2/satstac/landsat/main.py#L157 """ # noqa - def __init__(self, root: XmlElement, href: Optional[str] = None): + def __init__(self, + root: XmlElement, + href: Optional[str] = None, + legacy_l8: bool = True): self._root = root self.href = href + self.legacy_l8 = legacy_l8 def _xml_error(self, item: str) -> MTLError: return MTLError(f"Cannot find {item} in MTL metadata" + @@ -82,24 +86,19 @@ def processing_level(self) -> str: def epsg(self) -> int: utm_zone = self._root.find_text('PROJECTION_ATTRIBUTES/UTM_ZONE') if utm_zone: - # NOTE: This logic is retained to keep current STAC Item content for - # Landsat 8-9 consistent. If the STAC format for Landsat 8-9 is ever - # updated, this logic should be deleted. - if self.satellite_num > 7: + if self.satellite_num == 8 and self.legacy_l8: + # Keep current STAC Item content consistent for Landsat 8 bbox = self.bbox utm_zone = self._get_text('PROJECTION_ATTRIBUTES/UTM_ZONE') center_lat = (bbox[1] + bbox[3]) / 2.0 return int(f"{326 if center_lat > 0 else 327}{utm_zone}") - - # The projection transforms in the COGs provided by the USGS are - # always for UTM North zones (see the negative PROJECTION_Y values - # in the metadata files for southern hemisphere scenes, or directly - # examine the transform from a southern hemisphere scene COG). The - # EPSG codes should therefore always be UTM north zones (326XX, - # where XX is the UTM zone number). For more detail, see - # https://www.usgs.gov/faqs/why-do-landsat-scenes-southern-hemisphere-display-negative-utm-values # noqa - utm_zone = self._get_text('PROJECTION_ATTRIBUTES/UTM_ZONE') - return int(f"326{utm_zone}") + else: + # The projection transforms in the COGs provided by the USGS are + # always for UTM North zones. The EPSG codes should therefore + # be UTM north zones (326XX, where XX is the UTM zone number). + # See: https://www.usgs.gov/faqs/why-do-landsat-scenes-southern-hemisphere-display-negative-utm-values # noqa + utm_zone = self._get_text('PROJECTION_ATTRIBUTES/UTM_ZONE') + return int(f"326{utm_zone}") else: # Polar Stereographic # Based on Landsat 8-9 OLI/TIRS Collection 2 Level 1 Data Format Control Book, @@ -223,13 +222,6 @@ def thermal_transform(self) -> Optional[List[float]]: @property def sr_gsd(self) -> float: - # This was set to pull the "GRID_CELL_SIZE_THERMAL" values, which seemed - # incorrect. However, since this is actually the grid cell size, and not - # the sensor view gsd, the sr_gsd and thermal_gsd should always be equal - # and thus no downstream effects. However, MSS MTL data does not contain - # thermal information, so this failed when used for MSS data. Therefore, - # it was updated to "GRID_CELL_SIZE_REFLECTIVE", which would seem to be - # the correct value anyway. return self._get_float( "LEVEL1_PROJECTION_PARAMETERS/GRID_CELL_SIZE_REFLECTIVE") @@ -272,26 +264,24 @@ def sun_elevation(self) -> float: @property def off_nadir(self) -> Optional[float]: - # NOTE: This logic is retained to keep current STAC Item content for - # Landsat 8-9 consistent. If the STAC format for Landsat 8-9 is ever - # updated, this logic should be deleted. - if self.satellite_num > 7: + if self.satellite_num == 8 and self.legacy_l8: + # Keep current STAC Item content consistent for Landsat 8 if self._get_text("IMAGE_ATTRIBUTES/NADIR_OFFNADIR") == "NADIR": return 0 else: return None - - # NADIR_OFFNADIR and ROLL_ANGLE xml entries do not exist prior to - # landsat 8. Therefore, we perform a soft check for NADIR_OFFNADIR. If - # it exists and is equal to "OFFNADIR", then a non-zero ROLL_ANGLE - # exists. We force this ROLL_ANGLE to be positive to conform with the - # stactools View Geometry extension. We return 0 otherwise since - # off-nadir views are only an option on Landsat 8-9. - if self._root.find_text( - "IMAGE_ATTRIBUTES/NADIR_OFFNADIR") == "OFFNADIR": - return abs(self._get_float("IMAGE_ATTRIBUTES/ROLL_ANGLE")) else: - return 0 + # NADIR_OFFNADIR and ROLL_ANGLE xml entries do not exist prior to + # landsat 8. Therefore, we perform a soft check for NADIR_OFFNADIR. + # If exists and is equal to "OFFNADIR", then a non-zero ROLL_ANGLE + # exists. We force this ROLL_ANGLE to be positive to conform with + # the stac View Geometry extension. We return 0 otherwise since + # off-nadir views are only an option on Landsat 8-9. + if self._root.find_text( + "IMAGE_ATTRIBUTES/NADIR_OFFNADIR") == "OFFNADIR": + return abs(self._get_float("IMAGE_ATTRIBUTES/ROLL_ANGLE")) + else: + return 0 @property def wrs_path(self) -> str: @@ -338,16 +328,18 @@ def level1_radiance(self) -> Dict[str, Any]: mult_add: Dict[str, Any] = defaultdict(dict) for item in node.element: if item.tag.startswith("RADIANCE_MULT_BAND"): - band = item.tag.split("_")[-1] + band = f'B{item.tag.split("_")[-1]}' mult_add[band]["mult"] = float(str(item.text)) elif item.tag.startswith("RADIANCE_ADD_BAND"): - band = item.tag.split("_")[-1] + band = f'B{item.tag.split("_")[-1]}' mult_add[band]["add"] = float(str(item.text)) return mult_add @classmethod def from_file(cls, - href, - read_href_modifier: Optional[ReadHrefModifier] = None - ) -> "MtlMetadata": - return cls(XmlElement.from_file(href, read_href_modifier), href=href) + href: str, + read_href_modifier: Optional[ReadHrefModifier] = None, + legacy_l8: bool = True) -> "MtlMetadata": + return cls(XmlElement.from_file(href, read_href_modifier), + href=href, + legacy_l8=legacy_l8) diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 3158bfd..5535fcc 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -1,36 +1,34 @@ import logging from datetime import datetime, timezone -from sqlite3 import adapt -from typing import Any, Dict, Optional +from typing import Optional -from pystac import Item, Link, Collection +from pystac import Collection, Item, Link from pystac.extensions.eo import Band, EOExtension +from pystac.extensions.item_assets import ItemAssetsExtension from pystac.extensions.projection import ProjectionExtension from pystac.extensions.raster import RasterBand, RasterExtension from pystac.extensions.scientific import ScientificExtension from pystac.extensions.view import ViewExtension -from pystac.extensions.item_assets import ItemAssetsExtension -from pystac_client import Client from shapely.geometry import box, mapping from stactools.core.io import ReadHrefModifier -from stactools.core.utils import href_exists from stactools.landsat.ang_metadata import AngMetadata from stactools.landsat.assets import (ANG_ASSET_DEF, COMMON_ASSET_DEFS, SR_ASSET_DEFS, THERMAL_ASSET_DEFS) -from stactools.landsat.constants import (L8_EXTENSION_SCHEMA, L8_INSTRUMENTS, - L8_ITEM_DESCRIPTION, L8_PLATFORM, - LANDSAT_EXTENSION_SCHEMA, SENSORS, - USGS_API, USGS_BROWSER_C2, USGS_C2L1, - USGS_C2L2_SR, COLLECTION_IDS, Sensor) -from stactools.landsat.fragments import Fragments, CollectionFragments +from stactools.landsat.constants import (COLLECTION_IDS, L8_EXTENSION_SCHEMA, + L8_INSTRUMENTS, L8_ITEM_DESCRIPTION, + L8_PLATFORM, LANDSAT_EXTENSION_SCHEMA, + SENSORS, USGS_BROWSER_C2, Sensor) +from stactools.landsat.fragments import CollectionFragments, Fragments from stactools.landsat.mtl_metadata import MtlMetadata +from stactools.landsat.utils import get_usgs_geometry logger = logging.getLogger(__name__) def create_stac_item( mtl_xml_href: str, + legacy_l8: bool = True, use_usgs_geometry: bool = False, read_href_modifier: Optional[ReadHrefModifier] = None) -> Item: """Creates a STAC Item for Landsat 1-5 Collection 2 Level-1 or Landsat @@ -38,9 +36,10 @@ def create_stac_item( Args: mtl_xml_href (str): An href to an MTL XML metadata file. - use_usgs_geometry (bool): Option to use the geometry from a USGS STAC - file that is stored alongside the XML metadata file or pulled from - the USGS STAC API. + legacy_l8 (bool): Use the legacy (old) method for a Landsat 8 STAC Item. + use_usgs_geometry (bool): Use the geometry from a USGS STAC file that is + stored alongside the XML metadata file or pulled from the USGS STAC + API. read_href_modifier (Callable[[str], str]): An optional function to modify the MTL and USGS STAC hrefs (e.g. to add a token to a url). Returns: @@ -48,9 +47,13 @@ def create_stac_item( """ base_href = '_'.join(mtl_xml_href.split('_')[:-1]) # Remove the _MTL.txt - mtl_metadata = MtlMetadata.from_file(mtl_xml_href, read_href_modifier) + mtl_metadata = MtlMetadata.from_file(mtl_xml_href, + read_href_modifier, + legacy_l8=legacy_l8) sensor = Sensor(mtl_metadata.item_id[1]) + satellite = int(mtl_metadata.item_id[2:4]) + level = int(mtl_metadata.item_id[6]) if use_usgs_geometry: geometry = get_usgs_geometry(base_href, sensor, @@ -75,7 +78,7 @@ def create_stac_item( datetime=mtl_metadata.scene_datetime, properties={}) - if sensor is Sensor.OLI_TIRS: + if satellite == 8 and legacy_l8: item.common_metadata.platform = L8_PLATFORM item.common_metadata.instruments = L8_INSTRUMENTS item.common_metadata.description = L8_ITEM_DESCRIPTION @@ -117,7 +120,7 @@ def create_stac_item( # -- Add links # NOTE: This link is incorrect. Leads to a dead "page". The last # component needs to have the processing time in it (replace item_id - # with product_id to fix). May warrant a GitHub issue. + # with product_id to fix). usgs_item_page = (f"{USGS_BROWSER_C2}/level-2/standard/oli-tirs" f"/{mtl_metadata.scene_datetime.year}" f"/{mtl_metadata.wrs_path}/{mtl_metadata.wrs_row}" @@ -130,9 +133,6 @@ def create_stac_item( media_type="text/html")) else: - satellite = int(mtl_metadata.item_id[2:4]) - level = int(mtl_metadata.item_id[6]) - item.common_metadata.platform = f"landsat-{satellite}" item.common_metadata.instruments = SENSORS[sensor.name]["instruments"] item.common_metadata.created = datetime.now(tz=timezone.utc) @@ -143,7 +143,7 @@ def create_stac_item( item.common_metadata.description = "Landsat Collection 2 Level-2 Science Product" fragments = Fragments(sensor, satellite, base_href, - mtl_metadata.level1_radiance) + mtl_metadata.level1_radiance) # Common assets assets = fragments.common_assets() @@ -152,7 +152,7 @@ def create_stac_item( if sensor is Sensor.MSS and key.startswith("ANG"): continue # MTL files are specific to the processing level - if key.startswith("MTL"): + if key.startswith("mtl"): asset.description = asset.description.replace( "Level-X", f"Level-{level}") item.add_asset(key, asset) @@ -170,7 +170,7 @@ def create_stac_item( raster_band = raster_bands.get(key, None) if raster_band is not None: optical_raster = RasterExtension.ext(asset, - add_if_missing=True) + add_if_missing=True) optical_raster.bands = [RasterBand.create(**raster_band)] # Thermal assets (only exist if optical exist) @@ -187,9 +187,9 @@ def create_stac_item( raster_band = raster_bands.get(key, None) if raster_band is not None: thermal_raster = RasterExtension.ext(asset, - add_if_missing=True) + add_if_missing=True) thermal_raster.bands = [RasterBand.create(**raster_band)] - if key.startswith("ST_B"): + if key.startswith("st_lwir"): asset.common_metadata.gsd = SENSORS[ sensor.name]["thermal_gsd"] @@ -223,9 +223,9 @@ def create_stac_item( f"/{mtl_metadata.product_id}") item.add_link( Link(rel="alternate", - target=usgs_item_page, - title="USGS stac-browser page", - media_type="text/html")) + target=usgs_item_page, + title="USGS stac-browser page", + media_type="text/html")) return item @@ -240,7 +240,6 @@ def create_collection(collection_id: str) -> Collection: Returns: Collection: The created STAC Collection. """ - ## TODO: Get the View Extension in here somehow if collection_id not in COLLECTION_IDS: raise ValueError(f"Invalid collection id: {collection_id}") @@ -264,55 +263,3 @@ def create_collection(collection_id: str) -> Collection: ViewExtension.add_to(collection) return collection - - -def get_usgs_geometry( - base_href: str, - sensor: Sensor, - product_id: str, - read_href_modifier: Optional[ReadHrefModifier] = None -) -> Optional[Dict[str, Any]]: - """Attempts to get scene geometry from a USGS STAC Item. - - Args: - base_href (str): Base href to a STAC storage location - sensor (Sensor): Enum of MSS, TM, ETM, or OLI-TIRS - product_id (str): Scene product id from mtl metadata - read_href_modifier (Callable[[str], str]): An optional function to - modify the storage href (e.g. to add a token to a url) - Returns: - Optional[Dict[str, Any]]: Either a GeoJSON geometry or None - """ - # Check data storage first - if sensor is Sensor.MSS: - stac_href = f"{base_href}_stac.json" - else: - stac_href = f"{base_href}_SR_stac.json" - - if read_href_modifier is not None: - stac_href = read_href_modifier(stac_href) - - if href_exists(stac_href): - item = Item.from_file(stac_href) - else: - item = None - - # If not found, check the USGS STAC API - if item is None: - if sensor is Sensor.MSS: - collection = USGS_C2L1 - else: - collection = USGS_C2L2_SR - product_id = f"{product_id}_SR" - - catalog = Client.open(USGS_API) - search = catalog.search(collections=[collection], ids=[product_id]) - if search.matched() == 1: - item = next(search.get_items()) - else: - item = None - - if item is not None: - return item.geometry - else: - return None diff --git a/src/stactools/landsat/utils.py b/src/stactools/landsat/utils.py index b01023c..c0c6215 100644 --- a/src/stactools/landsat/utils.py +++ b/src/stactools/landsat/utils.py @@ -1,4 +1,5 @@ import datetime +from typing import Any, Dict, Optional import dateutil.parser import rasterio @@ -6,11 +7,15 @@ from pystac.extensions.eo import EOExtension from pystac.extensions.projection import ProjectionExtension from pystac.extensions.view import ViewExtension +from pystac_client import Client from rasterio import RasterioIOError from shapely.geometry import box, mapping, shape +from stactools.core.io import ReadHrefModifier +from stactools.core.utils import href_exists from stactools.landsat.constants import (L8_EXTENSION_SCHEMA, - OLD_L8_EXTENSION_SCHEMA) + OLD_L8_EXTENSION_SCHEMA, USGS_API, + USGS_C2L1, USGS_C2L2_SR, Sensor) def _parse_date(in_date: str) -> datetime.datetime: @@ -168,3 +173,55 @@ def stac_api_to_stac(uri: str) -> Item: return transform_stac_to_stac(item=Item.from_file(uri), source_link=uri, enable_proj=False) + + +def get_usgs_geometry( + base_href: str, + sensor: Sensor, + product_id: str, + read_href_modifier: Optional[ReadHrefModifier] = None +) -> Optional[Dict[str, Any]]: + """Attempts to get scene geometry from a USGS STAC Item. + + Args: + base_href (str): Base href to a STAC storage location + sensor (Sensor): Enum of MSS, TM, ETM, or OLI-TIRS + product_id (str): Scene product id from mtl metadata + read_href_modifier (Callable[[str], str]): An optional function to + modify the storage href (e.g. to add a token to a url) + Returns: + Optional[Dict[str, Any]]: Either a GeoJSON geometry or None + """ + # Check data storage first + if sensor is Sensor.MSS: + stac_href = f"{base_href}_stac.json" + else: + stac_href = f"{base_href}_SR_stac.json" + + if read_href_modifier is not None: + stac_href = read_href_modifier(stac_href) + + if href_exists(stac_href): + item = Item.from_file(stac_href) + else: + item = None + + # If not found, check the USGS STAC API + if item is None: + if sensor is Sensor.MSS: + collection = USGS_C2L1 + else: + collection = USGS_C2L2_SR + product_id = f"{product_id}_SR" + + catalog = Client.open(USGS_API) + search = catalog.search(collections=[collection], ids=[product_id]) + if search.matched() == 1: + item = next(search.get_items()) + else: + item = None + + if item is not None: + return item.geometry + else: + return None diff --git a/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt b/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt deleted file mode 100644 index 9e47aed..0000000 --- a/tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt +++ /dev/null @@ -1,583 +0,0 @@ -GROUP = FILE_HEADER - LANDSAT_SCENE_ID = "LE70210302010009EDC00" - SPACECRAFT_ID = "L7_ETM" - WRS_PATH = 21 - WRS_ROW = 30 - MODE = "SLC_OFF" - FIRST_SCAN_DIRECTION = "R" - NUMBER_OF_BANDS = 9 - BAND_LIST = (1, 2, 3, 4, 5, 61, 62, 7, 8) -END_GROUP = FILE_HEADER -GROUP = PROJECTION - ELLIPSOID_AXES = (6378137.000000, 6356752.314200) - MAP_PROJECTION = "UTM" - PROJECTION_UNITS = "METERS" - DATUM = "WGS84" - ELLIPSOID = "WGS84" - UTM_ZONE = 16 - PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, - 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, - 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) - UL_CORNER = ( 559500.000, 4890000.000) - UR_CORNER = ( 800400.000, 4890000.000) - LL_CORNER = ( 559500.000, 4677300.000) - LR_CORNER = ( 800400.000, 4677300.000) -END_GROUP = PROJECTION -GROUP = EPHEMERIS - EPHEMERIS_EPOCH_YEAR = 2010 - EPHEMERIS_EPOCH_DAY = 009 - EPHEMERIS_EPOCH_SECONDS = 58412.000000 - NUMBER_OF_POINTS = 29 - EPHEMERIS_TIME = (58412.000000, 58413.000000, 58414.000000, 58415.000000, 58416.000000, - 58417.000000, 58418.000000, 58419.000000, 58420.000000, 58421.000000, - 58422.000000, 58423.000000, 58424.000000, 58425.000000, 58426.000000, - 58427.000000, 58428.000000, 58429.000000, 58430.000000, 58431.000000, - 58432.000000, 58433.000000, 58434.000000, 58435.000000, 58436.000000, - 58437.000000, 58438.000000, 58439.000000, 58440.000000) - EPHEMERIS_ECEF_X = ( 490729.265356, 489361.396674, 487992.214121, 486621.720193, 485249.917390, - 483876.808209, 482502.395148, 481126.680705, 479749.667378, 478371.357665, - 476991.754064, 475610.859073, 474228.675190, 472845.204912, 471460.450738, - 470074.415166, 468687.100693, 467298.509818, 465908.645038, 464517.508852, - 463125.103757, 461731.432251, 460336.496833, 458940.300000, 457542.844250, - 456144.132081, 454744.165991, 453342.948478, 451940.482039) - EPHEMERIS_ECEF_Y = (-5081870.428594, -5087122.322448, -5092368.322754, -5097608.423813, -5102842.619925, - -5108070.905390, -5113293.274508, -5118509.721581, -5123720.240908, -5128924.826790, - -5134123.473527, -5139316.175419, -5144502.926767, -5149683.721872, -5154858.555032, - -5160027.420550, -5165190.312725, -5170347.225857, -5175498.154247, -5180643.092196, - -5185782.034003, -5190914.973969, -5196041.906395, -5201162.825580, -5206277.725825, - -5211386.601431, -5216489.446697, -5221586.255925, -5226677.023414) - EPHEMERIS_ECEF_Z = ( 4900400.895235, 4895096.935521, 4889787.462737, 4884472.483157, 4879152.003056, - 4873826.028706, 4868494.566382, 4863157.622358, 4857815.202906, 4852467.314301, - 4847113.962817, 4841755.154727, 4836390.896305, 4831021.193825, 4825646.053560, - 4820265.481784, 4814879.484770, 4809488.068794, 4804091.240127, 4798689.005045, - 4793281.369820, 4787868.340727, 4782449.924039, 4777026.126030, 4771596.952973, - 4766162.411143, 4760722.506812, 4755277.246256, 4749826.635747) -END_GROUP = EPHEMERIS -GROUP = SOLAR_VECTOR - SOLAR_EPOCH_YEAR = 2010 - SOLAR_EPOCH_DAY = 009 - SOLAR_EPOCH_SECONDS = 58412.000000 - EARTH_SUN_DISTANCE = 0.98338898 - NUMBER_OF_POINTS = 29 - SAMPLE_TIME = (58412.000000, 58413.000000, 58414.000000, 58415.000000, 58416.000000, - 58417.000000, 58418.000000, 58419.000000, 58420.000000, 58421.000000, - 58422.000000, 58423.000000, 58424.000000, 58425.000000, 58426.000000, - 58427.000000, 58428.000000, 58429.000000, 58430.000000, 58431.000000, - 58432.000000, 58433.000000, 58434.000000, 58435.000000, 58436.000000, - 58437.000000, 58438.000000, 58439.000000, 58440.000000) - SOLAR_ECEF_X = ( 4.40902700e-01, 4.40843434e-01, 4.40784166e-01, 4.40724895e-01, 4.40665622e-01, - 4.40606346e-01, 4.40547068e-01, 4.40487786e-01, 4.40428503e-01, 4.40369218e-01, - 4.40309931e-01, 4.40250642e-01, 4.40191350e-01, 4.40132056e-01, 4.40072757e-01, - 4.40013458e-01, 4.39954157e-01, 4.39894854e-01, 4.39835548e-01, 4.39776240e-01, - 4.39716929e-01, 4.39657617e-01, 4.39598299e-01, 4.39538982e-01, 4.39479662e-01, - 4.39420340e-01, 4.39361015e-01, 4.39301689e-01, 4.39242360e-01) - SOLAR_ECEF_Y = (-8.15261222e-01, -8.15293284e-01, -8.15325341e-01, -8.15357394e-01, -8.15389443e-01, - -8.15421487e-01, -8.15453527e-01, -8.15485564e-01, -8.15517595e-01, -8.15549622e-01, - -8.15581645e-01, -8.15613663e-01, -8.15645677e-01, -8.15677687e-01, -8.15709694e-01, - -8.15741695e-01, -8.15773692e-01, -8.15805685e-01, -8.15837673e-01, -8.15869657e-01, - -8.15901636e-01, -8.15933612e-01, -8.15965584e-01, -8.15997551e-01, -8.16029513e-01, - -8.16061471e-01, -8.16093425e-01, -8.16125374e-01, -8.16157319e-01) - SOLAR_ECEF_Z = (-3.75438341e-01, -3.75438314e-01, -3.75438287e-01, -3.75438260e-01, -3.75438233e-01, - -3.75438206e-01, -3.75438179e-01, -3.75438152e-01, -3.75438125e-01, -3.75438098e-01, - -3.75438071e-01, -3.75438044e-01, -3.75438017e-01, -3.75437990e-01, -3.75437963e-01, - -3.75437936e-01, -3.75437909e-01, -3.75437882e-01, -3.75437855e-01, -3.75437827e-01, - -3.75437800e-01, -3.75437773e-01, -3.75437746e-01, -3.75437719e-01, -3.75437692e-01, - -3.75437665e-01, -3.75437638e-01, -3.75437611e-01, -3.75437584e-01) -END_GROUP = SOLAR_VECTOR -GROUP = SCAN_TIME_POLY - SCAN_TIME_POLY_NCOEFF = 4 - SCAN_TIME_POLY_NUMBER_DIRECTIONS = 2 - SCAN_TIME00_MEAN_ACTIVESCAN = 6.074645570e-02 - SCAN_TIME00_MEAN_EOL = 6.321000000e+03 - SCAN_TIME00_POLY_COEFF = (5.841264871e+04, 4.459044193e-03, -1.794893838e-11, 1.633872477e-15) - SCAN_TIME01_MEAN_ACTIVESCAN = 6.074645570e-02 - SCAN_TIME01_MEAN_EOL = 6.321000000e+03 - SCAN_TIME01_POLY_COEFF = (5.841264875e+04, 4.458953495e-03, 1.460275079e-11, -1.320865555e-15) -END_GROUP = SCAN_TIME_POLY -GROUP = RPC_BAND01 - BAND01_LINES_PER_SCAN = 16 - BAND01_NUMBER_OF_DIRECTIONS = 2 - BAND01_NUM_L1T_LINES = 7091 - BAND01_NUM_L1T_SAMPS = 8031 - BAND01_NUM_L1R_LINES = 5999 - BAND01_NUM_L1R_SAMPS = 6599 - BAND01_PIXEL_SIZE = 30.000 - BAND01_START_TIME = 58412.684381 - BAND01_LINE_TIME = 0.071154 - BAND01_MEAN_HEIGHT = 4000.000 - BAND01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND01_MEAN_L1T_LINE_SAMP = (3545.729, 4048.440) - BAND01_MEAN_SAT_VECTOR = (-0.000143786, -0.003141553, 0.995594548) - BAND01_SAT_X_NUM_COEF = (-1.250494e-04, 1.232363e-06, -4.731577e-05, -2.166098e-10, -1.168984e-05, - -1.359202e-11, 9.464761e-12, 4.189984e-11, 1.200612e-15, 4.299364e-17) - BAND01_SAT_X_DEN_COEF = ( 4.040688e-06, -7.006449e-07, -1.408796e-06, -4.208993e-06, 2.460368e-11, - 4.268709e-10, 9.723676e-10, 7.017598e-16, -1.567385e-19) - BAND01_SAT_Y_NUM_COEF = (-8.144067e-04, 4.732151e-05, 1.155787e-06, -4.453770e-09, -4.661822e-05, - 1.965197e-12, 3.590484e-11, 2.006687e-10, -1.180862e-15, -4.717556e-17) - BAND01_SAT_Y_DEN_COEF = ( 7.946691e-06, -1.582833e-06, -1.391721e-06, -7.953262e-06, -8.346746e-11, - 6.701246e-10, 9.681882e-10, 5.063963e-15, -5.955911e-16) - BAND01_SAT_Z_NUM_COEF = ( 4.397593e-03, 2.130484e-07, -1.213631e-08, -1.249973e-08, -2.145696e-07, - -5.302976e-11, -4.746436e-10, -1.061888e-09, -6.550713e-16, -5.133490e-20) - BAND01_SAT_Z_DEN_COEF = (-1.767663e-06, 4.046042e-07, -2.835559e-06, 1.647199e-06, 6.930372e-11, - 6.218797e-10, 1.400871e-09, 4.273647e-16, 1.735334e-18) - BAND01_MEAN_SUN_VECTOR = ( 0.363903027, -0.856999061, 0.364590796) - BAND01_SUN_X_NUM_COEF = ( 2.856961e-05, 1.462763e-07, -5.488725e-06, -1.372416e-14, -2.766581e-07, - -1.165351e-12, 1.757887e-11, 1.269986e-11, -4.346502e-18, 8.627667e-18) - BAND01_SUN_X_DEN_COEF = ( 1.173917e-06, -3.503139e-06, -1.574789e-10, 5.034713e-08, -2.319623e-11, - -8.088967e-12, 2.173839e-11, 1.328270e-16, 1.464804e-17) - BAND01_SUN_Y_NUM_COEF = (-9.384023e-05, 1.760307e-06, -1.558007e-06, 1.773633e-14, -8.106943e-08, - 1.902836e-11, 7.303589e-12, 1.577585e-11, 3.225241e-17, 4.441376e-17) - BAND01_SUN_Y_DEN_COEF = ( 5.162718e-06, 3.547772e-07, -9.396153e-11, 5.466822e-07, -2.425481e-12, - -1.146629e-11, 2.734621e-11, 1.614214e-16, 1.767729e-17) - BAND01_SUN_Z_NUM_COEF = ( 2.620458e-05, 3.993480e-06, 1.816181e-06, 7.717294e-15, 8.509692e-08, - -2.919602e-11, 2.552467e-11, 1.321408e-11, -4.020941e-17, 1.199048e-16) - BAND01_SUN_Z_DEN_COEF = (-6.431465e-06, 9.518225e-06, -6.708994e-11, 1.212218e-07, 2.366530e-11, - -2.743539e-11, 2.676312e-11, -2.606929e-17, 1.053976e-17) - BAND01_DIR00_MEAN_HEIGHT = 4000.000 - BAND01_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND01_DIR00_MEAN_L1T_LINE_SAMP = (3545.883, 4050.583) - BAND01_DIR00_LINE_NUM_COEF = ( 2.902367e-01, 9.726361e-01, -1.653377e-01, -1.294013e-04, 2.198015e-09) - BAND01_DIR00_LINE_DEN_COEF = ( 1.666609e-07, 3.118832e-07, -6.035458e-12, -2.509024e-12) - BAND01_DIR00_SAMP_NUM_COEF = ( 2.825251e+00, 2.115665e-01, 9.471109e-01, -2.503028e-05, -1.359221e-06) - BAND01_DIR00_SAMP_DEN_COEF = (-1.455127e-06, -9.805977e-08, -1.576468e-06, 1.273546e-10) - BAND01_DIR01_MEAN_HEIGHT = 4000.000 - BAND01_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND01_DIR01_MEAN_L1T_LINE_SAMP = (3545.574, 4046.286) - BAND01_DIR01_LINE_NUM_COEF = ( 7.005482e-01, 9.726374e-01, -1.653379e-01, -1.294015e-04, 2.197842e-09) - BAND01_DIR01_LINE_DEN_COEF = ( 1.666719e-07, 3.118843e-07, -6.035460e-12, -2.509027e-12) - BAND01_DIR01_SAMP_NUM_COEF = (-1.309636e+00, 2.115722e-01, 9.471104e-01, -2.503024e-05, -1.359237e-06) - BAND01_DIR01_SAMP_DEN_COEF = (-1.455690e-06, -9.810531e-08, -1.576466e-06, 1.273545e-10) -END_GROUP = RPC_BAND01 -GROUP = RPC_BAND02 - BAND02_LINES_PER_SCAN = 16 - BAND02_NUMBER_OF_DIRECTIONS = 2 - BAND02_NUM_L1T_LINES = 7091 - BAND02_NUM_L1T_SAMPS = 8031 - BAND02_NUM_L1R_LINES = 5999 - BAND02_NUM_L1R_SAMPS = 6599 - BAND02_PIXEL_SIZE = 30.000 - BAND02_START_TIME = 0.000000 - BAND02_LINE_TIME = 0.000000 - BAND02_MEAN_HEIGHT = 4000.000 - BAND02_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND02_MEAN_L1T_LINE_SAMP = (3545.601, 4047.780) - BAND02_MEAN_SAT_VECTOR = (-0.000113065, -0.003148366, 0.995594461) - BAND02_SAT_X_NUM_COEF = (-1.246816e-04, 1.232126e-06, -4.731579e-05, -1.729833e-10, -1.168960e-05, - -1.358634e-11, 9.506358e-12, 4.196210e-11, 1.095968e-15, 4.294066e-17) - BAND02_SAT_X_DEN_COEF = ( 4.040111e-06, -7.041106e-07, -1.408795e-06, -4.209465e-06, 2.668614e-11, - 4.261542e-10, 9.724299e-10, 7.026065e-16, -9.001516e-19) - BAND02_SAT_Y_NUM_COEF = (-8.144975e-04, 4.732190e-05, 1.155444e-06, -4.463226e-09, -4.661865e-05, - 1.973227e-12, 3.595506e-11, 2.006768e-10, -1.152691e-15, -4.713705e-17) - BAND02_SAT_Y_DEN_COEF = ( 7.950491e-06, -1.583906e-06, -1.391719e-06, -7.952392e-06, -8.063070e-11, - 6.690458e-10, 9.682744e-10, 4.993709e-15, -5.826397e-16) - BAND02_SAT_Z_NUM_COEF = ( 4.397659e-03, 2.079518e-07, -9.739865e-09, -1.249926e-08, -2.089906e-07, - -5.302844e-11, -4.746421e-10, -1.061888e-09, -6.551122e-16, -1.216072e-19) - BAND02_SAT_Z_DEN_COEF = (-1.872929e-06, 4.207294e-07, -2.835550e-06, 1.755045e-06, 6.931928e-11, - 6.219087e-10, 1.400862e-09, 4.260023e-16, 1.128398e-20) - BAND02_MEAN_SUN_VECTOR = ( 0.363906634, -0.856998256, 0.364589083) - BAND02_SUN_X_NUM_COEF = ( 2.857017e-05, 1.462580e-07, -5.488719e-06, -1.295867e-14, -2.766552e-07, - -1.165039e-12, 1.758927e-11, 1.271657e-11, -3.483074e-18, 8.462415e-18) - BAND02_SUN_X_DEN_COEF = ( 1.171847e-06, -3.506208e-06, -1.581749e-10, 5.058974e-08, -2.335027e-11, - -8.049224e-12, 2.173811e-11, 1.330291e-16, 1.395483e-17) - BAND02_SUN_Y_NUM_COEF = (-9.384131e-05, 1.760324e-06, -1.558035e-06, 1.462398e-14, -8.109956e-08, - 1.902184e-11, 7.303951e-12, 1.578101e-11, 3.161129e-17, 4.472372e-17) - BAND02_SUN_Y_DEN_COEF = ( 5.159069e-06, 3.513621e-07, -9.320161e-11, 5.464705e-07, -2.310727e-12, - -1.170902e-11, 2.732255e-11, 1.613014e-16, 1.740454e-17) - BAND02_SUN_Z_NUM_COEF = ( 2.620469e-05, 3.993465e-06, 1.816189e-06, 8.945161e-15, 8.511388e-08, - -2.919732e-11, 2.550977e-11, 1.320780e-11, -4.048356e-17, 1.194543e-16) - BAND02_SUN_Z_DEN_COEF = (-6.432588e-06, 9.514835e-06, -6.717869e-11, 1.220517e-07, 2.355027e-11, - -2.739050e-11, 2.675278e-11, -2.603960e-17, 1.049130e-17) - BAND02_DIR00_MEAN_HEIGHT = 4000.000 - BAND02_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND02_DIR00_MEAN_L1T_LINE_SAMP = (3545.813, 4049.939) - BAND02_DIR00_LINE_NUM_COEF = ( 2.898821e-01, 9.726362e-01, -1.653378e-01, -1.294250e-04, 2.745802e-09) - BAND02_DIR00_LINE_DEN_COEF = ( 1.666575e-07, 3.124045e-07, -6.073573e-12, -2.508925e-12) - BAND02_DIR00_SAMP_NUM_COEF = ( 2.888166e+00, 2.115649e-01, 9.471035e-01, -2.611581e-05, -1.359332e-06) - BAND02_DIR00_SAMP_DEN_COEF = (-1.454824e-06, -9.617919e-08, -1.576468e-06, 1.273775e-10) - BAND02_DIR01_MEAN_HEIGHT = 4000.000 - BAND02_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND02_DIR01_MEAN_L1T_LINE_SAMP = (3545.387, 4045.609) - BAND02_DIR01_LINE_NUM_COEF = ( 5.922842e-01, 9.726376e-01, -1.653381e-01, -1.294252e-04, 2.745628e-09) - BAND02_DIR01_LINE_DEN_COEF = ( 1.666686e-07, 3.124058e-07, -6.073577e-12, -2.508929e-12) - BAND02_DIR01_SAMP_NUM_COEF = (-1.302343e+00, 2.115705e-01, 9.471031e-01, -2.611577e-05, -1.359354e-06) - BAND02_DIR01_SAMP_DEN_COEF = (-1.455397e-06, -9.623966e-08, -1.576466e-06, 1.273774e-10) -END_GROUP = RPC_BAND02 -GROUP = RPC_BAND03 - BAND03_LINES_PER_SCAN = 16 - BAND03_NUMBER_OF_DIRECTIONS = 2 - BAND03_NUM_L1T_LINES = 7091 - BAND03_NUM_L1T_SAMPS = 8031 - BAND03_NUM_L1R_LINES = 5999 - BAND03_NUM_L1R_SAMPS = 6599 - BAND03_PIXEL_SIZE = 30.000 - BAND03_START_TIME = 0.000000 - BAND03_LINE_TIME = 0.000000 - BAND03_MEAN_HEIGHT = 4000.000 - BAND03_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND03_MEAN_L1T_LINE_SAMP = (3545.471, 4047.123) - BAND03_MEAN_SAT_VECTOR = (-0.000082551, -0.003155211, 0.995594376) - BAND03_SAT_X_NUM_COEF = (-1.243162e-04, 1.231895e-06, -4.731581e-05, -1.296534e-10, -1.168936e-05, - -1.358060e-11, 9.548096e-12, 4.202373e-11, 9.913326e-16, 4.288789e-17) - BAND03_SAT_X_DEN_COEF = ( 4.039541e-06, -7.075511e-07, -1.408794e-06, -4.209948e-06, 2.876838e-11, - 4.254376e-10, 9.724921e-10, 7.034338e-16, -1.645767e-18) - BAND03_SAT_Y_NUM_COEF = (-8.145875e-04, 4.732230e-05, 1.155102e-06, -4.472726e-09, -4.661909e-05, - 1.981132e-12, 3.600504e-11, 2.006854e-10, -1.123939e-15, -4.709880e-17) - BAND03_SAT_Y_DEN_COEF = ( 7.953846e-06, -1.584845e-06, -1.391716e-06, -7.951103e-06, -7.773510e-11, - 6.679483e-10, 9.683622e-10, 4.921971e-15, -5.694311e-16) - BAND03_SAT_Z_NUM_COEF = ( 4.397722e-03, 2.028158e-07, -7.346168e-09, -1.249878e-08, -2.033732e-07, - -5.302712e-11, -4.746407e-10, -1.061888e-09, -6.551535e-16, -1.924015e-19) - BAND03_SAT_Z_DEN_COEF = (-1.971626e-06, 4.357360e-07, -2.835542e-06, 1.856137e-06, 6.933373e-11, - 6.219355e-10, 1.400854e-09, 4.247800e-16, -1.621322e-18) - BAND03_MEAN_SUN_VECTOR = ( 0.363910217, -0.856997460, 0.364587376) - BAND03_SUN_X_NUM_COEF = ( 2.857072e-05, 1.462398e-07, -5.488713e-06, -1.218879e-14, -2.766524e-07, - -1.164702e-12, 1.760087e-11, 1.273504e-11, -2.615442e-18, 8.296687e-18) - BAND03_SUN_X_DEN_COEF = ( 1.169548e-06, -3.509597e-06, -1.588743e-10, 5.085049e-08, -2.350585e-11, - -8.010414e-12, 2.173819e-11, 1.332375e-16, 1.326026e-17) - BAND03_SUN_Y_NUM_COEF = (-9.384234e-05, 1.760341e-06, -1.558063e-06, 1.148314e-14, -8.112980e-08, - 1.901494e-11, 7.304867e-12, 1.578598e-11, 3.096794e-17, 4.502875e-17) - BAND03_SUN_Y_DEN_COEF = ( 5.155351e-06, 3.480435e-07, -9.245834e-11, 5.460983e-07, -2.197692e-12, - -1.195166e-11, 2.730020e-11, 1.611992e-16, 1.713680e-17) - BAND03_SUN_Z_NUM_COEF = ( 2.620478e-05, 3.993451e-06, 1.816197e-06, 1.015025e-14, 8.513089e-08, - -2.921484e-11, 2.547915e-11, 1.319775e-11, -4.076656e-17, 1.189852e-16) - BAND03_SUN_Z_DEN_COEF = (-6.437745e-06, 9.509359e-06, -6.727796e-11, 1.229357e-07, 2.342721e-11, - -2.734526e-11, 2.673782e-11, -2.603137e-17, 1.044279e-17) - BAND03_DIR00_MEAN_HEIGHT = 4000.000 - BAND03_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND03_DIR00_MEAN_L1T_LINE_SAMP = (3545.741, 4049.299) - BAND03_DIR00_LINE_NUM_COEF = ( 2.895170e-01, 9.726364e-01, -1.653379e-01, -1.294510e-04, 3.310125e-09) - BAND03_DIR00_LINE_DEN_COEF = ( 1.666542e-07, 3.129419e-07, -6.112547e-12, -2.508989e-12) - BAND03_DIR00_SAMP_NUM_COEF = ( 2.951054e+00, 2.115632e-01, 9.470964e-01, -2.719496e-05, -1.359440e-06) - BAND03_DIR00_SAMP_DEN_COEF = (-1.454518e-06, -9.430093e-08, -1.576468e-06, 1.273826e-10) - BAND03_DIR01_MEAN_HEIGHT = 4000.000 - BAND03_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND03_DIR01_MEAN_L1T_LINE_SAMP = (3545.200, 4044.936) - BAND03_DIR01_LINE_NUM_COEF = ( 4.840035e-01, 9.726378e-01, -1.653382e-01, -1.294512e-04, 3.309951e-09) - BAND03_DIR01_LINE_DEN_COEF = ( 1.666654e-07, 3.129435e-07, -6.112549e-12, -2.508993e-12) - BAND03_DIR01_SAMP_NUM_COEF = (-1.295056e+00, 2.115689e-01, 9.470960e-01, -2.719492e-05, -1.359467e-06) - BAND03_DIR01_SAMP_DEN_COEF = (-1.455101e-06, -9.437632e-08, -1.576466e-06, 1.273825e-10) -END_GROUP = RPC_BAND03 -GROUP = RPC_BAND04 - BAND04_LINES_PER_SCAN = 16 - BAND04_NUMBER_OF_DIRECTIONS = 2 - BAND04_NUM_L1T_LINES = 7091 - BAND04_NUM_L1T_SAMPS = 8031 - BAND04_NUM_L1R_LINES = 5999 - BAND04_NUM_L1R_SAMPS = 6599 - BAND04_PIXEL_SIZE = 30.000 - BAND04_START_TIME = 0.000000 - BAND04_LINE_TIME = 0.000000 - BAND04_MEAN_HEIGHT = 4000.000 - BAND04_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND04_MEAN_L1T_LINE_SAMP = (3545.331, 4046.451) - BAND04_MEAN_SAT_VECTOR = (-0.000051318, -0.003162619, 0.995594291) - BAND04_SAT_X_NUM_COEF = (-1.239411e-04, 1.231667e-06, -4.731584e-05, -8.530442e-11, -1.168913e-05, - -1.357468e-11, 9.590926e-12, 4.208670e-11, 8.867505e-16, 4.283539e-17) - BAND04_SAT_X_DEN_COEF = ( 4.038928e-06, -7.110691e-07, -1.408793e-06, -4.210415e-06, 3.084951e-11, - 4.247214e-10, 9.725541e-10, 7.042408e-16, -2.393068e-18) - BAND04_SAT_Y_NUM_COEF = (-8.146805e-04, 4.732270e-05, 1.154754e-06, -4.483020e-09, -4.661952e-05, - 1.988925e-12, 3.605484e-11, 2.006944e-10, -1.094704e-15, -4.706082e-17) - BAND04_SAT_Y_DEN_COEF = ( 7.957110e-06, -1.585832e-06, -1.391713e-06, -7.949782e-06, -7.479057e-11, - 6.668357e-10, 9.684529e-10, 4.849007e-15, -5.560127e-16) - BAND04_SAT_Z_NUM_COEF = ( 4.397781e-03, 1.976855e-07, -4.914089e-09, -1.249830e-08, -1.977528e-07, - -5.302578e-11, -4.746393e-10, -1.061888e-09, -6.551954e-16, -2.635545e-19) - BAND04_SAT_Z_DEN_COEF = (-2.068244e-06, 4.503319e-07, -2.835534e-06, 1.955077e-06, 6.934788e-11, - 6.219615e-10, 1.400844e-09, 4.236632e-16, -3.276914e-18) - BAND04_MEAN_SUN_VECTOR = ( 0.363913884, -0.856996660, 0.364585593) - BAND04_SUN_X_NUM_COEF = ( 2.857127e-05, 1.462212e-07, -5.488708e-06, -1.140612e-14, -2.766495e-07, - -1.164361e-12, 1.761245e-11, 1.274963e-11, -1.754553e-18, 8.132324e-18) - BAND04_SUN_X_DEN_COEF = ( 1.167269e-06, -3.512281e-06, -1.595682e-10, 5.107525e-08, -2.366054e-11, - -7.968859e-12, 2.173745e-11, 1.334430e-16, 1.257316e-17) - BAND04_SUN_Y_NUM_COEF = (-9.384332e-05, 1.760358e-06, -1.558092e-06, 8.333033e-15, -8.116009e-08, - 1.900776e-11, 7.306213e-12, 1.579079e-11, 3.032379e-17, 4.532931e-17) - BAND04_SUN_Y_DEN_COEF = ( 5.151621e-06, 3.447969e-07, -9.173248e-11, 5.455650e-07, -2.086264e-12, - -1.219389e-11, 2.727889e-11, 1.611099e-16, 1.687243e-17) - BAND04_SUN_Z_NUM_COEF = ( 2.620486e-05, 3.993436e-06, 1.816206e-06, 1.134716e-14, 8.514829e-08, - -2.920077e-11, 2.546865e-11, 1.319042e-11, -4.106063e-17, 1.184664e-16) - BAND04_SUN_Z_DEN_COEF = (-6.434985e-06, 9.505363e-06, -6.738772e-11, 1.236493e-07, 2.329897e-11, - -2.728946e-11, 2.672610e-11, -2.597999e-17, 1.039347e-17) - BAND04_DIR00_MEAN_HEIGHT = 4000.000 - BAND04_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND04_DIR00_MEAN_L1T_LINE_SAMP = (3545.659, 4048.643) - BAND04_DIR00_LINE_NUM_COEF = ( 2.891114e-01, 9.726366e-01, -1.653381e-01, -1.294905e-04, 3.936831e-09) - BAND04_DIR00_LINE_DEN_COEF = ( 1.666505e-07, 3.135384e-07, -6.154762e-12, -2.508850e-12) - BAND04_DIR00_SAMP_NUM_COEF = ( 3.013767e+00, 2.115615e-01, 9.470897e-01, -2.830118e-05, -1.359548e-06) - BAND04_DIR00_SAMP_DEN_COEF = (-1.454221e-06, -9.246365e-08, -1.576468e-06, 1.273704e-10) - BAND04_DIR01_MEAN_HEIGHT = 4000.000 - BAND04_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND04_DIR01_MEAN_L1T_LINE_SAMP = (3545.001, 4044.248) - BAND04_DIR01_LINE_NUM_COEF = ( 3.756759e-01, 9.726380e-01, -1.653383e-01, -1.294907e-04, 3.936656e-09) - BAND04_DIR01_LINE_DEN_COEF = ( 1.666618e-07, 3.135404e-07, -6.154764e-12, -2.508854e-12) - BAND04_DIR01_SAMP_NUM_COEF = (-1.287931e+00, 2.115672e-01, 9.470893e-01, -2.830114e-05, -1.359580e-06) - BAND04_DIR01_SAMP_DEN_COEF = (-1.454814e-06, -9.255396e-08, -1.576466e-06, 1.273702e-10) -END_GROUP = RPC_BAND04 -GROUP = RPC_BAND05 - BAND05_LINES_PER_SCAN = 16 - BAND05_NUMBER_OF_DIRECTIONS = 2 - BAND05_NUM_L1T_LINES = 7091 - BAND05_NUM_L1T_SAMPS = 8031 - BAND05_NUM_L1R_LINES = 5999 - BAND05_NUM_L1R_SAMPS = 6599 - BAND05_PIXEL_SIZE = 30.000 - BAND05_START_TIME = 0.000000 - BAND05_LINE_TIME = 0.000000 - BAND05_MEAN_HEIGHT = 4000.000 - BAND05_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND05_MEAN_L1T_LINE_SAMP = (3545.399, 4044.338) - BAND05_MEAN_SAT_VECTOR = ( 0.000047562, -0.003161885, 0.995594150) - BAND05_SAT_X_NUM_COEF = (-1.227870e-04, 1.231002e-06, -4.731582e-05, 5.505459e-11, -1.168845e-05, - -1.355702e-11, 9.716850e-12, 4.227194e-11, 5.902254e-16, 4.268696e-17) - BAND05_SAT_X_DEN_COEF = ( 4.038006e-06, -7.218466e-07, -1.408789e-06, -4.212773e-06, 3.674992e-11, - 4.226903e-10, 9.727298e-10, 7.064259e-16, -4.523992e-18) - BAND05_SAT_Y_NUM_COEF = (-8.148594e-04, 4.732382e-05, 1.153671e-06, -4.481334e-09, -4.662076e-05, - 2.010165e-12, 3.619217e-11, 2.007139e-10, -1.009933e-15, -4.695495e-17) - BAND05_SAT_Y_DEN_COEF = ( 7.957630e-06, -1.585576e-06, -1.391703e-06, -7.936965e-06, -6.625105e-11, - 6.636172e-10, 9.686791e-10, 4.637343e-15, -5.171552e-16) - BAND05_SAT_Z_NUM_COEF = ( 4.397933e-03, 1.820685e-07, 2.451643e-09, -1.249664e-08, -1.806525e-07, - -5.302192e-11, -4.746353e-10, -1.061889e-09, -6.553163e-16, -4.652237e-19) - BAND05_SAT_Z_DEN_COEF = (-2.346341e-06, 4.921062e-07, -2.835513e-06, 2.239810e-06, 6.938878e-11, - 6.220356e-10, 1.400817e-09, 4.209832e-16, -8.014901e-18) - BAND05_MEAN_SUN_VECTOR = ( 0.363925489, -0.856993246, 0.364582027) - BAND05_SUN_X_NUM_COEF = ( 2.857283e-05, 1.461625e-07, -5.488677e-06, -8.828659e-15, -2.766411e-07, - -1.163586e-12, 1.763522e-11, 1.279710e-11, 6.979035e-19, 7.660960e-18) - BAND05_SUN_X_DEN_COEF = ( 1.162610e-06, -3.521019e-06, -1.615569e-10, 5.176471e-08, -2.409272e-11, - -7.857324e-12, 2.173655e-11, 1.340006e-16, 1.059303e-17) - BAND05_SUN_Y_NUM_COEF = (-9.384542e-05, 1.760411e-06, -1.558173e-06, -5.989710e-16, -8.124653e-08, - 1.898530e-11, 7.313481e-12, 1.580299e-11, 2.850805e-17, 4.613534e-17) - BAND05_SUN_Y_DEN_COEF = ( 5.140649e-06, 3.363174e-07, -8.989469e-11, 5.431510e-07, -1.787191e-12, - -1.287095e-11, 2.722726e-11, 1.609857e-16, 1.616833e-17) - BAND05_SUN_Z_NUM_COEF = ( 2.620512e-05, 3.993391e-06, 1.816231e-06, 1.446302e-14, 8.519890e-08, - -2.916022e-11, 2.541451e-11, 1.315875e-11, -4.193275e-17, 1.168325e-16) - BAND05_SUN_Z_DEN_COEF = (-6.426906e-06, 9.487975e-06, -6.777356e-11, 1.255769e-07, 2.289690e-11, - -2.710815e-11, 2.667962e-11, -2.587418e-17, 1.027758e-17) - BAND05_DIR00_MEAN_HEIGHT = 4000.000 - BAND05_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND05_DIR00_MEAN_L1T_LINE_SAMP = (3545.892, 4046.576) - BAND05_DIR00_LINE_NUM_COEF = ( 2.898802e-01, 9.726372e-01, -1.653386e-01, -1.288383e-04, 2.789637e-09) - BAND05_DIR00_LINE_DEN_COEF = ( 1.666645e-07, 3.124382e-07, -6.068172e-12, -2.509804e-12) - BAND05_DIR00_SAMP_NUM_COEF = ( 3.191044e+00, 2.115571e-01, 9.470727e-01, -3.159165e-05, -1.359857e-06) - BAND05_DIR00_SAMP_DEN_COEF = (-1.453420e-06, -8.743931e-08, -1.576470e-06, 1.272410e-10) - BAND05_DIR01_MEAN_HEIGHT = 4000.000 - BAND05_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND05_DIR01_MEAN_L1T_LINE_SAMP = (3544.903, 4042.088) - BAND05_DIR01_LINE_NUM_COEF = ( 6.993035e-02, 9.726387e-01, -1.653388e-01, -1.288385e-04, 2.789457e-09) - BAND05_DIR01_LINE_DEN_COEF = ( 1.666760e-07, 3.124410e-07, -6.068175e-12, -2.509808e-12) - BAND05_DIR01_SAMP_NUM_COEF = (-1.268460e+00, 2.115628e-01, 9.470723e-01, -3.159160e-05, -1.359906e-06) - BAND05_DIR01_SAMP_DEN_COEF = (-1.454040e-06, -8.757186e-08, -1.576467e-06, 1.272408e-10) -END_GROUP = RPC_BAND05 -GROUP = RPC_BAND61 - BAND61_LINES_PER_SCAN = 8 - BAND61_NUMBER_OF_DIRECTIONS = 2 - BAND61_NUM_L1T_LINES = 7091 - BAND61_NUM_L1T_SAMPS = 8031 - BAND61_NUM_L1R_LINES = 2999 - BAND61_NUM_L1R_SAMPS = 3299 - BAND61_PIXEL_SIZE = 30.000 - BAND61_START_TIME = 0.000000 - BAND61_LINE_TIME = 0.000000 - BAND61_MEAN_HEIGHT = 4000.000 - BAND61_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) - BAND61_MEAN_L1T_LINE_SAMP = (3545.506, 4042.703) - BAND61_MEAN_SAT_VECTOR = ( 0.000130016, -0.003135506, 0.995594307) - BAND61_SAT_X_NUM_COEF = (-1.218703e-04, 1.230973e-06, -4.731578e-05, 1.718455e-10, -2.337685e-05, - -1.355003e-11, 9.774649e-12, 4.238711e-11, 4.447266e-15, 3.413016e-16) - BAND61_SAT_X_DEN_COEF = ( 4.082634e-06, -7.374140e-07, -1.408796e-06, -8.521098e-06, 3.742445e-11, - 4.224417e-10, 9.727511e-10, 5.657236e-15, -3.362080e-17) - BAND61_SAT_Y_NUM_COEF = (-8.148589e-04, 4.732510e-05, 1.152739e-06, -4.443581e-09, -9.324428e-05, - 2.014737e-12, 3.626439e-11, 2.007186e-10, -7.127285e-15, -3.754005e-16) - BAND61_SAT_Y_DEN_COEF = ( 7.079280e-06, -1.432929e-06, -1.391576e-06, -1.405262e-05, -5.410136e-11, - 6.595826e-10, 9.689412e-10, 3.465726e-14, -3.791031e-15) - BAND61_SAT_Z_NUM_COEF = ( 4.397881e-03, 1.731018e-07, 7.653020e-09, -1.249519e-08, -3.412380e-07, - -5.301956e-11, -4.746331e-10, -1.061890e-09, -5.244139e-15, -4.517446e-18) - BAND61_SAT_Z_DEN_COEF = (-2.561438e-06, 5.247860e-07, -2.835498e-06, 4.920242e-06, 6.941998e-11, - 6.220980e-10, 1.400814e-09, 3.357033e-15, -9.358160e-17) - BAND61_MEAN_SUN_VECTOR = ( 0.363934619, -0.856990471, 0.364579440) - BAND61_SUN_X_NUM_COEF = ( 2.857365e-05, 1.461173e-07, -5.488653e-06, -6.933890e-15, -5.532716e-07, - -1.159378e-12, 1.781410e-11, 1.288003e-11, 2.451901e-17, 5.801909e-17) - BAND61_SUN_X_DEN_COEF = ( 1.137920e-06, -3.537712e-06, -1.646441e-10, 8.739426e-08, -2.463185e-11, - -7.749083e-12, 2.174412e-11, 1.081451e-15, 7.295448e-17) - BAND61_SUN_Y_NUM_COEF = (-9.384396e-05, 1.760421e-06, -1.558232e-06, -5.259916e-15, -1.625654e-07, - 1.901298e-11, 7.298114e-12, 1.579373e-11, 2.433547e-16, 3.620490e-16) - BAND61_SUN_Y_DEN_COEF = ( 5.166767e-06, 3.405119e-07, -9.362320e-11, 1.066456e-06, -2.135058e-12, - -1.218967e-11, 2.725518e-11, 1.287655e-15, 1.339115e-16) - BAND61_SUN_Z_NUM_COEF = ( 2.620463e-05, 3.993335e-06, 1.816252e-06, 1.568790e-14, 1.705216e-07, - -2.878707e-11, 2.515269e-11, 1.297028e-11, -3.465415e-16, 8.983443e-16) - BAND61_SUN_Z_DEN_COEF = (-6.331176e-06, 9.382535e-06, -6.924787e-11, 2.425455e-07, 2.188312e-11, - -2.646181e-11, 2.644595e-11, -2.031305e-16, 8.100502e-17) - BAND61_DIR00_MEAN_HEIGHT = 4000.000 - BAND61_DIR00_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) - BAND61_DIR00_MEAN_L1T_LINE_SAMP = (3545.866, 4043.694) - BAND61_DIR00_LINE_NUM_COEF = ( 1.454284e-01, 4.863190e-01, -8.266949e-02, -6.413009e-05, 6.781207e-10) - BAND61_DIR00_LINE_DEN_COEF = ( 1.666883e-07, 3.110670e-07, -2.218824e-12, -2.513342e-12) - BAND61_DIR00_SAMP_NUM_COEF = ( 3.924161e-01, 1.057792e-01, 4.735326e-01, -1.605510e-05, -6.800181e-07) - BAND61_DIR00_SAMP_DEN_COEF = (-1.452971e-06, -8.315610e-08, -1.576469e-06, 1.270977e-10) - BAND61_DIR01_MEAN_HEIGHT = 4000.000 - BAND61_DIR01_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) - BAND61_DIR01_MEAN_L1T_LINE_SAMP = (3545.143, 4041.706) - BAND61_DIR01_LINE_NUM_COEF = (-4.167761e-02, 4.863194e-01, -8.266955e-02, -6.413014e-05, 6.780838e-10) - BAND61_DIR01_LINE_DEN_COEF = ( 1.666935e-07, 3.110690e-07, -2.218820e-12, -2.513344e-12) - BAND61_DIR01_SAMP_NUM_COEF = (-6.257444e-01, 1.057804e-01, 4.735325e-01, -1.605509e-05, -6.800357e-07) - BAND61_DIR01_SAMP_DEN_COEF = (-1.453259e-06, -8.325101e-08, -1.576467e-06, 1.270975e-10) -END_GROUP = RPC_BAND61 -GROUP = RPC_BAND62 - BAND62_LINES_PER_SCAN = 8 - BAND62_NUMBER_OF_DIRECTIONS = 2 - BAND62_NUM_L1T_LINES = 7091 - BAND62_NUM_L1T_SAMPS = 8031 - BAND62_NUM_L1R_LINES = 2999 - BAND62_NUM_L1R_SAMPS = 3299 - BAND62_PIXEL_SIZE = 30.000 - BAND62_START_TIME = 0.000000 - BAND62_LINE_TIME = 0.000000 - BAND62_MEAN_HEIGHT = 4000.000 - BAND62_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) - BAND62_MEAN_L1T_LINE_SAMP = (3545.506, 4042.703) - BAND62_MEAN_SAT_VECTOR = ( 0.000130016, -0.003135506, 0.995594307) - BAND62_SAT_X_NUM_COEF = (-1.218703e-04, 1.230973e-06, -4.731578e-05, 1.718455e-10, -2.337685e-05, - -1.355003e-11, 9.774649e-12, 4.238711e-11, 4.447266e-15, 3.413016e-16) - BAND62_SAT_X_DEN_COEF = ( 4.082634e-06, -7.374140e-07, -1.408796e-06, -8.521098e-06, 3.742445e-11, - 4.224417e-10, 9.727511e-10, 5.657236e-15, -3.362080e-17) - BAND62_SAT_Y_NUM_COEF = (-8.148589e-04, 4.732510e-05, 1.152739e-06, -4.443581e-09, -9.324428e-05, - 2.014737e-12, 3.626439e-11, 2.007186e-10, -7.127285e-15, -3.754005e-16) - BAND62_SAT_Y_DEN_COEF = ( 7.079280e-06, -1.432929e-06, -1.391576e-06, -1.405262e-05, -5.410136e-11, - 6.595826e-10, 9.689412e-10, 3.465726e-14, -3.791031e-15) - BAND62_SAT_Z_NUM_COEF = ( 4.397881e-03, 1.731018e-07, 7.653020e-09, -1.249519e-08, -3.412380e-07, - -5.301956e-11, -4.746331e-10, -1.061890e-09, -5.244139e-15, -4.517446e-18) - BAND62_SAT_Z_DEN_COEF = (-2.561438e-06, 5.247860e-07, -2.835498e-06, 4.920242e-06, 6.941998e-11, - 6.220980e-10, 1.400814e-09, 3.357033e-15, -9.358160e-17) - BAND62_MEAN_SUN_VECTOR = ( 0.363934619, -0.856990471, 0.364579440) - BAND62_SUN_X_NUM_COEF = ( 2.857365e-05, 1.461173e-07, -5.488653e-06, -6.933890e-15, -5.532716e-07, - -1.159378e-12, 1.781410e-11, 1.288003e-11, 2.451901e-17, 5.801909e-17) - BAND62_SUN_X_DEN_COEF = ( 1.137920e-06, -3.537712e-06, -1.646441e-10, 8.739426e-08, -2.463185e-11, - -7.749083e-12, 2.174412e-11, 1.081451e-15, 7.295448e-17) - BAND62_SUN_Y_NUM_COEF = (-9.384396e-05, 1.760421e-06, -1.558232e-06, -5.259916e-15, -1.625654e-07, - 1.901298e-11, 7.298114e-12, 1.579373e-11, 2.433547e-16, 3.620490e-16) - BAND62_SUN_Y_DEN_COEF = ( 5.166767e-06, 3.405119e-07, -9.362320e-11, 1.066456e-06, -2.135058e-12, - -1.218967e-11, 2.725518e-11, 1.287655e-15, 1.339115e-16) - BAND62_SUN_Z_NUM_COEF = ( 2.620463e-05, 3.993335e-06, 1.816252e-06, 1.568790e-14, 1.705216e-07, - -2.878707e-11, 2.515269e-11, 1.297028e-11, -3.465415e-16, 8.983443e-16) - BAND62_SUN_Z_DEN_COEF = (-6.331176e-06, 9.382535e-06, -6.924787e-11, 2.425455e-07, 2.188312e-11, - -2.646181e-11, 2.644595e-11, -2.031305e-16, 8.100502e-17) - BAND62_DIR00_MEAN_HEIGHT = 4000.000 - BAND62_DIR00_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) - BAND62_DIR00_MEAN_L1T_LINE_SAMP = (3545.866, 4043.694) - BAND62_DIR00_LINE_NUM_COEF = ( 1.454284e-01, 4.863190e-01, -8.266949e-02, -6.413009e-05, 6.781207e-10) - BAND62_DIR00_LINE_DEN_COEF = ( 1.666883e-07, 3.110670e-07, -2.218824e-12, -2.513342e-12) - BAND62_DIR00_SAMP_NUM_COEF = ( 3.924161e-01, 1.057792e-01, 4.735326e-01, -1.605510e-05, -6.800181e-07) - BAND62_DIR00_SAMP_DEN_COEF = (-1.452971e-06, -8.315610e-08, -1.576469e-06, 1.270977e-10) - BAND62_DIR01_MEAN_HEIGHT = 4000.000 - BAND62_DIR01_MEAN_L1R_LINE_SAMP = (1499.500, 1649.015) - BAND62_DIR01_MEAN_L1T_LINE_SAMP = (3545.143, 4041.706) - BAND62_DIR01_LINE_NUM_COEF = (-4.167761e-02, 4.863194e-01, -8.266955e-02, -6.413014e-05, 6.780838e-10) - BAND62_DIR01_LINE_DEN_COEF = ( 1.666935e-07, 3.110690e-07, -2.218820e-12, -2.513344e-12) - BAND62_DIR01_SAMP_NUM_COEF = (-6.257444e-01, 1.057804e-01, 4.735325e-01, -1.605509e-05, -6.800357e-07) - BAND62_DIR01_SAMP_DEN_COEF = (-1.453259e-06, -8.325101e-08, -1.576467e-06, 1.270975e-10) -END_GROUP = RPC_BAND62 -GROUP = RPC_BAND07 - BAND07_LINES_PER_SCAN = 16 - BAND07_NUMBER_OF_DIRECTIONS = 2 - BAND07_NUM_L1T_LINES = 7091 - BAND07_NUM_L1T_SAMPS = 8031 - BAND07_NUM_L1R_LINES = 5999 - BAND07_NUM_L1R_SAMPS = 6599 - BAND07_PIXEL_SIZE = 30.000 - BAND07_START_TIME = 0.000000 - BAND07_LINE_TIME = 0.000000 - BAND07_MEAN_HEIGHT = 4000.000 - BAND07_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND07_MEAN_L1T_LINE_SAMP = (3545.517, 4045.066) - BAND07_MEAN_SAT_VECTOR = ( 0.000013683, -0.003155449, 0.995594227) - BAND07_SAT_X_NUM_COEF = (-1.231921e-04, 1.231228e-06, -4.731580e-05, 6.956923e-12, -1.168868e-05, - -1.356350e-11, 9.670680e-12, 4.220530e-11, 6.985396e-16, 4.274082e-17) - BAND07_SAT_X_DEN_COEF = ( 4.038596e-06, -7.180675e-07, -1.408791e-06, -4.212188e-06, 3.459465e-11, - 4.234322e-10, 9.726657e-10, 7.056461e-16, -3.743621e-18) - BAND07_SAT_Y_NUM_COEF = (-8.147679e-04, 4.732340e-05, 1.154047e-06, -4.472439e-09, -4.662031e-05, - 2.002425e-12, 3.614134e-11, 2.007039e-10, -1.041582e-15, -4.699374e-17) - BAND07_SAT_Y_DEN_COEF = ( 7.955654e-06, -1.584939e-06, -1.391706e-06, -7.939677e-06, -6.943949e-11, - 6.648134e-10, 9.685830e-10, 4.716401e-15, -5.316546e-16) - BAND07_SAT_Z_NUM_COEF = ( 4.397880e-03, 1.874821e-07, -1.454746e-10, -1.249717e-08, -1.865900e-07, - -5.302334e-11, -4.746368e-10, -1.061889e-09, -6.552719e-16, -3.910705e-19) - BAND07_SAT_Z_DEN_COEF = (-2.248828e-06, 4.775059e-07, -2.835520e-06, 2.139981e-06, 6.937455e-11, - 6.220101e-10, 1.400828e-09, 4.218356e-16, -6.364590e-18) - BAND07_MEAN_SUN_VECTOR = ( 0.363921512, -0.856994172, 0.364583823) - BAND07_SUN_X_NUM_COEF = ( 2.857226e-05, 1.461826e-07, -5.488684e-06, -9.696660e-15, -2.766441e-07, - -1.163817e-12, 1.762884e-11, 1.278065e-11, -1.928895e-19, 7.832711e-18) - BAND07_SUN_X_DEN_COEF = ( 1.163942e-06, -3.517992e-06, -1.608370e-10, 5.152309e-08, -2.393716e-11, - -7.898032e-12, 2.173704e-11, 1.338049e-16, 1.131593e-17) - BAND07_SUN_Y_NUM_COEF = (-9.384458e-05, 1.760394e-06, -1.558143e-06, 2.711884e-15, -8.121478e-08, - 1.899364e-11, 7.310706e-12, 1.579851e-11, 2.917610e-17, 4.583969e-17) - BAND07_SUN_Y_DEN_COEF = ( 5.144584e-06, 3.394345e-07, -9.058253e-11, 5.441817e-07, -1.896897e-12, - -1.262196e-11, 2.724595e-11, 1.610327e-16, 1.642899e-17) - BAND07_SUN_Z_NUM_COEF = ( 2.620507e-05, 3.993406e-06, 1.816222e-06, 1.330224e-14, 8.518044e-08, - -2.917030e-11, 2.543788e-11, 1.317098e-11, -4.160182e-17, 1.174447e-16) - BAND07_SUN_Z_DEN_COEF = (-6.428705e-06, 9.494699e-06, -6.762786e-11, 1.248804e-07, 2.304882e-11, - -2.717503e-11, 2.669755e-11, -2.591968e-17, 1.032746e-17) - BAND07_DIR00_MEAN_HEIGHT = 4000.000 - BAND07_DIR00_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND07_DIR00_MEAN_L1T_LINE_SAMP = (3545.950, 4047.287) - BAND07_DIR00_LINE_NUM_COEF = ( 2.901933e-01, 9.726370e-01, -1.653384e-01, -1.288470e-04, 2.302083e-09) - BAND07_DIR00_LINE_DEN_COEF = ( 1.666665e-07, 3.119739e-07, -6.036510e-12, -2.509319e-12) - BAND07_DIR00_SAMP_NUM_COEF = ( 3.125952e+00, 2.115588e-01, 9.470786e-01, -3.040707e-05, -1.359742e-06) - BAND07_DIR00_SAMP_DEN_COEF = (-1.453722e-06, -8.932824e-08, -1.576469e-06, 1.273048e-10) - BAND07_DIR01_MEAN_HEIGHT = 4000.000 - BAND07_DIR01_MEAN_L1R_LINE_SAMP = (2999.500, 3299.015) - BAND07_DIR01_MEAN_L1T_LINE_SAMP = (3545.082, 4042.833) - BAND07_DIR01_LINE_NUM_COEF = ( 1.824946e-01, 9.726385e-01, -1.653387e-01, -1.288472e-04, 2.301904e-09) - BAND07_DIR01_LINE_DEN_COEF = ( 1.666780e-07, 3.119764e-07, -6.036515e-12, -2.509323e-12) - BAND07_DIR01_SAMP_NUM_COEF = (-1.275783e+00, 2.115645e-01, 9.470783e-01, -3.040702e-05, -1.359785e-06) - BAND07_DIR01_SAMP_DEN_COEF = (-1.454333e-06, -8.944534e-08, -1.576467e-06, 1.273046e-10) -END_GROUP = RPC_BAND07 -GROUP = RPC_BAND08 - BAND08_LINES_PER_SCAN = 32 - BAND08_NUMBER_OF_DIRECTIONS = 2 - BAND08_NUM_L1T_LINES = 14181 - BAND08_NUM_L1T_SAMPS = 16061 - BAND08_NUM_L1R_LINES = 11999 - BAND08_NUM_L1R_SAMPS = 13199 - BAND08_PIXEL_SIZE = 15.000 - BAND08_START_TIME = 0.000000 - BAND08_LINE_TIME = 0.000000 - BAND08_MEAN_HEIGHT = 4000.000 - BAND08_MEAN_L1R_LINE_SAMP = (5999.500, 6599.008) - BAND08_MEAN_L1T_LINE_SAMP = (7091.616, 8098.191) - BAND08_MEAN_SAT_VECTOR = (-0.000179663, -0.003160539, 0.995659109) - BAND08_SAT_X_NUM_COEF = (-1.229846e-04, 6.165611e-07, -2.365796e-05, -2.670461e-10, -5.845313e-06, - -3.398651e-12, 2.362771e-12, 1.047421e-11, 1.639210e-16, 5.382897e-18) - BAND08_SAT_X_DEN_COEF = ( 2.019040e-06, -3.489361e-07, -1.408959e-06, -2.102772e-06, 5.601375e-12, - 1.069175e-10, 2.430968e-10, 8.760237e-17, 7.658822e-20) - BAND08_SAT_Y_NUM_COEF = (-8.025521e-04, 2.366054e-05, 5.780778e-07, -4.481251e-09, -2.330887e-05, - 4.820146e-13, 8.933107e-12, 5.015748e-11, -1.493197e-16, -5.914147e-18) - BAND08_SAT_Y_DEN_COEF = ( 3.996899e-06, -7.995739e-07, -1.391886e-06, -4.010200e-06, -2.120795e-11, - 1.677477e-10, 2.420913e-10, 6.372178e-16, -7.529464e-17) - BAND08_SAT_Z_NUM_COEF = ( 4.332996e-03, 1.094187e-07, -7.328153e-09, -1.231745e-08, -1.104247e-07, - -1.325890e-11, -1.186714e-10, -2.654945e-10, -8.188201e-17, 2.110882e-21) - BAND08_SAT_Z_DEN_COEF = (-8.402526e-07, 1.957928e-07, -2.835607e-06, 7.789887e-07, 1.732361e-11, - 1.554718e-10, 3.502368e-10, 5.344276e-17, 3.859437e-19) - BAND08_MEAN_SUN_VECTOR = ( 0.363899510, -0.857001059, 0.364592568) - BAND08_SUN_X_NUM_COEF = ( 2.843530e-05, 7.314688e-08, -2.744366e-06, -1.474117e-14, -1.383307e-07, - -2.903213e-13, 4.441744e-12, 3.223705e-12, -6.507662e-19, 1.106099e-18) - BAND08_SUN_X_DEN_COEF = ( 5.690238e-07, -1.769276e-06, -1.567076e-10, 2.626394e-08, -5.795961e-12, - -2.064576e-12, 5.446171e-12, 1.667663e-17, 1.959592e-18) - BAND08_SUN_Y_NUM_COEF = (-9.274356e-05, 8.801476e-07, -7.789895e-07, 2.081737e-14, -4.051904e-08, - 4.756046e-12, 1.828278e-12, 3.942665e-12, 4.065098e-18, 5.512629e-18) - BAND08_SUN_Y_DEN_COEF = ( 2.581588e-06, 1.788470e-07, -9.322486e-11, 2.718213e-07, -6.376344e-13, - -2.838957e-12, 6.844208e-12, 2.017432e-17, 2.181118e-18) - BAND08_SUN_Z_NUM_COEF = ( 2.595786e-05, 1.996748e-06, 9.080859e-07, 6.402610e-15, 4.254089e-08, - -7.241200e-12, 6.447918e-12, 3.321714e-12, -5.023676e-18, 1.502521e-17) - BAND08_SUN_Z_DEN_COEF = (-3.185992e-06, 4.779092e-06, -6.654164e-11, 5.919624e-08, 5.945227e-12, - -6.864638e-12, 6.712585e-12, -3.141784e-18, 1.235238e-18) - BAND08_DIR00_MEAN_HEIGHT = 4000.000 - BAND08_DIR00_MEAN_L1R_LINE_SAMP = (5999.500, 6599.008) - BAND08_DIR00_MEAN_L1T_LINE_SAMP = (7091.806, 8102.442) - BAND08_DIR00_LINE_NUM_COEF = ( 5.811540e-01, 9.726360e-01, -1.653372e-01, -2.589039e-04, 8.450384e-10) - BAND08_DIR00_LINE_DEN_COEF = ( 8.333129e-08, 1.557010e-07, -7.914146e-12, -6.206837e-13) - BAND08_DIR00_SAMP_NUM_COEF = ( 5.536719e+00, 2.115705e-01, 9.471836e-01, -4.793217e-05, -6.796254e-07) - BAND08_DIR00_SAMP_DEN_COEF = (-7.277172e-07, -4.989989e-08, -1.576456e-06, 3.146639e-11) - BAND08_DIR01_MEAN_HEIGHT = 4000.000 - BAND08_DIR01_MEAN_L1R_LINE_SAMP = (5999.500, 6599.008) - BAND08_DIR01_MEAN_L1T_LINE_SAMP = (7091.424, 8093.916) - BAND08_DIR01_LINE_NUM_COEF = ( 1.619536e+00, 9.726373e-01, -1.653374e-01, -2.589042e-04, 8.449453e-10) - BAND08_DIR01_LINE_DEN_COEF = ( 8.333670e-08, 1.557013e-07, -7.914148e-12, -6.206845e-13) - BAND08_DIR01_SAMP_NUM_COEF = (-2.620238e+00, 2.115761e-01, 9.471832e-01, -4.793208e-05, -6.796303e-07) - BAND08_DIR01_SAMP_DEN_COEF = (-7.279905e-07, -4.991496e-08, -1.576455e-06, 3.146637e-11) -END_GROUP = RPC_BAND08 -END diff --git a/tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml b/tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml new file mode 100644 index 0000000..5ce5328 --- /dev/null +++ b/tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml @@ -0,0 +1,167 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + LM02_L1GS_001004_19750411_20200908_02_T2 + L1GS + 02 + T2 + GEOTIFF + LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt + LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml + UINT8 + UINT8 + UINT8 + UINT8 + UINT16 + UINT16 + Y + Y + Y + Y + + + LANDSAT_2 + MSS + 1 + 001 + 004 + 1975-04-11 + 13:29:55.0020000Z + AAA + 100.00 + 100.00 + -1 + Y + Y + Y + Y + -171.02675344 + 20.56808495 + 1.0021998 + + + UTM + WGS84 + WGS84 + 28 + 60.00 + 4389 + 4431 + NORTH_UP + 78.65710 + -19.61283 + 78.59839 + -7.52091 + 76.30423 + -18.83079 + 76.25585 + -8.78210 + 398820.000 + 8735700.000 + 664620.000 + 8735700.000 + 398820.000 + 8472420.000 + 664620.000 + 8472420.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + L2 + LM20010041975101AAA02 + LM02_L1GS_001004_19750411_20200908_02_T2 + L1GS + T2 + GEOTIFF + 2020-09-08T09:52:38Z + LPGS_15.3.1c + LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF + LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt + LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml + LM02CPF_19750101_19820228_02.01 + PREDICTIVE + + + 261.200 + -8.000 + 161.000 + 4.800 + 140.200 + 4.600 + 119.900 + 3.600 + + + 0.459163 + -0.014063 + 0.337110 + 0.010050 + 0.350270 + 0.011492 + 0.437686 + 0.013142 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 1.0598E+00 + 6.1496E-01 + 5.3386E-01 + 4.5787E-01 + -9.05984 + 4.18504 + 4.06614 + 3.14213 + 1.8631E-03 + 1.2876E-03 + 1.3338E-03 + 1.6714E-03 + -0.015926 + 0.008763 + 0.010159 + 0.011470 + + + UTM + WGS84 + WGS84 + 28 + 60.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + MSSR_L0RP + CPF + CPF + CPF + CPF + L + L + L + L + + diff --git a/tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_stac.json b/tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_stac.json new file mode 100644 index 0000000..6b9a6af --- /dev/null +++ b/tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_stac.json @@ -0,0 +1,328 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LM02_L1GS_001004_19750411_20200908_02_T2", + "description": "Landsat Collection 2 Level-1 Product", + "bbox": [ + -19.140055319321764, + 76.34196436390833, + -8.232224487808505, + 78.68339571471495 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -13.431308791460562, + 78.68339571471495 + ], + [ + -19.140055319321764, + 77.48870472546122 + ], + [ + -13.887579355330915, + 76.34196436390833 + ], + [ + -8.232224487808505, + 77.42956153413976 + ], + [ + -13.431308791460562, + 78.68339571471495 + ] + ] + ] + }, + "properties": { + "datetime": "1975-04-11T13:29:55.002000Z", + "eo:cloud_cover": 100.0, + "view:sun_azimuth": -171.02675344, + "view:sun_elevation": 20.56808495, + "platform": "LANDSAT_2", + "instruments": [ + "MSS" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 100.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "004", + "landsat:scene_id": "LM20010041975101AAA02", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:correction": "L1GS", + "proj:epsg": 32628, + "proj:shape": [ + 4389, + 4431 + ], + "proj:transform": [ + 60.0, + 0.0, + 398790.0, + 0.0, + -60.0, + 8735730.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_small.jpeg" + } + }, + "file:checksum": "13407b09a132217221326c48ce1ffe057494f2dc984fd4745213ac3733b758b5b87cd7a9028d2159a4bfc90739cd7fe131841650e3ec2ebd4519d818f08fa1b09e8e" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_large.jpeg" + } + }, + "file:checksum": "13401b28b26606e2341d3b98247415b8bed342019cb5cb07189a000ac4b29dfed712cf597ffef488916e8ba374224037204e6b9824fab3e685dae7a995778ce0a4b8" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2" + }, + "green": { + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "gsd": 60, + "center_wavelength": 0.55 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF" + } + }, + "file:checksum": "13403733e54f3e993fc46d138dd0c83f6f17264e0f3c5a422f318e1b17712e536432c269b0857aa6f1bff6415aeab9c61a85a2b8a09945b10b0cb321dcac23213f24" + }, + "red": { + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "gsd": 60, + "center_wavelength": 0.65 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF" + } + }, + "file:checksum": "13406184acc36c890fbe958e1a3408c94d3173cf54e0f8170731f4fe50ce655d71ecf3c0adb800963e918f1268d5bf5c903c2ef908b67f85a81e6b04f61ce5866bc4" + }, + "nir08": { + "title": "Near Infrared Band 0.7 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "gsd": 60, + "center_wavelength": 0.75 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF" + } + }, + "file:checksum": "1340d5d2adbb25502764063f69256c84ede8651367dffeedf3f6469fdcc735fcbcb99b103000e2d6f0d1cd6c237f7fa0921b992cc06b8d70e3cd603e6e324591846c" + }, + "nir09": { + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "gsd": 60, + "center_wavelength": 0.95 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF" + } + }, + "file:checksum": "1340a6bcdf76573c6fc09c3fe406ac62cf4d0249cac8b96c5345aade3fa2ee9bb9422f54b9b2c67bfae0947c72b960295471b7710c6d229033e0a12b05c839e7fabd" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt" + } + }, + "file:checksum": "13405b0b7ccda3378e1243af0a33c91fed7b01bd6581a0ef49464dbb49977c6f9c35d2df4ed2b62a584cd19ecc74219b3163532db0e1e78463ba3bd4116fc6eb51b5" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml" + } + }, + "file:checksum": "1340e6e778929f4941d72436f46ba55f20ae40d40b724778633f9cc37f60fccb967d66ba96d31b50361f55bec1a418e08b75700fa54ee96e4efc41b90958d33aab6a" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.json" + } + }, + "file:checksum": "134031aa376349a42c3c07547b39a40909651e5c7cc1856fe2b124c8a187699ffd45d7793c59fc879fe9f556504032c02f3eeaefda9ebd0f16e1b7c497f6a484cc89" + }, + "qa_pixel": { + "title": "Quality Assessment Band", + "description": "Collection 2 Level-1 Quality Assessment Band (QA_PIXEL) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF" + } + }, + "file:checksum": "13401df25cec0bb58be6685f72d366a33da0edcc1f69e8decca0e0b8b42c9fb8a76b5c77c875c6a62a64249a324de8f133db3e14cbb5e40bdbab244208f53ecc336f" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Radiometric Saturation Quality Assessment Band Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF" + } + }, + "file:checksum": "13401272578f2d65d24f6a4bef19f2c9b00e63db8b97d7d29b0e4b807ab73001aca3dfab2441ddf85f774364043cc57c42d456534c74e4500ab05a3d852392c9b398" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l1.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2/LM02_L1GS_001004_19750411_20200908_02_T2_stac.json" + } + ], + "collection": "landsat-c2l1" +} \ No newline at end of file diff --git a/tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml b/tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml new file mode 100644 index 0000000..3a14f30 --- /dev/null +++ b/tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml @@ -0,0 +1,167 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + LM03_L1GS_001001_19780510_20200907_02_T2 + L1GS + 02 + T2 + GEOTIFF + LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt + LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml + UINT8 + UINT8 + UINT8 + UINT8 + UINT16 + UINT16 + Y + Y + Y + Y + + + LANDSAT_3 + MSS + 1 + 001 + 001 + 1978-05-10 + 13:28:09.0030000Z + XXX + 58.00 + 85.00 + -1 + Y + Y + Y + Y + -150.00380628 + 26.41213243 + 1.0098700 + + + UTM + WGS84 + WGS84 + 31 + 60.00 + 4183 + 4219 + NORTH_UP + 81.05605 + -1.94693 + 80.96469 + 12.58604 + 78.81466 + -0.96314 + 78.74180 + 10.69854 + 414240.000 + 9003120.000 + 667320.000 + 9003120.000 + 414240.000 + 8752200.000 + 667320.000 + 8752200.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + L2 + LM30010011978130XXX00 + LM03_L1GS_001001_19780510_20200907_02_T2 + L1GS + T2 + GEOTIFF + 2020-09-07T00:30:58Z + LPGS_15.3.1c + LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF + LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt + LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml + LM03CPF_19780424_19830331_02.01 + PREDICTIVE + + + 269.600 + -5.400 + 186.000 + 1.700 + 162.600 + 3.200 + 129.700 + 0.700 + + + 0.486634 + -0.009747 + 0.395178 + 0.003612 + 0.412475 + 0.008118 + 0.478246 + 0.002581 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 1.0827E+00 + 7.2559E-01 + 6.2756E-01 + 5.0787E-01 + -6.48268 + 0.97441 + 2.57244 + 0.19213 + 1.9543E-03 + 1.5416E-03 + 1.5920E-03 + 1.8727E-03 + -0.011701 + 0.002070 + 0.006526 + 0.000708 + + + UTM + WGS84 + WGS84 + 31 + 60.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + MSSR_L0RP + CPF + CPF + CPF + CPF + L + L + L + L + + diff --git a/tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_stac.json b/tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_stac.json new file mode 100644 index 0000000..b4a01ab --- /dev/null +++ b/tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_stac.json @@ -0,0 +1,328 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LM03_L1GS_001001_19780510_20200907_02_T2", + "description": "Landsat Collection 2 Level-1 Product", + "bbox": [ + -1.4963885861793036, + 78.85095986958085, + 11.239331339979085, + 81.05336502723549 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 7.738555980320523, + 81.05336502723549 + ], + [ + -1.4963885861793036, + 80.29244773524437 + ], + [ + 2.9935143118359253, + 78.85095986958085 + ], + [ + 11.239331339979085, + 79.50784182403861 + ], + [ + 7.738555980320523, + 81.05336502723549 + ] + ] + ] + }, + "properties": { + "datetime": "1978-05-10T13:28:09.003000Z", + "eo:cloud_cover": 58.0, + "view:sun_azimuth": -150.00380628, + "view:sun_elevation": 26.41213243, + "platform": "LANDSAT_3", + "instruments": [ + "MSS" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 85.0, + "landsat:wrs_type": "1", + "landsat:wrs_path": "001", + "landsat:wrs_row": "001", + "landsat:scene_id": "LM30010011978130XXX00", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:correction": "L1GS", + "proj:epsg": 32631, + "proj:shape": [ + 4183, + 4219 + ], + "proj:transform": [ + 60.0, + 0.0, + 414210.0, + 0.0, + -60.0, + 9003150.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_small.jpeg" + } + }, + "file:checksum": "13404d13a8ba511259d53281c3d110fedbcb7beb6a016285ae3e36eb216ea5059f68be8b6819f55305136ebdc1316f73f4dfbf838f5a1f7ae9a08f17ec7085d078a6" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_large.jpeg" + } + }, + "file:checksum": "1340aeea2d27f8463d408709c89dbe8ed833ddb8fd330feaccab1727d14283c1aaa415d7a67c3cd4f016f5439494629387149524fecef8c2de3243a2bfaa90359e1b" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2" + }, + "green": { + "title": "Green Band (B4)", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "gsd": 60, + "center_wavelength": 0.55 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF" + } + }, + "file:checksum": "1340003cb38317cc04c02cf8b240533ce891be42605765e658bfa900a3e002079583228b51daa95cab69b52d2c0ba09cbe9a0ccd2ff2313461bce8b6dc23a4ab2fb7" + }, + "red": { + "title": "Red Band (B5)", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B5", + "common_name": "red", + "gsd": 60, + "center_wavelength": 0.65 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF" + } + }, + "file:checksum": "134034f64a8d5ac535ce8ec9d49f61ac18b9d13192011f1e45a075db049d26a60a6de48b9fe56cf5cef27784c5716a371e21b7546d5f9f4034f5e30a85f6b756c880" + }, + "nir08": { + "title": "Near Infrared Band 0.7 (B6)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B6", + "common_name": "nir08", + "gsd": 60, + "center_wavelength": 0.75 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF" + } + }, + "file:checksum": "1340596b966085b3c5ca55cf26c54f8de5e5d4ab003abfd25b1840fb77567bce008217b936c8b268cfd1169446c77516c003b9868c8652320481ee38ddc98996c58c" + }, + "nir09": { + "title": "Near Infrared Band 0.9 (B7)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B7", + "common_name": "nir09", + "gsd": 60, + "center_wavelength": 0.95 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF" + } + }, + "file:checksum": "13408ea12432cd8ff267541dc8a3866d4026c7b146b0847f083609d055a4776aad275331cfbfee99cfbf24cccb1118cc3ddfb92e575e083aa7d6d290eecfd82a318b" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt" + } + }, + "file:checksum": "13405a1ca2b63208f6de2a05e7070f5790595b54b77a079954bc22a4c443db1f5a231bb5f7684b4f2d44c8696430f95821d97dc154171b37970da88284dccd8b3949" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml" + } + }, + "file:checksum": "134038b5c4bcd35f44e6cc921302961020310f14d37c1c1361a762794084bc161cf35bded26f9f15f47251fb574fc8d2febf1a3e248c22c55c0d905002220c9670a8" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.json" + } + }, + "file:checksum": "134015867af6bfabc718d836c5d2b31186195556734e8c4e52759d93b1fc220024fac408a4e844d2a8dd19ce0cde4df2e9227c15b0bf7752bfe5191f665237641eb1" + }, + "qa_pixel": { + "title": "Quality Assessment Band", + "description": "Collection 2 Level-1 Quality Assessment Band (QA_PIXEL) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF" + } + }, + "file:checksum": "13401f18755ae422aa49223f085a51a9d86d24d0df83dd072f2e275a27e6540812e3fef917ebeb3f2e8c9c03dd1934d9c4c6f6db87b6e5676bee0161dd03deea5b23" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Radiometric Saturation Quality Assessment Band Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF" + } + }, + "file:checksum": "13402568410dc916e62b96eeb2b06cf8af7d791dcf64fe803a02011327a318445c61c22feaf110de60fdc715648fab61e6a7d7850478cfa7d91c82b583f3a6096798" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l1.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2/LM03_L1GS_001001_19780510_20200907_02_T2_stac.json" + } + ], + "collection": "landsat-c2l1" +} \ No newline at end of file diff --git a/tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml b/tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml new file mode 100644 index 0000000..cac20b6 --- /dev/null +++ b/tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml @@ -0,0 +1,167 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + LM05_L1GS_001001_19850524_20210918_02_T2 + L1GS + 02 + T2 + GEOTIFF + LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt + LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml + UINT8 + UINT8 + UINT8 + UINT8 + UINT16 + UINT16 + Y + Y + Y + Y + + + LANDSAT_5 + MSS + 2 + 001 + 001 + 1985-05-24 + 13:37:18.0470020Z + KIS + 29.00 + 0.00 + -1 + Y + Y + Y + Y + -149.52662637 + 28.86981221 + 1.0128054 + + + UTM + WGS84 + WGS84 + 31 + 60.00 + 4308 + 4371 + NORTH_UP + 81.86947 + -4.87210 + 81.85104 + 11.77100 + 79.57132 + -3.14336 + 79.55701 + 9.84894 + 376080.000 + 9098700.000 + 638280.000 + 9098700.000 + 376080.000 + 8840280.000 + 638280.000 + 8840280.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9AF14YV + P50112lct1lw8_00001 + LM50010011985144KIS00 + LM05_L1GS_001001_19850524_20210918_02_T2 + L1GS + T2 + GEOTIFF + 2021-09-18T21:37:35Z + LPGS_15.5.0 + LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF + LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt + LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml + LM05CPF_19841109_19940428_02.01 + PREDICTIVE + + + 227.200 + 2.400 + 170.400 + 2.700 + 146.800 + 4.900 + 120.000 + 1.500 + + + 0.414122 + 0.004375 + 0.359375 + 0.005694 + 0.385552 + 0.012869 + 0.466982 + 0.005837 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 8.8504E-01 + 6.6024E-01 + 5.5866E-01 + 4.6654E-01 + 1.51496 + 2.03976 + 4.34134 + 1.03346 + 1.6132E-03 + 1.3924E-03 + 1.4673E-03 + 1.8155E-03 + 0.002761 + 0.004302 + 0.011402 + 0.004022 + + + UTM + WGS84 + WGS84 + 31 + 60.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + MSSR_L0RP + CPF + CPF + CPF + CPF + L + L + L + L + + diff --git a/tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_stac.json b/tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_stac.json new file mode 100644 index 0000000..d5f52b7 --- /dev/null +++ b/tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_stac.json @@ -0,0 +1,316 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LM05_L1GS_001001_19850524_20210918_02_T2", + "description": "Landsat Collection 2 Level-1 Product", + "bbox": [ + -4.104968434171051, + 79.63467870117542, + 10.405023757516942, + 81.92799324430756 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 6.144441810162687, + 81.92799324430756 + ], + [ + -4.104968434171051, + 81.06240793489489 + ], + [ + 1.2647277251274112, + 79.63467870117542 + ], + [ + 10.405023757516942, + 80.37275978464552 + ], + [ + 6.144441810162687, + 81.92799324430756 + ] + ] + ] + }, + "properties": { + "datetime": "1985-05-24T13:37:18.047002Z", + "eo:cloud_cover": 29.0, + "view:sun_azimuth": -149.52662637, + "view:sun_elevation": 28.86981221, + "platform": "LANDSAT_5", + "instruments": [ + "MSS" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 0.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "001", + "landsat:wrs_row": "001", + "landsat:scene_id": "LM50010011985144KIS00", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:correction": "L1GS", + "proj:epsg": 32631, + "proj:shape": [ + 4308, + 4371 + ], + "proj:transform": [ + 60.0, + 0.0, + 376050.0, + 0.0, + -60.0, + 9098730.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_small.jpeg" + } + } + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_large.jpeg" + } + } + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2" + }, + "green": { + "title": "Green Band (B1)", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B1", + "common_name": "green", + "gsd": 60, + "center_wavelength": 0.55 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF" + } + } + }, + "red": { + "title": "Red Band (B2)", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B2", + "common_name": "red", + "gsd": 60, + "center_wavelength": 0.65 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF" + } + } + }, + "nir08": { + "title": "Near Infrared Band 0.7 (B3)", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B3", + "common_name": "nir08", + "gsd": 60, + "center_wavelength": 0.75 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF" + } + } + }, + "nir09": { + "title": "Near Infrared Band 0.9 (B4)", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "nir09", + "gsd": 60, + "center_wavelength": 0.95 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF" + } + } + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt" + } + } + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml" + } + } + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.json" + } + } + }, + "qa_pixel": { + "title": "Quality Assessment Band", + "description": "Collection 2 Level-1 Quality Assessment Band (QA_PIXEL) Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF" + } + } + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Radiometric Saturation Quality Assessment Band Top of Atmosphere Radiance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF" + } + } + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l1.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2/LM05_L1GS_001001_19850524_20210918_02_T2_stac.json" + } + ], + "collection": "landsat-c2l1" +} \ No newline at end of file diff --git a/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml new file mode 100644 index 0000000..85279ee --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml @@ -0,0 +1,356 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9OGBGM6 + LC08_L2SP_047027_20201204_20210313_02_T1 + L2SP + 02 + T1 + GEOTIFF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_B10.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF + LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt + LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt + LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + UINT8 + INT16 + UINT16 + UINT16 + + + LANDSAT_8 + OLI_TIRS + 2 + 47 + 27 + NADIR + 47 + 27 + 2020-12-04 + 19:02:11.1944860Z + LGN + 1.55 + 1.90 + 9 + 9 + N + N + N + N + N + Y + Y + N + N + -0.001 + 164.91405951 + 18.80722985 + 0.9854607 + UPPER + FINAL + ESTIMATED + + + UTM + WGS84 + WGS84 + 10 + 30.00 + 30.00 + 7971 + 7861 + 7971 + 7861 + NORTH_UP + 48.50387 + -124.98066 + 48.51453 + -121.78809 + 46.35366 + -124.90156 + 46.36356 + -121.83650 + 353700.000 + 5374200.000 + 589500.000 + 5374200.000 + 353700.000 + 5135100.000 + 589500.000 + 5135100.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9OGBGM6 + P700p3y2un5a2_00004 + LC08_L2SP_047027_20201204_20210313_02_T1 + L2SP + GEOTIFF + 2021-03-13T05:55:12Z + LPGS_15.4.0 + LaSRC_1.5.0 + MODIS + Calculated + MODIS + MODIS + st_1.3.0 + GEOS-5 FP-IT + + + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + + + 372.999941 + 149.003418 + 65535 + 1 + 0.00341802 + 149.0 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P975CC9B + P700p3y2un5a2_00004 + LC80470272020339LGN00 + LC08_L1TP_047027_20201204_20210313_02_T1 + L1TP + T1 + GEOTIFF + 2021-03-13T05:35:53Z + LPGS_15.4.0 + LC08_L1TP_047027_20201204_20210313_02_T1_B1.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B2.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B3.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B4.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B5.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B6.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B7.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B8.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B9.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B10.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_B11.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_ANG.txt + LC08_L1TP_047027_20201204_20210313_02_T1_VAA.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_VZA.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_SAA.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_SZA.TIF + LC08_L1TP_047027_20201204_20210313_02_T1_MTL.txt + LC08_L1TP_047027_20201204_20210313_02_T1_MTL.xml + LC08CPF_20201129_20201211_02.06 + LO8BPF20201204185710_20201204203603.01 + LT8BPF20201130223616_20201216101155.02 + LC08RLUT_20150303_20431231_02_01.h5 + TIRS + GLS2000 + 5 + 839 + 9.026 + 7.842 + 4.471 + 546 + 18.481 + + + 782.65582 + -64.63197 + 801.44910 + -66.18393 + 738.52850 + -60.98792 + 622.76880 + -51.42845 + 381.10345 + -31.47165 + 94.77696 + -7.82671 + 31.94491 + -2.63802 + 704.80292 + -58.20285 + 148.94388 + -12.29983 + 22.00180 + 0.10033 + 22.00180 + 0.10033 + + + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + + + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + + + 1.2929E-02 + 1.3239E-02 + 1.2200E-02 + 1.0288E-02 + 6.2956E-03 + 1.5657E-03 + 5.2771E-04 + 1.1643E-02 + 2.4605E-03 + 3.3420E-04 + 3.3420E-04 + -64.64490 + -66.19717 + -61.00012 + -51.43874 + -31.47794 + -7.82828 + -2.63855 + -58.21450 + -12.30229 + 0.10000 + 0.10000 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + + + 774.8853 + 1321.0789 + 480.8883 + 1201.1442 + + + UTM + WGS84 + WGS84 + 10 + 15.00 + 30.00 + 30.00 + NORTH_UP + CUBIC_CONVOLUTION + + diff --git a/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_stac.json b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_stac.json new file mode 100644 index 0000000..85a9af8 --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_stac.json @@ -0,0 +1,244 @@ +{ + "stac_version": "1.0.0-beta.2", + "stac_extensions": [ + "eo", + "https://landsat.usgs.gov/stac/landsat-extension/schema.json" + ], + "id": "LC08_L2SP_047027_20201204_20210313_02_T1", + "type": "Feature", + "bbox": [ + -124.89627102658746, + 46.376775468741904, + -121.83965465293758, + 48.508330109565485 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -124.27384594041735, + 48.508330109565485 + ], + [ + -121.83965465293758, + 48.078217267779486 + ], + [ + -122.53780648794415, + 46.376775468741904 + ], + [ + -124.89627102658746, + 46.80206928347854 + ], + [ + -124.27384594041735, + 48.508330109565485 + ] + ] + ] + }, + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "properties": { + "datetime": "2020-12-04T19:02:11.194486Z", + "eo:cloud_cover": 1.55, + "eo:sun_azimuth": 164.91405951, + "eo:sun_elevation": 18.80722985, + "eo:platform": "LANDSAT_8", + "eo:instrument": "OLI_TIRS", + "eo:off_nadir": 0, + "landsat:cloud_cover_land": 1.9, + "landsat:wrs_type": "2", + "landsat:wrs_path": "047", + "landsat:wrs_row": "027", + "landsat:scene_id": "LC80470272020339LGN00", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "gsd": 30, + "center_wavelength": 0.44 + }, + { + "name": "SR_B2", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.48 + }, + { + "name": "SR_B3", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56 + }, + { + "name": "SR_B4", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.65 + }, + { + "name": "SR_B5", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.86 + }, + { + "name": "SR_B6", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.6 + }, + { + "name": "SR_B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.2 + } + ] + }, + "assets": { + "thumbnail": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_small.jpeg", + "title": "Thumbnail image", + "type": "image/jpeg" + }, + "reduced_resolution_browse": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_large.jpeg", + "title": "Reduced resolution browse image", + "type": "image/jpeg" + }, + "index": { + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1", + "title": "HTML index page", + "type": "text/html" + }, + "SR_B1.TIF": { + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 0 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF" + }, + "SR_B2.TIF": { + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 1 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF" + }, + "SR_B3.TIF": { + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 2 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF" + }, + "SR_B4.TIF": { + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 3 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF" + }, + "SR_B5.TIF": { + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 4 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF" + }, + "SR_B6.TIF": { + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 5 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF" + }, + "SR_B7.TIF": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 6 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF" + }, + "SR_QA_AEROSOL.TIF": { + "title": "Aerosol Quality Analysis Band", + "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG) Surface Reflectance", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL) Surface Reflectance", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml) Surface Reflectance", + "type": "application/xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json) Surface Reflectance", + "type": "application/json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.json" + }, + "QA_PIXEL.TIF": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF" + }, + "QA_RADSAT.TIF": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-sr.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_SR_stac.json" + } + ], + "collection": "landsat-c2l2-sr" +} \ No newline at end of file diff --git a/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_stac.json b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_stac.json new file mode 100644 index 0000000..3848593 --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_stac.json @@ -0,0 +1,193 @@ +{ + "stac_version": "1.0.0-beta.2", + "stac_extensions": [ + "eo", + "https://landsat.usgs.gov/stac/landsat-extension/schema.json" + ], + "id": "LC08_L2SP_047027_20201204_20210313_02_T1", + "type": "Feature", + "bbox": [ + -124.89627102658746, + 46.376775468741904, + -121.83965465293758, + 48.508330109565485 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -124.27384594041735, + 48.508330109565485 + ], + [ + -121.83965465293758, + 48.078217267779486 + ], + [ + -122.53780648794415, + 46.376775468741904 + ], + [ + -124.89627102658746, + 46.80206928347854 + ], + [ + -124.27384594041735, + 48.508330109565485 + ] + ] + ] + }, + "description": "Landsat Collection 2 Level-2 Surface Temperature Product", + "properties": { + "datetime": "2020-12-04T19:02:11.194486Z", + "eo:cloud_cover": 1.55, + "eo:sun_azimuth": 164.91405951, + "eo:sun_elevation": 18.80722985, + "eo:platform": "LANDSAT_8", + "eo:instrument": "OLI_TIRS", + "eo:off_nadir": 0, + "landsat:cloud_cover_land": 1.9, + "landsat:wrs_type": "2", + "landsat:wrs_path": "047", + "landsat:wrs_row": "027", + "landsat:scene_id": "LC80470272020339LGN00", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "eo:bands": [ + { + "name": "ST_B10", + "common_name": "tir11", + "gsd": 30, + "center_wavelength": 10.9 + } + ] + }, + "assets": { + "thumbnail": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_small.jpeg", + "title": "Thumbnail image", + "type": "image/jpeg" + }, + "reduced_resolution_browse": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_large.jpeg", + "title": "Reduced resolution browse image", + "type": "image/jpeg" + }, + "index": { + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1", + "title": "HTML index page", + "type": "text/html" + }, + "ST_B10.TIF": { + "title": "Surface Temperature Band (B10)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_B10.TIF" + }, + "ST_ATRAN.TIF": { + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF" + }, + "ST_CDIST.TIF": { + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF" + }, + "ST_DRAD.TIF": { + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF" + }, + "ST_URAD.TIF": { + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF" + }, + "ST_TRAD.TIF": { + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF" + }, + "ST_EMIS.TIF": { + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF" + }, + "ST_EMSD.TIF": { + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF" + }, + "ST_QA.TIF": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG) Surface Temperature", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-1 Product Metadata File (MTL) Surface Temperature", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml) Surface Temperature", + "type": "application/xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json) Surface Temperature", + "type": "application/json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.json" + }, + "QA_PIXEL.TIF": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF" + }, + "QA_RADSAT.TIF": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-st.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1/LC08_L2SP_047027_20201204_20210313_02_T1_ST_stac.json" + } + ], + "collection": "landsat-c2l2-st" +} \ No newline at end of file diff --git a/tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml b/tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml new file mode 100644 index 0000000..0c51a5e --- /dev/null +++ b/tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml @@ -0,0 +1,352 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9OGBGM6 + LC09_L2SP_010065_20220129_20220131_02_T1 + L2SP + 02 + T1 + GEOTIFF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_B10.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_QA_PIXEL.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_QA_RADSAT.TIF + LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt + LC09_L2SP_010065_20220129_20220131_02_T1_MTL.txt + LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + UINT8 + INT16 + UINT16 + UINT16 + + + LANDSAT_9 + OLI_TIRS + 2 + 10 + 65 + NADIR + 10 + 65 + 2022-01-29 + 15:28:34.3964289Z + LGN + 21.12 + 23.54 + 9 + 9 + N + N + N + N + N + Y + Y + N + N + -0.001 + 112.20059080 + 57.84396063 + 0.9849984 + + + UTM + WGS84 + WGS84 + 17 + 30.00 + 30.00 + 7741 + 7611 + 7741 + 7611 + NORTH_UP + -6.18540 + -81.07231 + -6.18168 + -79.00911 + -8.28585 + -81.07265 + -8.28085 + -78.99989 + 492000.000 + -683700.000 + 720300.000 + -683700.000 + 492000.000 + -915900.000 + 720300.000 + -915900.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9OGBGM6 + P7018sain93wo_00013 + LC09_L2SP_010065_20220129_20220131_02_T1 + L2SP + GEOTIFF + 2022-01-31T05:45:26Z + LPGS_15.6.0 + LaSRC_1.5.0 + MODIS + Calculated + MODIS + MODIS + st_1.3.0 + GEOS-5 FP-IT + + + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + + + 372.999941 + 149.003418 + 65535 + 1 + 0.00341802 + 149.0 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P975CC9B + P7018pe9oq2qk_00013 + LC90100652022029LGN00 + LC09_L1TP_010065_20220129_20220129_02_T1 + L1TP + T1 + GEOTIFF + 2022-01-29T19:00:10Z + LPGS_15.6.0 + LC09_L1TP_010065_20220129_20220129_02_T1_B1.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B2.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B3.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B4.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B5.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B6.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B7.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B8.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B9.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B10.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_B11.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_QA_PIXEL.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_QA_RADSAT.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_ANG.txt + LC09_L1TP_010065_20220129_20220129_02_T1_VAA.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_VZA.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_SAA.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_SZA.TIF + LC09_L1TP_010065_20220129_20220129_02_T1_MTL.txt + LC09_L1TP_010065_20220129_20220129_02_T1_MTL.xml + LC09CPF_20220101_20220331_02.03 + LO9BPF20220129150937_20220129164631.01 + LT9BPF20220129150446_20220129164139.01 + LC09RLUT_20210927_20531231_02_07.h5 + GLS2000 + 5 + 147 + 7.646 + 6.224 + 4.441 + 42 + 7.091 + + + 782.40094 + -64.61092 + 803.58759 + -66.36053 + 738.39124 + -60.97659 + 625.84460 + -51.68245 + 383.96490 + -31.70795 + 95.92091 + -7.92118 + 32.38846 + -2.67465 + 708.43524 + -58.50281 + 159.28333 + -13.15367 + 25.00330 + 0.10038 + 22.97172 + 0.10035 + + + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + + + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + + + 1.2925E-02 + 1.3275E-02 + 1.2198E-02 + 1.0339E-02 + 6.3429E-03 + 1.5846E-03 + 5.3504E-04 + 1.1703E-02 + 2.6313E-03 + 3.8000E-04 + 3.4900E-04 + -64.62385 + -66.37380 + -60.98879 + -51.69279 + -31.71429 + -7.92276 + -2.67518 + -58.51451 + -13.15630 + 0.10000 + 0.10000 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + + + 799.0284 + 1329.2405 + 475.6581 + 1198.3494 + + + UTM + WGS84 + WGS84 + 17 + 15.00 + 30.00 + 30.00 + NORTH_UP + CUBIC_CONVOLUTION + + diff --git a/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt b/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt deleted file mode 100644 index e56c384..0000000 --- a/tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt +++ /dev/null @@ -1,475 +0,0 @@ -GROUP = FILE_HEADER - LANDSAT_SCENE_ID = "LT40020261983010XXX03" - SPACECRAFT_ID = "L4_TM" - WRS_PATH = 2 - WRS_ROW = 26 - MODE = "SLC_ON" - FIRST_SCAN_DIRECTION = "R" - NUMBER_OF_BANDS = 7 - BAND_LIST = (1, 2, 3, 4, 5, 6, 7) -END_GROUP = FILE_HEADER -GROUP = PROJECTION - ELLIPSOID_AXES = (6378137.000000, 6356752.314200) - MAP_PROJECTION = "UTM" - PROJECTION_UNITS = "METERS" - DATUM = "WGS84" - ELLIPSOID = "WGS84" - UTM_ZONE = 22 - PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, - 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, - 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) - UL_CORNER = ( 210300.000, 5525400.000) - UR_CORNER = ( 453900.000, 5525400.000) - LL_CORNER = ( 210300.000, 5302500.000) - LR_CORNER = ( 453900.000, 5302500.000) -END_GROUP = PROJECTION -GROUP = EPHEMERIS - EPHEMERIS_EPOCH_YEAR = 1983 - EPHEMERIS_EPOCH_DAY = 010 - EPHEMERIS_EPOCH_SECONDS = 49920.000000 - NUMBER_OF_POINTS = 29 - EPHEMERIS_TIME = (49920.000000, 49921.000000, 49922.000000, 49923.000000, 49924.000000, - 49925.000000, 49926.000000, 49927.000000, 49928.000000, 49929.000000, - 49930.000000, 49931.000000, 49932.000000, 49933.000000, 49934.000000, - 49935.000000, 49936.000000, 49937.000000, 49938.000000, 49939.000000, - 49940.000000, 49941.000000, 49942.000000, 49943.000000, 49944.000000, - 49945.000000, 49946.000000, 49947.000000, 49948.000000) - EPHEMERIS_ECEF_X = ( 2768353.399289, 2770120.717659, 2771884.120318, 2773643.605947, 2775399.173226, - 2777150.820836, 2778898.547458, 2780642.351772, 2782382.232460, 2784118.188201, - 2785850.217678, 2787578.319570, 2789302.492558, 2791022.735323, 2792739.046545, - 2794451.424906, 2796159.869086, 2797864.377767, 2799564.949627, 2801261.583349, - 2802954.277613, 2804643.031100, 2806327.842491, 2808008.710466, 2809685.633706, - 2811358.610891, 2813027.640703, 2814692.721823, 2816353.852930) - EPHEMERIS_ECEF_Y = (-3666584.494331, -3672231.182595, -3677874.028902, -3683513.026416, -3689148.168304, - -3694779.447734, -3700406.857871, -3706030.391882, -3711650.042933, -3717265.804192, - -3722877.668823, -3728485.629995, -3734089.680873, -3739689.814624, -3745286.024414, - -3750878.303411, -3756466.644779, -3762051.041687, -3767631.487300, -3773207.974785, - -3778780.497308, -3784349.048036, -3789913.620136, -3795474.206773, -3801030.801115, - -3806583.396327, -3812131.985577, -3817676.562031, -3823217.118855) - EPHEMERIS_ECEF_Z = ( 5381101.455635, 5376352.257936, 5371597.006594, 5366835.707124, 5362068.365039, - 5357294.985851, 5352515.575075, 5347730.138222, 5342938.680807, 5338141.208343, - 5333337.726342, 5328528.240318, 5323712.755785, 5318891.278255, 5314063.813241, - 5309230.366257, 5304390.942816, 5299545.548432, 5294694.188616, 5289836.868883, - 5284973.594746, 5280104.371718, 5275229.205312, 5270348.101041, 5265461.064419, - 5260568.100958, 5255669.216172, 5250764.415575, 5245853.704679) -END_GROUP = EPHEMERIS -GROUP = SOLAR_VECTOR - SOLAR_EPOCH_YEAR = 1983 - SOLAR_EPOCH_DAY = 010 - SOLAR_EPOCH_SECONDS = 49920.000000 - EARTH_SUN_DISTANCE = 0.98340708 - NUMBER_OF_POINTS = 29 - SAMPLE_TIME = (49920.000000, 49921.000000, 49922.000000, 49923.000000, 49924.000000, - 49925.000000, 49926.000000, 49927.000000, 49928.000000, 49929.000000, - 49930.000000, 49931.000000, 49932.000000, 49933.000000, 49934.000000, - 49935.000000, 49936.000000, 49937.000000, 49938.000000, 49939.000000, - 49940.000000, 49941.000000, 49942.000000, 49943.000000, 49944.000000, - 49945.000000, 49946.000000, 49947.000000, 49948.000000) - SOLAR_ECEF_X = ( 8.32377771e-01, 8.32348071e-01, 8.32318368e-01, 8.32288660e-01, 8.32258947e-01, - 8.32229230e-01, 8.32199509e-01, 8.32169782e-01, 8.32140052e-01, 8.32110318e-01, - 8.32080579e-01, 8.32050836e-01, 8.32021088e-01, 8.31991336e-01, 8.31961578e-01, - 8.31931818e-01, 8.31902052e-01, 8.31872283e-01, 8.31842509e-01, 8.31812730e-01, - 8.31782947e-01, 8.31753160e-01, 8.31723367e-01, 8.31693571e-01, 8.31663771e-01, - 8.31633966e-01, 8.31604157e-01, 8.31574343e-01, 8.31544525e-01) - SOLAR_ECEF_Y = (-4.08619109e-01, -4.08679627e-01, -4.08740144e-01, -4.08800658e-01, -4.08861170e-01, - -4.08921680e-01, -4.08982188e-01, -4.09042696e-01, -4.09103199e-01, -4.09163700e-01, - -4.09224199e-01, -4.09284696e-01, -4.09345191e-01, -4.09405684e-01, -4.09466177e-01, - -4.09526665e-01, -4.09587151e-01, -4.09647635e-01, -4.09708117e-01, -4.09768597e-01, - -4.09829074e-01, -4.09889549e-01, -4.09950025e-01, -4.10010496e-01, -4.10070965e-01, - -4.10131432e-01, -4.10191896e-01, -4.10252358e-01, -4.10312819e-01) - SOLAR_ECEF_Z = (-3.74403086e-01, -3.74403059e-01, -3.74403031e-01, -3.74403004e-01, -3.74402976e-01, - -3.74402949e-01, -3.74402921e-01, -3.74402893e-01, -3.74402866e-01, -3.74402838e-01, - -3.74402811e-01, -3.74402783e-01, -3.74402756e-01, -3.74402728e-01, -3.74402701e-01, - -3.74402673e-01, -3.74402645e-01, -3.74402618e-01, -3.74402590e-01, -3.74402563e-01, - -3.74402535e-01, -3.74402508e-01, -3.74402480e-01, -3.74402453e-01, -3.74402425e-01, - -3.74402397e-01, -3.74402370e-01, -3.74402342e-01, -3.74402315e-01) -END_GROUP = SOLAR_VECTOR -GROUP = SCAN_TIME_POLY - SCAN_TIME_POLY_NCOEFF = 4 - SCAN_TIME_POLY_NUMBER_DIRECTIONS = 2 - SCAN_TIME00_MEAN_ACTIVESCAN = 6.073437755e-02 - SCAN_TIME00_MEAN_EOL = 6.320000000e+03 - SCAN_TIME00_POLY_COEFF = (4.992086764e+04, 4.458263754e-03, 7.552542757e-13, 4.172863267e-18) - SCAN_TIME01_MEAN_ACTIVESCAN = 6.073437755e-02 - SCAN_TIME01_MEAN_EOL = 6.320000000e+03 - SCAN_TIME01_POLY_COEFF = (4.992086763e+04, 4.458261088e-03, 1.719017150e-12, -1.109586398e-16) -END_GROUP = SCAN_TIME_POLY -GROUP = RPC_BAND01 - BAND01_LINES_PER_SCAN = 16 - BAND01_NUMBER_OF_DIRECTIONS = 2 - BAND01_NUM_L1T_LINES = 7431 - BAND01_NUM_L1T_SAMPS = 8121 - BAND01_NUM_L1R_LINES = 5983 - BAND01_NUM_L1R_SAMPS = 6599 - BAND01_PIXEL_SIZE = 30.000 - BAND01_START_TIME = 49920.903312 - BAND01_LINE_TIME = 0.071142 - BAND01_MEAN_HEIGHT = 4000.000 - BAND01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND01_MEAN_L1T_LINE_SAMP = (3716.048, 4068.093) - BAND01_MEAN_SAT_VECTOR = (-0.000907498, -0.002302858, 0.995828756) - BAND01_SAT_X_NUM_COEF = (-1.698074e-04, -1.559187e-06, -4.722417e-05, -1.266390e-09, -1.231008e-05, - -7.807520e-12, 2.045399e-11, 5.043985e-11, 6.511103e-16, 5.758269e-17) - BAND01_SAT_X_DEN_COEF = ( 4.926596e-06, -1.240247e-06, -1.407527e-06, -5.149174e-06, 7.077743e-11, - 5.510453e-10, 9.393390e-10, 5.402279e-16, -2.355945e-17) - BAND01_SAT_Y_NUM_COEF = (-9.262141e-04, 4.706907e-05, -1.476193e-06, -3.247196e-09, -4.615544e-05, - 1.067050e-11, 1.010021e-10, 2.335486e-10, -2.740670e-15, -3.496395e-17) - BAND01_SAT_Y_DEN_COEF = ( 2.008772e-05, -5.243709e-06, -1.392831e-06, -1.909587e-05, -1.658724e-10, - 8.658482e-10, 9.151881e-10, 8.736889e-15, -1.425718e-15) - BAND01_SAT_Z_NUM_COEF = ( 4.165440e-03, 1.278928e-07, -5.038398e-08, -1.181284e-08, -1.392130e-07, - -9.264213e-11, -6.145931e-10, -1.019298e-09, -4.147117e-16, -1.501283e-19) - BAND01_SAT_Z_DEN_COEF = (-9.479127e-06, 2.300937e-06, -2.830651e-06, 9.825321e-06, 1.223569e-10, - 8.043549e-10, 1.343802e-09, 2.461800e-16, -7.952140e-18) - BAND01_MEAN_SUN_VECTOR = ( 0.422079165, -0.867970369, 0.261258438) - BAND01_SUN_X_NUM_COEF = ( 3.954194e-05, -1.773963e-07, -5.888948e-06, 6.708513e-14, -2.667985e-07, - -4.310912e-12, -4.429962e-11, -4.081659e-12, 6.854360e-18, -6.031654e-18) - BAND01_SUN_X_DEN_COEF = ( 1.286182e-05, -1.328997e-06, -1.391510e-10, -3.628575e-09, 2.734456e-11, - -8.329471e-12, 2.353800e-11, -7.827486e-17, -1.020957e-16) - BAND01_SUN_Y_NUM_COEF = (-1.027797e-04, 1.160427e-06, -2.304271e-06, 1.075846e-13, -1.026091e-07, - 1.802348e-11, 8.058020e-12, 1.832234e-11, 5.194463e-17, 6.167350e-17) - BAND01_SUN_Y_DEN_COEF = ( 6.185884e-06, -2.075735e-08, -1.926861e-10, 5.125636e-07, 2.819414e-12, - -1.098173e-11, 3.400309e-11, 2.900034e-16, 4.962115e-17) - BAND01_SUN_Z_NUM_COEF = ( 1.691095e-05, 4.145366e-06, 1.858251e-06, -1.254898e-15, 8.989047e-08, - -8.224328e-12, 1.975317e-12, -1.621122e-13, 3.876949e-17, 3.800196e-17) - BAND01_SUN_Z_DEN_COEF = (-1.372045e-06, 1.240278e-06, -2.421149e-11, 2.308789e-08, 1.335844e-11, - -4.501211e-12, 1.003947e-11, -1.160646e-18, 6.131589e-18) - BAND01_DIR00_MEAN_HEIGHT = 4000.000 - BAND01_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND01_DIR00_MEAN_L1T_LINE_SAMP = (3708.119, 4069.891) - BAND01_DIR00_LINE_NUM_COEF = (-8.048180e+00, 9.563915e-01, -2.426998e-01, -1.111768e-04, 1.071684e-07) - BAND01_DIR00_LINE_DEN_COEF = ( 5.304045e-08, 2.249523e-07, 4.063090e-11, -3.866711e-12) - BAND01_DIR00_SAMP_NUM_COEF = (-2.242116e+00, 2.883248e-01, 9.546254e-01, 8.218937e-06, -5.964696e-07) - BAND01_DIR00_SAMP_DEN_COEF = (-6.168159e-07, -1.571737e-07, -1.573996e-06, 1.814874e-10) - BAND01_DIR01_MEAN_HEIGHT = 4000.000 - BAND01_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND01_DIR01_MEAN_L1T_LINE_SAMP = (3723.977, 4066.295) - BAND01_DIR01_LINE_NUM_COEF = ( 7.990905e+00, 9.563910e-01, -2.426981e-01, -1.111768e-04, 1.071684e-07) - BAND01_DIR01_LINE_DEN_COEF = ( 5.305438e-08, 2.248909e-07, 4.063090e-11, -3.866711e-12) - BAND01_DIR01_SAMP_NUM_COEF = (-1.101921e+00, 2.883296e-01, 9.546248e-01, 8.219526e-06, -5.961055e-07) - BAND01_DIR01_SAMP_DEN_COEF = (-6.171190e-07, -1.542942e-07, -1.574011e-06, 1.814891e-10) -END_GROUP = RPC_BAND01 -GROUP = RPC_BAND02 - BAND02_LINES_PER_SCAN = 16 - BAND02_NUMBER_OF_DIRECTIONS = 2 - BAND02_NUM_L1T_LINES = 7431 - BAND02_NUM_L1T_SAMPS = 8121 - BAND02_NUM_L1R_LINES = 5983 - BAND02_NUM_L1R_SAMPS = 6599 - BAND02_PIXEL_SIZE = 30.000 - BAND02_START_TIME = 0.000000 - BAND02_LINE_TIME = 0.000000 - BAND02_MEAN_HEIGHT = 4000.000 - BAND02_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND02_MEAN_L1T_LINE_SAMP = (3716.033, 4068.070) - BAND02_MEAN_SAT_VECTOR = (-0.000906376, -0.002303520, 0.995828672) - BAND02_SAT_X_NUM_COEF = (-1.698017e-04, -1.562911e-06, -4.722323e-05, -1.264344e-09, -1.230619e-05, - -7.806049e-12, 2.046042e-11, 5.044375e-11, 6.216232e-16, 5.757865e-17) - BAND02_SAT_X_DEN_COEF = ( 4.924558e-06, -1.239931e-06, -1.407526e-06, -5.147178e-06, 7.136347e-11, - 5.507485e-10, 9.393774e-10, 5.409578e-16, -2.376385e-17) - BAND02_SAT_Y_NUM_COEF = (-9.262368e-04, 4.706924e-05, -1.476249e-06, -3.248028e-09, -4.615562e-05, - 1.067381e-11, 1.010149e-10, 2.335680e-10, -2.753057e-15, -3.495684e-17) - BAND02_SAT_Y_DEN_COEF = ( 2.013900e-05, -5.254665e-06, -1.392838e-06, -1.914872e-05, -1.669971e-10, - 8.663859e-10, 9.150650e-10, 8.767531e-15, -1.431982e-15) - BAND02_SAT_Z_NUM_COEF = ( 4.165522e-03, 1.273683e-07, -5.019042e-08, -1.181301e-08, -1.386469e-07, - -9.264208e-11, -6.145930e-10, -1.019298e-09, -4.147174e-16, -1.505546e-19) - BAND02_SAT_Z_DEN_COEF = (-9.663985e-06, 2.347763e-06, -2.830629e-06, 1.001858e-05, 1.223658e-10, - 8.043744e-10, 1.343792e-09, 2.451954e-16, -8.065553e-18) - BAND02_MEAN_SUN_VECTOR = ( 0.422079305, -0.867970330, 0.261258331) - BAND02_SUN_X_NUM_COEF = ( 3.954223e-05, -1.773932e-07, -5.888949e-06, 6.669046e-14, -2.668027e-07, - -4.309041e-12, -4.427324e-11, -4.066275e-12, 6.846096e-18, -6.025185e-18) - BAND02_SUN_X_DEN_COEF = ( 1.285609e-05, -1.331285e-06, -1.389914e-10, -2.161475e-09, 2.732396e-11, - -8.335361e-12, 2.354342e-11, -7.818269e-17, -1.020534e-16) - BAND02_SUN_Y_NUM_COEF = (-1.027814e-04, 1.160422e-06, -2.304271e-06, 1.080844e-13, -1.026052e-07, - 1.802421e-11, 8.055311e-12, 1.832477e-11, 5.193640e-17, 6.168967e-17) - BAND02_SUN_Y_DEN_COEF = ( 6.185532e-06, -2.155887e-08, -1.925568e-10, 5.136570e-07, 2.823483e-12, - -1.099360e-11, 3.399502e-11, 2.899357e-16, 4.959947e-17) - BAND02_SUN_Z_NUM_COEF = ( 1.691115e-05, 4.145350e-06, 1.858255e-06, 6.480628e-16, 8.990832e-08, - -8.213556e-12, 1.955710e-12, -1.726513e-13, 3.876636e-17, 3.793628e-17) - BAND02_SUN_Z_DEN_COEF = (-1.368340e-06, 1.234244e-06, -2.435070e-11, 2.187568e-08, 1.334610e-11, - -4.489212e-12, 1.003241e-11, -1.163508e-18, 6.128755e-18) - BAND02_DIR00_MEAN_HEIGHT = 4000.000 - BAND02_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND02_DIR00_MEAN_L1T_LINE_SAMP = (3708.103, 4069.865) - BAND02_DIR00_LINE_NUM_COEF = (-8.048576e+00, 9.563914e-01, -2.426999e-01, -1.112743e-04, 1.076035e-07) - BAND02_DIR00_LINE_DEN_COEF = ( 5.303110e-08, 2.253466e-07, 4.061404e-11, -3.867037e-12) - BAND02_DIR00_SAMP_NUM_COEF = (-2.236687e+00, 2.883233e-01, 9.546191e-01, 8.164520e-06, -5.965084e-07) - BAND02_DIR00_SAMP_DEN_COEF = (-6.161047e-07, -1.546029e-07, -1.573996e-06, 1.815991e-10) - BAND02_DIR01_MEAN_HEIGHT = 4000.000 - BAND02_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND02_DIR01_MEAN_L1T_LINE_SAMP = (3723.962, 4066.274) - BAND02_DIR01_LINE_NUM_COEF = ( 7.990417e+00, 9.563910e-01, -2.426982e-01, -1.112743e-04, 1.076035e-07) - BAND02_DIR01_LINE_DEN_COEF = ( 5.304501e-08, 2.252852e-07, 4.061404e-11, -3.867037e-12) - BAND02_DIR01_SAMP_NUM_COEF = (-1.091896e+00, 2.883281e-01, 9.546185e-01, 8.165109e-06, -5.961439e-07) - BAND02_DIR01_SAMP_DEN_COEF = (-6.164070e-07, -1.517214e-07, -1.574010e-06, 1.816008e-10) -END_GROUP = RPC_BAND02 -GROUP = RPC_BAND03 - BAND03_LINES_PER_SCAN = 16 - BAND03_NUMBER_OF_DIRECTIONS = 2 - BAND03_NUM_L1T_LINES = 7431 - BAND03_NUM_L1T_SAMPS = 8121 - BAND03_NUM_L1R_LINES = 5983 - BAND03_NUM_L1R_SAMPS = 6599 - BAND03_PIXEL_SIZE = 30.000 - BAND03_START_TIME = 0.000000 - BAND03_LINE_TIME = 0.000000 - BAND03_MEAN_HEIGHT = 4000.000 - BAND03_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND03_MEAN_L1T_LINE_SAMP = (3716.066, 4068.037) - BAND03_MEAN_SAT_VECTOR = (-0.000904899, -0.002301899, 0.995828599) - BAND03_SAT_X_NUM_COEF = (-1.697956e-04, -1.565996e-06, -4.722244e-05, -1.261880e-09, -1.230296e-05, - -7.804750e-12, 2.046600e-11, 5.044709e-11, 5.945856e-16, 5.757513e-17) - BAND03_SAT_X_DEN_COEF = ( 4.924122e-06, -1.240007e-06, -1.407526e-06, -5.146845e-06, 7.190078e-11, - 5.504762e-10, 9.394126e-10, 5.416325e-16, -2.394881e-17) - BAND03_SAT_Y_NUM_COEF = (-9.262498e-04, 4.707019e-05, -1.476507e-06, -3.245731e-09, -4.615661e-05, - 1.067679e-11, 1.010271e-10, 2.335868e-10, -2.763899e-15, -3.495044e-17) - BAND03_SAT_Y_DEN_COEF = ( 2.020258e-05, -5.268560e-06, -1.392846e-06, -1.921442e-05, -1.679829e-10, - 8.668510e-10, 9.149479e-10, 8.794501e-15, -1.437462e-15) - BAND03_SAT_Z_NUM_COEF = ( 4.165603e-03, 1.267308e-07, -4.997519e-08, -1.181315e-08, -1.379648e-07, - -9.264203e-11, -6.145929e-10, -1.019298e-09, -4.147231e-16, -1.509850e-19) - BAND03_SAT_Z_DEN_COEF = (-9.858696e-06, 2.397101e-06, -2.830607e-06, 1.022215e-05, 1.223754e-10, - 8.043948e-10, 1.343782e-09, 2.442230e-16, -8.212276e-18) - BAND03_MEAN_SUN_VECTOR = ( 0.422079490, -0.867970216, 0.261258408) - BAND03_SUN_X_NUM_COEF = ( 3.954250e-05, -1.773944e-07, -5.888948e-06, 6.672569e-14, -2.668025e-07, - -4.308132e-12, -4.426005e-11, -4.054237e-12, 6.831425e-18, -6.019710e-18) - BAND03_SUN_X_DEN_COEF = ( 1.285271e-05, -1.333033e-06, -1.388504e-10, -8.386125e-10, 2.731578e-11, - -8.343155e-12, 2.354772e-11, -7.814157e-17, -1.020254e-16) - BAND03_SUN_Y_NUM_COEF = (-1.027831e-04, 1.160426e-06, -2.304273e-06, 1.076807e-13, -1.026088e-07, - 1.802496e-11, 8.052590e-12, 1.832719e-11, 5.192963e-17, 6.170472e-17) - BAND03_SUN_Y_DEN_COEF = ( 6.182368e-06, -2.164724e-08, -1.920980e-10, 5.176935e-07, 2.827104e-12, - -1.100482e-11, 3.398671e-11, 2.898549e-16, 4.957252e-17) - BAND03_SUN_Z_NUM_COEF = ( 1.691135e-05, 4.145363e-06, 1.858252e-06, -9.716040e-16, 8.989360e-08, - -8.228549e-12, 1.956058e-12, -1.696757e-13, 3.877374e-17, 3.797366e-17) - BAND03_SUN_Z_DEN_COEF = (-1.372283e-06, 1.235965e-06, -2.430115e-11, 2.229341e-08, 1.335217e-11, - -4.496156e-12, 1.003449e-11, -1.197971e-18, 6.145775e-18) - BAND03_DIR00_MEAN_HEIGHT = 4000.000 - BAND03_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND03_DIR00_MEAN_L1T_LINE_SAMP = (3708.136, 4069.831) - BAND03_DIR00_LINE_NUM_COEF = (-8.048807e+00, 9.563914e-01, -2.427000e-01, -1.112961e-04, 1.078543e-07) - BAND03_DIR00_LINE_DEN_COEF = ( 5.302540e-08, 2.255745e-07, 4.060422e-11, -3.867450e-12) - BAND03_DIR00_SAMP_NUM_COEF = (-2.231536e+00, 2.883218e-01, 9.546131e-01, 8.118770e-06, -5.965529e-07) - BAND03_DIR00_SAMP_DEN_COEF = (-6.154075e-07, -1.520647e-07, -1.573995e-06, 1.816919e-10) - BAND03_DIR01_MEAN_HEIGHT = 4000.000 - BAND03_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND03_DIR01_MEAN_L1T_LINE_SAMP = (3723.996, 4066.244) - BAND03_DIR01_LINE_NUM_COEF = ( 7.990104e+00, 9.563910e-01, -2.426983e-01, -1.112961e-04, 1.078542e-07) - BAND03_DIR01_LINE_DEN_COEF = ( 5.303930e-08, 2.255131e-07, 4.060422e-11, -3.867450e-12) - BAND03_DIR01_SAMP_NUM_COEF = (-1.082004e+00, 2.883266e-01, 9.546124e-01, 8.119359e-06, -5.961879e-07) - BAND03_DIR01_SAMP_DEN_COEF = (-6.157089e-07, -1.491815e-07, -1.574010e-06, 1.816936e-10) -END_GROUP = RPC_BAND03 -GROUP = RPC_BAND04 - BAND04_LINES_PER_SCAN = 16 - BAND04_NUMBER_OF_DIRECTIONS = 2 - BAND04_NUM_L1T_LINES = 7431 - BAND04_NUM_L1T_SAMPS = 8121 - BAND04_NUM_L1R_LINES = 5983 - BAND04_NUM_L1R_SAMPS = 6599 - BAND04_PIXEL_SIZE = 30.000 - BAND04_START_TIME = 0.000000 - BAND04_LINE_TIME = 0.000000 - BAND04_MEAN_HEIGHT = 4000.000 - BAND04_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND04_MEAN_L1T_LINE_SAMP = (3716.041, 4068.003) - BAND04_MEAN_SAT_VECTOR = (-0.000903259, -0.002302980, 0.995828519) - BAND04_SAT_X_NUM_COEF = (-1.697832e-04, -1.568305e-06, -4.722186e-05, -1.259265e-09, -1.230055e-05, - -7.803373e-12, 2.047253e-11, 5.045225e-11, 5.696395e-16, 5.757216e-17) - BAND04_SAT_X_DEN_COEF = ( 4.917409e-06, -1.238569e-06, -1.407524e-06, -5.139968e-06, 7.239689e-11, - 5.502255e-10, 9.394447e-10, 5.422298e-16, -2.412100e-17) - BAND04_SAT_Y_NUM_COEF = (-9.262742e-04, 4.707014e-05, -1.476513e-06, -3.247128e-09, -4.615656e-05, - 1.068007e-11, 1.010398e-10, 2.336059e-10, -2.776137e-15, -3.494396e-17) - BAND04_SAT_Y_DEN_COEF = ( 2.027037e-05, -5.283800e-06, -1.392855e-06, -1.928456e-05, -1.690951e-10, - 8.673818e-10, 9.148294e-10, 8.824845e-15, -1.443633e-15) - BAND04_SAT_Z_NUM_COEF = ( 4.165681e-03, 1.261746e-07, -4.974436e-08, -1.181331e-08, -1.373569e-07, - -9.264197e-11, -6.145927e-10, -1.019297e-09, -4.147289e-16, -1.515451e-19) - BAND04_SAT_Z_DEN_COEF = (-1.007245e-05, 2.451221e-06, -2.830582e-06, 1.044562e-05, 1.223858e-10, - 8.044166e-10, 1.343770e-09, 2.431627e-16, -8.400459e-18) - BAND04_MEAN_SUN_VECTOR = ( 0.422079696, -0.867970164, 0.261258243) - BAND04_SUN_X_NUM_COEF = ( 3.954279e-05, -1.773931e-07, -5.888948e-06, 6.650947e-14, -2.668052e-07, - -4.305593e-12, -4.422460e-11, -4.038083e-12, 6.828424e-18, -6.012700e-18) - BAND04_SUN_X_DEN_COEF = ( 1.284426e-05, -1.335157e-06, -1.385587e-10, 1.853153e-09, 2.728640e-11, - -8.346126e-12, 2.355329e-11, -7.801752e-17, -1.019738e-16) - BAND04_SUN_Y_NUM_COEF = (-1.027848e-04, 1.160445e-06, -2.304280e-06, 1.053431e-13, -1.026306e-07, - 1.802572e-11, 8.049761e-12, 1.832970e-11, 5.192246e-17, 6.172078e-17) - BAND04_SUN_Y_DEN_COEF = ( 6.180895e-06, -2.219335e-08, -1.918354e-10, 5.199951e-07, 2.831002e-12, - -1.101667e-11, 3.397822e-11, 2.897699e-16, 4.954095e-17) - BAND04_SUN_Z_NUM_COEF = ( 1.691152e-05, 4.145340e-06, 1.858258e-06, 1.736020e-15, 8.991816e-08, - -8.234157e-12, 1.941346e-12, -1.750052e-13, 3.878001e-17, 3.796048e-17) - BAND04_SUN_Z_DEN_COEF = (-1.374932e-06, 1.233398e-06, -2.414878e-11, 2.367726e-08, 1.334910e-11, - -4.493511e-12, 1.003091e-11, -1.225712e-18, 6.152346e-18) - BAND04_DIR00_MEAN_HEIGHT = 4000.000 - BAND04_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND04_DIR00_MEAN_L1T_LINE_SAMP = (3708.111, 4069.794) - BAND04_DIR00_LINE_NUM_COEF = (-8.049260e+00, 9.563914e-01, -2.427001e-01, -1.114032e-04, 1.083525e-07) - BAND04_DIR00_LINE_DEN_COEF = ( 5.301458e-08, 2.260252e-07, 4.058506e-11, -3.868131e-12) - BAND04_DIR00_SAMP_NUM_COEF = (-2.226820e+00, 2.883203e-01, 9.546073e-01, 8.044779e-06, -5.965916e-07) - BAND04_DIR00_SAMP_DEN_COEF = (-6.147281e-07, -1.496021e-07, -1.573995e-06, 1.817673e-10) - BAND04_DIR01_MEAN_HEIGHT = 4000.000 - BAND04_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND04_DIR01_MEAN_L1T_LINE_SAMP = (3723.972, 4066.212) - BAND04_DIR01_LINE_NUM_COEF = ( 7.989579e+00, 9.563909e-01, -2.426984e-01, -1.114032e-04, 1.083524e-07) - BAND04_DIR01_LINE_DEN_COEF = ( 5.302846e-08, 2.259638e-07, 4.058506e-11, -3.868131e-12) - BAND04_DIR01_SAMP_NUM_COEF = (-1.072404e+00, 2.883251e-01, 9.546066e-01, 8.045368e-06, -5.962263e-07) - BAND04_DIR01_SAMP_DEN_COEF = (-6.150286e-07, -1.467175e-07, -1.574010e-06, 1.817690e-10) -END_GROUP = RPC_BAND04 -GROUP = RPC_BAND05 - BAND05_LINES_PER_SCAN = 16 - BAND05_NUMBER_OF_DIRECTIONS = 2 - BAND05_NUM_L1T_LINES = 7431 - BAND05_NUM_L1T_SAMPS = 8121 - BAND05_NUM_L1R_LINES = 5983 - BAND05_NUM_L1R_SAMPS = 6599 - BAND05_PIXEL_SIZE = 30.000 - BAND05_START_TIME = 0.000000 - BAND05_LINE_TIME = 0.000000 - BAND05_MEAN_HEIGHT = 4000.000 - BAND05_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND05_MEAN_L1T_LINE_SAMP = (3715.752, 4067.554) - BAND05_MEAN_SAT_VECTOR = (-0.000881885, -0.002315876, 0.995828289) - BAND05_SAT_X_NUM_COEF = (-1.695434e-04, -1.571488e-06, -4.722114e-05, -1.228526e-09, -1.229723e-05, - -7.796269e-12, 2.051268e-11, 5.050128e-11, 5.031876e-16, 5.756667e-17) - BAND05_SAT_X_DEN_COEF = ( 4.881601e-06, -1.232294e-06, -1.407519e-06, -5.103543e-06, 7.371940e-11, - 5.495590e-10, 9.395273e-10, 5.437371e-16, -2.457190e-17) - BAND05_SAT_Y_NUM_COEF = (-9.264118e-04, 4.707141e-05, -1.477077e-06, -3.265067e-09, -4.615793e-05, - 1.068975e-11, 1.010768e-10, 2.336568e-10, -2.810979e-15, -3.492981e-17) - BAND05_SAT_Y_DEN_COEF = ( 2.052738e-05, -5.345695e-06, -1.392890e-06, -1.955164e-05, -1.722701e-10, - 8.689025e-10, 9.145336e-10, 8.911943e-15, -1.461204e-15) - BAND05_SAT_Z_NUM_COEF = ( 4.165891e-03, 1.249106e-07, -4.826517e-08, -1.181373e-08, -1.356960e-07, - -9.264164e-11, -6.145923e-10, -1.019297e-09, -4.147458e-16, -1.543321e-19) - BAND05_SAT_Z_DEN_COEF = (-1.076804e-05, 2.626182e-06, -2.830502e-06, 1.117248e-05, 1.224198e-10, - 8.044849e-10, 1.343726e-09, 2.399678e-16, -9.589325e-18) - BAND05_MEAN_SUN_VECTOR = ( 0.422082389, -0.867969461, 0.261256209) - BAND05_SUN_X_NUM_COEF = ( 3.954392e-05, -1.773930e-07, -5.888950e-06, 6.549226e-14, -2.668206e-07, - -4.301414e-12, -4.416447e-11, -4.000461e-12, 6.840965e-18, -6.004758e-18) - BAND05_SUN_X_DEN_COEF = ( 1.282969e-05, -1.340452e-06, -1.380076e-10, 6.800882e-09, 2.723484e-11, - -8.359491e-12, 2.356617e-11, -7.781058e-17, -1.019118e-16) - BAND05_SUN_Y_NUM_COEF = (-1.027893e-04, 1.160453e-06, -2.304308e-06, 1.031318e-13, -1.026571e-07, - 1.802807e-11, 8.041219e-12, 1.833716e-11, 5.189820e-17, 6.177406e-17) - BAND05_SUN_Y_DEN_COEF = ( 6.177495e-06, -2.405642e-08, -1.911634e-10, 5.259062e-07, 2.845621e-12, - -1.105212e-11, 3.395326e-11, 2.895077e-16, 4.945860e-17) - BAND05_SUN_Z_NUM_COEF = ( 1.691188e-05, 4.145238e-06, 1.858286e-06, 1.375943e-14, 9.002716e-08, - -8.210247e-12, 1.928403e-12, -1.851170e-13, 3.878947e-17, 3.790063e-17) - BAND05_SUN_Z_DEN_COEF = (-1.368622e-06, 1.227708e-06, -2.422555e-11, 2.298367e-08, 1.334061e-11, - -4.481199e-12, 1.002454e-11, -1.242376e-18, 6.176881e-18) - BAND05_DIR00_MEAN_HEIGHT = 4000.000 - BAND05_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND05_DIR00_MEAN_L1T_LINE_SAMP = (3707.819, 4069.338) - BAND05_DIR00_LINE_NUM_COEF = (-8.051102e+00, 9.563913e-01, -2.427005e-01, -1.119026e-04, 1.103909e-07) - BAND05_DIR00_LINE_DEN_COEF = ( 5.297308e-08, 2.278698e-07, 4.050755e-11, -3.868614e-12) - BAND05_DIR00_SAMP_NUM_COEF = (-2.218028e+00, 2.883161e-01, 9.545921e-01, 7.212824e-06, -5.966816e-07) - BAND05_DIR00_SAMP_DEN_COEF = (-6.130797e-07, -1.435773e-07, -1.573995e-06, 1.818959e-10) - BAND05_DIR01_MEAN_HEIGHT = 4000.000 - BAND05_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND05_DIR01_MEAN_L1T_LINE_SAMP = (3723.684, 4065.771) - BAND05_DIR01_LINE_NUM_COEF = ( 7.987605e+00, 9.563909e-01, -2.426988e-01, -1.119026e-04, 1.103908e-07) - BAND05_DIR01_LINE_DEN_COEF = ( 5.298690e-08, 2.278084e-07, 4.050755e-11, -3.868614e-12) - BAND05_DIR01_SAMP_NUM_COEF = (-1.048933e+00, 2.883209e-01, 9.545915e-01, 7.213406e-06, -5.963157e-07) - BAND05_DIR01_SAMP_DEN_COEF = (-6.133774e-07, -1.406900e-07, -1.574009e-06, 1.818976e-10) -END_GROUP = RPC_BAND05 -GROUP = RPC_BAND06 - BAND06_LINES_PER_SCAN = 4 - BAND06_NUMBER_OF_DIRECTIONS = 2 - BAND06_NUM_L1T_LINES = 7431 - BAND06_NUM_L1T_SAMPS = 8121 - BAND06_NUM_L1R_LINES = 1495 - BAND06_NUM_L1R_SAMPS = 1649 - BAND06_PIXEL_SIZE = 30.000 - BAND06_START_TIME = 0.000000 - BAND06_LINE_TIME = 0.000000 - BAND06_MEAN_HEIGHT = 4000.000 - BAND06_MEAN_L1R_LINE_SAMP = ( 747.500, 824.015) - BAND06_MEAN_L1T_LINE_SAMP = (3715.245, 4066.453) - BAND06_MEAN_SAT_VECTOR = (-0.000811097, -0.002268639, 0.995828723) - BAND06_SAT_X_NUM_COEF = (-1.688702e-04, -1.505962e-06, -4.723760e-05, -1.136113e-09, -4.946289e-05, - -7.683469e-12, 2.094274e-11, 5.045718e-11, -2.029697e-13, 3.676086e-15) - BAND06_SAT_X_DEN_COEF = ( 4.978304e-06, -1.262603e-06, -1.407495e-06, -2.086571e-05, 1.467503e-10, - 5.125110e-10, 9.443087e-10, 4.028220e-14, -2.949994e-15) - BAND06_SAT_Y_NUM_COEF = (-9.262983e-04, 4.747344e-05, -1.579831e-06, -3.245029e-09, -1.863138e-04, - 1.104778e-11, 1.010087e-10, 2.334844e-10, -4.285532e-13, -2.071668e-15) - BAND06_SAT_Y_DEN_COEF = ( 3.555296e-05, -9.173671e-06, -1.394866e-06, -1.409627e-04, -5.252558e-10, - 1.045091e-09, 8.922109e-10, 1.173211e-12, -2.214881e-13) - BAND06_SAT_Z_NUM_COEF = ( 4.165682e-03, 1.042960e-07, -4.014469e-08, -1.181033e-08, -4.531810e-07, - -9.263980e-11, -6.145899e-10, -1.019299e-09, -2.654953e-14, -1.134656e-17) - BAND06_SAT_Z_DEN_COEF = (-1.580205e-05, 3.899831e-06, -2.829919e-06, 6.573970e-05, 1.226844e-10, - 8.049833e-10, 1.343435e-09, 1.402558e-14, -9.093144e-16) - BAND06_MEAN_SUN_VECTOR = ( 0.422089364, -0.867967362, 0.261251929) - BAND06_SUN_X_NUM_COEF = ( 3.954331e-05, -1.744403e-07, -5.889697e-06, -2.810383e-13, -1.079778e-06, - -4.292873e-12, -4.403924e-11, -3.911952e-12, -1.847364e-16, -2.440929e-16) - BAND06_SUN_X_DEN_COEF = ( 1.263615e-05, -1.311776e-06, -1.101195e-10, 7.512802e-07, 2.868297e-11, - -9.167952e-12, 2.368302e-11, -5.076426e-15, -5.893249e-15) - BAND06_SUN_Y_NUM_COEF = (-1.027850e-04, 1.162291e-06, -2.304836e-06, -1.145855e-13, -4.184669e-07, - 1.801780e-11, 8.050393e-12, 1.836397e-11, 3.218633e-15, 4.002206e-15) - BAND06_SUN_Y_DEN_COEF = ( 5.992817e-06, 8.602543e-09, -1.681956e-10, 2.836255e-06, 3.175964e-12, - -1.161297e-11, 3.389334e-11, 1.860807e-14, 3.326012e-15) - BAND06_SUN_Z_NUM_COEF = ( 1.691103e-05, 4.144660e-06, 1.858441e-06, 8.136762e-14, 3.625371e-07, - -8.216356e-12, 1.908014e-12, -1.928248e-13, 2.472605e-15, 2.411182e-15) - BAND06_SUN_Z_DEN_COEF = (-1.393886e-06, 1.229527e-06, -2.156614e-11, 1.915071e-07, 1.328471e-11, - -4.447968e-12, 1.001462e-11, -8.991911e-17, 4.004093e-16) - BAND06_DIR00_MEAN_HEIGHT = 4000.000 - BAND06_DIR00_MEAN_L1R_LINE_SAMP = ( 747.500, 824.015) - BAND06_DIR00_MEAN_L1T_LINE_SAMP = (3706.879, 4066.524) - BAND06_DIR00_LINE_NUM_COEF = (-2.013174e+00, 2.390979e-01, -6.067525e-02, -2.809538e-05, 2.805101e-08) - BAND06_DIR00_LINE_DEN_COEF = ( 5.294896e-08, 2.295115e-07, 5.098222e-11, -3.879895e-12) - BAND06_DIR00_SAMP_NUM_COEF = (-1.429256e+00, 7.207894e-02, 2.386463e-01, 2.016650e-06, -1.491897e-07) - BAND06_DIR00_SAMP_DEN_COEF = (-6.122222e-07, -1.382699e-07, -1.573993e-06, 1.818070e-10) - BAND06_DIR01_MEAN_HEIGHT = 4000.000 - BAND06_DIR01_MEAN_L1R_LINE_SAMP = ( 747.500, 824.015) - BAND06_DIR01_MEAN_L1T_LINE_SAMP = (3723.612, 4066.382) - BAND06_DIR01_LINE_NUM_COEF = ( 1.996491e+00, 2.390977e-01, -6.067473e-02, -2.809536e-05, 2.805098e-08) - BAND06_DIR01_LINE_DEN_COEF = ( 5.294948e-08, 2.294463e-07, 5.098218e-11, -3.879892e-12) - BAND06_DIR01_SAMP_NUM_COEF = (-2.568876e-01, 7.207970e-02, 2.386462e-01, 2.016800e-06, -1.490932e-07) - BAND06_DIR01_SAMP_DEN_COEF = (-6.118775e-07, -1.352212e-07, -1.574009e-06, 1.818088e-10) -END_GROUP = RPC_BAND06 -GROUP = RPC_BAND07 - BAND07_LINES_PER_SCAN = 16 - BAND07_NUMBER_OF_DIRECTIONS = 2 - BAND07_NUM_L1T_LINES = 7431 - BAND07_NUM_L1T_SAMPS = 8121 - BAND07_NUM_L1R_LINES = 5983 - BAND07_NUM_L1R_SAMPS = 6599 - BAND07_PIXEL_SIZE = 30.000 - BAND07_START_TIME = 0.000000 - BAND07_LINE_TIME = 0.000000 - BAND07_MEAN_HEIGHT = 4000.000 - BAND07_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND07_MEAN_L1T_LINE_SAMP = (3715.754, 4067.577) - BAND07_MEAN_SAT_VECTOR = (-0.000882940, -0.002315808, 0.995828363) - BAND07_SAT_X_NUM_COEF = (-1.695476e-04, -1.571153e-06, -4.722123e-05, -1.230080e-09, -1.229758e-05, - -7.797363e-12, 2.050744e-11, 5.049739e-11, 5.270069e-16, 5.756852e-17) - BAND07_SAT_X_DEN_COEF = ( 4.894267e-06, -1.235326e-06, -1.407521e-06, -5.116672e-06, 7.324523e-11, - 5.497979e-10, 9.394972e-10, 5.431961e-16, -2.441366e-17) - BAND07_SAT_Y_NUM_COEF = (-9.263933e-04, 4.707164e-05, -1.477124e-06, -3.265121e-09, -4.615818e-05, - 1.068660e-11, 1.010642e-10, 2.336370e-10, -2.799289e-15, -3.493559e-17) - BAND07_SAT_Y_DEN_COEF = ( 2.041592e-05, -5.319585e-06, -1.392876e-06, -1.943585e-05, -1.712056e-10, - 8.684009e-10, 9.146492e-10, 8.882763e-15, -1.455366e-15) - BAND07_SAT_Z_NUM_COEF = ( 4.165816e-03, 1.256392e-07, -4.850111e-08, -1.181361e-08, -1.364729e-07, - -9.264170e-11, -6.145925e-10, -1.019297e-09, -4.147395e-16, -1.538082e-19) - BAND07_SAT_Z_DEN_COEF = (-1.050623e-05, 2.559816e-06, -2.830533e-06, 1.089875e-05, 1.224069e-10, - 8.044591e-10, 1.343742e-09, 2.411327e-16, -9.426642e-18) - BAND07_MEAN_SUN_VECTOR = ( 0.422082257, -0.867969511, 0.261256261) - BAND07_SUN_X_NUM_COEF = ( 3.954367e-05, -1.774270e-07, -5.888942e-06, 6.951053e-14, -2.667843e-07, - -4.302215e-12, -4.417609e-11, -4.010763e-12, 6.848886e-18, -6.008522e-18) - BAND07_SUN_X_DEN_COEF = ( 1.283308e-05, -1.339070e-06, -1.381843e-10, 5.203325e-09, 2.724284e-11, - -8.353304e-12, 2.356258e-11, -7.784620e-17, -1.019324e-16) - BAND07_SUN_Y_NUM_COEF = (-1.027877e-04, 1.160461e-06, -2.304309e-06, 1.022665e-13, -1.026643e-07, - 1.802725e-11, 8.044210e-12, 1.833455e-11, 5.190540e-17, 6.175692e-17) - BAND07_SUN_Y_DEN_COEF = ( 6.179000e-06, -2.348598e-08, -1.914354e-10, 5.235182e-07, 2.841295e-12, - -1.103995e-11, 3.396213e-11, 2.895917e-16, 4.948618e-17) - BAND07_SUN_Z_NUM_COEF = ( 1.691170e-05, 4.145274e-06, 1.858277e-06, 9.640093e-15, 8.998952e-08, - -8.217236e-12, 1.948629e-12, -1.750191e-13, 3.879594e-17, 3.796486e-17) - BAND07_SUN_Z_DEN_COEF = (-1.369778e-06, 1.233081e-06, -2.427667e-11, 2.246550e-08, 1.335330e-11, - -4.492734e-12, 1.003150e-11, -1.227743e-18, 6.176195e-18) - BAND07_DIR00_MEAN_HEIGHT = 4000.000 - BAND07_DIR00_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND07_DIR00_MEAN_L1T_LINE_SAMP = (3707.823, 4069.363) - BAND07_DIR00_LINE_NUM_COEF = (-8.050663e+00, 9.563913e-01, -2.427004e-01, -1.118206e-04, 1.099086e-07) - BAND07_DIR00_LINE_DEN_COEF = ( 5.298377e-08, 2.274337e-07, 4.052399e-11, -3.868242e-12) - BAND07_DIR00_SAMP_NUM_COEF = (-2.222331e+00, 2.883176e-01, 9.545974e-01, 7.258799e-06, -5.966560e-07) - BAND07_DIR00_SAMP_DEN_COEF = (-6.137809e-07, -1.460948e-07, -1.573995e-06, 1.818639e-10) - BAND07_DIR01_MEAN_HEIGHT = 4000.000 - BAND07_DIR01_MEAN_L1R_LINE_SAMP = (2991.500, 3299.015) - BAND07_DIR01_MEAN_L1T_LINE_SAMP = (3723.686, 4065.790) - BAND07_DIR01_LINE_NUM_COEF = ( 7.988088e+00, 9.563909e-01, -2.426987e-01, -1.118206e-04, 1.099085e-07) - BAND07_DIR01_LINE_DEN_COEF = ( 5.299761e-08, 2.273723e-07, 4.052399e-11, -3.868242e-12) - BAND07_DIR01_SAMP_NUM_COEF = (-1.058750e+00, 2.883224e-01, 9.545968e-01, 7.259382e-06, -5.962903e-07) - BAND07_DIR01_SAMP_DEN_COEF = (-6.140796e-07, -1.432082e-07, -1.574009e-06, 1.818656e-10) -END_GROUP = RPC_BAND07 -END diff --git a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml b/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml new file mode 100644 index 0000000..c745830 --- /dev/null +++ b/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml @@ -0,0 +1,322 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9IAXOVV + LT05_L2SP_010020_19860219_20200918_02_T1 + L2SP + 02 + T1 + GEOTIFF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_B6.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF + LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt + LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt + LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + INT16 + UINT8 + INT16 + UINT16 + UINT16 + + + LANDSAT_5 + TM + 2 + 010 + 020 + 1986-02-19 + 14:36:57.5930380Z + PAC + 53.00 + 42.00 + 9 + Y + Y + Y + Y + Y + N + Y + 153.18242297 + 18.19826473 + 0.9886499 + SAM + ON + NONE + + + UTM + WGS84 + WGS84 + 20 + 30.00 + 30.00 + 7441 + 8071 + 7441 + 8071 + NORTH_UP + 58.32409 + -63.68973 + 58.27967 + -59.55989 + 56.31922 + -63.65317 + 56.27806 + -59.74186 + 459600.000 + 6465000.000 + 701700.000 + 6465000.000 + 459600.000 + 6241800.000 + 701700.000 + 6241800.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9IAXOVV + L2 + LT05_L2SP_010020_19860219_20200918_02_T1 + L2SP + GEOTIFF + 2020-09-18T07:36:38Z + LPGS_15.3.1c + LEDAPS_3.4.0 + TOMS + NCEP + NCEP + NCEP + st_1.3.0 + MERRA-2 + + + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + + + 372.999941 + 149.003418 + 65535 + 1 + 0.00341802 + 149.0 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P918ROHC + L2 + LT50100201986050PAC04 + LT05_L1TP_010020_19860219_20200918_02_T1 + L1TP + T1 + GEOTIFF + 2020-09-18T07:19:37Z + LPGS_15.3.1c + LT05_L1TP_010020_19860219_20200918_02_T1_B1.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_B2.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_B3.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_B4.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_B5.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_B6.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_B7.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_GCP.txt + LT05_L1TP_010020_19860219_20200918_02_T1_ANG.txt + LT05_L1TP_010020_19860219_20200918_02_T1_VAA.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_VZA.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_SAA.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_SZA.TIF + LT05_L1TP_010020_19860219_20200918_02_T1_MTL.txt + LT05_L1TP_010020_19860219_20200918_02_T1_MTL.xml + LT05CPF_19860101_19860331_02.01 + LT05_L1TP_010020_19860219_20200918_02_T1_VER.txt + LT05_L1TP_010020_19860219_20200918_02_T1_VER.jpg + GLS2000 + 5 + 24 + 10.941 + 7.801 + 7.672 + 41 + 0.586 + 0.527 + 0.000 + 0.614 + 0.444 + DEFINITIVE + + + 169.000 + -1.520 + 333.000 + -2.840 + 264.000 + -1.170 + 221.000 + -1.510 + 30.200 + -0.370 + 15.303 + 1.238 + 16.500 + -0.150 + + + 0.266947 + -0.002401 + 0.581317 + -0.004958 + 0.544067 + -0.002411 + 0.656942 + -0.004489 + 0.442436 + -0.005421 + 0.616078 + -0.005601 + + + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + 255 + 1 + + + 6.7134E-01 + 1.3222E+00 + 1.0440E+00 + 8.7602E-01 + 1.2035E-01 + 5.5375E-02 + 6.5551E-02 + -2.19134 + -4.16220 + -2.21398 + -2.38602 + -0.49035 + 1.18243 + -0.21555 + 1.0604E-03 + 2.3082E-03 + 2.1515E-03 + 2.6041E-03 + 1.7632E-03 + 2.4476E-03 + -0.003461 + -0.007266 + -0.004563 + -0.007093 + -0.007184 + -0.008048 + + + 607.76 + 1260.56 + + + UTM + WGS84 + WGS84 + 20 + 30.00 + 30.00 + NORTH_UP + CUBIC_CONVOLUTION + NA + + + TMR_L0RP + CPF + CPF + CPF + CPF + CPF + INTERNAL_CALIBRATION + CPF + CPF + CPF + CPF + CPF + CPF + CPF + CPF + + diff --git a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json b/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json new file mode 100644 index 0000000..2ebbd40 --- /dev/null +++ b/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json @@ -0,0 +1,437 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LT05_L2SP_010020_19860219_20200918_02_T1_SR", + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "bbox": [ + -63.57579926056569, + 56.32075198558643, + -59.70609753006608, + 58.31006350780007 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -62.7433329006739, + 58.31006350780007 + ], + [ + -63.57579926056569, + 56.752734565923866 + ], + [ + -60.650040451200944, + 56.32075198558643 + ], + [ + -59.70609753006608, + 57.86231888901846 + ], + [ + -62.7433329006739, + 58.31006350780007 + ] + ] + ] + }, + "properties": { + "datetime": "1986-02-19T14:36:57.593038Z", + "eo:cloud_cover": 53.0, + "view:sun_azimuth": 153.18242297, + "view:sun_elevation": 18.19826473, + "platform": "LANDSAT_5", + "instruments": [ + "TM" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 42.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "010", + "landsat:wrs_row": "020", + "landsat:scene_id": "LT50100201986050PAC04", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:correction": "L2SP", + "proj:epsg": 32620, + "proj:shape": [ + 7441, + 8071 + ], + "proj:transform": [ + 30.0, + 0.0, + 459585.0, + 0.0, + -30.0, + 6465015.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg" + } + }, + "file:checksum": "134070501a580835a5c107fed75d33874c63d26eff3fbd43e29cbf384d78225428dfd9bb4e2874c5ce33f7acb62c3f07780af3749bff9cc9d472948da6a5bd8f9a44" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg" + } + }, + "file:checksum": "1340e765c16236dc058f3d711567ac6b4f048c4061dd2f92cb4389460a1b9db71438efea96a89dee2c72379249816c868e47ad245cdc0596fcd13e9583487ecdef77" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1" + }, + "blue": { + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B1", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.49 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF" + } + }, + "file:checksum": "1340de0b30839700c796a8d20a5130651477226e6c9ef5411e3a317627733c8e76d6ada490d777ae82ea0fe2dffa636c2a81dba9cf803d76dbbed93e4784cacb3d4f" + }, + "green": { + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B2", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF" + } + }, + "file:checksum": "1340251a6e609add7263d194782c5e53517d016b084ce5d28de71e6bc20774790d35cf8deee5c48dc3a0f4a08805c00584354e0b67c859d9b093a6288785c5c1a0b7" + }, + "red": { + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "eo:bands": [ + { + "name": "B3", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.66 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF" + } + }, + "file:checksum": "1340a1300b971e915172b32cd0df7e88c4c374a9aa7c71704b9a2ec642d7123daedd2c1a830641938fc0caecd48f9c45d611338d2fe091dd97f1acf5cdb280bbfac3" + }, + "nir08": { + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.84 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF" + } + }, + "file:checksum": "134044023b2dc93064db2f82a1a92557c963294dee19b3f6681c40f4a3118e68680f0dc919a4775c93b562ed5d56a2408ba67bdced773edeb82c379adb4cdfc4e3b9" + }, + "swir16": { + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B5", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.65 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF" + } + }, + "file:checksum": "1340cdfad3e9cd2ec9a78ad4c00dbe8116e5bfe97a1e667bb2d8fec7bcbdf47c13667fed2c10eb6e9d71f5cfbeb662d5cb1b52e09083886052bfee69c3caae798321" + }, + "swir22": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "reflectance" + ], + "eo:bands": [ + { + "name": "B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.22 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF" + } + }, + "file:checksum": "1340ea90efb7905e15907d07546e9a91fa50493e024d4869d67f48415c47fee6c6309b4c013da09d07a300061e3a79b2c6016540d8b0b3697134ea309a5f0248fdd0" + }, + "atmos_opacity": { + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF" + } + }, + "file:checksum": "1340921689f20009f2e06b8033e729842caef1335846bc9a398ca986ece898e6919d975e5173afe95f73c46de201e1b76b9cfbfc4d69f8294ce93bee46b7873578e9" + }, + "cloud_qa": { + "title": "Cloud Quality Analysis Band", + "description": "Collection 2 Level-2 Cloud Quality Opacity Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "metadata", + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF" + } + }, + "file:checksum": "13405b8e277decff5e0804447ccb0815519cc172f75a7e1b631065aac6d2165726b7a346570d93ebc900600ccd7c84b06c1370c4b2c8208c26353e51e5eef95a2096" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt" + } + }, + "file:checksum": "1340d54cc0a48b238611a63ee1b4d28dbcbc77ce3db522bcb589dfb6f1d4c299fb14a1e6f4503872bff9c3129a9b5515c94fcb33ed619534d685de5178baebc24b47" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt" + } + }, + "file:checksum": "134071400c3f7fe93e0507f30d56562840d8e64f59472af4545b2cd9055d006073a5d277a3abc9bcd4206b89f73433d47c742a55ad08fe85d7e6cd503f2cd5a0710f" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml" + } + }, + "file:checksum": "134025221e095b0b6a03a953b1108601018d5f85a39c90ee243b0f9aca154f24748e0fdc68f6f112ebe393fd3348ae8d51d2de473d64b30459e3ffb0d1d4b0c7f12a" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json" + } + }, + "file:checksum": "1340e39be4dc031767e04c172b3205f992eb18b7aa924045967148802a4da2428e9ebdb69657cc9a4895feb38fca9cbd388d9f2aac6c037477f32fd10e4ce04ac83d" + }, + "qa_pixel": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF" + } + }, + "file:checksum": "134014e9b6cb4da308108c1efc804db631ba43526df1a457c47cd07001648de2f23c0f6da43ae14e428b2684a6f866e251cf960ce75a5a5d5a099d6b80c225844cb5" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF" + } + }, + "file:checksum": "1340a2a0ec82a1e976addfbd9393c768a5404fe74ed7d554651c61f7dabd5a5f81f69085127258685edeaf8f2bb3eb7b0440b35d806e280c49daed9d8da0db1eb681" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-sr.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json" + } + ], + "collection": "landsat-c2l2-sr" +} \ No newline at end of file diff --git a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json b/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json new file mode 100644 index 0000000..c93b621 --- /dev/null +++ b/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json @@ -0,0 +1,408 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "stac_extensions": [ + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/file/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", + "https://stac-extensions.github.io/storage/v1.0.0/schema.json" + ], + "id": "LT05_L2SP_010020_19860219_20200918_02_T1_ST", + "description": "Landsat Collection 2 Level-2 Surface Temperature Product", + "bbox": [ + -63.57579926056569, + 56.32075198558643, + -59.70609753006608, + 58.31006350780007 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -62.7433329006739, + 58.31006350780007 + ], + [ + -63.57579926056569, + 56.752734565923866 + ], + [ + -60.650040451200944, + 56.32075198558643 + ], + [ + -59.70609753006608, + 57.86231888901846 + ], + [ + -62.7433329006739, + 58.31006350780007 + ] + ] + ] + }, + "properties": { + "datetime": "1986-02-19T14:36:57.593038Z", + "eo:cloud_cover": 53.0, + "view:sun_azimuth": 153.18242297, + "view:sun_elevation": 18.19826473, + "platform": "LANDSAT_5", + "instruments": [ + "TM" + ], + "view:off_nadir": 0, + "landsat:cloud_cover_land": 42.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "010", + "landsat:wrs_row": "020", + "landsat:scene_id": "LT50100201986050PAC04", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:correction": "L2SP", + "proj:epsg": 32620, + "proj:shape": [ + 7441, + 8071 + ], + "proj:transform": [ + 30.0, + 0.0, + 459585.0, + 0.0, + -30.0, + 6465015.0 + ] + }, + "assets": { + "thumbnail": { + "title": "Thumbnail image", + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg" + } + }, + "file:checksum": "134070501a580835a5c107fed75d33874c63d26eff3fbd43e29cbf384d78225428dfd9bb4e2874c5ce33f7acb62c3f07780af3749bff9cc9d472948da6a5bd8f9a44" + }, + "reduced_resolution_browse": { + "title": "Reduced resolution browse image", + "type": "image/jpeg", + "roles": [ + "overview" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg" + } + }, + "file:checksum": "1340e765c16236dc058f3d711567ac6b4f048c4061dd2f92cb4389460a1b9db71438efea96a89dee2c72379249816c868e47ad245cdc0596fcd13e9583487ecdef77" + }, + "index": { + "title": "HTML index page", + "type": "text/html", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1" + }, + "lwir": { + "title": "Surface Temperature Band (B6)", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B6) Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data", + "temperature" + ], + "eo:bands": [ + { + "name": "B6", + "common_name": "lwir", + "gsd": 120, + "center_wavelength": 11.45 + } + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_B6.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_B6.TIF" + } + }, + "file:checksum": "134052359750f9218b1f2c8af903305aa3040e7f971332a3c34d5ba67b717b80f45ea721d2bbce1097353409e7bc1dcf16b5d7513f8475e7e3434ee02af8bbe69a2a" + }, + "ATRAN": { + "title": "Atmospheric Transmittance Band", + "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF" + } + }, + "file:checksum": "13409396e318bc46268c8b4ffa337ccc07c2c1d3e4678910ff265ad455e6c3b527ea8bda0c51d1b26fbcb5d18aa2e8d0dc25ad62debc38a5ac7f8bbdfab3dce33607" + }, + "CDIST": { + "title": "Cloud Distance Band", + "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF" + } + }, + "file:checksum": "1340f57664470eed77e9b844a8650c29bcd2d3803ae545591363d5bcb202a9af23757bb88127c4dfa35a3ab9ac5d1f2e21222c56b4dcb05ed723f95e41d53caa3b32" + }, + "DRAD": { + "title": "Downwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF" + } + }, + "file:checksum": "13405439f296ab81cfd71bb3acd7f4cdde7dfd00aa0f2f51f31499d53218ee5788c3d00e08caf80cf04f4e83791b795df5c6084e63685c3111c095f5026e8e473f8e" + }, + "URAD": { + "title": "Upwelled Radiance Band", + "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF" + } + }, + "file:checksum": "1340bab75e8e1e467f3182a525621374e4d251ac647ed9d314fb5a8f88e4604fde3d658a7e0200dd31c06739f405f248f746100f21912a4b0f91739143f4856af690" + }, + "TRAD": { + "title": "Thermal Radiance Band", + "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF" + } + }, + "file:checksum": "1340873da89bb3b6cd7d6caa9b136a1995aa1d31d30328b531cba02939a3f7224b17f9702ed87acab5a099822c12110c725c8becbcb501a90e639480ad9d0b7410df" + }, + "EMIS": { + "title": "Emissivity Band", + "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF" + } + }, + "file:checksum": "134058ef01b16d83b3e4ae176ad8ecd2ba420a4cba628cd8cd8e24a5bdc4e8ab61ffcd67d8bd960a2a73f77cc5a9ab1aed41173cd2c4f71cd9608a0f01268f5725b1" + }, + "EMSD": { + "title": "Emissivity Standard Deviation Band", + "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF" + } + }, + "file:checksum": "134007c41863630c6150e464cc94f598be9ad0aded81432315a341e5865b04caff70036302bba75b6dfff3075fa1bc119986ec1a7a9e1a9e19380a7732bcfe9f426b" + }, + "QA": { + "title": "Surface Temperature Quality Assessment Band", + "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "data" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF" + } + }, + "file:checksum": "134099f940def5c1f41636a04c0077e9d14a588008785740c72d0e5a3da364e7629885d740f0fe8c579b0e8db92c4628b80c5ec4ec4edf261910efb15d7928857cd1" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt" + } + }, + "file:checksum": "1340d54cc0a48b238611a63ee1b4d28dbcbc77ce3db522bcb589dfb6f1d4c299fb14a1e6f4503872bff9c3129a9b5515c94fcb33ed619534d685de5178baebc24b47" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL)", + "type": "text/plain", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt" + } + }, + "file:checksum": "134071400c3f7fe93e0507f30d56562840d8e64f59472af4545b2cd9055d006073a5d277a3abc9bcd4206b89f73433d47c742a55ad08fe85d7e6cd503f2cd5a0710f" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "type": "application/xml", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml" + } + }, + "file:checksum": "134025221e095b0b6a03a953b1108601018d5f85a39c90ee243b0f9aca154f24748e0fdc68f6f112ebe393fd3348ae8d51d2de473d64b30459e3ffb0d1d4b0c7f12a" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "type": "application/json", + "roles": [ + "metadata" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json" + } + }, + "file:checksum": "1340e39be4dc031767e04c172b3205f992eb18b7aa924045967148802a4da2428e9ebdb69657cc9a4895feb38fca9cbd388d9f2aac6c037477f32fd10e4ce04ac83d" + }, + "qa_pixel": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF" + } + }, + "file:checksum": "134014e9b6cb4da308108c1efc804db631ba43526df1a457c47cd07001648de2f23c0f6da43ae14e428b2684a6f866e251cf960ce75a5a5d5a099d6b80c225844cb5" + }, + "qa_radsat": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Temperature", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "roles": [ + "saturation" + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF", + "alternate": { + "s3": { + "storage:platform": "AWS", + "storage:requester_pays": true, + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF" + } + }, + "file:checksum": "1340a2a0ec82a1e976addfbd9393c768a5404fe74ed7d554651c61f7dabd5a5f81f69085127258685edeaf8f2bb3eb7b0440b35d806e280c49daed9d8da0db1eb681" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-st.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json" + } + ], + "collection": "landsat-c2l2-st" +} \ No newline at end of file From 193950734a66c2ce9067d207005ec6a42ddf387a Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Sat, 5 Mar 2022 16:50:47 -0500 Subject: [PATCH 07/47] finish collections, update readme and tests --- README.md | 17 +- .../{c2l1-hrefs.txt => c2l1-file-list.txt} | 0 .../{c2l2-hrefs.txt => c2l2-file-list.txt} | 0 .../mss/LM01_L1GS_001010_19720908_02_T2.json | 282 --------- ...C08_L2SP_005009_20150710_02_T2-legacy.json | 598 ------------------ .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 8 +- .../LC08_L2SP_047027_20201204_02_T1.json | 563 +++++++++++++++++ .../LC09_L2SP_010065_20220129_02_T1.json | 563 +++++++++++++++++ .../LE07_L2SP_021030_20100109_02_T1.json | 73 ++- .../LT04_L2SP_002026_19830110_02_T1.json | 73 ++- .../LT05_L2SP_010020_19860219_02_T1.json | 553 ++++++++++++++++ examples/landsat-c2-l2/collection.json | 426 +++++++++++++ ...C08_L2SP_005009_20150710_02_T2-legacy.json | 24 +- .../LC08_L2SP_005009_20150710_02_T2.json | 0 scripts/create_examples.py | 75 --- src/stactools/landsat/commands.py | 50 +- src/stactools/landsat/fragments/README.md | 3 +- src/stactools/landsat/fragments/__init__.py | 6 +- .../fragments/collections/landsat-c2-l1.json | 22 +- .../fragments/collections/landsat-c2-l2.json | 257 ++++++-- .../landsat/fragments/oli_tirs/sr-assets.json | 2 +- src/stactools/landsat/stac.py | 2 - tests/test_create_stac.py | 4 +- 28 files changed, 2495 insertions(+), 1116 deletions(-) rename examples/{c2l1-hrefs.txt => c2l1-file-list.txt} (100%) rename examples/{c2l2-hrefs.txt => c2l2-file-list.txt} (100%) delete mode 100644 examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json delete mode 100644 examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json create mode 100644 examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json create mode 100644 examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json rename examples/{item/etm => landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1}/LE07_L2SP_021030_20100109_02_T1.json (82%) rename examples/{item/tm => landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1}/LT04_L2SP_002026_19830110_02_T1.json (83%) create mode 100644 examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json create mode 100644 examples/landsat-c2-l2/collection.json rename examples/{item/oli-tirs => legacy-landsat-8}/LC08_L2SP_005009_20150710_02_T2.json (100%) delete mode 100755 scripts/create_examples.py diff --git a/README.md b/README.md index 5df83c3..ac13ff9 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,23 @@ Source: https://pubs.usgs.gov/fs/2015/3081/fs20153081_ver1.2.pdf ## Examples -### STAC objects +### STAC Collections and Items -- [Item](examples/item/LC08_L2SP_005009_20150710_02_T2.json) +- [Collection](examples/landsat-c2-l2/collection.json) +- [Item](examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json) ### Command-line usage -To create the example STAC `Item`: +To create a STAC `Item`: ```bash -$ stac landsat create-item "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml" "examples/item/LC08_L2SP_005009_20150710_02_T2.json" +$ stac landsat create-item --mtl tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml --output exampleslandsat-c2-l2 ``` -Use `stac landsat --help` to see all subcommands and options. +To create a STAC `Collection` from a text file containing a list of Landsat scene XML metadata files: + +```bash +$ stac landsat create-collection --file_list examples/c2l2-file-list.txt --output examples/landsat-c2-l2 --id landsat-c2-l2 +``` + +This `create-collection` command is exactly how the contents of the `examples/landsat-c2-l2` directory are generated. diff --git a/examples/c2l1-hrefs.txt b/examples/c2l1-file-list.txt similarity index 100% rename from examples/c2l1-hrefs.txt rename to examples/c2l1-file-list.txt diff --git a/examples/c2l2-hrefs.txt b/examples/c2l2-file-list.txt similarity index 100% rename from examples/c2l2-hrefs.txt rename to examples/c2l2-file-list.txt diff --git a/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json b/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json deleted file mode 100644 index bf807f8..0000000 --- a/examples/item/mss/LM01_L1GS_001010_19720908_02_T2.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "type": "Feature", - "stac_version": "1.0.0", - "id": "LM01_L1GS_001010_19720908_02_T2", - "properties": { - "platform": "landsat-1", - "instruments": [ - "mss" - ], - "created": "2022-03-05T11:13:05.241997Z", - "gsd": 60, - "description": "Landsat Collection 2 Level-1 Data Product", - "eo:cloud_cover": 43.0, - "view:off_nadir": 0, - "view:sun_elevation": 24.87312023, - "view:sun_azimuth": 172.41815593, - "proj:epsg": 32625, - "proj:shape": [ - 4214, - 4296 - ], - "proj:transform": [ - 60.0, - 0.0, - 358830.0, - 0.0, - -60.0, - 7953510.0 - ], - "sci:doi": "10.5066/P9AF14YV", - "landsat:cloud_cover_land": 46.0, - "landsat:wrs_type": "1", - "landsat:wrs_path": "001", - "landsat:wrs_row": "010", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:scene_id": "LM10010101972252XXX01", - "landsat:correction": "L1GS", - "datetime": "1972-09-08T13:43:34.091000Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -34.342777359690906, - 71.6736886240419 - ], - [ - -36.70080544861747, - 70.18448226408043 - ], - [ - -32.42683403196701, - 69.42483853001222 - ], - [ - -29.841815210171347, - 70.85738280018273 - ], - [ - -34.342777359690906, - 71.6736886240419 - ] - ] - ] - }, - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV" - }, - { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" - } - ], - "assets": { - "thumbnail": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-1 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "unit": "bit index" - } - ], - "roles": [ - "cloud" - ] - }, - "qa_radsat": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "green": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", - "eo:bands": [ - { - "name": "B4", - "common_name": "green", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint8", - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.95591, - "offset": -18.55591 - } - ], - "roles": [ - "data" - ] - }, - "red": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", - "eo:bands": [ - { - "name": "B5", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint8", - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.64843, - "offset": -0.74843 - } - ], - "roles": [ - "data" - ] - }, - "nir08": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", - "eo:bands": [ - { - "name": "B6", - "common_name": "nir08", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint8", - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.65236, - "offset": -0.75236 - } - ], - "roles": [ - "data" - ] - }, - "nir09": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", - "eo:bands": [ - { - "name": "B7", - "common_name": "nir09", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint8", - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.60866, - "offset": -0.60866 - } - ], - "roles": [ - "data" - ] - } - }, - "bbox": [ - -37.01805350426969, - 69.37813163170388, - -29.679836196002512, - 71.65367836829611 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/raster/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" - ] -} \ No newline at end of file diff --git a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json b/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json deleted file mode 100644 index 21f541f..0000000 --- a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2-legacy.json +++ /dev/null @@ -1,598 +0,0 @@ -{ - "type": "Feature", - "stac_version": "1.0.0", - "id": "LC08_L2SP_005009_20150710_02_T2", - "properties": { - "platform": "landsat-8", - "instruments": [ - "oli", - "tirs" - ], - "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", - "eo:cloud_cover": 54.65, - "view:off_nadir": 0, - "view:sun_elevation": 40.0015903, - "view:sun_azimuth": 177.8846007, - "proj:epsg": 32624, - "proj:bbox": [ - 365685.0, - 7879185.0, - 629415.0, - 8143815.0 - ], - "landsat:cloud_cover_land": 54.67, - "landsat:wrs_type": "2", - "landsat:wrs_path": "005", - "landsat:wrs_row": "009", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:processing_level": "L2SP", - "landsat:scene_id": "LC80050092015191LGN01", - "datetime": "2015-07-10T14:34:35.978399Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -40.24668835688223, - 73.34767227948275 - ], - [ - -34.958411161782664, - 72.5174838111986 - ], - [ - -37.92205787926383, - 70.98117952546042 - ], - [ - -43.192625531993365, - 71.82092278865927 - ], - [ - -40.24668835688223, - 73.34767227948275 - ] - ] - ] - }, - "links": [ - { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" - } - ], - "assets": { - "thumbnail": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image" - }, - "reduced_resolution_browse": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image" - }, - "ANG": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" - }, - "MTL.txt": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File", - "description": "Collection 2 Level-1 Product Metadata File (MTL)" - }, - "MTL.xml": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)" - }, - "MTL.json": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)" - }, - "QA_PIXEL": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "QA_RADSAT": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B1": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B1", - "common_name": "coastal", - "gsd": 30, - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B2": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B2", - "common_name": "blue", - "gsd": 30, - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B3": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B3", - "common_name": "green", - "gsd": 30, - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B4": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B4", - "common_name": "red", - "gsd": 30, - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B5": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B5", - "common_name": "nir08", - "gsd": 30, - "center_wavelength": 0.86, - "full_width_half_max": 0.03 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B6": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B6", - "common_name": "swir16", - "gsd": 30, - "center_wavelength": 1.6, - "full_width_half_max": 0.08 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B7": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B7", - "common_name": "swir22", - "gsd": 30, - "center_wavelength": 2.2, - "full_width_half_max": 0.2 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_QA_AEROSOL": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Analysis Band", - "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_B10": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", - "gsd": 100.0, - "eo:bands": [ - { - "name": "ST_B10", - "common_name": "lwir11", - "gsd": 100.0, - "center_wavelength": 10.9, - "full_width_half_max": 0.8 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_ATRAN": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_ATRAN", - "description": "atmospheric transmission", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_CDIST": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_CDIST", - "description": "distance to nearest cloud", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_DRAD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_DRAD", - "description": "downwelled radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_URAD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_URAD", - "description": "upwelled radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_TRAD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_TRAD", - "description": "thermal radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_EMIS": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_EMIS", - "description": "emissivity", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_EMSD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_EMSD", - "description": "emissivity standard deviation", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_QA": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - } - }, - "bbox": [ - -43.20190248750403, - 70.9793158649215, - -34.95084086107732, - 73.3491841350785 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" - ] -} \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 13cbbbc..e2a0a29 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T13:14:25.809667Z", + "created": "2022-03-05T20:02:38.278700Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 65c5ce1..60d65f3 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T13:14:25.812139Z", + "created": "2022-03-05T20:02:38.281369Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index d5d9639..c49f76c 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T13:14:25.813741Z", + "created": "2022-03-05T20:02:38.283018Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index c434020..15f20ef 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T13:14:27.055941Z", + "created": "2022-03-05T20:02:39.163366Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 4dca910..7416ca6 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T13:14:27.062180Z", + "created": "2022-03-05T20:02:39.172945Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 5a342ae..411cb71 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -2,7 +2,7 @@ "type": "Collection", "id": "landsat-c2-l1", "stac_version": "1.0.0", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset represents the global archive of Level-1 data acquired by the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", "links": [ { "rel": "root", @@ -42,9 +42,7 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json" + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" ], "item_assets": { "thumbnail": { @@ -177,7 +175,7 @@ "temporal": { "interval": [ [ - "1982-08-22T00:00:00Z", + "1972-07-01T00:00:00Z", "2013-01-06T23:23:59Z" ] ] diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json new file mode 100644 index 0000000..530bccd --- /dev/null +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -0,0 +1,563 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC08_L2SP_047027_20201204_02_T1", + "properties": { + "platform": "landsat-8", + "instruments": [ + "oli", + "tirs" + ], + "created": "2022-03-05T20:49:28.754499Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2 Science Product", + "eo:cloud_cover": 1.55, + "view:off_nadir": 0, + "view:sun_elevation": 18.80722985, + "view:sun_azimuth": 164.91405951, + "proj:epsg": 32610, + "proj:shape": [ + 7971, + 7861 + ], + "proj:transform": [ + 30.0, + 0.0, + 353685.0, + 0.0, + -30.0, + 5374215.0 + ], + "sci:doi": "10.5066/P9OGBGM6", + "landsat:cloud_cover_land": 1.9, + "landsat:wrs_type": "2", + "landsat:wrs_path": "047", + "landsat:wrs_row": "027", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:scene_id": "LC80470272020339LGN00", + "landsat:correction": "L2SP", + "datetime": "2020-12-04T19:02:11.194486Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -124.27384594041735, + 48.508330109565485 + ], + [ + -121.83965465293758, + 48.078217267779486 + ], + [ + -122.53780648794415, + 46.376775468741904 + ], + [ + -124.89627102658746, + 46.80206928347854 + ], + [ + -124.27384594041735, + 48.508330109565485 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "sr_coastal": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_blue": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_red": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_nir08": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "nir08", + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B6", + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_qa_aerosol": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "st_lwir11": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "eo:bands": [ + { + "name": "ST_B10", + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "unitless", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_cdist": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "st_drad": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_urad": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_trad": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_emis": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_emsd": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_qa": { + "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -124.98085491310867, + 46.35352512466258, + -121.78788697796408, + 48.51466487533742 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l2" +} \ No newline at end of file diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json new file mode 100644 index 0000000..11ca169 --- /dev/null +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -0,0 +1,563 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC09_L2SP_010065_20220129_02_T1", + "properties": { + "platform": "landsat-9", + "instruments": [ + "oli", + "tirs" + ], + "created": "2022-03-05T20:49:30.623263Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2 Science Product", + "eo:cloud_cover": 21.12, + "view:off_nadir": 0, + "view:sun_elevation": 57.84396063, + "view:sun_azimuth": 112.2005908, + "proj:epsg": 32617, + "proj:shape": [ + 7741, + 7611 + ], + "proj:transform": [ + 30.0, + 0.0, + 491985.0, + 0.0, + -30.0, + -683685.0 + ], + "sci:doi": "10.5066/P9OGBGM6", + "landsat:cloud_cover_land": 23.54, + "landsat:wrs_type": "2", + "landsat:wrs_path": "010", + "landsat:wrs_row": "065", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:scene_id": "LC90100652022029LGN00", + "landsat:correction": "L2SP", + "datetime": "2022-01-29T15:28:34.396428Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -80.67680822133134, + -6.190872701382242 + ], + [ + -81.05230467664805, + -7.923716767036314 + ], + [ + -79.3929592178779, + -8.27787488637412 + ], + [ + -79.02684986834835, + -6.540443220056157 + ], + [ + -80.67680822133134, + -6.190872701382242 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2022/010/065/LC09_L2SP_010065_20220129_20220131_02_T1", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "sr_coastal": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_blue": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_red": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_nir08": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "nir08", + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B6", + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_qa_aerosol": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "st_lwir11": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "eo:bands": [ + { + "name": "ST_B10", + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "unitless", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_cdist": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "st_drad": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_urad": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_trad": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_emis": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_emsd": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_qa": { + "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -81.07278615813131, + -8.285985633663529, + -78.9997544695515, + -6.181544366336471 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l2" +} \ No newline at end of file diff --git a/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json similarity index 82% rename from examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json rename to examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 084f9de..6782717 100644 --- a/examples/item/etm/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-05T11:13:07.477656Z", + "created": "2022-03-05T20:49:28.751524Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 8.0, @@ -75,11 +75,29 @@ "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1", "type": "text/html", "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" } ], "assets": { "thumbnail": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -87,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -95,7 +113,7 @@ ] }, "mtl.json": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -104,7 +122,7 @@ ] }, "mtl.txt": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -113,7 +131,7 @@ ] }, "mtl.xml": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -122,7 +140,7 @@ ] }, "ang": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -131,7 +149,7 @@ ] }, "qa_pixel": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -149,7 +167,7 @@ ] }, "qa_radsat": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -164,7 +182,7 @@ ] }, "sr_blue": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", @@ -190,7 +208,7 @@ ] }, "sr_green": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", @@ -216,7 +234,7 @@ ] }, "sr_red": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", @@ -242,7 +260,7 @@ ] }, "sr_nir08": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", @@ -268,7 +286,7 @@ ] }, "sr_swir16": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -294,7 +312,7 @@ ] }, "sr_swir22": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -320,7 +338,7 @@ ] }, "sr_atmos_opacity": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -336,7 +354,7 @@ ] }, "sr_cloud_qa": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -354,7 +372,7 @@ ] }, "st_lwir": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -381,7 +399,7 @@ ] }, "st_atran": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -398,7 +416,7 @@ ] }, "st_cdist": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -415,7 +433,7 @@ ] }, "st_drad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -432,7 +450,7 @@ ] }, "st_urad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -449,7 +467,7 @@ ] }, "st_trad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -466,7 +484,7 @@ ] }, "st_emis": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -483,7 +501,7 @@ ] }, "st_emsd": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -500,7 +518,7 @@ ] }, "st_qa": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", + "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -530,5 +548,6 @@ "https://stac-extensions.github.io/projection/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" - ] + ], + "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json similarity index 83% rename from examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json rename to examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 55d3016..be94fb1 100644 --- a/examples/item/tm/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-05T11:13:07.436709Z", + "created": "2022-03-05T20:49:28.746540Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 7.0, @@ -75,11 +75,29 @@ "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1", "type": "text/html", "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" } ], "assets": { "thumbnail": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -87,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -95,7 +113,7 @@ ] }, "mtl.json": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -104,7 +122,7 @@ ] }, "mtl.txt": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -113,7 +131,7 @@ ] }, "mtl.xml": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -122,7 +140,7 @@ ] }, "ang": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -131,7 +149,7 @@ ] }, "qa_pixel": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -149,7 +167,7 @@ ] }, "qa_radsat": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -164,7 +182,7 @@ ] }, "sr_blue": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", @@ -190,7 +208,7 @@ ] }, "sr_green": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", @@ -216,7 +234,7 @@ ] }, "sr_red": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", @@ -242,7 +260,7 @@ ] }, "sr_nir08": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", @@ -268,7 +286,7 @@ ] }, "sr_swir16": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -294,7 +312,7 @@ ] }, "sr_swir22": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -320,7 +338,7 @@ ] }, "sr_atmos_opacity": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -336,7 +354,7 @@ ] }, "sr_cloud_qa": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -354,7 +372,7 @@ ] }, "st_lwir": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -381,7 +399,7 @@ ] }, "st_atran": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -398,7 +416,7 @@ ] }, "st_cdist": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -415,7 +433,7 @@ ] }, "st_drad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -432,7 +450,7 @@ ] }, "st_urad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -449,7 +467,7 @@ ] }, "st_trad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -466,7 +484,7 @@ ] }, "st_emis": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -483,7 +501,7 @@ ] }, "st_emsd": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -500,7 +518,7 @@ ] }, "st_qa": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", + "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -530,5 +548,6 @@ "https://stac-extensions.github.io/projection/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" - ] + ], + "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json b/examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json new file mode 100644 index 0000000..85520c1 --- /dev/null +++ b/examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json @@ -0,0 +1,553 @@ +{ + "type": "Feature", + "stac_version": "1.0.0", + "id": "LT05_L2SP_010020_19860219_02_T1", + "properties": { + "platform": "landsat-5", + "instruments": [ + "tm" + ], + "created": "2022-03-05T20:49:28.749799Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2 Science Product", + "eo:cloud_cover": 53.0, + "view:off_nadir": 0, + "view:sun_elevation": 18.19826473, + "view:sun_azimuth": 153.18242297, + "proj:epsg": 32620, + "proj:shape": [ + 7441, + 8071 + ], + "proj:transform": [ + 30.0, + 0.0, + 459585.0, + 0.0, + -30.0, + 6465015.0 + ], + "sci:doi": "10.5066/P9IAXOVV", + "landsat:cloud_cover_land": 42.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "010", + "landsat:wrs_row": "020", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "landsat:scene_id": "LT50100201986050PAC04", + "landsat:correction": "L2SP", + "datetime": "1986-02-19T14:36:57.593038Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -62.7433329006739, + 58.31006350780007 + ], + [ + -63.57579926056569, + 56.752734565923866 + ], + [ + -60.650040451200944, + 56.32075198558643 + ], + [ + -59.70609753006608, + 57.86231888901846 + ], + [ + -62.7433329006739, + 58.31006350780007 + ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV" + }, + { + "rel": "alternate", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1", + "type": "text/html", + "title": "USGS stac-browser page" + }, + { + "rel": "root", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "collection", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "parent", + "href": "../collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + } + ], + "assets": { + "thumbnail": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "sr_blue": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B1)", + "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B2)", + "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_red": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B3)", + "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_nir08": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "eo:bands": [ + { + "name": "SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "unitless", + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_atmos_opacity": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "sr_cloud_qa": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "st_lwir": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "eo:bands": [ + { + "name": "ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "unitless", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_cdist": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "st_drad": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_urad": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_trad": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "st_emis": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_emsd": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "st_qa": { + "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -63.68997227330424, + 56.27792531501672, + -59.55963419062565, + 58.324224684983285 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + ], + "collection": "landsat-c2-l2" +} \ No newline at end of file diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json new file mode 100644 index 0000000..960e93c --- /dev/null +++ b/examples/landsat-c2-l2/collection.json @@ -0,0 +1,426 @@ +{ + "type": "Collection", + "id": "landsat-c2-l2", + "stac_version": "1.0.0", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "links": [ + { + "rel": "root", + "href": "./collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + }, + { + "rel": "item", + "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", + "type": "application/json" + } + ], + "stac_extensions": [ + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + ], + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "sr_coastal": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_blue": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_red": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_nir08": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "eo:bands": [ + { + "common_name": "nir08", + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_atmos_opacity": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "roles": [ + "data" + ] + }, + "sr_cloud_qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "sr_qa_aerosol": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "roles": [ + "data-mask", + "water-mask" + ] + }, + "st_lwir11": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "st_lwir": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } + ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_cdist": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_drad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_urad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_trad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emis": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emsd": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": [ + "data" + ] + } + }, + "title": "Landsat Collection 2 Level-2", + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "license": "proprietary", + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + } + } +} \ No newline at end of file diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json index 21f541f..99cc2f1 100644 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json +++ b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json @@ -26,8 +26,8 @@ "landsat:wrs_row": "009", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:processing_level": "L2SP", "landsat:scene_id": "LC80050092015191LGN01", + "landsat:processing_level": "L2SP", "datetime": "2015-07-10T14:34:35.978399Z" }, "geometry": { @@ -76,11 +76,11 @@ "type": "image/jpeg", "title": "Reduced resolution browse image" }, - "ANG": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" + "MTL.json": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)" }, "MTL.txt": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", @@ -94,11 +94,11 @@ "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)" }, - "MTL.json": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)" + "ANG": { + "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" }, "QA_PIXEL": { "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", @@ -595,4 +595,4 @@ "https://stac-extensions.github.io/projection/v1.0.0/schema.json", "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" ] -} \ No newline at end of file +} diff --git a/examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json similarity index 100% rename from examples/item/oli-tirs/LC08_L2SP_005009_20150710_02_T2.json rename to examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json diff --git a/scripts/create_examples.py b/scripts/create_examples.py deleted file mode 100755 index 08a689f..0000000 --- a/scripts/create_examples.py +++ /dev/null @@ -1,75 +0,0 @@ -import os - -from pystac import CatalogType - -from stactools.landsat.stac import create_collection, create_stac_item - - -def test_data_href(path: str) -> str: - return os.path.join(os.path.dirname(os.path.dirname(__file__)), "tests", - "data-files", path) - - -# MSS, Landsat 1-5 (Collection 2 Level-1) -mtl_xml_href = test_data_href( - "mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") -item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -item.validate() -destination = "examples/item/mss" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# TM, Landsat 4-5 (Collection 2 Level-2) -mtl_xml_href = test_data_href( - "tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml") -item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -item.validate() -destination = "examples/item/tm" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# ETM, Landsat 7 (Collection 2 Level-2) -mtl_xml_href = test_data_href( - "etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml") -item = create_stac_item(mtl_xml_href, use_usgs_geometry=True) -item.validate() -destination = "examples/item/etm" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) - Legacy -mtl_xml_href = test_data_href( - "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") -item = create_stac_item(mtl_xml_href) -destination = "examples/item/oli-tirs" -item_path = os.path.join(destination, f"{item.id}-legacy.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# OLI-TIRS, Landsat 8-9 (Collection 2 Level-2) - New -mtl_xml_href = test_data_href( - "assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml") -item = create_stac_item(mtl_xml_href, legacy_l8=False, use_usgs_geometry=True) -destination = "examples/item/oli-tirs" -item_path = os.path.join(destination, f"{item.id}.json") -item.set_self_href(item_path) -item.make_asset_hrefs_relative() -item.save_object(include_self_link=False) - -# STAC Collection: Collection 2 Level-1 -collection = create_collection("landsat-c2-l1") -collection.catalog_type = CatalogType.SELF_CONTAINED -# NOTE: Will not validate until Item(s) are added to it -# collection.validate() -destination = "examples/collection/c2l2" -collection_path = os.path.join(destination, f"{collection.id}.json") -collection.set_self_href(collection_path) -collection.make_all_asset_hrefs_relative() -collection.save_object(include_self_link=False) diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 5eb77a9..1e6c3c8 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -29,10 +29,12 @@ def landsat() -> None: default="level-2", show_default=True, help="Product level to process. Deprecated.") - @click.option("--mtl", + @click.option("-m", + "--mtl", required=True, help="HREF to the source MTL metadata xml file.") - @click.option("--output", + @click.option("-o", + "--output", required=True, help="HREF of directory in which to write the item.") @click.option("-u", @@ -51,8 +53,9 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, Creates a STAC Item for a Landsat Collection 2 scene based on metadata from a Landsat MTL xml file. - The following Landsat processing Levels and - sensors are supported: + \b + The following Landsat Collection 2 processing Levels and sensors are + supported: Level-1 - Landsat 1-5 Multi Spectral Scanner (MSS) Level-2 @@ -86,34 +89,47 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, "create-collection", short_help="Creates a STAC Collection with contents defined by hrefs " "in a text file.") - @click.argument("INFILE") - @click.argument("OUTDIR") - @click.argument("ID", - type=click.Choice(['landsat-c2-l1', 'landsat-c2-l2'], - case_sensitive=True)) - @click.option("--usgs_geometry", - default=False, + @click.option("-f", + "--file_list", + required=True, + help="Text file of HREFs to Landsat scene XML MTL metadata " + "files.") + @click.option("-o", + "--output", + required=True, + help="HREF of directory in which to write the collection.") + @click.option("-i", + "--id", + type=click.Choice(['landsat-c2-l1', 'landsat-c2-l2'], + case_sensitive=True), + required=True, + help="Landsat collection type. Choice of 'landsat-c2-l1' " + "'landsat-c2-l2'") + @click.option("-u", + "--usgs_geometry", + default=True, show_default=True, help="Use USGS STAC Item geometry") - def create_collection_cmd(infile: str, outdir: str, id: str, + def create_collection_cmd(file_list: str, output: str, id: str, usgs_geometry: bool) -> None: - """Creates a STAC Collection for Items defined by the hrefs in INFILE. + """\b + Creates a STAC Collection for Items defined by the hrefs in file_list. \b Args: - infile (str): Text file containing one href per line. The hrefs + file_list (str): Text file containing one href per line. The hrefs should point to XML MTL metadata files. - outdir (str): Directory that will contain the collection. + output (str): Directory that will contain the collection. id (str): Choice of 'landsat-c2-l1' or 'landsat-c2-l2'. usgs_geometry (bool): Use the geometry from a USGS STAC Item that resides in the same directory as the MTL xml file or can be queried from the USGS STAC API. """ - with open(infile) as file: + with open(file_list) as file: hrefs = [line.strip() for line in file.readlines()] collection = create_collection(id) - collection.set_self_href(os.path.join(outdir, "collection.json")) + collection.set_self_href(os.path.join(output, "collection.json")) collection.catalog_type = CatalogType.SELF_CONTAINED for href in hrefs: item = create_stac_item(href, diff --git a/src/stactools/landsat/fragments/README.md b/src/stactools/landsat/fragments/README.md index cae81bc..47498c1 100644 --- a/src/stactools/landsat/fragments/README.md +++ b/src/stactools/landsat/fragments/README.md @@ -1,7 +1,8 @@ # Fragments -Fragments are JSON files that contain constant values that are included in generated STAC items. The following fragment types/files exist: +Fragments are JSON files that contain constant values that are included in generated STAC items. Some JSON files also contain information that is used to generate STAC Items, but not directly included. The following fragment types/files exist: +- `landsat-c2-l1` or `-l2`: Collection data - `common-assets.json`: Asset data that is common to all Landsat data products. - `sr-` or `st-assets.json`: Surface reflectance or surface temperature asset data. - `sr-` or `st-eo-bands.json`: STAC EO extension data for surface reflectance or temperature assets. diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index ba8342e..db249ef 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -32,8 +32,10 @@ def collection(self) -> Dict[str, Any]: data["summaries"] = Summaries(data["summaries"]) item_assets = {} - for key, value in data["item_assets"].items(): - item_assets[key] = AssetDefinition(value) + for key, asset_dict in data["item_assets"].items(): + media_type = asset_dict.get("type") + asset_dict["type"] = MediaType[media_type] + item_assets[key] = AssetDefinition(asset_dict) data["item_assets"] = item_assets return data diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index 768fb9e..def0831 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -65,21 +65,21 @@ }, "item_assets": { "thumbnail": { - "type": "image/jpeg", + "type": "JPEG", "title": "Thumbnail image", "roles": [ "thumbnail" ] }, "reduced_resolution_browse": { - "type": "image/jpeg", + "type": "JPEG", "title": "Reduced resolution browse image", "roles": [ "overview" ] }, "mtl.json": { - "type": "application/json", + "type": "JSON", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", "roles": [ @@ -87,7 +87,7 @@ ] }, "mtl.txt": { - "type": "text/plain", + "type": "TEXT", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", "roles": [ @@ -95,7 +95,7 @@ ] }, "mtl.xml": { - "type": "application/xml", + "type": "XML", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", "roles": [ @@ -103,7 +103,7 @@ ] }, "qa_pixel": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": [ @@ -111,7 +111,7 @@ ] }, "qa_radsat": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": [ @@ -119,7 +119,7 @@ ] }, "green": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Green Band", "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ @@ -134,7 +134,7 @@ ] }, "red": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Red Band", "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ @@ -149,7 +149,7 @@ ] }, "nir08": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ @@ -164,7 +164,7 @@ ] }, "nir09": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Near Infrared Band 0.9", "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index e5576db..a020712 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -66,125 +66,294 @@ "maximum": 15 } }, - - - - - - - - "item_assets": { "thumbnail": { - "type": "image/jpeg", + "type": "JPEG", "title": "Thumbnail image", "roles": [ "thumbnail" ] }, "reduced_resolution_browse": { - "type": "image/jpeg", + "type": "JPEG", "title": "Reduced resolution browse image", "roles": [ "overview" ] }, "mtl.json": { - "type": "application/json", + "type": "JSON", "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", "roles": [ "metadata" ] }, "mtl.txt": { - "type": "text/plain", + "type": "TEXT", "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-1 Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", "roles": [ "metadata" ] }, "mtl.xml": { - "type": "application/xml", + "type": "XML", "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", "roles": [ "metadata" ] }, "qa_pixel": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "type": "COG", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": [ - "cloud" + "cloud", "cloud-shadow", "snow-ice", "water-mask" ] }, "qa_radsat": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", "roles": [ "saturation" ] }, - "green": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "sr_coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "type": "COG", "title": "Green Band", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { "common_name": "green", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 + "center_wavelength": 0.56, + "full_width_half_max": 0.06 } ], "roles": [ - "data" + "reflectance" ] }, - "red": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "sr_red": { + "type": "COG", "title": "Red Band", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { "common_name": "red", "center_wavelength": 0.65, - "full_width_half_max": 0.1 + "full_width_half_max": 0.04 } ], "roles": [ - "data" + "reflectance" ] }, - "nir08": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "sr_nir08": { + "type": "COG", "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { "common_name": "nir08", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 } ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": [ "data" ] }, - "nir09": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "sr_cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "sr_qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "roles": [ + "data-mask", + "water-mask" + ] + }, + "st_lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "st_lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "common_name": "nir09", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 } ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": [ "data" ] diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json index ab4971a..3ae28c0 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json @@ -2,7 +2,7 @@ "qa_pixel": { "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": ["cloud", "cloud-shadow", "cirrus", "snow-ice", "water-mask"] + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 5535fcc..bdba6b1 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -259,7 +259,5 @@ def create_collection(collection_id: str) -> Collection: item_assets.item_assets = fragment["item_assets"] ItemAssetsExtension.add_to(collection) - EOExtension.add_to(collection) - ViewExtension.add_to(collection) return collection diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index 99b5770..ea2d4e6 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -48,7 +48,7 @@ def check_proj_bbox(item, tif_bounds): with TemporaryDirectory() as tmp_dir: cmd = [ 'landsat', 'create-item', '--mtl', mtl_path, - '--output', tmp_dir + '--output', tmp_dir, '--legacy_l8', True ] self.run_command(cmd) @@ -132,7 +132,7 @@ def get_item(output_dir: str) -> pystac.Item: create_cmd = [ 'landsat', 'create-item', '--mtl', mtl_path, - '--output', create_dir + '--output', create_dir, '--legacy_l8', True ] self.run_command(create_cmd) From fafd5aeae083a66868c0f54246c00fbc538815ee Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Sun, 6 Mar 2022 06:23:22 -0500 Subject: [PATCH 08/47] make docker cibuild work --- .dockerignore | 1 + .gitignore | 1 + docker/Dockerfile | 6 +++--- docker/Dockerfile-dev | 8 ++++---- requirements-dev.txt | 1 + 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.dockerignore b/.dockerignore index 9f1d4e1..0351cc1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ +z-dev .git .github .gitignore diff --git a/.gitignore b/.gitignore index 94fbcfd..5771a91 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ tests/data-files/external +z-dev # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/docker/Dockerfile b/docker/Dockerfile index 3a169c3..c751170 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,9 +8,9 @@ WORKDIR $DOCKER_WORKDIR # For caching purposes, install dependencies but remove the actual package COPY pyproject.toml setup.cfg ./ -COPY src/$DOCKER_NAMESPACE_PACKAGE_DIR/__init__.py src/$DOCKER_NAMESPACE_PACKAGE_DIR/ -RUN pip install . \ - && rm -r /opt/conda/lib/python$PYTHON_VERSION/site-packages/$DOCKER_NAMESPACE_PACKAGE_DIR +# COPY src/$DOCKER_NAMESPACE_PACKAGE_DIR/__init__.py src/$DOCKER_NAMESPACE_PACKAGE_DIR/ +# RUN pip install . \ +# && rm -r /opt/conda/lib/python$PYTHON_VERSION/site-packages/$DOCKER_NAMESPACE_PACKAGE_DIR COPY src ./src RUN pip install . diff --git a/docker/Dockerfile-dev b/docker/Dockerfile-dev index e2a1ed1..855e853 100644 --- a/docker/Dockerfile-dev +++ b/docker/Dockerfile-dev @@ -8,10 +8,10 @@ WORKDIR $DOCKER_WORKDIR # For caching purposes, install dependencies but remove the actual package COPY pyproject.toml requirements-dev.txt setup.cfg ./ -COPY src/$DOCKER_NAMESPACE_PACKAGE_DIR/__init__.py src/$DOCKER_NAMESPACE_PACKAGE_DIR/ -RUN pip install -r requirements-dev.txt \ - && pip install . \ - && rm -r /opt/conda/lib/python$PYTHON_VERSION/site-packages/$DOCKER_NAMESPACE_PACKAGE_DIR +# COPY src/$DOCKER_NAMESPACE_PACKAGE_DIR/__init__.py src/$DOCKER_NAMESPACE_PACKAGE_DIR/ +# RUN pip install -r requirements-dev.txt \ +# && pip install . \ +# && rm -r /opt/conda/lib/python$PYTHON_VERSION/site-packages/$DOCKER_NAMESPACE_PACKAGE_DIR COPY . ./ RUN pip install -e . diff --git a/requirements-dev.txt b/requirements-dev.txt index 6e349cf..c223f0f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -13,6 +13,7 @@ sphinx-click sphinxcontrib-fulltoc sphinxcontrib-napoleon types-click +types-pkg-resources types-pytz types-python-dateutil vcrpy From 54090ce731bd46776bc4408b3cef376fbf9e477c Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Sun, 6 Mar 2022 06:34:22 -0500 Subject: [PATCH 09/47] revert legacy_l8 to make existing tests untouched. --- src/stactools/landsat/commands.py | 2 +- tests/test_create_stac.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 1e6c3c8..bd7665a 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -44,7 +44,7 @@ def landsat() -> None: help="Use USGS STAC Item geometry") @click.option("-l", "--legacy_l8", - default=False, + default=True, show_default=True, help="Create deprecated Landsat 8 STAC Item") def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index ea2d4e6..99b5770 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -48,7 +48,7 @@ def check_proj_bbox(item, tif_bounds): with TemporaryDirectory() as tmp_dir: cmd = [ 'landsat', 'create-item', '--mtl', mtl_path, - '--output', tmp_dir, '--legacy_l8', True + '--output', tmp_dir ] self.run_command(cmd) @@ -132,7 +132,7 @@ def get_item(output_dir: str) -> pystac.Item: create_cmd = [ 'landsat', 'create-item', '--mtl', mtl_path, - '--output', create_dir, '--legacy_l8', True + '--output', create_dir ] self.run_command(create_cmd) From 15f4f5f15d6f1604fb3978f0881ded21962d2e0b Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 7 Mar 2022 08:45:07 -0500 Subject: [PATCH 10/47] add some tests, update temporal extents, fix default values --- examples/c2l2-file-list.txt | 2 +- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 4 +- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json} | 110 ++++----- examples/landsat-c2-l2/collection.json | 2 +- src/stactools/landsat/commands.py | 2 +- .../fragments/collections/landsat-c2-l1.json | 4 +- ...SP_010067_19860424_20200918_02_T2_MTL.xml} | 225 ++++++++---------- ...0067_19860424_20200918_02_T2_SR_stac.json} | 158 ++++++------ ...0067_19860424_20200918_02_T2_ST_stac.json} | 164 ++++++------- tests/test_commands.py | 14 ++ tests/test_create_stac.py | 51 ++++ 20 files changed, 402 insertions(+), 352 deletions(-) rename examples/landsat-c2-l2/{LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json => LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json} (80%) rename tests/data-files/tm/{LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml => LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml} (57%) rename tests/data-files/tm/{LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json => LT05_L2SP_010067_19860424_20200918_02_T2_SR_stac.json} (63%) rename tests/data-files/tm/{LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json => LT05_L2SP_010067_19860424_20200918_02_T2_ST_stac.json} (60%) diff --git a/examples/c2l2-file-list.txt b/examples/c2l2-file-list.txt index cbbe863..ddfcf2a 100644 --- a/examples/c2l2-file-list.txt +++ b/examples/c2l2-file-list.txt @@ -1,5 +1,5 @@ tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml -tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml +tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index e2a0a29..8c0ee25 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T20:02:38.278700Z", + "created": "2022-03-07T13:41:20.119274Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 60d65f3..9c358da 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T20:02:38.281369Z", + "created": "2022-03-07T13:41:20.121703Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index c49f76c..98db268 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T20:02:38.283018Z", + "created": "2022-03-07T13:41:20.123290Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 15f20ef..0614ec6 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T20:02:39.163366Z", + "created": "2022-03-07T13:41:21.252815Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 7416ca6..16f2ea8 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-05T20:02:39.172945Z", + "created": "2022-03-07T13:41:21.262952Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 411cb71..bcf377e 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -175,8 +175,8 @@ "temporal": { "interval": [ [ - "1972-07-01T00:00:00Z", - "2013-01-06T23:23:59Z" + "1972-07-25T00:00:00Z", + "2013-01-07T23:23:59Z" ] ] } diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 530bccd..3cf4ef7 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-05T20:49:28.754499Z", + "created": "2022-03-07T13:32:37.709674Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 11ca169..7b962e3 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-05T20:49:30.623263Z", + "created": "2022-03-07T13:32:39.342853Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 6782717..b705c36 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-05T20:49:28.751524Z", + "created": "2022-03-07T13:32:37.707181Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index be94fb1..b59939f 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-05T20:49:28.746540Z", + "created": "2022-03-07T13:32:37.702523Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json similarity index 80% rename from examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json rename to examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 85520c1..4b4eedf 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -1,66 +1,66 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "LT05_L2SP_010020_19860219_02_T1", + "id": "LT05_L2SP_010067_19860424_02_T2", "properties": { "platform": "landsat-5", "instruments": [ "tm" ], - "created": "2022-03-05T20:49:28.749799Z", + "created": "2022-03-07T13:32:37.705464Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", - "eo:cloud_cover": 53.0, + "eo:cloud_cover": 23.0, "view:off_nadir": 0, - "view:sun_elevation": 18.19826473, - "view:sun_azimuth": 153.18242297, - "proj:epsg": 32620, + "view:sun_elevation": 46.93006922, + "view:sun_azimuth": 58.47866092, + "proj:epsg": 32617, "proj:shape": [ - 7441, - 8071 + 6911, + 7761 ], "proj:transform": [ 30.0, 0.0, - 459585.0, + 416685.0, 0.0, -30.0, - 6465015.0 + -1014285.0 ], "sci:doi": "10.5066/P9IAXOVV", - "landsat:cloud_cover_land": 42.0, + "landsat:cloud_cover_land": 0.0, "landsat:wrs_type": "2", "landsat:wrs_path": "010", - "landsat:wrs_row": "020", - "landsat:collection_category": "T1", + "landsat:wrs_row": "067", + "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LT50100201986050PAC04", + "landsat:scene_id": "LT50100671986114XXX02", "landsat:correction": "L2SP", - "datetime": "1986-02-19T14:36:57.593038Z" + "datetime": "1986-04-24T14:54:18.179094Z" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ - -62.7433329006739, - 58.31006350780007 + -81.3606491977221, + -9.187665789119775 ], [ - -63.57579926056569, - 56.752734565923866 + -81.71420384083501, + -10.78601272561492 ], [ - -60.650040451200944, - 56.32075198558643 + -80.03622374833672, + -11.031664122545472 ], [ - -59.70609753006608, - 57.86231888901846 + -79.6954257591751, + -9.42855735849459 ], [ - -62.7433329006739, - 58.31006350780007 + -81.3606491977221, + -9.187665789119775 ] ] ] @@ -72,7 +72,7 @@ }, { "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1", + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2", "type": "text/html", "title": "USGS stac-browser page" }, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -167,7 +167,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -182,7 +182,7 @@ ] }, "sr_blue": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", @@ -208,7 +208,7 @@ ] }, "sr_green": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", @@ -234,7 +234,7 @@ ] }, "sr_red": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", @@ -260,7 +260,7 @@ ] }, "sr_nir08": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", @@ -286,7 +286,7 @@ ] }, "sr_swir16": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -312,7 +312,7 @@ ] }, "sr_swir22": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -338,7 +338,7 @@ ] }, "sr_atmos_opacity": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -354,7 +354,7 @@ ] }, "sr_cloud_qa": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -372,7 +372,7 @@ ] }, "st_lwir": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B6.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -399,7 +399,7 @@ ] }, "st_atran": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -416,7 +416,7 @@ ] }, "st_cdist": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -433,7 +433,7 @@ ] }, "st_drad": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -450,7 +450,7 @@ ] }, "st_urad": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -467,7 +467,7 @@ ] }, "st_trad": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -484,7 +484,7 @@ ] }, "st_emis": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -501,7 +501,7 @@ ] }, "st_emsd": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -518,7 +518,7 @@ ] }, "st_qa": { - "href": "tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF", + "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -536,10 +536,10 @@ } }, "bbox": [ - -63.68997227330424, - 56.27792531501672, - -59.55963419062565, - 58.324224684983285 + -81.7627572754399, + -11.050005612946427, + -79.63126351815944, + -9.173214387053573 ], "stac_extensions": [ "https://stac-extensions.github.io/raster/v1.0.0/schema.json", diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 960e93c..b89851d 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -22,7 +22,7 @@ }, { "rel": "item", - "href": "./LT05_L2SP_010020_19860219_02_T1/LT05_L2SP_010020_19860219_02_T1.json", + "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", "type": "application/json" }, { diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index bd7665a..7e9553b 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -39,7 +39,7 @@ def landsat() -> None: help="HREF of directory in which to write the item.") @click.option("-u", "--usgs_geometry", - default=True, + default=False, show_default=True, help="Use USGS STAC Item geometry") @click.option("-l", diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index def0831..a111ef1 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -51,8 +51,8 @@ "temporal": { "interval": [ [ - "1972-07-01T00:00:00Z", - "2013-01-06T23:23:59Z" + "1972-07-25T00:00:00Z", + "2013-01-07T23:23:59Z" ] ] } diff --git a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml b/tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml similarity index 57% rename from tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml rename to tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml index c745830..f1ddddd 100644 --- a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml +++ b/tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml @@ -3,33 +3,33 @@ Image courtesy of the U.S. Geological Survey https://doi.org/10.5066/P9IAXOVV - LT05_L2SP_010020_19860219_20200918_02_T1 + LT05_L2SP_010067_19860424_20200918_02_T2 L2SP 02 - T1 + T2 GEOTIFF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_B6.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF - LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt - LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt - LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml + LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_B6.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF + LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt + LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt + LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml UINT16 UINT16 UINT16 @@ -55,13 +55,13 @@ TM 2 010 - 020 - 1986-02-19 - 14:36:57.5930380Z - PAC - 53.00 - 42.00 - 9 + 067 + 1986-04-24 + 14:54:18.1790940Z + XXX + 23.00 + 0.00 + 7 Y Y Y @@ -69,9 +69,9 @@ Y N Y - 153.18242297 - 18.19826473 - 0.9886499 + 58.47866092 + 46.93006922 + 1.0058545 SAM ON NONE @@ -80,39 +80,39 @@ UTM WGS84 WGS84 - 20 + 17 30.00 30.00 - 7441 - 8071 - 7441 - 8071 + 6911 + 7761 + 6911 + 7761 NORTH_UP - 58.32409 - -63.68973 - 58.27967 - -59.55989 - 56.31922 - -63.65317 - 56.27806 - -59.74186 - 459600.000 - 6465000.000 - 701700.000 - 6465000.000 - 459600.000 - 6241800.000 - 701700.000 - 6241800.000 + -9.17511 + -81.75821 + -9.17335 + -79.63931 + -11.04987 + -81.76262 + -11.04774 + -79.63140 + 416700.000 + -1014300.000 + 649500.000 + -1014300.000 + 416700.000 + -1221600.000 + 649500.000 + -1221600.000 Image courtesy of the U.S. Geological Survey https://doi.org/10.5066/P9IAXOVV L2 - LT05_L2SP_010020_19860219_20200918_02_T1 + LT05_L2SP_010067_19860424_20200918_02_T2 L2SP GEOTIFF - 2020-09-18T07:36:38Z + 2020-09-18T01:21:27Z LPGS_15.3.1c LEDAPS_3.4.0 TOMS @@ -172,46 +172,31 @@ Image courtesy of the U.S. Geological Survey https://doi.org/10.5066/P918ROHC L2 - LT50100201986050PAC04 - LT05_L1TP_010020_19860219_20200918_02_T1 - L1TP - T1 + LT50100671986114XXX02 + LT05_L1GS_010067_19860424_20200918_02_T2 + L1GS + T2 GEOTIFF - 2020-09-18T07:19:37Z + 2020-09-18T01:07:36Z LPGS_15.3.1c - LT05_L1TP_010020_19860219_20200918_02_T1_B1.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_B2.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_B3.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_B4.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_B5.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_B6.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_B7.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_GCP.txt - LT05_L1TP_010020_19860219_20200918_02_T1_ANG.txt - LT05_L1TP_010020_19860219_20200918_02_T1_VAA.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_VZA.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_SAA.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_SZA.TIF - LT05_L1TP_010020_19860219_20200918_02_T1_MTL.txt - LT05_L1TP_010020_19860219_20200918_02_T1_MTL.xml - LT05CPF_19860101_19860331_02.01 - LT05_L1TP_010020_19860219_20200918_02_T1_VER.txt - LT05_L1TP_010020_19860219_20200918_02_T1_VER.jpg - GLS2000 - 5 - 24 - 10.941 - 7.801 - 7.672 - 41 - 0.586 - 0.527 - 0.000 - 0.614 - 0.444 - DEFINITIVE + LT05_L1GS_010067_19860424_20200918_02_T2_B1.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_B2.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_B3.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_B4.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_B5.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_B6.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_B7.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_QA_PIXEL.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_QA_RADSAT.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_ANG.txt + LT05_L1GS_010067_19860424_20200918_02_T2_VAA.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_VZA.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_SAA.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_SZA.TIF + LT05_L1GS_010067_19860424_20200918_02_T2_MTL.txt + LT05_L1GS_010067_19860424_20200918_02_T2_MTL.xml + LT05CPF_19860401_19860630_02.01 + PREDICTIVE 169.000 @@ -230,18 +215,18 @@ -0.150 - 0.266947 - -0.002401 - 0.581317 - -0.004958 - 0.544067 - -0.002411 - 0.656942 - -0.004489 - 0.442436 - -0.005421 - 0.616078 - -0.005601 + 0.276319 + -0.002485 + 0.601726 + -0.005132 + 0.563168 + -0.002496 + 0.680005 + -0.004646 + 0.457969 + -0.005611 + 0.637707 + -0.005797 255 @@ -274,18 +259,18 @@ -0.49035 1.18243 -0.21555 - 1.0604E-03 - 2.3082E-03 - 2.1515E-03 - 2.6041E-03 - 1.7632E-03 - 2.4476E-03 - -0.003461 - -0.007266 - -0.004563 - -0.007093 - -0.007184 - -0.008048 + 1.0977E-03 + 2.3892E-03 + 2.2270E-03 + 2.6955E-03 + 1.8251E-03 + 2.5335E-03 + -0.003583 + -0.007521 + -0.004723 + -0.007342 + -0.007436 + -0.008331 607.76 @@ -295,7 +280,7 @@ UTM WGS84 WGS84 - 20 + 17 30.00 30.00 NORTH_UP diff --git a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json b/tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_stac.json similarity index 63% rename from tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json rename to tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_stac.json index 2ebbd40..6b229a9 100644 --- a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json +++ b/tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_stac.json @@ -10,71 +10,71 @@ "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", "https://stac-extensions.github.io/storage/v1.0.0/schema.json" ], - "id": "LT05_L2SP_010020_19860219_20200918_02_T1_SR", + "id": "LT05_L2SP_010067_19860424_20200918_02_T2_SR", "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", "bbox": [ - -63.57579926056569, - 56.32075198558643, - -59.70609753006608, - 58.31006350780007 + -81.71420384083501, + -11.031664122545472, + -79.6954257591751, + -9.187665789119775 ], "geometry": { "type": "Polygon", "coordinates": [ [ [ - -62.7433329006739, - 58.31006350780007 + -81.3606491977221, + -9.187665789119775 ], [ - -63.57579926056569, - 56.752734565923866 + -81.71420384083501, + -10.78601272561492 ], [ - -60.650040451200944, - 56.32075198558643 + -80.03622374833672, + -11.031664122545472 ], [ - -59.70609753006608, - 57.86231888901846 + -79.6954257591751, + -9.42855735849459 ], [ - -62.7433329006739, - 58.31006350780007 + -81.3606491977221, + -9.187665789119775 ] ] ] }, "properties": { - "datetime": "1986-02-19T14:36:57.593038Z", - "eo:cloud_cover": 53.0, - "view:sun_azimuth": 153.18242297, - "view:sun_elevation": 18.19826473, + "datetime": "1986-04-24T14:54:18.179094Z", + "eo:cloud_cover": 23.0, + "view:sun_azimuth": 58.47866092, + "view:sun_elevation": 46.93006922, "platform": "LANDSAT_5", "instruments": [ "TM" ], "view:off_nadir": 0, - "landsat:cloud_cover_land": 42.0, + "landsat:cloud_cover_land": 0.0, "landsat:wrs_type": "2", "landsat:wrs_path": "010", - "landsat:wrs_row": "020", - "landsat:scene_id": "LT50100201986050PAC04", - "landsat:collection_category": "T1", + "landsat:wrs_row": "067", + "landsat:scene_id": "LT50100671986114XXX02", + "landsat:collection_category": "T2", "landsat:collection_number": "02", "landsat:correction": "L2SP", - "proj:epsg": 32620, + "proj:epsg": 32617, "proj:shape": [ - 7441, - 8071 + 6911, + 7761 ], "proj:transform": [ 30.0, 0.0, - 459585.0, + 416685.0, 0.0, -30.0, - 6465015.0 + -1014285.0 ] }, "assets": { @@ -84,15 +84,15 @@ "roles": [ "thumbnail" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg" } }, - "file:checksum": "134070501a580835a5c107fed75d33874c63d26eff3fbd43e29cbf384d78225428dfd9bb4e2874c5ce33f7acb62c3f07780af3749bff9cc9d472948da6a5bd8f9a44" + "file:checksum": "1340762b692f950b79a4d584e2198ded66206b91a51b2398654370636badbde1806b75424e12df67b1bf0f4e7c83d3cd24ef8315b14f18a4c4e367fded67da09902c" }, "reduced_resolution_browse": { "title": "Reduced resolution browse image", @@ -100,15 +100,15 @@ "roles": [ "overview" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg" } }, - "file:checksum": "1340e765c16236dc058f3d711567ac6b4f048c4061dd2f92cb4389460a1b9db71438efea96a89dee2c72379249816c868e47ad245cdc0596fcd13e9583487ecdef77" + "file:checksum": "134011d47dfd5c803dece6e634c69484fa4de2bdfdb3e91f42490e5af20d2cb3f753c1983d0ac7f62e4c9e4c68147933fa1b97f6a3bf6dc58f867627a8d4101268bd" }, "index": { "title": "HTML index page", @@ -116,7 +116,7 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1" + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2" }, "blue": { "title": "Blue Band (B1)", @@ -133,15 +133,15 @@ "center_wavelength": 0.49 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B1.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF" } }, - "file:checksum": "1340de0b30839700c796a8d20a5130651477226e6c9ef5411e3a317627733c8e76d6ada490d777ae82ea0fe2dffa636c2a81dba9cf803d76dbbed93e4784cacb3d4f" + "file:checksum": "1340d0072fd4abf9397a73a177cfdc135e877d5fd491a3ec0418310b034478075b78a92b8f088e5d8dc6ea2bde5923a7b2bf93358b09064719879e05b376c76d14ab" }, "green": { "title": "Green Band (B2)", @@ -158,15 +158,15 @@ "center_wavelength": 0.56 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B2.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF" } }, - "file:checksum": "1340251a6e609add7263d194782c5e53517d016b084ce5d28de71e6bc20774790d35cf8deee5c48dc3a0f4a08805c00584354e0b67c859d9b093a6288785c5c1a0b7" + "file:checksum": "1340f569bd286e36cb51a878af88c26f996a8184ce944d0918e6bfc5d46207affc0767e6f64e9637a560b20a913e8eb2eb9a4290fb82dddbeb81a2dd857466d82d86" }, "red": { "title": "Red Band (B3)", @@ -183,15 +183,15 @@ "center_wavelength": 0.66 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B3.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF" } }, - "file:checksum": "1340a1300b971e915172b32cd0df7e88c4c374a9aa7c71704b9a2ec642d7123daedd2c1a830641938fc0caecd48f9c45d611338d2fe091dd97f1acf5cdb280bbfac3" + "file:checksum": "13401209a04dda51773b8f59f43489c8128acf1c62671d30498292131c2bfe85cdac33a26aa065a7099f5450ccc684f430838066092e10000358831e53a49fe38875" }, "nir08": { "title": "Near Infrared Band 0.8 (B4)", @@ -209,15 +209,15 @@ "center_wavelength": 0.84 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B4.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF" } }, - "file:checksum": "134044023b2dc93064db2f82a1a92557c963294dee19b3f6681c40f4a3118e68680f0dc919a4775c93b562ed5d56a2408ba67bdced773edeb82c379adb4cdfc4e3b9" + "file:checksum": "134063bde39739b47d1de41de2c2ca7d326e6fcd1e5fba62ed877de636d33450987511db526df1811060d2e96063a4baa5e8450ff2fdac38075c286742e0ba588f18" }, "swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", @@ -235,15 +235,15 @@ "center_wavelength": 1.65 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B5.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF" } }, - "file:checksum": "1340cdfad3e9cd2ec9a78ad4c00dbe8116e5bfe97a1e667bb2d8fec7bcbdf47c13667fed2c10eb6e9d71f5cfbeb662d5cb1b52e09083886052bfee69c3caae798321" + "file:checksum": "134008154dd57f5521ea2e9e0fb10a7aaa318e6912f22f86030c6b0ad46daac5488492da973f3780f8d900766fac086cf07cc22767205ec76c62f577f49ddfa06a66" }, "swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", @@ -261,15 +261,15 @@ "center_wavelength": 2.22 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_B7.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF" } }, - "file:checksum": "1340ea90efb7905e15907d07546e9a91fa50493e024d4869d67f48415c47fee6c6309b4c013da09d07a300061e3a79b2c6016540d8b0b3697134ea309a5f0248fdd0" + "file:checksum": "1340c500f24d3e46b0e5b6ac0ea6e60e5294695b5830b697efc3f3c0f7e96dafe82d9041840225103d92cdda91062f1b32e197ef401baa124d9a21b4a6367fb4b836" }, "atmos_opacity": { "title": "Atmospheric Opacity Band", @@ -278,15 +278,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_ATMOS_OPACITY.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF" } }, - "file:checksum": "1340921689f20009f2e06b8033e729842caef1335846bc9a398ca986ece898e6919d975e5173afe95f73c46de201e1b76b9cfbfc4d69f8294ce93bee46b7873578e9" + "file:checksum": "1340cd8735aac09776f843d6a721395d9823bfcd17244f4557fc374facf1bacfc608c048de70d38b8a3541c5f4c8a502cb73429b0ae913e7e4779efa1a43f7015a56" }, "cloud_qa": { "title": "Cloud Quality Analysis Band", @@ -299,15 +299,15 @@ "snow-ice", "water-mask" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_CLOUD_QA.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF" } }, - "file:checksum": "13405b8e277decff5e0804447ccb0815519cc172f75a7e1b631065aac6d2165726b7a346570d93ebc900600ccd7c84b06c1370c4b2c8208c26353e51e5eef95a2096" + "file:checksum": "1340579376792491abe5ed4365f41e0a8100c307db83cfddbc03ec5a96b0fd0f1d0838d3e0c70f525d43f2d8e3e181ca39d41abaed83ae25eb00a45d4dd0960a45e0" }, "ANG.txt": { "title": "Angle Coefficients File", @@ -316,15 +316,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt" } }, - "file:checksum": "1340d54cc0a48b238611a63ee1b4d28dbcbc77ce3db522bcb589dfb6f1d4c299fb14a1e6f4503872bff9c3129a9b5515c94fcb33ed619534d685de5178baebc24b47" + "file:checksum": "13404895bbba90c357466758dab780deca381aeec2e3fb238b54bb5dc1d9db1968bdfd6ceb2dabcd6c0c23d917b6f3e8b7ff589e7f440ade9767620afee1308f9a53" }, "MTL.txt": { "title": "Product Metadata File", @@ -333,15 +333,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt" } }, - "file:checksum": "134071400c3f7fe93e0507f30d56562840d8e64f59472af4545b2cd9055d006073a5d277a3abc9bcd4206b89f73433d47c742a55ad08fe85d7e6cd503f2cd5a0710f" + "file:checksum": "134010c1469d60a7051fdc89af7b912f220e41c65c5062d4008f9a6cfdeaff2a29d472eb1b0e1199c66818881f5e41a2cc60c534409f144f66b0decde14e01256b3b" }, "MTL.xml": { "title": "Product Metadata File (xml)", @@ -350,15 +350,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml" } }, - "file:checksum": "134025221e095b0b6a03a953b1108601018d5f85a39c90ee243b0f9aca154f24748e0fdc68f6f112ebe393fd3348ae8d51d2de473d64b30459e3ffb0d1d4b0c7f12a" + "file:checksum": "134011cae7037983141995b3d5f9b493de2476a0dc86296298ea542582be72b13d1f9e599ac35a5ada4d6d647b859949f07e979995e2947d0ce8e859735c4da46a94" }, "MTL.json": { "title": "Product Metadata File (json)", @@ -367,15 +367,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json" } }, - "file:checksum": "1340e39be4dc031767e04c172b3205f992eb18b7aa924045967148802a4da2428e9ebdb69657cc9a4895feb38fca9cbd388d9f2aac6c037477f32fd10e4ce04ac83d" + "file:checksum": "13407093c805b20691992836d48f3b5426ba6444a8f95b388fd56ca7dc50532499d4dc135676690a06ea5d969ab285ad26e7ad7fff95dcdf2ba5edf9102ff161b585" }, "qa_pixel": { "title": "Pixel Quality Assessment Band", @@ -387,15 +387,15 @@ "snow-ice", "water-mask" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF" } }, - "file:checksum": "134014e9b6cb4da308108c1efc804db631ba43526df1a457c47cd07001648de2f23c0f6da43ae14e428b2684a6f866e251cf960ce75a5a5d5a099d6b80c225844cb5" + "file:checksum": "1340f4d6dcbd219d7b157b56caedcf649e360a553775196b319f854813a8adaf5e398208a7dbfb7815c3b84e96e983b0e0e565739ce52e56451d70bd71fb2f3dd03a" }, "qa_radsat": { "title": "Radiometric Saturation Quality Assessment Band", @@ -404,15 +404,15 @@ "roles": [ "saturation" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF" } }, - "file:checksum": "1340a2a0ec82a1e976addfbd9393c768a5404fe74ed7d554651c61f7dabd5a5f81f69085127258685edeaf8f2bb3eb7b0440b35d806e280c49daed9d8da0db1eb681" + "file:checksum": "13408cef3d5be8aea494db23d006e170e951074154caca1b8f9f310d4891db9699705d2c678fb595e8eb46000149592ca7b03b27c05bc613aa371021581d2ab11cab" } }, "links": [ @@ -422,7 +422,7 @@ }, { "rel": "parent", - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/catalog.json" + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/catalog.json" }, { "rel": "collection", @@ -430,7 +430,7 @@ }, { "rel": "self", - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_SR_stac.json" + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_SR_stac.json" } ], "collection": "landsat-c2l2-sr" diff --git a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json b/tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_stac.json similarity index 60% rename from tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json rename to tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_stac.json index c93b621..b81498c 100644 --- a/tests/data-files/tm/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json +++ b/tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_stac.json @@ -10,71 +10,71 @@ "https://stac-extensions.github.io/alternate-assets/v1.1.0/schema.json", "https://stac-extensions.github.io/storage/v1.0.0/schema.json" ], - "id": "LT05_L2SP_010020_19860219_20200918_02_T1_ST", + "id": "LT05_L2SP_010067_19860424_20200918_02_T2_ST", "description": "Landsat Collection 2 Level-2 Surface Temperature Product", "bbox": [ - -63.57579926056569, - 56.32075198558643, - -59.70609753006608, - 58.31006350780007 + -81.71420384083501, + -11.031664122545472, + -79.6954257591751, + -9.187665789119775 ], "geometry": { "type": "Polygon", "coordinates": [ [ [ - -62.7433329006739, - 58.31006350780007 + -81.3606491977221, + -9.187665789119775 ], [ - -63.57579926056569, - 56.752734565923866 + -81.71420384083501, + -10.78601272561492 ], [ - -60.650040451200944, - 56.32075198558643 + -80.03622374833672, + -11.031664122545472 ], [ - -59.70609753006608, - 57.86231888901846 + -79.6954257591751, + -9.42855735849459 ], [ - -62.7433329006739, - 58.31006350780007 + -81.3606491977221, + -9.187665789119775 ] ] ] }, "properties": { - "datetime": "1986-02-19T14:36:57.593038Z", - "eo:cloud_cover": 53.0, - "view:sun_azimuth": 153.18242297, - "view:sun_elevation": 18.19826473, + "datetime": "1986-04-24T14:54:18.179094Z", + "eo:cloud_cover": 23.0, + "view:sun_azimuth": 58.47866092, + "view:sun_elevation": 46.93006922, "platform": "LANDSAT_5", "instruments": [ "TM" ], "view:off_nadir": 0, - "landsat:cloud_cover_land": 42.0, + "landsat:cloud_cover_land": 0.0, "landsat:wrs_type": "2", "landsat:wrs_path": "010", - "landsat:wrs_row": "020", - "landsat:scene_id": "LT50100201986050PAC04", - "landsat:collection_category": "T1", + "landsat:wrs_row": "067", + "landsat:scene_id": "LT50100671986114XXX02", + "landsat:collection_category": "T2", "landsat:collection_number": "02", "landsat:correction": "L2SP", - "proj:epsg": 32620, + "proj:epsg": 32617, "proj:shape": [ - 7441, - 8071 + 6911, + 7761 ], "proj:transform": [ 30.0, 0.0, - 459585.0, + 416685.0, 0.0, -30.0, - 6465015.0 + -1014285.0 ] }, "assets": { @@ -84,15 +84,15 @@ "roles": [ "thumbnail" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_small.jpeg" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg" } }, - "file:checksum": "134070501a580835a5c107fed75d33874c63d26eff3fbd43e29cbf384d78225428dfd9bb4e2874c5ce33f7acb62c3f07780af3749bff9cc9d472948da6a5bd8f9a44" + "file:checksum": "1340762b692f950b79a4d584e2198ded66206b91a51b2398654370636badbde1806b75424e12df67b1bf0f4e7c83d3cd24ef8315b14f18a4c4e367fded67da09902c" }, "reduced_resolution_browse": { "title": "Reduced resolution browse image", @@ -100,15 +100,15 @@ "roles": [ "overview" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_thumb_large.jpeg" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg" } }, - "file:checksum": "1340e765c16236dc058f3d711567ac6b4f048c4061dd2f92cb4389460a1b9db71438efea96a89dee2c72379249816c868e47ad245cdc0596fcd13e9583487ecdef77" + "file:checksum": "134011d47dfd5c803dece6e634c69484fa4de2bdfdb3e91f42490e5af20d2cb3f753c1983d0ac7f62e4c9e4c68147933fa1b97f6a3bf6dc58f867627a8d4101268bd" }, "index": { "title": "HTML index page", @@ -116,7 +116,7 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1" + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2" }, "lwir": { "title": "Surface Temperature Band (B6)", @@ -134,15 +134,15 @@ "center_wavelength": 11.45 } ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_B6.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_B6.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_B6.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_B6.TIF" } }, - "file:checksum": "134052359750f9218b1f2c8af903305aa3040e7f971332a3c34d5ba67b717b80f45ea721d2bbce1097353409e7bc1dcf16b5d7513f8475e7e3434ee02af8bbe69a2a" + "file:checksum": "1340fa1c0a7726ab098a87d30c66edd3ec0cf5c4cacea09fb50bb7efbcc800546ad0c6e702165c35e68e4bd688a2538bffdc5fe3299935189b58136b9385c87bde78" }, "ATRAN": { "title": "Atmospheric Transmittance Band", @@ -151,15 +151,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_ATRAN.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF" } }, - "file:checksum": "13409396e318bc46268c8b4ffa337ccc07c2c1d3e4678910ff265ad455e6c3b527ea8bda0c51d1b26fbcb5d18aa2e8d0dc25ad62debc38a5ac7f8bbdfab3dce33607" + "file:checksum": "13402e1bba4d831e55508610a18987232146d2ad3992b9eedb99546a69ee369c55bff1bb44f3a154fde3c6a95dfec8210331f11f974a81550cc4747b78759c6beaea" }, "CDIST": { "title": "Cloud Distance Band", @@ -168,15 +168,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_CDIST.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF" } }, - "file:checksum": "1340f57664470eed77e9b844a8650c29bcd2d3803ae545591363d5bcb202a9af23757bb88127c4dfa35a3ab9ac5d1f2e21222c56b4dcb05ed723f95e41d53caa3b32" + "file:checksum": "13406f30297f803eac19b9522d145f308426da1086a6cbff5989db8aa7679a180d531ac6383a3cfbe7399af29a027aa6f1f69433f45d5cf4cb1327b8cd8e3af8ff84" }, "DRAD": { "title": "Downwelled Radiance Band", @@ -185,15 +185,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_DRAD.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF" } }, - "file:checksum": "13405439f296ab81cfd71bb3acd7f4cdde7dfd00aa0f2f51f31499d53218ee5788c3d00e08caf80cf04f4e83791b795df5c6084e63685c3111c095f5026e8e473f8e" + "file:checksum": "13402be738d749b6bf53f33baca35e347a6288d643a3ddf8b26a8c4003680e1ac328d0274f2243e714e7a05e075954feeee5930d6d16ea7ccd3ddc130a393189c345" }, "URAD": { "title": "Upwelled Radiance Band", @@ -202,15 +202,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_URAD.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF" } }, - "file:checksum": "1340bab75e8e1e467f3182a525621374e4d251ac647ed9d314fb5a8f88e4604fde3d658a7e0200dd31c06739f405f248f746100f21912a4b0f91739143f4856af690" + "file:checksum": "13406c5ee27013f9efea42c8c46be717d48d719ec7eb2b2b4fe07a103b96ef9c89c8812bba6fc189ce0d69b67d3e98ef58c232eae82b98c8bc25f5bcdf57a079ab8c" }, "TRAD": { "title": "Thermal Radiance Band", @@ -219,15 +219,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_TRAD.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF" } }, - "file:checksum": "1340873da89bb3b6cd7d6caa9b136a1995aa1d31d30328b531cba02939a3f7224b17f9702ed87acab5a099822c12110c725c8becbcb501a90e639480ad9d0b7410df" + "file:checksum": "1340cc207fe5b0c99b78e8d01cb7b15edf19e8f3a517a54c336fc22d1093abcef8092c33682c3af228ac2bc60b1cab2343ece280b83f96f40be70c35c34d7c7de2d2" }, "EMIS": { "title": "Emissivity Band", @@ -236,15 +236,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMIS.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF" } }, - "file:checksum": "134058ef01b16d83b3e4ae176ad8ecd2ba420a4cba628cd8cd8e24a5bdc4e8ab61ffcd67d8bd960a2a73f77cc5a9ab1aed41173cd2c4f71cd9608a0f01268f5725b1" + "file:checksum": "1340e68abd56bdaa21ccaa6ebb12924a47fb40c8e4374680aa1bd44759d570bf16a9537f4431bb0bb35b50311ca3bd00c73c2957bd8ce59dfc80c534f40c5deddbb6" }, "EMSD": { "title": "Emissivity Standard Deviation Band", @@ -253,15 +253,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_EMSD.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF" } }, - "file:checksum": "134007c41863630c6150e464cc94f598be9ad0aded81432315a341e5865b04caff70036302bba75b6dfff3075fa1bc119986ec1a7a9e1a9e19380a7732bcfe9f426b" + "file:checksum": "13405ad78a0bf6832ce460488683eaae56edd466aac598e0d54615a7150725e71bfa9e27870985d59109c3f47a3b2f9e21cefd5ed8c8047587bf23193037debd0bbc" }, "QA": { "title": "Surface Temperature Quality Assessment Band", @@ -270,15 +270,15 @@ "roles": [ "data" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_QA.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF" } }, - "file:checksum": "134099f940def5c1f41636a04c0077e9d14a588008785740c72d0e5a3da364e7629885d740f0fe8c579b0e8db92c4628b80c5ec4ec4edf261910efb15d7928857cd1" + "file:checksum": "1340a99b0cccd4a17eefa3b0f820ad18c8c417ed8aa1786f9417e459ef8e1906436fb488671450d20d2190af82e5e41aa4e9f15f37a22afc1edd0559485ba1b50b38" }, "ANG.txt": { "title": "Angle Coefficients File", @@ -287,15 +287,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ANG.txt" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt" } }, - "file:checksum": "1340d54cc0a48b238611a63ee1b4d28dbcbc77ce3db522bcb589dfb6f1d4c299fb14a1e6f4503872bff9c3129a9b5515c94fcb33ed619534d685de5178baebc24b47" + "file:checksum": "13404895bbba90c357466758dab780deca381aeec2e3fb238b54bb5dc1d9db1968bdfd6ceb2dabcd6c0c23d917b6f3e8b7ff589e7f440ade9767620afee1308f9a53" }, "MTL.txt": { "title": "Product Metadata File", @@ -304,15 +304,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.txt" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt" } }, - "file:checksum": "134071400c3f7fe93e0507f30d56562840d8e64f59472af4545b2cd9055d006073a5d277a3abc9bcd4206b89f73433d47c742a55ad08fe85d7e6cd503f2cd5a0710f" + "file:checksum": "134010c1469d60a7051fdc89af7b912f220e41c65c5062d4008f9a6cfdeaff2a29d472eb1b0e1199c66818881f5e41a2cc60c534409f144f66b0decde14e01256b3b" }, "MTL.xml": { "title": "Product Metadata File (xml)", @@ -321,15 +321,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.xml" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml" } }, - "file:checksum": "134025221e095b0b6a03a953b1108601018d5f85a39c90ee243b0f9aca154f24748e0fdc68f6f112ebe393fd3348ae8d51d2de473d64b30459e3ffb0d1d4b0c7f12a" + "file:checksum": "134011cae7037983141995b3d5f9b493de2476a0dc86296298ea542582be72b13d1f9e599ac35a5ada4d6d647b859949f07e979995e2947d0ce8e859735c4da46a94" }, "MTL.json": { "title": "Product Metadata File (json)", @@ -338,15 +338,15 @@ "roles": [ "metadata" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_MTL.json" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json" } }, - "file:checksum": "1340e39be4dc031767e04c172b3205f992eb18b7aa924045967148802a4da2428e9ebdb69657cc9a4895feb38fca9cbd388d9f2aac6c037477f32fd10e4ce04ac83d" + "file:checksum": "13407093c805b20691992836d48f3b5426ba6444a8f95b388fd56ca7dc50532499d4dc135676690a06ea5d969ab285ad26e7ad7fff95dcdf2ba5edf9102ff161b585" }, "qa_pixel": { "title": "Pixel Quality Assessment Band", @@ -358,15 +358,15 @@ "snow-ice", "water-mask" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_PIXEL.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF" } }, - "file:checksum": "134014e9b6cb4da308108c1efc804db631ba43526df1a457c47cd07001648de2f23c0f6da43ae14e428b2684a6f866e251cf960ce75a5a5d5a099d6b80c225844cb5" + "file:checksum": "1340f4d6dcbd219d7b157b56caedcf649e360a553775196b319f854813a8adaf5e398208a7dbfb7815c3b84e96e983b0e0e565739ce52e56451d70bd71fb2f3dd03a" }, "qa_radsat": { "title": "Radiometric Saturation Quality Assessment Band", @@ -375,15 +375,15 @@ "roles": [ "saturation" ], - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", "alternate": { "s3": { "storage:platform": "AWS", "storage:requester_pays": true, - "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_QA_RADSAT.TIF" + "href": "s3://usgs-landsat/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF" } }, - "file:checksum": "1340a2a0ec82a1e976addfbd9393c768a5404fe74ed7d554651c61f7dabd5a5f81f69085127258685edeaf8f2bb3eb7b0440b35d806e280c49daed9d8da0db1eb681" + "file:checksum": "13408cef3d5be8aea494db23d006e170e951074154caca1b8f9f310d4891db9699705d2c678fb595e8eb46000149592ca7b03b27c05bc613aa371021581d2ab11cab" } }, "links": [ @@ -393,7 +393,7 @@ }, { "rel": "parent", - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/catalog.json" + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/catalog.json" }, { "rel": "collection", @@ -401,7 +401,7 @@ }, { "rel": "self", - "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/020/LT05_L2SP_010020_19860219_20200918_02_T1/LT05_L2SP_010020_19860219_20200918_02_T1_ST_stac.json" + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2/LT05_L2SP_010067_19860424_20200918_02_T2_ST_stac.json" } ], "collection": "landsat-c2l2-st" diff --git a/tests/test_commands.py b/tests/test_commands.py index 35b32c2..5366199 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -122,3 +122,17 @@ def test_converts(self): item = pystac.Item.from_file(output_stac_file) projection = ProjectionExtension.ext(item) self.assertEqual(projection.epsg, 3031) + + def test_create_nonlegacyl8_item(self) -> None: + infile = test_data.get_path( + "data-files/assets4/LC08_L2SP_017036_20130419_20200913_02_T2_MTL.xml" + ) + + with TemporaryDirectory() as temp_dir: + cmd = (f"landsat create-item --mtl {infile} --output {temp_dir} " + f"--usgs_geometry True --legacy_l8 False") + self.run_command(cmd) + item_path = os.path.join(temp_dir, + "LC08_L2SP_017036_20130419_02_T2.json") + item = pystac.read_file(item_path) + item.validate() diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index 99b5770..3d39719 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -14,6 +14,8 @@ THERMAL_ASSET_DEFS) from stactools.landsat.commands import create_landsat_command from stactools.landsat.constants import L8_SP_BANDS, L8_SR_BANDS +from stactools.landsat.stac import create_stac_item +from tests import test_data from tests.data import TEST_MTL_PATHS @@ -174,3 +176,52 @@ def get_item(output_dir: str) -> pystac.Item: # msg= # f"{set(converted_item.assets.keys()) - set(created_item.assets.keys())}" # ) + + +def test_nonlegacyl8_item() -> None: + mtl_path = test_data.get_path( + "data-files/assets4/LC08_L2SP_017036_20130419_20200913_02_T2_MTL.xml") + item = create_stac_item(mtl_path, legacy_l8=False) + item_dict = item.to_dict() + + # nonlegacy uses v1.1.1 landsat extension + ext = "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + assert ext in item.stac_extensions + + # nonlegacy handles non-zero roll + assert item_dict["properties"]["view:off_nadir"] != 0 + + # nonlegacy has doi link + assert len(item.get_links("cite-as")) == 1 + + # nonlegacy usgs browser link includes processing date + usgs_browser_link = item.get_links("alternate")[0].href + endpoint = os.path.basename(usgs_browser_link) + assert len(endpoint) == 40 + + +def test_read_href_modifier() -> None: + mtl_path = test_data.get_path( + "data-files/assets4/LC08_L2SP_017036_20130419_20200913_02_T2_MTL.xml") + + did_it = False + + def read_href_modifier(href: str) -> str: + nonlocal did_it + did_it = True + return href + + _ = create_stac_item(mtl_path, + legacy_l8=False, + read_href_modifier=read_href_modifier) + assert did_it + + +def test_southern_hemisphere_epsg() -> None: + mtl_path = test_data.get_path( + "data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml") + item = create_stac_item(mtl_path, legacy_l8=False, use_usgs_geometry=True) + item_dict = item.to_dict() + + # northern hemisphere UTM zone for southern hemisphere scene + assert item_dict["properties"]["proj:epsg"] == 32617 From 2482cfb120310561e51473e54a0e547932250d1d Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 7 Mar 2022 08:54:19 -0500 Subject: [PATCH 11/47] fix typing error --- src/stactools/landsat/fragments/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index db249ef..56e217e 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -170,7 +170,7 @@ def _update_mss_raster(self, mss_raster_dict: Dict[str, return mss_raster_dict - def _convert_assets(self, asset_dicts: Dict[str, Any]) -> dict[str, Asset]: + def _convert_assets(self, asset_dicts: Dict[str, Any]) -> Dict[str, Asset]: assets = {} for key, asset_dict in asset_dicts.items(): media_type = asset_dict.pop("type", None) From a95e9bec319413802147c68bc64f317727e7af76 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 8 Mar 2022 05:38:36 -0500 Subject: [PATCH 12/47] sundry review edits - switch legacy_l8 command option to a flag, which changes the command default for using the legacy l8 method to to False - remove "deprecated" terminology - grammar edit --- README.md | 6 +- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- src/stactools/landsat/commands.py | 37 +- ...2SP_047027_20201204_20210313_02_T1_ANG.txt | 1509 +++++++++++++++++ ...2SP_010065_20220129_20220131_02_T1_ANG.txt | 1509 +++++++++++++++++ tests/test_commands.py | 2 +- tests/test_create_stac.py | 4 +- 16 files changed, 3051 insertions(+), 36 deletions(-) create mode 100644 tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt create mode 100644 tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt diff --git a/README.md b/README.md index ac13ff9..b9e5c27 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ Source: https://pubs.usgs.gov/fs/2015/3081/fs20153081_ver1.2.pdf To create a STAC `Item`: ```bash -$ stac landsat create-item --mtl tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml --output exampleslandsat-c2-l2 +$ stac landsat create-item --mtl tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml --output examples --usgs_geometry ``` To create a STAC `Collection` from a text file containing a list of Landsat scene XML metadata files: ```bash -$ stac landsat create-collection --file_list examples/c2l2-file-list.txt --output examples/landsat-c2-l2 --id landsat-c2-l2 +$ stac landsat create-collection --file_list examples/c2l2-file-list.txt --output examples/landsat-c2-l2 --id landsat-c2-l2 --usgs_geometry ``` -This `create-collection` command is exactly how the contents of the `examples/landsat-c2-l2` directory are generated. +The above `create-collection` command is exactly how the contents of the `examples/landsat-c2-l2` directory are generated. diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 8c0ee25..43c2fc6 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-07T13:41:20.119274Z", + "created": "2022-03-08T10:33:48.853081Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 9c358da..9b696f8 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-07T13:41:20.121703Z", + "created": "2022-03-08T10:33:48.855315Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 98db268..371efb9 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-07T13:41:20.123290Z", + "created": "2022-03-08T10:33:48.856823Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 0614ec6..3e67bf3 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-07T13:41:21.252815Z", + "created": "2022-03-08T10:33:50.212475Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 16f2ea8..da78c1f 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-07T13:41:21.262952Z", + "created": "2022-03-08T10:33:50.222503Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 3cf4ef7..f888fb5 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-07T13:32:37.709674Z", + "created": "2022-03-08T10:32:55.634835Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 7b962e3..50439b5 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-07T13:32:39.342853Z", + "created": "2022-03-08T10:32:56.597928Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index b705c36..3aca546 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-07T13:32:37.707181Z", + "created": "2022-03-08T10:32:55.632324Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index b59939f..0dd4490 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-07T13:32:37.702523Z", + "created": "2022-03-08T10:32:55.627774Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 4b4eedf..6b8f320 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-07T13:32:37.705464Z", + "created": "2022-03-08T10:32:55.630579Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 23.0, diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 7e9553b..8ed7b9f 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -9,7 +9,7 @@ def create_landsat_command(cli: Group) -> Command: - """Creates a command group for commands working with the USGS' Landsat + """Creates a command group for commands working with the USGS's Landsat Collection 2 metadata. """ @@ -23,12 +23,6 @@ def landsat() -> None: @landsat.command( "create-item", short_help="Creates a STAC Item from Collection 2 scene metadata.") - @click.option("--level", - type=click.Choice(['level-1', 'level-2'], - case_sensitive=False), - default="level-2", - show_default=True, - help="Product level to process. Deprecated.") @click.option("-m", "--mtl", required=True, @@ -39,14 +33,18 @@ def landsat() -> None: help="HREF of directory in which to write the item.") @click.option("-u", "--usgs_geometry", - default=False, - show_default=True, + is_flag=True, help="Use USGS STAC Item geometry") @click.option("-l", "--legacy_l8", - default=True, + is_flag=True, + help="Create legacy Landsat 8 STAC Item") + @click.option("--level", + type=click.Choice(['level-1', 'level-2'], + case_sensitive=False), + default="level-2", show_default=True, - help="Create deprecated Landsat 8 STAC Item") + help="Product level to process. Unused.") def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, legacy_l8) -> None: """\b @@ -69,15 +67,15 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, \b Args: - level (str): Choice of 'level-1' or 'level-2'. This is deprecated - and has no effect. mtl (str): HREF to the source MTL metadata xml file output (str): Directory that will contain the STAC Item - usgs_geometry (bool): Use the geometry from a USGS STAC Item that + usgs_geometry: Flag to use the geometry from a USGS STAC Item that resides in the same directory as the MTL xml file or can be queried from the USGS STAC API. - legacy_l8 (bool): Use the legacy (deprecated) method for creating a - Landsat 8 STAC Item. + legacy_l8: Flag to use the legacy method for creating a Landsat 8 + STAC Item. + level (str): Choice of 'level-1' or 'level-2'. This is not used + and has no effect. """ item = create_stac_item(mtl_xml_href=mtl, use_usgs_geometry=usgs_geometry, @@ -107,8 +105,7 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, "'landsat-c2-l2'") @click.option("-u", "--usgs_geometry", - default=True, - show_default=True, + is_flag=True, help="Use USGS STAC Item geometry") def create_collection_cmd(file_list: str, output: str, id: str, usgs_geometry: bool) -> None: @@ -121,7 +118,7 @@ def create_collection_cmd(file_list: str, output: str, id: str, should point to XML MTL metadata files. output (str): Directory that will contain the collection. id (str): Choice of 'landsat-c2-l1' or 'landsat-c2-l2'. - usgs_geometry (bool): Use the geometry from a USGS STAC Item that + usgs_geometry: Flag to use the geometry from a USGS STAC Item that resides in the same directory as the MTL xml file or can be queried from the USGS STAC API. """ @@ -160,7 +157,7 @@ def convert_cmd(stac: str, enable_proj: bool, dst: str) -> None: Args: stac (str): href to the source STAC file dst (str): Directory that will contain the STAC Item - enable_proj (flag): Include the proj extension in the created STAC + enable_proj: Flag to include the proj extension in the created STAC Item """ in_item = Item.from_file(stac) diff --git a/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt new file mode 100644 index 0000000..363c85d --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt @@ -0,0 +1,1509 @@ +GROUP = FILE_HEADER + LANDSAT_SCENE_ID = "LC80470272020339LGN00" + SPACECRAFT_ID = "LANDSAT_8" + NUMBER_OF_BANDS = 11 + BAND_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) +END_GROUP = FILE_HEADER +GROUP = PROJECTION + ELLIPSOID_AXES = (6378137.000000, 6356752.314200) + MAP_PROJECTION = "UTM" + PROJECTION_UNITS = "METERS" + DATUM = "WGS84" + ELLIPSOID = "WGS84" + UTM_ZONE = 10 + PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) + UL_CORNER = ( 353700.000, 5374200.000) + UR_CORNER = ( 589500.000, 5374200.000) + LL_CORNER = ( 353700.000, 5135100.000) + LR_CORNER = ( 589500.000, 5135100.000) +END_GROUP = PROJECTION +GROUP = EPHEMERIS + EPHEMERIS_EPOCH_YEAR = 2020 + EPHEMERIS_EPOCH_DAY = 339 + EPHEMERIS_EPOCH_SECONDS = 68504.716065 + NUMBER_OF_POINTS = 55 + EPHEMERIS_TIME = ( 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, + 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, + 10.000000, 11.000000, 12.000000, 13.000000, 14.000000, + 15.000000, 16.000000, 17.000000, 18.000000, 19.000000, + 20.000000, 21.000000, 22.000000, 23.000000, 24.000000, + 25.000000, 26.000000, 27.000000, 28.000000, 29.000000, + 30.000000, 31.000000, 32.000000, 33.000000, 34.000000, + 35.000000, 36.000000, 37.000000, 38.000000, 39.000000, + 40.000000, 41.000000, 42.000000, 43.000000, 44.000000, + 45.000000, 46.000000, 47.000000, 48.000000, 49.000000, + 50.000000, 51.000000, 52.000000, 53.000000, 54.000000) + EPHEMERIS_ECEF_X = (-2521527.732848, -2526169.108174, -2530808.052515, -2535444.858431, -2540079.332919, + -2544711.466538, -2549341.097295, -2553968.344507, -2558593.464154, -2563216.133681, + -2567836.454174, -2572454.679756, -2577070.346979, -2581683.681658, -2586294.732862, + -2590903.317731, -2595509.469212, -2600113.332274, -2604714.696054, -2609313.587149, + -2613909.963796, -2618504.134077, -2623096.055054, -2627685.587816, -2632272.576181, + -2636856.996552, -2641439.224494, -2646018.838755, -2650595.902751, -2655170.584069, + -2659742.718371, -2664312.309113, -2668879.523330, -2673444.136013, -2678006.476571, + -2682566.349360, -2687123.777768, -2691678.617445, -2696230.718726, -2700780.273464, + -2705327.497441, -2709872.152385, -2714414.229538, -2718953.690096, -2723490.794579, + -2728025.242341, -2732557.119251, -2737086.415514, -2741613.133082, -2746137.365882, + -2750658.924775, -2755177.968066, -2759694.329628, -2764208.056143, -2768719.206237) + EPHEMERIS_ECEF_Y = (-3917343.912767, -3920918.964178, -3924488.871086, -3928053.626138, -3931613.390663, + -3935168.114812, -3938717.782312, -3942262.210100, -3945801.890588, -3949336.230367, + -3952865.517667, -3956389.824400, -3959908.918905, -3963422.834112, -3966931.722935, + -3970435.542354, -3973934.064214, -3977427.912822, -3980916.305353, -3984399.429658, + -3987877.634947, -3991350.663449, -3994818.725041, -3998281.558453, -4001739.254918, + -4005191.829044, -4008639.472306, -4012081.778936, -4015518.765168, -4018950.764401, + -4022377.429632, -4025798.984532, -4029215.458409, -4032626.549083, -4036032.635761, + -4039433.785767, -4042829.623729, -4046220.436313, -4049605.816387, -4052986.204434, + -4056361.173625, -4059730.756704, -4063095.134421, -4066454.275355, -4069808.866302, + -4073157.793040, -4076501.483219, -4079840.112905, -4083173.369733, -4086501.927624, + -4089824.896965, -4093142.710769, -4096455.002170, -4099762.057753, -4103064.026270) + EPHEMERIS_ECEF_Z = ( 5325372.320306, 5320551.551354, 5315724.607188, 5310891.765171, 5306052.988066, + 5301208.242656, 5296357.381317, 5291500.385359, 5286637.875665, 5281769.121567, + 5276894.445190, 5272014.146878, 5267127.649593, 5262235.190737, 5257336.945235, + 5252432.730964, 5247522.418148, 5242606.612503, 5237684.564792, 5232756.449097, + 5227822.501493, 5222882.811358, 5217937.510931, 5212986.299478, 5208029.117498, + 5203065.978002, 5198097.355115, 5193122.601673, 5188141.796192, 5183155.341240, + 5178162.854775, 5173164.516105, 5168160.497799, 5163150.411568, 5158134.819472, + 5153113.615000, 5148086.562443, 5143053.759140, 5138014.800806, 5132970.169258, + 5127919.766573, 5122863.425382, 5117801.277995, 5112733.284740, 5107660.155228, + 5102580.872297, 5097495.822365, 5092405.125324, 5087308.588995, 5082206.764105, + 5077098.894629, 5071985.420303, 5066865.966509, 5061740.779964, 5056610.020073) +END_GROUP = EPHEMERIS +GROUP = SOLAR_VECTOR + SOLAR_EPOCH_YEAR = 2020 + SOLAR_EPOCH_DAY = 339 + SOLAR_EPOCH_SECONDS = 68504.716065 + EARTH_SUN_DISTANCE = 0.98546066 + NUMBER_OF_POINTS = 55 + SAMPLE_TIME = ( 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, + 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, + 10.000000, 11.000000, 12.000000, 13.000000, 14.000000, + 15.000000, 16.000000, 17.000000, 18.000000, 19.000000, + 20.000000, 21.000000, 22.000000, 23.000000, 24.000000, + 25.000000, 26.000000, 27.000000, 28.000000, 29.000000, + 30.000000, 31.000000, 32.000000, 33.000000, 34.000000, + 35.000000, 36.000000, 37.000000, 38.000000, 39.000000, + 40.000000, 41.000000, 42.000000, 43.000000, 44.000000, + 45.000000, 46.000000, 47.000000, 48.000000, 49.000000, + 50.000000, 51.000000, 52.000000, 53.000000, 54.000000) + SOLAR_ECEF_X = (-2.82926581e-01, -2.82990584e-01, -2.83054589e-01, -2.83118590e-01, -2.83182589e-01, + -2.83246586e-01, -2.83310582e-01, -2.83374577e-01, -2.83438570e-01, -2.83502562e-01, + -2.83566555e-01, -2.83630543e-01, -2.83694530e-01, -2.83758516e-01, -2.83822500e-01, + -2.83886483e-01, -2.83950464e-01, -2.84014446e-01, -2.84078424e-01, -2.84142401e-01, + -2.84206376e-01, -2.84270350e-01, -2.84334322e-01, -2.84398292e-01, -2.84462264e-01, + -2.84526232e-01, -2.84590198e-01, -2.84654162e-01, -2.84718125e-01, -2.84782087e-01, + -2.84846047e-01, -2.84910006e-01, -2.84973965e-01, -2.85037921e-01, -2.85101875e-01, + -2.85165827e-01, -2.85229779e-01, -2.85293728e-01, -2.85357676e-01, -2.85421625e-01, + -2.85485570e-01, -2.85549514e-01, -2.85613456e-01, -2.85677396e-01, -2.85741335e-01, + -2.85805272e-01, -2.85869208e-01, -2.85933145e-01, -2.85997078e-01, -2.86061010e-01, + -2.86124940e-01, -2.86188868e-01, -2.86252795e-01, -2.86316720e-01, -2.86380646e-01) + SOLAR_ECEF_Y = (-8.80420103e-01, -8.80399522e-01, -8.80378936e-01, -8.80358346e-01, -8.80337751e-01, + -8.80317152e-01, -8.80296548e-01, -8.80275940e-01, -8.80255327e-01, -8.80234709e-01, + -8.80214085e-01, -8.80193458e-01, -8.80172827e-01, -8.80152190e-01, -8.80131549e-01, + -8.80110903e-01, -8.80090253e-01, -8.80069597e-01, -8.80048937e-01, -8.80028273e-01, + -8.80007604e-01, -8.79986930e-01, -8.79966252e-01, -8.79945569e-01, -8.79924881e-01, + -8.79904188e-01, -8.79883491e-01, -8.79862790e-01, -8.79842084e-01, -8.79821373e-01, + -8.79800657e-01, -8.79779937e-01, -8.79759212e-01, -8.79738482e-01, -8.79717748e-01, + -8.79697009e-01, -8.79676266e-01, -8.79655518e-01, -8.79634765e-01, -8.79614007e-01, + -8.79593245e-01, -8.79572478e-01, -8.79551707e-01, -8.79530931e-01, -8.79510150e-01, + -8.79489365e-01, -8.79468575e-01, -8.79447780e-01, -8.79426981e-01, -8.79406177e-01, + -8.79385369e-01, -8.79364555e-01, -8.79343738e-01, -8.79322915e-01, -8.79302087e-01) + SOLAR_ECEF_Z = (-3.80543024e-01, -3.80543047e-01, -3.80543071e-01, -3.80543095e-01, -3.80543118e-01, + -3.80543142e-01, -3.80543166e-01, -3.80543189e-01, -3.80543213e-01, -3.80543236e-01, + -3.80543260e-01, -3.80543284e-01, -3.80543307e-01, -3.80543331e-01, -3.80543355e-01, + -3.80543378e-01, -3.80543402e-01, -3.80543426e-01, -3.80543449e-01, -3.80543473e-01, + -3.80543497e-01, -3.80543520e-01, -3.80543544e-01, -3.80543567e-01, -3.80543591e-01, + -3.80543615e-01, -3.80543638e-01, -3.80543662e-01, -3.80543686e-01, -3.80543709e-01, + -3.80543733e-01, -3.80543757e-01, -3.80543780e-01, -3.80543804e-01, -3.80543828e-01, + -3.80543851e-01, -3.80543875e-01, -3.80543899e-01, -3.80543922e-01, -3.80543946e-01, + -3.80543969e-01, -3.80543993e-01, -3.80544017e-01, -3.80544040e-01, -3.80544064e-01, + -3.80544088e-01, -3.80544111e-01, -3.80544135e-01, -3.80544159e-01, -3.80544182e-01, + -3.80544206e-01, -3.80544230e-01, -3.80544253e-01, -3.80544277e-01, -3.80544300e-01) +END_GROUP = SOLAR_VECTOR +GROUP = RPC_BAND01 + BAND01_NUMBER_OF_SCAS = 14 + BAND01_NUM_L1T_LINES = 7971 + BAND01_NUM_L1T_SAMPS = 7861 + BAND01_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND01_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND01_NUM_L1R_LINES = 7501 + BAND01_NUM_L1R_SAMPS = 494 + BAND01_PIXEL_SIZE = 30.000 + BAND01_START_TIME = 10.589185 + BAND01_LINE_TIME = 0.004236000 + BAND01_MEAN_HEIGHT = 2000.000 + BAND01_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND01_MEAN_L1T_LINE_SAMP = (3987.941, 3935.852) + BAND01_MEAN_SAT_VECTOR = (-0.002243716, -0.003906231, 0.996295422) + BAND01_SAT_X_NUM_COEF = (-1.570742e-04, -2.265021e-07, -4.716932e-05, -3.606960e-09, -1.156593e-05, + -5.139904e-11, -1.493933e-10, 1.956296e-12, 6.299636e-16, 2.239605e-17) + BAND01_SAT_X_DEN_COEF = ( 8.730864e-06, 0.000000e+00, -1.404958e-06, -5.199248e-06, 5.165686e-11, + 4.998665e-10, 9.497482e-10, 5.454703e-16, -2.011348e-17) + BAND01_SAT_Y_NUM_COEF = (-7.731622e-04, 4.714689e-05, -2.118410e-07, -5.459600e-09, -4.393801e-05, + 3.157928e-12, 6.685031e-11, 2.404410e-10, -2.471990e-16, -3.498447e-17) + BAND01_SAT_Y_DEN_COEF = ( 1.096857e-06, 7.482525e-07, -1.405176e-06, -1.104999e-06, 3.796083e-11, + 6.947519e-10, 9.215191e-10, 2.015416e-15, -1.368087e-17) + BAND01_SAT_Z_NUM_COEF = ( 3.668832e-03, 2.192391e-07, -1.138697e-07, -1.040147e-08, -2.329534e-07, + -7.432003e-11, -5.538128e-10, -1.031827e-09, -4.201586e-16, -8.469392e-20) + BAND01_SAT_Z_DEN_COEF = (-4.093865e-06, 1.150091e-06, -2.825293e-06, 3.985352e-06, 9.847832e-11, + 7.318053e-10, 1.374938e-09, 2.002735e-16, 3.179003e-17) + BAND01_MEAN_SUN_VECTOR = ( 0.246306857, -0.913840695, 0.322491735) + BAND01_SUN_X_NUM_COEF = ( 2.917017e-05, -2.971669e-08, -6.190196e-06, -1.589866e-14, -2.745906e-07, + 2.134944e-13, 3.135705e-11, -6.158286e-12, 4.551241e-18, 8.678796e-18) + BAND01_SUN_X_DEN_COEF = ( 3.991967e-08, 0.000000e+00, -5.751232e-12, -8.619013e-08, -3.738570e-11, + 1.088435e-11, 2.031424e-11, 1.602308e-16, 2.868401e-17) + BAND01_SUN_Y_NUM_COEF = (-1.077151e-04, 1.512549e-06, -1.267267e-06, 2.087346e-13, -5.600453e-08, + 2.342752e-11, -2.572666e-13, 2.143979e-11, 2.653236e-17, 9.712199e-18) + BAND01_SUN_Y_DEN_COEF = ( 8.344204e-06, -1.580475e-06, -5.065076e-11, 5.198084e-07, -4.826260e-11, + -4.452732e-11, 0.000000e+00, -4.288793e-16, -6.763072e-16) + BAND01_SUN_Z_NUM_COEF = ( 2.475588e-05, 4.312016e-06, 1.136018e-06, -1.759664e-13, 5.056141e-08, + -3.331767e-12, -1.239277e-12, -3.191487e-12, 6.344630e-17, 3.852283e-17) + BAND01_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 0.000000e+00, -1.571832e-08, 1.671166e-11, + 0.000000e+00, 0.000000e+00, 8.881291e-17, 0.000000e+00) + BAND01_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND01_SCA01_MEAN_HEIGHT = 2000.000 + BAND01_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA01_MEAN_L1T_LINE_SAMP = (3371.216, 1058.872) + BAND01_SCA01_LINE_NUM_COEF = ( 1.544748e-01, 1.012444e+00, -2.366019e-01, -9.010986e-05, -7.311204e-06) + BAND01_SCA01_LINE_DEN_COEF = ( 2.496285e-07, -5.961883e-06, 2.903909e-10, -1.104771e-11) + BAND01_SCA01_SAMP_NUM_COEF = (-1.195846e+00, 2.642870e-01, 9.856676e-01, -4.673895e-03, -9.113936e-07) + BAND01_SCA01_SAMP_DEN_COEF = (-2.872870e-06, -7.500151e-06, -1.540534e-06, 3.814628e-12) + BAND01_SCA02_MEAN_HEIGHT = 2000.000 + BAND01_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA02_MEAN_L1T_LINE_SAMP = (3211.828, 1574.537) + BAND01_SCA02_LINE_NUM_COEF = ( 1.478816e-01, 1.010017e+00, -2.447399e-01, -5.025806e-04, -6.009455e-06) + BAND01_SCA02_LINE_DEN_COEF = ( 2.335267e-07, -4.812949e-06, 8.294801e-10, -1.094229e-11) + BAND01_SCA02_SAMP_NUM_COEF = (-1.176457e+00, 2.664453e-01, 9.941254e-01, -3.973685e-03, -9.220982e-07) + BAND01_SCA02_SAMP_DEN_COEF = (-2.561652e-06, -6.321333e-06, -1.549342e-06, 2.599659e-12) + BAND01_SCA03_MEAN_HEIGHT = 2000.000 + BAND01_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA03_MEAN_L1T_LINE_SAMP = (3599.634, 1942.143) + BAND01_SCA03_LINE_NUM_COEF = ( 1.479354e-01, 1.009361e+00, -2.464434e-01, -2.243090e-05, -6.896128e-06) + BAND01_SCA03_LINE_DEN_COEF = ( 2.463410e-07, -5.586983e-06, 1.749188e-10, -1.082801e-11) + BAND01_SCA03_SAMP_NUM_COEF = (-1.154355e+00, 2.675347e-01, 9.975700e-01, -3.247508e-03, -9.192284e-07) + BAND01_SCA03_SAMP_DEN_COEF = (-2.352827e-06, -5.551069e-06, -1.555314e-06, 1.769468e-12) + BAND01_SCA04_MEAN_HEIGHT = 2000.000 + BAND01_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA04_MEAN_L1T_LINE_SAMP = (3441.508, 2452.533) + BAND01_SCA04_LINE_NUM_COEF = ( 1.451347e-01, 1.007155e+00, -2.537646e-01, -4.520888e-04, -6.438540e-06) + BAND01_SCA04_LINE_DEN_COEF = ( 2.421225e-07, -5.177661e-06, 8.056956e-10, -1.072855e-11) + BAND01_SCA04_SAMP_NUM_COEF = (-1.130147e+00, 2.691294e-01, 1.003915e+00, -2.529466e-03, -9.279454e-07) + BAND01_SCA04_SAMP_DEN_COEF = (-2.002201e-06, -4.224868e-06, -1.561710e-06, 4.274387e-13) + BAND01_SCA05_MEAN_HEIGHT = 2000.000 + BAND01_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA05_MEAN_L1T_LINE_SAMP = (3828.716, 2815.951) + BAND01_SCA05_LINE_NUM_COEF = ( 1.643390e-01, 1.006192e+00, -2.566233e-01, 2.101316e-05, -1.049234e-05) + BAND01_SCA05_LINE_DEN_COEF = ( 3.068877e-07, -8.705592e-06, 8.834320e-11, -1.061804e-11) + BAND01_SCA05_SAMP_NUM_COEF = (-1.107218e+00, 2.697020e-01, 1.005419e+00, -1.795086e-03, -9.231751e-07) + BAND01_SCA05_SAMP_DEN_COEF = (-1.800799e-06, -3.483848e-06, -1.565361e-06, -3.778989e-13) + BAND01_SCA06_MEAN_HEIGHT = 2000.000 + BAND01_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA06_MEAN_L1T_LINE_SAMP = (3672.312, 3323.055) + BAND01_SCA06_LINE_NUM_COEF = ( 1.461334e-01, 1.004353e+00, -2.625833e-01, -4.240797e-04, -7.496611e-06) + BAND01_SCA06_LINE_DEN_COEF = ( 2.614222e-07, -6.087908e-06, 8.689728e-10, -1.051347e-11) + BAND01_SCA06_SAMP_NUM_COEF = (-1.074613e+00, 2.706651e-01, 1.009396e+00, -1.064614e-03, -9.296640e-07) + BAND01_SCA06_SAMP_DEN_COEF = (-1.378111e-06, -1.888582e-06, -1.568982e-06, -1.949431e-12) + BAND01_SCA07_MEAN_HEIGHT = 2000.000 + BAND01_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA07_MEAN_L1T_LINE_SAMP = (4059.663, 3684.197) + BAND01_SCA07_LINE_NUM_COEF = ( 1.499030e-01, 1.003036e+00, -2.667673e-01, 3.955875e-05, -8.420534e-06) + BAND01_SCA07_LINE_DEN_COEF = ( 2.779108e-07, -6.885930e-06, 6.227160e-11, -1.038584e-11) + BAND01_SCA07_SAMP_NUM_COEF = (-1.038491e+00, 2.706085e-01, 1.008544e+00, -3.271251e-04, -9.226405e-07) + BAND01_SCA07_SAMP_DEN_COEF = (-1.057875e-06, -7.064195e-07, -1.570402e-06, -3.161035e-12) + BAND01_SCA08_MEAN_HEIGHT = 2000.000 + BAND01_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA08_MEAN_L1T_LINE_SAMP = (3904.587, 4190.336) + BAND01_SCA08_LINE_NUM_COEF = ( 1.306079e-01, 1.001504e+00, -2.715853e-01, -4.186475e-04, -5.547048e-06) + BAND01_SCA08_LINE_DEN_COEF = ( 2.312014e-07, -4.384163e-06, 6.705233e-10, -1.028867e-11) + BAND01_SCA08_SAMP_NUM_COEF = (-9.939662e-01, 2.710009e-01, 1.010380e+00, 4.093321e-04, -9.271193e-07) + BAND01_SCA08_SAMP_DEN_COEF = (-5.264084e-07, 1.294917e-06, -1.569927e-06, -5.091164e-12) + BAND01_SCA09_MEAN_HEIGHT = 2000.000 + BAND01_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA09_MEAN_L1T_LINE_SAMP = (4293.619, 4550.696) + BAND01_SCA09_LINE_NUM_COEF = ( 1.470701e-01, 9.998274e-01, -2.771090e-01, 3.336681e-05, -8.334379e-06) + BAND01_SCA09_LINE_DEN_COEF = ( 2.807294e-07, -6.794937e-06, 7.446764e-11, -1.015630e-11) + BAND01_SCA09_SAMP_NUM_COEF = (-9.686899e-01, 2.703457e-01, 1.007287e+00, 1.143349e-03, -9.179672e-07) + BAND01_SCA09_SAMP_DEN_COEF = (-3.499515e-07, 1.938859e-06, -1.568336e-06, -5.808795e-12) + BAND01_SCA10_MEAN_HEIGHT = 2000.000 + BAND01_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA10_MEAN_L1T_LINE_SAMP = (4139.890, 5057.738) + BAND01_SCA10_LINE_NUM_COEF = ( 1.422712e-01, 9.986081e-01, -2.807588e-01, -4.356142e-04, -8.173718e-06) + BAND01_SCA10_LINE_DEN_COEF = ( 2.789839e-07, -6.649633e-06, 9.583727e-10, -1.006434e-11) + BAND01_SCA10_SAMP_NUM_COEF = (-9.434580e-01, 2.701468e-01, 1.006906e+00, 1.879625e-03, -9.203677e-07) + BAND01_SCA10_SAMP_DEN_COEF = (-5.301305e-08, 3.066318e-06, -1.565059e-06, -6.923219e-12) + BAND01_SCA11_MEAN_HEIGHT = 2000.000 + BAND01_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA11_MEAN_L1T_LINE_SAMP = (4531.274, 5419.258) + BAND01_SCA11_LINE_NUM_COEF = ( 1.406184e-01, 9.966241e-01, -2.874274e-01, 1.599942e-06, -7.618159e-06) + BAND01_SCA11_LINE_DEN_COEF = ( 2.721261e-07, -6.159561e-06, 1.352971e-10, -9.924152e-12) + BAND01_SCA11_SAMP_NUM_COEF = (-9.005152e-01, 2.689223e-01, 1.001684e+00, 2.604360e-03, -9.092229e-07) + BAND01_SCA11_SAMP_DEN_COEF = ( 2.855998e-07, 4.312750e-06, -1.560081e-06, -8.191543e-12) + BAND01_SCA12_MEAN_HEIGHT = 2000.000 + BAND01_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA12_MEAN_L1T_LINE_SAMP = (4379.119, 5929.571) + BAND01_SCA12_LINE_NUM_COEF = ( 1.196996e-01, 9.958274e-01, -2.894967e-01, -4.741303e-04, -5.173686e-06) + BAND01_SCA12_LINE_DEN_COEF = ( 2.277369e-07, -4.044128e-06, 7.003127e-10, -9.841353e-12) + BAND01_SCA12_SAMP_NUM_COEF = (-8.878867e-01, 2.681457e-01, 9.991354e-01, 3.335146e-03, -9.095910e-07) + BAND01_SCA12_SAMP_DEN_COEF = ( 4.184428e-07, 4.829138e-06, -1.555847e-06, -8.727511e-12) + BAND01_SCA13_MEAN_HEIGHT = 2000.000 + BAND01_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA13_MEAN_L1T_LINE_SAMP = (4774.055, 6293.976) + BAND01_SCA13_LINE_NUM_COEF = ( 1.513696e-01, 9.934543e-01, -2.976086e-01, -5.510404e-05, -9.571682e-06) + BAND01_SCA13_LINE_DEN_COEF = ( 3.122173e-07, -7.829403e-06, 2.593235e-10, -9.684555e-12) + BAND01_SCA13_SAMP_NUM_COEF = (-8.081617e-01, 2.663450e-01, 9.917615e-01, 4.044588e-03, -8.964571e-07) + BAND01_SCA13_SAMP_DEN_COEF = ( 1.116543e-06, 7.412379e-06, -1.542693e-06, -1.121198e-11) + BAND01_SCA14_MEAN_HEIGHT = 2000.000 + BAND01_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA14_MEAN_L1T_LINE_SAMP = (4623.753, 6809.058) + BAND01_SCA14_LINE_NUM_COEF = ( 1.334987e-01, 9.930182e-01, -2.983259e-01, -5.344941e-04, -7.899964e-06) + BAND01_SCA14_LINE_DEN_COEF = ( 2.799953e-07, -6.387092e-06, 1.111630e-09, -9.601789e-12) + BAND01_SCA14_SAMP_NUM_COEF = (-8.042978e-01, 2.649948e-01, 9.870610e-01, 4.763104e-03, -8.948072e-07) + BAND01_SCA14_SAMP_DEN_COEF = ( 1.124688e-06, 7.465024e-06, -1.538030e-06, -1.131268e-11) +END_GROUP = RPC_BAND01 +GROUP = RPC_BAND02 + BAND02_NUMBER_OF_SCAS = 14 + BAND02_NUM_L1T_LINES = 7971 + BAND02_NUM_L1T_SAMPS = 7861 + BAND02_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND02_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND02_NUM_L1R_LINES = 7501 + BAND02_NUM_L1R_SAMPS = 494 + BAND02_PIXEL_SIZE = 30.000 + BAND02_START_TIME = 10.589185 + BAND02_LINE_TIME = 0.004236000 + BAND02_MEAN_HEIGHT = 2000.000 + BAND02_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND02_MEAN_L1T_LINE_SAMP = (3987.914, 3935.858) + BAND02_MEAN_SAT_VECTOR = (-0.002242301, -0.003908465, 0.996303419) + BAND02_SAT_X_NUM_COEF = (-1.586149e-04, -2.274810e-07, -4.716920e-05, -3.221095e-09, -1.156498e-05, + -4.555958e-11, -1.070941e-10, 7.848815e-11, 5.765427e-16, 2.265208e-17) + BAND02_SAT_X_DEN_COEF = ( 7.789088e-06, -1.632722e-06, -1.404839e-06, -4.756506e-06, 5.335798e-11, + 4.984338e-10, 9.477129e-10, 5.451427e-16, -2.269080e-17) + BAND02_SAT_Y_NUM_COEF = (-7.726610e-04, 4.714735e-05, -2.118230e-07, -5.461995e-09, -4.393819e-05, + 3.157517e-12, 6.681209e-11, 2.402999e-10, -2.571293e-16, -3.497328e-17) + BAND02_SAT_Y_DEN_COEF = ( 1.140077e-06, 7.237204e-07, -1.404979e-06, -1.148658e-06, 3.859534e-11, + 6.985110e-10, 9.212591e-10, 2.058309e-15, -1.354755e-17) + BAND02_SAT_Z_NUM_COEF = ( 3.668922e-03, 2.192949e-07, -1.138763e-07, -1.040429e-08, -2.330133e-07, + -7.431980e-11, -5.538089e-10, -1.031826e-09, -4.201643e-16, -8.412236e-20) + BAND02_SAT_Z_DEN_COEF = (-4.098234e-06, 1.150429e-06, -2.825377e-06, 3.985333e-06, 9.836664e-11, + 7.302768e-10, 1.372507e-09, 1.868090e-16, 3.096106e-17) + BAND02_MEAN_SUN_VECTOR = ( 0.246307080, -0.913840763, 0.322491653) + BAND02_SUN_X_NUM_COEF = ( 2.890923e-05, -2.971741e-08, -6.190197e-06, -1.575201e-14, -2.745901e-07, + 2.154404e-13, 3.139596e-11, -6.158413e-12, 4.787546e-18, 8.641965e-18) + BAND02_SUN_X_DEN_COEF = ( 3.360852e-08, 0.000000e+00, -6.078532e-12, -8.623688e-08, -3.745213e-11, + 1.091514e-11, 2.030918e-11, 1.605792e-16, 2.852825e-17) + BAND02_SUN_Y_NUM_COEF = (-1.076949e-04, 1.512565e-06, -1.267275e-06, 1.670887e-13, -5.602427e-08, + 2.339504e-11, -3.487502e-13, 2.153826e-11, 2.625228e-17, 1.066528e-17) + BAND02_SUN_Y_DEN_COEF = ( 8.320148e-06, -1.663867e-06, -4.716711e-11, 5.175980e-07, -4.756372e-11, + -4.438954e-11, 0.000000e+00, -2.403895e-16, -4.366021e-16) + BAND02_SUN_Z_NUM_COEF = ( 2.472617e-05, 4.312182e-06, 1.135976e-06, -1.540341e-13, 5.040931e-08, + -3.336597e-12, -1.236345e-12, -3.184953e-12, 7.319365e-17, 4.784022e-17) + BAND02_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 0.000000e+00, -1.474018e-08, 1.955422e-11, + 0.000000e+00, 0.000000e+00, 1.359393e-16, -2.228525e-16) + BAND02_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND02_SCA01_MEAN_HEIGHT = 2000.000 + BAND02_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA01_MEAN_L1T_LINE_SAMP = (3343.089, 1066.397) + BAND02_SCA01_LINE_NUM_COEF = ( 1.554929e-01, 1.012389e+00, -2.367982e-01, -1.367634e-04, -7.479553e-06) + BAND02_SCA01_LINE_DEN_COEF = ( 2.522353e-07, -6.108714e-06, 3.737705e-10, -1.104975e-11) + BAND02_SCA01_SAMP_NUM_COEF = (-1.196998e+00, 2.643224e-01, 9.858514e-01, -4.674776e-03, -9.120166e-07) + BAND02_SCA01_SAMP_DEN_COEF = (-2.878948e-06, -7.521524e-06, -1.540428e-06, 3.836710e-12) + BAND02_SCA02_MEAN_HEIGHT = 2000.000 + BAND02_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA02_MEAN_L1T_LINE_SAMP = (3239.831, 1566.993) + BAND02_SCA02_LINE_NUM_COEF = ( 1.492183e-01, 1.010053e+00, -2.446153e-01, -4.557178e-04, -6.261712e-06) + BAND02_SCA02_LINE_DEN_COEF = ( 2.372809e-07, -5.033460e-06, 7.918121e-10, -1.094183e-11) + BAND02_SCA02_SAMP_NUM_COEF = (-1.177054e+00, 2.664093e-01, 9.939386e-01, -3.973009e-03, -9.214690e-07) + BAND02_SCA02_SAMP_DEN_COEF = (-2.574256e-06, -6.369709e-06, -1.549150e-06, 2.641649e-12) + BAND02_SCA03_MEAN_HEIGHT = 2000.000 + BAND02_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA03_MEAN_L1T_LINE_SAMP = (3571.619, 1949.652) + BAND02_SCA03_LINE_NUM_COEF = ( 1.469217e-01, 1.009324e+00, -2.465736e-01, -6.935462e-05, -6.701917e-06) + BAND02_SCA03_LINE_DEN_COEF = ( 2.434499e-07, -5.417191e-06, 2.458889e-10, -1.082862e-11) + BAND02_SCA03_SAMP_NUM_COEF = (-1.153753e+00, 2.675685e-01, 9.977484e-01, -3.248088e-03, -9.198514e-07) + BAND02_SCA03_SAMP_DEN_COEF = (-2.340138e-06, -5.502359e-06, -1.555469e-06, 1.726964e-12) + BAND02_SCA04_MEAN_HEIGHT = 2000.000 + BAND02_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA04_MEAN_L1T_LINE_SAMP = (3469.412, 2445.012) + BAND02_SCA04_LINE_NUM_COEF = ( 1.442845e-01, 1.007184e+00, -2.536678e-01, -4.051710e-04, -6.285068e-06) + BAND02_SCA04_LINE_DEN_COEF = ( 2.396385e-07, -5.044190e-06, 7.221628e-10, -1.072614e-11) + BAND02_SCA04_SAMP_NUM_COEF = (-1.130662e+00, 2.690915e-01, 1.003721e+00, -2.529046e-03, -9.273053e-07) + BAND02_SCA04_SAMP_DEN_COEF = (-2.014257e-06, -4.271299e-06, -1.561594e-06, 4.681213e-13) + BAND02_SCA05_MEAN_HEIGHT = 2000.000 + BAND02_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA05_MEAN_L1T_LINE_SAMP = (3800.790, 2823.448) + BAND02_SCA05_LINE_NUM_COEF = ( 1.635407e-01, 1.006163e+00, -2.567210e-01, -2.597924e-05, -1.034755e-05) + BAND02_SCA05_LINE_DEN_COEF = ( 3.046571e-07, -8.579225e-06, 2.010030e-10, -1.061912e-11) + BAND02_SCA05_SAMP_NUM_COEF = (-1.108174e+00, 2.697398e-01, 1.005612e+00, -1.795417e-03, -9.238152e-07) + BAND02_SCA05_SAMP_DEN_COEF = (-1.804510e-06, -3.496183e-06, -1.565335e-06, -3.647256e-13) + BAND02_SCA06_MEAN_HEIGHT = 2000.000 + BAND02_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA06_MEAN_L1T_LINE_SAMP = (3700.159, 3315.567) + BAND02_SCA06_LINE_NUM_COEF = ( 1.483118e-01, 1.004360e+00, -2.625676e-01, -3.770747e-04, -7.868138e-06) + BAND02_SCA06_LINE_DEN_COEF = ( 2.674793e-07, -6.411082e-06, 8.206162e-10, -1.051232e-11) + BAND02_SCA06_SAMP_NUM_COEF = (-1.074704e+00, 2.706222e-01, 1.009184e+00, -1.064427e-03, -9.290042e-07) + BAND02_SCA06_SAMP_DEN_COEF = (-1.385993e-06, -1.919557e-06, -1.568951e-06, -1.923259e-12) + BAND02_SCA07_MEAN_HEIGHT = 2000.000 + BAND02_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA07_MEAN_L1T_LINE_SAMP = (4031.777, 3691.693) + BAND02_SCA07_LINE_NUM_COEF = ( 1.513302e-01, 1.003019e+00, -2.668200e-01, -7.510207e-06, -8.678312e-06) + BAND02_SCA07_LINE_DEN_COEF = ( 2.822392e-07, -7.109649e-06, 1.538979e-10, -1.038801e-11) + BAND02_SCA07_SAMP_NUM_COEF = (-1.036822e+00, 2.706436e-01, 1.008727e+00, -3.271690e-04, -9.232732e-07) + BAND02_SCA07_SAMP_DEN_COEF = (-1.033200e-06, -6.128088e-07, -1.570428e-06, -3.245542e-12) + BAND02_SCA08_MEAN_HEIGHT = 2000.000 + BAND02_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA08_MEAN_L1T_LINE_SAMP = (3932.416, 4182.853) + BAND02_SCA08_LINE_NUM_COEF = ( 1.312315e-01, 1.001492e+00, -2.716368e-01, -3.716945e-04, -5.627706e-06) + BAND02_SCA08_LINE_DEN_COEF = ( 2.325875e-07, -4.454201e-06, 6.178894e-10, -1.028642e-11) + BAND02_SCA08_SAMP_NUM_COEF = (-9.923156e-01, 2.709645e-01, 1.010192e+00, 4.092247e-04, -9.264808e-07) + BAND02_SCA08_SAMP_DEN_COEF = (-5.153430e-07, 1.334425e-06, -1.569913e-06, -5.129238e-12) + BAND02_SCA09_MEAN_HEIGHT = 2000.000 + BAND02_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA09_MEAN_L1T_LINE_SAMP = (4265.712, 4558.214) + BAND02_SCA09_LINE_NUM_COEF = ( 1.469184e-01, 9.998298e-01, -2.770912e-01, -1.372017e-05, -8.330295e-06) + BAND02_SCA09_LINE_DEN_COEF = ( 2.806496e-07, -6.791340e-06, 1.648571e-10, -1.015822e-11) + BAND02_SCA09_SAMP_NUM_COEF = (-9.691895e-01, 2.703855e-01, 1.007487e+00, 1.143613e-03, -9.186167e-07) + BAND02_SCA09_SAMP_DEN_COEF = (-3.483934e-07, 1.946447e-06, -1.568323e-06, -5.814724e-12) + BAND02_SCA10_MEAN_HEIGHT = 2000.000 + BAND02_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA10_MEAN_L1T_LINE_SAMP = (4167.765, 5050.239) + BAND02_SCA10_LINE_NUM_COEF = ( 1.430304e-01, 9.985898e-01, -2.808360e-01, -3.887170e-04, -8.267718e-06) + BAND02_SCA10_LINE_DEN_COEF = ( 2.806824e-07, -6.730975e-06, 8.786177e-10, -1.006192e-11) + BAND02_SCA10_SAMP_NUM_COEF = (-9.436783e-01, 2.701084e-01, 1.006710e+00, 1.879233e-03, -9.197221e-07) + BAND02_SCA10_SAMP_DEN_COEF = (-6.232933e-08, 3.029755e-06, -1.565129e-06, -6.891168e-12) + BAND02_SCA11_MEAN_HEIGHT = 2000.000 + BAND02_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA11_MEAN_L1T_LINE_SAMP = (4503.325, 5426.800) + BAND02_SCA11_LINE_NUM_COEF = ( 1.404365e-01, 9.966374e-01, -2.873690e-01, -4.542398e-05, -7.616044e-06) + BAND02_SCA11_LINE_DEN_COEF = ( 2.720538e-07, -6.157736e-06, 2.178318e-10, -9.926244e-12) + BAND02_SCA11_SAMP_NUM_COEF = (-9.008386e-01, 2.689585e-01, 1.001870e+00, 2.604892e-03, -9.098588e-07) + BAND02_SCA11_SAMP_DEN_COEF = ( 2.889739e-07, 4.327228e-06, -1.560039e-06, -8.204234e-12) + BAND02_SCA12_MEAN_HEIGHT = 2000.000 + BAND02_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA12_MEAN_L1T_LINE_SAMP = (4407.080, 5922.058) + BAND02_SCA12_LINE_NUM_COEF = ( 1.216602e-01, 9.957914e-01, -2.896397e-01, -4.274309e-04, -5.445114e-06) + BAND02_SCA12_LINE_DEN_COEF = ( 2.327163e-07, -4.278619e-06, 6.719648e-10, -9.838027e-12) + BAND02_SCA12_SAMP_NUM_COEF = (-8.861865e-01, 2.681056e-01, 9.989344e-01, 3.334466e-03, -9.089414e-07) + BAND02_SCA12_SAMP_DEN_COEF = ( 4.296209e-07, 4.868849e-06, -1.555715e-06, -8.765207e-12) + BAND02_SCA13_MEAN_HEIGHT = 2000.000 + BAND02_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA13_MEAN_L1T_LINE_SAMP = (4746.010, 6301.559) + BAND02_SCA13_LINE_NUM_COEF = ( 1.522665e-01, 9.934852e-01, -2.974847e-01, -1.019502e-04, -9.747409e-06) + BAND02_SCA13_LINE_DEN_COEF = ( 3.153918e-07, -7.981129e-06, 3.671600e-10, -9.686378e-12) + BAND02_SCA13_SAMP_NUM_COEF = (-8.097214e-01, 2.663820e-01, 9.919505e-01, 4.045422e-03, -8.970934e-07) + BAND02_SCA13_SAMP_DEN_COEF = ( 1.106870e-06, 7.378432e-06, -1.542827e-06, -1.118128e-11) + BAND02_SCA14_MEAN_HEIGHT = 2000.000 + BAND02_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA14_MEAN_L1T_LINE_SAMP = (4651.812, 6801.527) + BAND02_SCA14_LINE_NUM_COEF = ( 1.347481e-01, 9.929610e-01, -2.985483e-01, -4.882186e-04, -8.034214e-06) + BAND02_SCA14_LINE_DEN_COEF = ( 2.826542e-07, -6.502553e-06, 1.042592e-09, -9.598359e-12) + BAND02_SCA14_SAMP_NUM_COEF = (-8.054898e-01, 2.649569e-01, 9.868687e-01, 4.762190e-03, -8.941683e-07) + BAND02_SCA14_SAMP_DEN_COEF = ( 1.105153e-06, 7.390182e-06, -1.538393e-06, -1.124627e-11) +END_GROUP = RPC_BAND02 +GROUP = RPC_BAND03 + BAND03_NUMBER_OF_SCAS = 14 + BAND03_NUM_L1T_LINES = 7971 + BAND03_NUM_L1T_SAMPS = 7861 + BAND03_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND03_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND03_NUM_L1R_LINES = 7501 + BAND03_NUM_L1R_SAMPS = 494 + BAND03_PIXEL_SIZE = 30.000 + BAND03_START_TIME = 10.589185 + BAND03_LINE_TIME = 0.004236000 + BAND03_MEAN_HEIGHT = 2000.000 + BAND03_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND03_MEAN_L1T_LINE_SAMP = (3988.289, 3935.760) + BAND03_MEAN_SAT_VECTOR = (-0.002245163, -0.003886591, 0.996260134) + BAND03_SAT_X_NUM_COEF = (-1.494642e-04, -2.266628e-07, -4.716757e-05, -3.602441e-09, -1.156537e-05, + -5.182793e-11, -1.510411e-10, 1.774620e-12, 6.520791e-16, 2.207978e-17) + BAND03_SAT_X_DEN_COEF = ( 8.780280e-06, 0.000000e+00, -1.404952e-06, -5.212290e-06, 5.110745e-11, + 5.000836e-10, 9.492813e-10, 5.460661e-16, -1.998239e-17) + BAND03_SAT_Y_NUM_COEF = (-7.738496e-04, 4.714521e-05, -2.119978e-07, -5.440828e-09, -4.393753e-05, + 3.100787e-12, 6.651199e-11, 2.399570e-10, -1.861390e-16, -3.503772e-17) + BAND03_SAT_Y_DEN_COEF = ( 1.241111e-06, 6.662517e-07, -1.405903e-06, -1.264710e-06, 3.690504e-11, + 6.738385e-10, 9.241905e-10, 1.763140e-15, -8.445011e-18) + BAND03_SAT_Z_NUM_COEF = ( 3.668783e-03, 2.184572e-07, -1.136865e-07, -1.038996e-08, -2.321610e-07, + -7.431976e-11, -5.538209e-10, -1.031818e-09, -4.201323e-16, -8.618639e-20) + BAND03_SAT_Z_DEN_COEF = (-4.084508e-06, 1.150330e-06, -2.824949e-06, 3.989183e-06, 9.877368e-11, + 7.365418e-10, 1.381571e-09, 2.357493e-16, 3.530405e-17) + BAND03_MEAN_SUN_VECTOR = ( 0.246306548, -0.913839912, 0.322493016) + BAND03_SUN_X_NUM_COEF = ( 3.003477e-05, -2.971811e-08, -6.190184e-06, -1.672907e-14, -2.745909e-07, + 2.104954e-13, 3.129682e-11, -6.158026e-12, 4.243918e-18, 8.708740e-18) + BAND03_SUN_X_DEN_COEF = ( 4.967278e-08, 0.000000e+00, -5.314950e-12, -8.612867e-08, -3.730818e-11, + 1.083594e-11, 2.032372e-11, 1.590838e-16, 2.885758e-17) + BAND03_SUN_Y_NUM_COEF = (-1.078654e-04, 1.512674e-06, -1.267373e-06, 3.241118e-13, -5.595939e-08, + 2.152759e-11, 3.691950e-12, 1.946580e-11, 2.650423e-17, 8.082476e-18) + BAND03_SUN_Y_DEN_COEF = ( 7.098351e-06, 0.000000e+00, -6.740395e-11, 4.765768e-07, -3.968289e-11, + -3.341187e-11, 1.844023e-11, -1.068301e-15, -1.632389e-15) + BAND03_SUN_Z_NUM_COEF = ( 2.496474e-05, 4.311131e-06, 1.136233e-06, -1.724933e-13, 5.136194e-08, + -3.307545e-12, -1.206576e-12, -3.212104e-12, 7.996808e-18, -1.617899e-17) + BAND03_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -1.001254e-10, 4.532471e-10, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 7.281708e-16, -1.010495e-15) + BAND03_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND03_SCA01_MEAN_HEIGHT = 2000.000 + BAND03_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA01_MEAN_L1T_LINE_SAMP = (3455.878, 1036.109) + BAND03_SCA01_LINE_NUM_COEF = ( 1.623002e-01, 1.012597e+00, -2.360594e-01, 5.054824e-05, -8.827338e-06) + BAND03_SCA01_LINE_DEN_COEF = ( 2.714975e-07, -7.289382e-06, 3.724488e-11, -1.105162e-11) + BAND03_SCA01_SAMP_NUM_COEF = (-1.192169e+00, 2.641723e-01, 9.850833e-01, -4.671272e-03, -9.094910e-07) + BAND03_SCA01_SAMP_DEN_COEF = (-2.852637e-06, -7.428594e-06, -1.540885e-06, 3.740758e-12) + BAND03_SCA02_MEAN_HEIGHT = 2000.000 + BAND03_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA02_MEAN_L1T_LINE_SAMP = (3128.042, 1597.001) + BAND03_SCA02_LINE_NUM_COEF = ( 1.453310e-01, 1.009889e+00, -2.451942e-01, -6.424334e-04, -5.503637e-06) + BAND03_SCA02_LINE_DEN_COEF = ( 2.261073e-07, -4.370464e-06, 9.460864e-10, -1.094482e-11) + BAND03_SCA02_SAMP_NUM_COEF = (-1.179832e+00, 2.665471e-01, 9.946617e-01, -3.975775e-03, -9.239613e-07) + BAND03_SCA02_SAMP_DEN_COEF = (-2.579069e-06, -6.382287e-06, -1.549096e-06, 2.663452e-12) + BAND03_SCA03_MEAN_HEIGHT = 2000.000 + BAND03_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA03_MEAN_L1T_LINE_SAMP = (3683.922, 1919.479) + BAND03_SCA03_LINE_NUM_COEF = ( 1.478393e-01, 1.009469e+00, -2.460682e-01, 1.188399e-04, -6.895736e-06) + BAND03_SCA03_LINE_DEN_COEF = ( 2.460868e-07, -5.587527e-06, -4.814878e-11, -1.082386e-11) + BAND03_SCA03_SAMP_NUM_COEF = (-1.153259e+00, 2.674121e-01, 9.969559e-01, -3.245625e-03, -9.172840e-07) + BAND03_SCA03_SAMP_DEN_COEF = (-2.360659e-06, -5.584462e-06, -1.555217e-06, 1.792823e-12) + BAND03_SCA04_MEAN_HEIGHT = 2000.000 + BAND03_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA04_MEAN_L1T_LINE_SAMP = (3358.040, 2474.958) + BAND03_SCA04_LINE_NUM_COEF = ( 1.447481e-01, 1.007078e+00, -2.540264e-01, -5.924674e-04, -6.370388e-06) + BAND03_SCA04_LINE_DEN_COEF = ( 2.412212e-07, -5.117593e-06, 1.003098e-09, -1.073394e-11) + BAND03_SCA04_SAMP_NUM_COEF = (-1.134219e+00, 2.692284e-01, 1.004441e+00, -2.530683e-03, -9.298114e-07) + BAND03_SCA04_SAMP_DEN_COEF = (-2.026954e-06, -4.312853e-06, -1.561485e-06, 5.158612e-13) + BAND03_SCA05_MEAN_HEIGHT = 2000.000 + BAND03_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA05_MEAN_L1T_LINE_SAMP = (3912.784, 2793.344) + BAND03_SCA05_LINE_NUM_COEF = ( 1.646887e-01, 1.006248e+00, -2.564422e-01, 1.627067e-04, -1.053165e-05) + BAND03_SCA05_LINE_DEN_COEF = ( 3.073629e-07, -8.740481e-06, -2.554953e-10, -1.061346e-11) + BAND03_SCA05_SAMP_NUM_COEF = (-1.103530e+00, 2.695759e-01, 1.004791e+00, -1.794060e-03, -9.212074e-07) + BAND03_SCA05_SAMP_DEN_COEF = (-1.781367e-06, -3.415929e-06, -1.565495e-06, -4.473898e-13) + BAND03_SCA06_MEAN_HEIGHT = 2000.000 + BAND03_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA06_MEAN_L1T_LINE_SAMP = (3588.995, 3345.446) + BAND03_SCA06_LINE_NUM_COEF = ( 1.437561e-01, 1.004310e+00, -2.627181e-01, -5.646257e-04, -7.100925e-06) + BAND03_SCA06_LINE_DEN_COEF = ( 2.550581e-07, -5.743333e-06, 1.058882e-09, -1.051856e-11) + BAND03_SCA06_SAMP_NUM_COEF = (-1.074810e+00, 2.707678e-01, 1.009936e+00, -1.065089e-03, -9.315517e-07) + BAND03_SCA06_SAMP_DEN_COEF = (-1.360584e-06, -1.818478e-06, -1.569054e-06, -2.008482e-12) + BAND03_SCA07_MEAN_HEIGHT = 2000.000 + BAND03_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA07_MEAN_L1T_LINE_SAMP = (4143.647, 3661.616) + BAND03_SCA07_LINE_NUM_COEF = ( 1.507462e-01, 1.003049e+00, -2.667458e-01, 1.813464e-04, -8.514026e-06) + BAND03_SCA07_LINE_DEN_COEF = ( 2.794414e-07, -6.967458e-06, -2.164189e-10, -1.038069e-11) + BAND03_SCA07_SAMP_NUM_COEF = (-1.035696e+00, 2.704772e-01, 1.007897e+00, -3.269760e-04, -9.206492e-07) + BAND03_SCA07_SAMP_DEN_COEF = (-1.048693e-06, -6.771493e-07, -1.570424e-06, -3.193440e-12) + BAND03_SCA08_MEAN_HEIGHT = 2000.000 + BAND03_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA08_MEAN_L1T_LINE_SAMP = (3821.312, 4212.729) + BAND03_SCA08_LINE_NUM_COEF = ( 1.279613e-01, 1.001508e+00, -2.715433e-01, -5.591913e-04, -5.147569e-06) + BAND03_SCA08_LINE_DEN_COEF = ( 2.244440e-07, -4.037223e-06, 7.970031e-10, -1.029500e-11) + BAND03_SCA08_SAMP_NUM_COEF = (-1.000249e+00, 2.710924e-01, 1.010878e+00, 4.096419e-04, -9.289727e-07) + BAND03_SCA08_SAMP_DEN_COEF = (-5.747923e-07, 1.119723e-06, -1.569994e-06, -4.926368e-12) + BAND03_SCA09_MEAN_HEIGHT = 2000.000 + BAND03_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA09_MEAN_L1T_LINE_SAMP = (4377.625, 4528.100) + BAND03_SCA09_LINE_NUM_COEF = ( 1.510298e-01, 9.998006e-01, -2.772349e-01, 1.750024e-04, -8.921422e-06) + BAND03_SCA09_LINE_DEN_COEF = ( 2.909708e-07, -7.303627e-06, -2.214514e-10, -1.015094e-11) + BAND03_SCA09_SAMP_NUM_COEF = (-9.673946e-01, 2.702244e-01, 1.006678e+00, 1.142612e-03, -9.160085e-07) + BAND03_SCA09_SAMP_DEN_COEF = (-3.569402e-07, 1.907462e-06, -1.568385e-06, -5.784367e-12) + BAND03_SCA10_MEAN_HEIGHT = 2000.000 + BAND03_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA10_MEAN_L1T_LINE_SAMP = (4056.512, 5080.198) + BAND03_SCA10_LINE_NUM_COEF = ( 1.392769e-01, 9.986591e-01, -2.805423e-01, -5.759269e-04, -7.767590e-06) + BAND03_SCA10_LINE_DEN_COEF = ( 2.717341e-07, -6.298064e-06, 1.167972e-09, -1.007175e-11) + BAND03_SCA10_SAMP_NUM_COEF = (-9.479509e-01, 2.702482e-01, 1.007440e+00, 1.880770e-03, -9.222543e-07) + BAND03_SCA10_SAMP_DEN_COEF = (-8.130615e-08, 2.966356e-06, -1.565242e-06, -6.827797e-12) + BAND03_SCA11_MEAN_HEIGHT = 2000.000 + BAND03_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA11_MEAN_L1T_LINE_SAMP = (4615.449, 5396.606) + BAND03_SCA11_LINE_NUM_COEF = ( 1.425415e-01, 9.965488e-01, -2.877339e-01, 1.428572e-04, -7.820151e-06) + BAND03_SCA11_LINE_DEN_COEF = ( 2.759526e-07, -6.333911e-06, -1.194858e-10, -9.917474e-12) + BAND03_SCA11_SAMP_NUM_COEF = (-8.997938e-01, 2.687976e-01, 1.001064e+00, 2.602714e-03, -9.072556e-07) + BAND03_SCA11_SAMP_DEN_COEF = ( 2.720468e-07, 4.256535e-06, -1.560241e-06, -8.144004e-12) + BAND03_SCA12_MEAN_HEIGHT = 2000.000 + BAND03_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA12_MEAN_L1T_LINE_SAMP = (4295.523, 5952.112) + BAND03_SCA12_LINE_NUM_COEF = ( 1.193116e-01, 9.959138e-01, -2.891478e-01, -6.140627e-04, -5.217670e-06) + BAND03_SCA12_LINE_DEN_COEF = ( 2.283760e-07, -4.082190e-06, 8.724296e-10, -9.849283e-12) + BAND03_SCA12_SAMP_NUM_COEF = (-8.879290e-01, 2.682466e-01, 9.996663e-01, 3.337075e-03, -9.114710e-07) + BAND03_SCA12_SAMP_DEN_COEF = ( 4.381714e-07, 4.908458e-06, -1.555577e-06, -8.796596e-12) + BAND03_SCA13_MEAN_HEIGHT = 2000.000 + BAND03_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA13_MEAN_L1T_LINE_SAMP = (4858.529, 6271.226) + BAND03_SCA13_LINE_NUM_COEF = ( 1.555897e-01, 9.933399e-01, -2.980608e-01, 8.561979e-05, -1.008255e-05) + BAND03_SCA13_LINE_DEN_COEF = ( 3.221068e-07, -8.269120e-06, -6.245091e-11, -9.676542e-12) + BAND03_SCA13_SAMP_NUM_COEF = (-8.114897e-01, 2.662192e-01, 9.911389e-01, 4.042022e-03, -8.944936e-07) + BAND03_SCA13_SAMP_DEN_COEF = ( 1.059670e-06, 7.194399e-06, -1.543598e-06, -1.101625e-11) + BAND03_SCA14_MEAN_HEIGHT = 2000.000 + BAND03_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA14_MEAN_L1T_LINE_SAMP = (4539.784, 6831.721) + BAND03_SCA14_LINE_NUM_COEF = ( 1.323676e-01, 9.931500e-01, -2.978075e-01, -6.737496e-04, -7.864214e-06) + BAND03_SCA14_LINE_DEN_COEF = ( 2.789827e-07, -6.356904e-06, 1.359676e-09, -9.610199e-12) + BAND03_SCA14_SAMP_NUM_COEF = (-8.084511e-01, 2.650883e-01, 9.875623e-01, 4.765701e-03, -8.966527e-07) + BAND03_SCA14_SAMP_DEN_COEF = ( 1.100512e-06, 7.381188e-06, -1.538428e-06, -1.123437e-11) +END_GROUP = RPC_BAND03 +GROUP = RPC_BAND04 + BAND04_NUMBER_OF_SCAS = 14 + BAND04_NUM_L1T_LINES = 7971 + BAND04_NUM_L1T_SAMPS = 7861 + BAND04_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND04_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND04_NUM_L1R_LINES = 7501 + BAND04_NUM_L1R_SAMPS = 494 + BAND04_PIXEL_SIZE = 30.000 + BAND04_START_TIME = 10.589185 + BAND04_LINE_TIME = 0.004236000 + BAND04_MEAN_HEIGHT = 2000.000 + BAND04_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND04_MEAN_L1T_LINE_SAMP = (3988.221, 3935.778) + BAND04_MEAN_SAT_VECTOR = (-0.002243997, -0.003890925, 0.996273712) + BAND04_SAT_X_NUM_COEF = (-1.521900e-04, -2.266336e-07, -4.716822e-05, -3.603364e-09, -1.156555e-05, + -5.175962e-11, -1.507751e-10, 1.817221e-12, 6.480547e-16, 2.213100e-17) + BAND04_SAT_X_DEN_COEF = ( 8.771656e-06, 0.000000e+00, -1.404954e-06, -5.209445e-06, 5.120857e-11, + 5.000596e-10, 9.494310e-10, 5.456709e-16, -1.998945e-17) + BAND04_SAT_Y_NUM_COEF = (-7.738126e-04, 4.714582e-05, -2.119382e-07, -5.442936e-09, -4.393769e-05, + 3.127637e-12, 6.668337e-11, 2.402315e-10, -2.114228e-16, -3.501554e-17) + BAND04_SAT_Y_DEN_COEF = ( 1.157803e-06, 7.136778e-07, -1.405645e-06, -1.173912e-06, 3.707779e-11, + 6.822213e-10, 9.230570e-10, 1.863713e-15, -1.096278e-17) + BAND04_SAT_Z_NUM_COEF = ( 3.668847e-03, 2.186144e-07, -1.137195e-07, -1.039448e-08, -2.323218e-07, + -7.432000e-11, -5.538188e-10, -1.031823e-09, -4.201470e-16, -8.567165e-20) + BAND04_SAT_Z_DEN_COEF = (-4.086642e-06, 1.149914e-06, -2.825079e-06, 3.986912e-06, 9.868392e-11, + 7.349461e-10, 1.379465e-09, 2.245900e-16, 3.395787e-17) + BAND04_MEAN_SUN_VECTOR = ( 0.246306743, -0.913840097, 0.322492787) + BAND04_SUN_X_NUM_COEF = ( 2.973277e-05, -2.971791e-08, -6.190186e-06, -1.639544e-14, -2.745909e-07, + 2.112247e-13, 3.131140e-11, -6.158105e-12, 4.315006e-18, 8.704885e-18) + BAND04_SUN_X_DEN_COEF = ( 4.730893e-08, 0.000000e+00, -5.415617e-12, -8.614154e-08, -3.732349e-11, + 1.084877e-11, 2.032107e-11, 1.594904e-16, 2.881980e-17) + BAND04_SUN_Y_NUM_COEF = (-1.077944e-04, 1.512535e-06, -1.267254e-06, 2.968613e-13, -5.597926e-08, + 2.352501e-11, -2.811931e-14, 2.117702e-11, 2.731212e-17, 8.842609e-18) + BAND04_SUN_Y_DEN_COEF = ( 8.414898e-06, -1.360335e-06, -6.000734e-11, 5.264239e-07, -4.902741e-11, + -4.496807e-11, 0.000000e+00, -9.100199e-16, -1.293173e-15) + BAND04_SUN_Z_NUM_COEF = ( 2.489359e-05, 4.311141e-06, 1.136230e-06, -1.713271e-13, 5.135278e-08, + -3.318636e-12, -1.215988e-12, -3.205023e-12, 7.913415e-18, -1.617796e-17) + BAND04_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -1.002822e-10, -4.667774e-09, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 5.619338e-16, -7.778148e-16) + BAND04_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND04_SCA01_MEAN_HEIGHT = 2000.000 + BAND04_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA01_MEAN_L1T_LINE_SAMP = (3427.705, 1043.666) + BAND04_SCA01_LINE_NUM_COEF = ( 1.619337e-01, 1.012547e+00, -2.362352e-01, 3.717443e-06, -8.741738e-06) + BAND04_SCA01_LINE_DEN_COEF = ( 2.703736e-07, -7.214065e-06, 1.321302e-10, -1.105240e-11) + BAND04_SCA01_SAMP_NUM_COEF = (-1.192506e+00, 2.642135e-01, 9.852890e-01, -4.672227e-03, -9.101343e-07) + BAND04_SCA01_SAMP_DEN_COEF = (-2.849919e-06, -7.417158e-06, -1.540935e-06, 3.732834e-12) + BAND04_SCA02_MEAN_HEIGHT = 2000.000 + BAND04_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA02_MEAN_L1T_LINE_SAMP = (3156.008, 1589.491) + BAND04_SCA02_LINE_NUM_COEF = ( 1.447878e-01, 1.009923e+00, -2.450755e-01, -5.956122e-04, -5.409077e-06) + BAND04_SCA02_LINE_DEN_COEF = ( 2.245980e-07, -4.288172e-06, 8.742996e-10, -1.094252e-11) + BAND04_SCA02_SAMP_NUM_COEF = (-1.178914e+00, 2.665119e-01, 9.944780e-01, -3.975079e-03, -9.233348e-07) + BAND04_SCA02_SAMP_DEN_COEF = (-2.575520e-06, -6.370390e-06, -1.549144e-06, 2.649498e-12) + BAND04_SCA03_MEAN_HEIGHT = 2000.000 + BAND04_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA03_MEAN_L1T_LINE_SAMP = (3655.876, 1927.008) + BAND04_SCA03_LINE_NUM_COEF = ( 1.452763e-01, 1.009430e+00, -2.462039e-01, 7.188261e-05, -6.415224e-06) + BAND04_SCA03_LINE_DEN_COEF = ( 2.388189e-07, -5.167838e-06, 3.402689e-11, -1.082321e-11) + BAND04_SCA03_SAMP_NUM_COEF = (-1.154777e+00, 2.674502e-01, 9.971501e-01, -3.246238e-03, -9.179214e-07) + BAND04_SCA03_SAMP_DEN_COEF = (-2.370462e-06, -5.619619e-06, -1.555098e-06, 1.827495e-12) + BAND04_SCA04_MEAN_HEIGHT = 2000.000 + BAND04_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA04_MEAN_L1T_LINE_SAMP = (3385.889, 2467.465) + BAND04_SCA04_LINE_NUM_COEF = ( 1.445419e-01, 1.007100e+00, -2.539543e-01, -5.455859e-04, -6.329116e-06) + BAND04_SCA04_LINE_DEN_COEF = ( 2.405210e-07, -5.081845e-06, 9.295746e-10, -1.073182e-11) + BAND04_SCA04_SAMP_NUM_COEF = (-1.132597e+00, 2.691954e-01, 1.004266e+00, -2.530296e-03, -9.291886e-07) + BAND04_SCA04_SAMP_DEN_COEF = (-2.015863e-06, -4.272929e-06, -1.561586e-06, 4.763331e-13) + BAND04_SCA05_MEAN_HEIGHT = 2000.000 + BAND04_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA05_MEAN_L1T_LINE_SAMP = (3884.818, 2800.859) + BAND04_SCA05_LINE_NUM_COEF = ( 1.629184e-01, 1.006223e+00, -2.565249e-01, 1.156180e-04, -1.021528e-05) + BAND04_SCA05_LINE_DEN_COEF = ( 3.023801e-07, -8.464756e-06, -1.327720e-10, -1.061395e-11) + BAND04_SCA05_SAMP_NUM_COEF = (-1.102795e+00, 2.696147e-01, 1.004989e+00, -1.794394e-03, -9.218510e-07) + BAND04_SCA05_SAMP_DEN_COEF = (-1.766827e-06, -3.360228e-06, -1.565590e-06, -4.963995e-13) + BAND04_SCA06_MEAN_HEIGHT = 2000.000 + BAND04_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA06_MEAN_L1T_LINE_SAMP = (3616.807, 3337.968) + BAND04_SCA06_LINE_NUM_COEF = ( 1.444231e-01, 1.004321e+00, -2.626876e-01, -5.176923e-04, -7.207501e-06) + BAND04_SCA06_LINE_DEN_COEF = ( 2.567754e-07, -5.836153e-06, 9.952739e-10, -1.051672e-11) + BAND04_SCA06_SAMP_NUM_COEF = (-1.072139e+00, 2.707325e-01, 1.009752e+00, -1.064938e-03, -9.309179e-07) + BAND04_SCA06_SAMP_DEN_COEF = (-1.338306e-06, -1.736972e-06, -1.569141e-06, -2.085665e-12) + BAND04_SCA07_MEAN_HEIGHT = 2000.000 + BAND04_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA07_MEAN_L1T_LINE_SAMP = (4115.704, 3669.130) + BAND04_SCA07_LINE_NUM_COEF = ( 1.530672e-01, 1.003041e+00, -2.667640e-01, 1.341662e-04, -8.935238e-06) + BAND04_SCA07_LINE_DEN_COEF = ( 2.864629e-07, -7.333198e-06, -1.371212e-10, -1.038321e-11) + BAND04_SCA07_SAMP_NUM_COEF = (-1.034028e+00, 2.705140e-01, 1.008087e+00, -3.270215e-04, -9.212880e-07) + BAND04_SCA07_SAMP_DEN_COEF = (-1.023964e-06, -5.833456e-07, -1.570450e-06, -3.277488e-12) + BAND04_SCA08_MEAN_HEIGHT = 2000.000 + BAND04_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA08_MEAN_L1T_LINE_SAMP = (3849.110, 4205.256) + BAND04_SCA08_LINE_NUM_COEF = ( 1.276815e-01, 1.001502e+00, -2.715736e-01, -5.122801e-04, -5.076715e-06) + BAND04_SCA08_LINE_DEN_COEF = ( 2.232522e-07, -3.975823e-06, 7.333954e-10, -1.029256e-11) + BAND04_SCA08_SAMP_NUM_COEF = (-1.002138e+00, 2.710594e-01, 1.010703e+00, 4.095426e-04, -9.283453e-07) + BAND04_SCA08_SAMP_DEN_COEF = (-6.018979e-07, 1.016919e-06, -1.570037e-06, -4.833501e-12) + BAND04_SCA09_MEAN_HEIGHT = 2000.000 + BAND04_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA09_MEAN_L1T_LINE_SAMP = (4349.682, 4535.623) + BAND04_SCA09_LINE_NUM_COEF = ( 1.488613e-01, 9.998094e-01, -2.771934e-01, 1.278886e-04, -8.583236e-06) + BAND04_SCA09_LINE_DEN_COEF = ( 2.850896e-07, -7.010594e-06, -1.144509e-10, -1.015258e-11) + BAND04_SCA09_SAMP_NUM_COEF = (-9.673682e-01, 2.702671e-01, 1.006889e+00, 1.142875e-03, -9.166678e-07) + BAND04_SCA09_SAMP_DEN_COEF = (-3.495817e-07, 1.936658e-06, -1.568347e-06, -5.809554e-12) + BAND04_SCA10_MEAN_HEIGHT = 2000.000 + BAND04_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA10_MEAN_L1T_LINE_SAMP = (4084.353, 5072.706) + BAND04_SCA10_LINE_NUM_COEF = ( 1.402261e-01, 9.986427e-01, -2.806122e-01, -5.290740e-04, -7.895485e-06) + BAND04_SCA10_LINE_DEN_COEF = ( 2.740165e-07, -6.408787e-06, 1.099990e-09, -1.006925e-11) + BAND04_SCA10_SAMP_NUM_COEF = (-9.486087e-01, 2.702154e-01, 1.007265e+00, 1.880410e-03, -9.216277e-07) + BAND04_SCA10_SAMP_DEN_COEF = (-9.509937e-08, 2.913105e-06, -1.565342e-06, -6.780358e-12) + BAND04_SCA11_MEAN_HEIGHT = 2000.000 + BAND04_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA11_MEAN_L1T_LINE_SAMP = (4587.458, 5404.147) + BAND04_SCA11_LINE_NUM_COEF = ( 1.423335e-01, 9.965642e-01, -2.876680e-01, 9.578478e-05, -7.815542e-06) + BAND04_SCA11_LINE_DEN_COEF = ( 2.758291e-07, -6.329947e-06, -3.449852e-11, -9.919502e-12) + BAND04_SCA11_SAMP_NUM_COEF = (-8.990077e-01, 2.688355e-01, 1.001257e+00, 2.603237e-03, -9.078974e-07) + BAND04_SCA11_SAMP_DEN_COEF = ( 2.874050e-07, 4.315643e-06, -1.560082e-06, -8.197024e-12) + BAND04_SCA12_MEAN_HEIGHT = 2000.000 + BAND04_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA12_MEAN_L1T_LINE_SAMP = (4323.436, 5944.598) + BAND04_SCA12_LINE_NUM_COEF = ( 1.206315e-01, 9.958820e-01, -2.892755e-01, -5.673865e-04, -5.390579e-06) + BAND04_SCA12_LINE_DEN_COEF = ( 2.315595e-07, -4.231586e-06, 8.394840e-10, -9.846134e-12) + BAND04_SCA12_SAMP_NUM_COEF = (-8.864040e-01, 2.682115e-01, 9.994836e-01, 3.336428e-03, -9.108382e-07) + BAND04_SCA12_SAMP_DEN_COEF = ( 4.476984e-07, 4.942021e-06, -1.555466e-06, -8.828455e-12) + BAND04_SCA13_MEAN_HEIGHT = 2000.000 + BAND04_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA13_MEAN_L1T_LINE_SAMP = (4830.424, 6278.807) + BAND04_SCA13_LINE_NUM_COEF = ( 1.547417e-01, 9.933766e-01, -2.979154e-01, 3.877209e-05, -9.996618e-06) + BAND04_SCA13_LINE_DEN_COEF = ( 3.203841e-07, -8.195284e-06, 4.763426e-11, -9.678948e-12) + BAND04_SCA13_SAMP_NUM_COEF = (-8.110167e-01, 2.662595e-01, 9.913402e-01, 4.042869e-03, -8.951413e-07) + BAND04_SCA13_SAMP_DEN_COEF = ( 1.071766e-06, 7.241499e-06, -1.543400e-06, -1.105840e-11) + BAND04_SCA14_MEAN_HEIGHT = 2000.000 + BAND04_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA14_MEAN_L1T_LINE_SAMP = (4567.821, 6824.169) + BAND04_SCA14_LINE_NUM_COEF = ( 1.347320e-01, 9.931005e-01, -2.980013e-01, -6.273643e-04, -8.172756e-06) + BAND04_SCA14_LINE_DEN_COEF = ( 2.848654e-07, -6.622755e-06, 1.320682e-09, -9.606006e-12) + BAND04_SCA14_SAMP_NUM_COEF = (-8.112601e-01, 2.650565e-01, 9.873929e-01, 4.764852e-03, -8.960344e-07) + BAND04_SCA14_SAMP_DEN_COEF = ( 1.064145e-06, 7.243638e-06, -1.539093e-06, -1.111050e-11) +END_GROUP = RPC_BAND04 +GROUP = RPC_BAND05 + BAND05_NUMBER_OF_SCAS = 14 + BAND05_NUM_L1T_LINES = 7971 + BAND05_NUM_L1T_SAMPS = 7861 + BAND05_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND05_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND05_NUM_L1R_LINES = 7501 + BAND05_NUM_L1R_SAMPS = 494 + BAND05_PIXEL_SIZE = 30.000 + BAND05_START_TIME = 10.589185 + BAND05_LINE_TIME = 0.004236000 + BAND05_MEAN_HEIGHT = 2000.000 + BAND05_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND05_MEAN_L1T_LINE_SAMP = (3988.185, 3935.785) + BAND05_MEAN_SAT_VECTOR = (-0.002242441, -0.003893683, 0.996285399) + BAND05_SAT_X_NUM_COEF = (-1.547287e-04, -2.265883e-07, -4.716878e-05, -3.603487e-09, -1.156573e-05, + -5.163565e-11, -1.502985e-10, 1.871273e-12, 6.413818e-16, 2.222267e-17) + BAND05_SAT_X_DEN_COEF = ( 8.757258e-06, 0.000000e+00, -1.404956e-06, -5.205560e-06, 5.137507e-11, + 4.999988e-10, 9.495855e-10, 5.454686e-16, -2.002437e-17) + BAND05_SAT_Y_NUM_COEF = (-7.735733e-04, 4.714638e-05, -2.118975e-07, -5.443824e-09, -4.393784e-05, + 3.147218e-12, 6.680020e-11, 2.404014e-10, -2.320073e-16, -3.499791e-17) + BAND05_SAT_Y_DEN_COEF = ( 1.106118e-06, 7.430910e-07, -1.405400e-06, -1.116866e-06, 3.743241e-11, + 6.892720e-10, 9.221395e-10, 1.950219e-15, -1.279984e-17) + BAND05_SAT_Z_NUM_COEF = ( 3.668966e-03, 2.186951e-07, -1.137289e-07, -1.039855e-08, -2.324056e-07, + -7.432003e-11, -5.538157e-10, -1.031826e-09, -4.201606e-16, -8.511302e-20) + BAND05_SAT_Z_DEN_COEF = (-4.094666e-06, 1.150880e-06, -2.825194e-06, 3.990457e-06, 9.857237e-11, + 7.332975e-10, 1.377161e-09, 2.125432e-16, 3.277510e-17) + BAND05_MEAN_SUN_VECTOR = ( 0.246306987, -0.913840205, 0.322492678) + BAND05_SUN_X_NUM_COEF = ( 2.944421e-05, -2.971811e-08, -6.190187e-06, -1.611720e-14, -2.745908e-07, + 2.121854e-13, 3.133056e-11, -6.158193e-12, 4.410522e-18, 8.696307e-18) + BAND05_SUN_X_DEN_COEF = ( 4.420053e-08, 0.000000e+00, -5.551886e-12, -8.616084e-08, -3.734727e-11, + 1.086412e-11, 2.031797e-11, 1.598771e-16, 2.876826e-17) + BAND05_SUN_Y_NUM_COEF = (-1.077513e-04, 1.512542e-06, -1.267261e-06, 2.520605e-13, -5.599052e-08, + 2.347244e-11, -1.511661e-13, 2.131885e-11, 2.692807e-17, 9.181943e-18) + BAND05_SUN_Y_DEN_COEF = ( 8.376829e-06, -1.478875e-06, -5.499648e-11, 5.228091e-07, -4.869620e-11, + -4.470056e-11, 0.000000e+00, -6.533920e-16, -9.632851e-16) + BAND05_SUN_Z_NUM_COEF = ( 2.480892e-05, 4.311415e-06, 1.136146e-06, -1.414267e-13, 5.094106e-08, + -5.681214e-11, -1.515994e-11, -3.235857e-12, 2.604830e-17, 1.498002e-17) + BAND05_SUN_Z_DEN_COEF = (-1.240792e-05, 0.000000e+00, 2.901695e-11, 1.379599e-07, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 3.350434e-16, -5.318985e-16) + BAND05_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND05_SCA01_MEAN_HEIGHT = 2000.000 + BAND05_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA01_MEAN_L1T_LINE_SAMP = (3399.544, 1051.191) + BAND05_SCA01_LINE_NUM_COEF = ( 1.599331e-01, 1.012499e+00, -2.364061e-01, -4.310098e-05, -8.351571e-06) + BAND05_SCA01_LINE_DEN_COEF = ( 2.647729e-07, -6.872348e-06, 2.220968e-10, -1.105169e-11) + BAND05_SCA01_SAMP_NUM_COEF = (-1.193290e+00, 2.642491e-01, 9.854736e-01, -4.673127e-03, -9.107582e-07) + BAND05_SCA01_SAMP_DEN_COEF = (-2.852097e-06, -7.423985e-06, -1.540898e-06, 3.741854e-12) + BAND05_SCA02_MEAN_HEIGHT = 2000.000 + BAND05_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA02_MEAN_L1T_LINE_SAMP = (3184.024, 1581.940) + BAND05_SCA02_LINE_NUM_COEF = ( 1.463585e-01, 1.009965e+00, -2.449257e-01, -5.488275e-04, -5.709158e-06) + BAND05_SCA02_LINE_DEN_COEF = ( 2.290735e-07, -4.550435e-06, 8.547643e-10, -1.094229e-11) + BAND05_SCA02_SAMP_NUM_COEF = (-1.179333e+00, 2.664685e-01, 9.942639e-01, -3.974301e-03, -9.226796e-07) + BAND05_SCA02_SAMP_DEN_COEF = (-2.586475e-06, -6.412613e-06, -1.548976e-06, 2.686180e-12) + BAND05_SCA03_MEAN_HEIGHT = 2000.000 + BAND05_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA03_MEAN_L1T_LINE_SAMP = (3627.829, 1934.518) + BAND05_SCA03_LINE_NUM_COEF = ( 1.438796e-01, 1.009392e+00, -2.463365e-01, 2.491539e-05, -6.150048e-06) + BAND05_SCA03_LINE_DEN_COEF = ( 2.348412e-07, -4.936111e-06, 1.044945e-10, -1.082344e-11) + BAND05_SCA03_SAMP_NUM_COEF = (-1.155940e+00, 2.674824e-01, 9.973223e-01, -3.246807e-03, -9.185388e-07) + BAND05_SCA03_SAMP_DEN_COEF = (-2.376688e-06, -5.641441e-06, -1.555023e-06, 1.849958e-12) + BAND05_SCA04_MEAN_HEIGHT = 2000.000 + BAND05_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA04_MEAN_L1T_LINE_SAMP = (3413.809, 2459.937) + BAND05_SCA04_LINE_NUM_COEF = ( 1.447138e-01, 1.007137e+00, -2.538257e-01, -4.987225e-04, -6.367769e-06) + BAND05_SCA04_LINE_DEN_COEF = ( 2.410483e-07, -5.115808e-06, 8.662006e-10, -1.073017e-11) + BAND05_SCA04_SAMP_NUM_COEF = (-1.134750e+00, 2.691552e-01, 1.004063e+00, -2.529859e-03, -9.285400e-07) + BAND05_SCA04_SAMP_DEN_COEF = (-2.045617e-06, -4.385384e-06, -1.561304e-06, 5.785308e-13) + BAND05_SCA05_MEAN_HEIGHT = 2000.000 + BAND05_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA05_MEAN_L1T_LINE_SAMP = (3856.869, 2808.360) + BAND05_SCA05_LINE_NUM_COEF = ( 1.590801e-01, 1.006201e+00, -2.565989e-01, 6.855473e-05, -9.527795e-06) + BAND05_SCA05_LINE_DEN_COEF = ( 2.914589e-07, -7.865925e-06, -1.110559e-11, -1.061334e-11) + BAND05_SCA05_SAMP_NUM_COEF = (-1.102632e+00, 2.696518e-01, 1.005179e+00, -1.794728e-03, -9.224884e-07) + BAND05_SCA05_SAMP_DEN_COEF = (-1.758511e-06, -3.327720e-06, -1.565644e-06, -5.240292e-13) + BAND05_SCA06_MEAN_HEIGHT = 2000.000 + BAND05_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA06_MEAN_L1T_LINE_SAMP = (3644.671, 3330.471) + BAND05_SCA06_LINE_NUM_COEF = ( 1.427919e-01, 1.004340e+00, -2.626245e-01, -4.706970e-04, -6.911674e-06) + BAND05_SCA06_LINE_DEN_COEF = ( 2.518942e-07, -5.579129e-06, 8.852772e-10, -1.051397e-11) + BAND05_SCA06_SAMP_NUM_COEF = (-1.073182e+00, 2.706934e-01, 1.009554e+00, -1.064772e-03, -9.302703e-07) + BAND05_SCA06_SAMP_DEN_COEF = (-1.356350e-06, -1.805855e-06, -1.569069e-06, -2.023701e-12) + BAND05_SCA07_MEAN_HEIGHT = 2000.000 + BAND05_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA07_MEAN_L1T_LINE_SAMP = (4087.781, 3676.636) + BAND05_SCA07_LINE_NUM_COEF = ( 1.516171e-01, 1.003035e+00, -2.667795e-01, 8.703075e-05, -8.697558e-06) + BAND05_SCA07_LINE_DEN_COEF = ( 2.825239e-07, -7.126627e-06, -3.532588e-11, -1.038446e-11) + BAND05_SCA07_SAMP_NUM_COEF = (-1.035405e+00, 2.705514e-01, 1.008278e+00, -3.270656e-04, -9.219288e-07) + BAND05_SCA07_SAMP_DEN_COEF = (-1.032099e-06, -6.120121e-07, -1.570437e-06, -3.249559e-12) + BAND05_SCA08_MEAN_HEIGHT = 2000.000 + BAND05_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA08_MEAN_L1T_LINE_SAMP = (3876.956, 4197.775) + BAND05_SCA08_LINE_NUM_COEF = ( 1.265230e-01, 1.001496e+00, -2.716054e-01, -4.652882e-04, -4.853556e-06) + BAND05_SCA08_LINE_DEN_COEF = ( 2.194829e-07, -3.782266e-06, 6.547707e-10, -1.028994e-11) + BAND05_SCA08_SAMP_NUM_COEF = (-1.000989e+00, 2.710195e-01, 1.010502e+00, 4.094382e-04, -9.276939e-07) + BAND05_SCA08_SAMP_DEN_COEF = (-5.963969e-07, 1.035697e-06, -1.570030e-06, -4.852377e-12) + BAND05_SCA09_MEAN_HEIGHT = 2000.000 + BAND05_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA09_MEAN_L1T_LINE_SAMP = (4321.732, 4543.150) + BAND05_SCA09_LINE_NUM_COEF = ( 1.482775e-01, 9.998208e-01, -2.771421e-01, 8.076905e-05, -8.513150e-06) + BAND05_SCA09_LINE_DEN_COEF = ( 2.838423e-07, -6.949873e-06, -1.991942e-11, -1.015448e-11) + BAND05_SCA09_SAMP_NUM_COEF = (-9.688200e-01, 2.703058e-01, 1.007086e+00, 1.143129e-03, -9.173139e-07) + BAND05_SCA09_SAMP_DEN_COEF = (-3.583456e-07, 1.905790e-06, -1.568378e-06, -5.779915e-12) + BAND05_SCA10_MEAN_HEIGHT = 2000.000 + BAND05_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA10_MEAN_L1T_LINE_SAMP = (4112.227, 5065.208) + BAND05_SCA10_LINE_NUM_COEF = ( 1.420124e-01, 9.986248e-01, -2.806879e-01, -4.821795e-04, -8.161195e-06) + BAND05_SCA10_LINE_DEN_COEF = ( 2.787182e-07, -6.638827e-06, 1.044584e-09, -1.006669e-11) + BAND05_SCA10_SAMP_NUM_COEF = (-9.519414e-01, 2.701799e-01, 1.007081e+00, 1.880039e-03, -9.209915e-07) + BAND05_SCA10_SAMP_DEN_COEF = (-1.378699e-07, 2.751846e-06, -1.565644e-06, -6.634256e-12) + BAND05_SCA11_MEAN_HEIGHT = 2000.000 + BAND05_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA11_MEAN_L1T_LINE_SAMP = (4559.454, 5411.705) + BAND05_SCA11_LINE_NUM_COEF = ( 1.407190e-01, 9.965859e-01, -2.875784e-01, 4.875195e-05, -7.589157e-06) + BAND05_SCA11_LINE_DEN_COEF = ( 2.717024e-07, -6.134333e-06, 5.284045e-11, -9.921765e-12) + BAND05_SCA11_SAMP_NUM_COEF = (-8.995077e-01, 2.688725e-01, 1.001446e+00, 2.603776e-03, -9.085368e-07) + BAND05_SCA11_SAMP_DEN_COEF = ( 2.889261e-07, 4.323219e-06, -1.560058e-06, -8.202936e-12) + BAND05_SCA12_MEAN_HEIGHT = 2000.000 + BAND05_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA12_MEAN_L1T_LINE_SAMP = (4351.407, 5937.085) + BAND05_SCA12_LINE_NUM_COEF = ( 1.191236e-01, 9.958586e-01, -2.893715e-01, -5.205050e-04, -5.118703e-06) + BAND05_SCA12_LINE_DEN_COEF = ( 2.266860e-07, -3.996641e-06, 7.486142e-10, -9.844119e-12) + BAND05_SCA12_SAMP_NUM_COEF = (-8.875796e-01, 2.681755e-01, 9.992980e-01, 3.335804e-03, -9.102019e-07) + BAND05_SCA12_SAMP_DEN_COEF = ( 4.282566e-07, 4.867629e-06, -1.555716e-06, -8.761358e-12) + BAND05_SCA13_MEAN_HEIGHT = 2000.000 + BAND05_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA13_MEAN_L1T_LINE_SAMP = (4802.368, 6286.394) + BAND05_SCA13_LINE_NUM_COEF = ( 1.504207e-01, 9.933989e-01, -2.978235e-01, -8.209516e-06, -9.370884e-06) + BAND05_SCA13_LINE_DEN_COEF = ( 3.086445e-07, -7.655880e-06, 1.551653e-10, -9.682491e-12) + BAND05_SCA13_SAMP_NUM_COEF = (-8.114093e-01, 2.662952e-01, 9.915246e-01, 4.043682e-03, -8.957732e-07) + BAND05_SCA13_SAMP_DEN_COEF = ( 1.074442e-06, 7.253531e-06, -1.543345e-06, -1.106966e-11) + BAND05_SCA14_MEAN_HEIGHT = 2000.000 + BAND05_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA14_MEAN_L1T_LINE_SAMP = (4595.920, 6816.624) + BAND05_SCA14_LINE_NUM_COEF = ( 1.382966e-01, 9.930616e-01, -2.981550e-01, -5.806972e-04, -8.668298e-06) + BAND05_SCA14_LINE_DEN_COEF = ( 2.942158e-07, -7.049920e-06, 1.299743e-09, -9.601111e-12) + BAND05_SCA14_SAMP_NUM_COEF = (-8.099097e-01, 2.650135e-01, 9.871813e-01, 4.763832e-03, -8.953770e-07) + BAND05_SCA14_SAMP_DEN_COEF = ( 1.071269e-06, 7.268103e-06, -1.538977e-06, -1.113326e-11) +END_GROUP = RPC_BAND05 +GROUP = RPC_BAND06 + BAND06_NUMBER_OF_SCAS = 14 + BAND06_NUM_L1T_LINES = 7971 + BAND06_NUM_L1T_SAMPS = 7861 + BAND06_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND06_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND06_NUM_L1R_LINES = 7501 + BAND06_NUM_L1R_SAMPS = 494 + BAND06_PIXEL_SIZE = 30.000 + BAND06_START_TIME = 10.589185 + BAND06_LINE_TIME = 0.004236000 + BAND06_MEAN_HEIGHT = 2000.000 + BAND06_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND06_MEAN_L1T_LINE_SAMP = (3988.785, 3935.658) + BAND06_MEAN_SAT_VECTOR = (-0.002245686, -0.003860259, 0.996219117) + BAND06_SAT_X_NUM_COEF = (-1.419813e-04, -2.267008e-07, -4.716558e-05, -3.596599e-09, -1.156487e-05, + -5.189554e-11, -1.513157e-10, 1.690374e-12, 6.564704e-16, 2.202628e-17) + BAND06_SAT_X_DEN_COEF = ( 8.791142e-06, 0.000000e+00, -1.404948e-06, -5.217462e-06, 5.099674e-11, + 5.000763e-10, 9.489203e-10, 5.473891e-16, -2.001707e-17) + BAND06_SAT_Y_NUM_COEF = (-7.726283e-04, 4.714351e-05, -2.122291e-07, -5.417804e-09, -4.393710e-05, + 3.011728e-12, 6.591486e-11, 2.389476e-10, -1.096675e-16, -3.510976e-17) + BAND06_SAT_Y_DEN_COEF = ( 1.543996e-06, 4.938294e-07, -1.406566e-06, -1.592729e-06, 3.723041e-11, + 6.494615e-10, 9.275668e-10, 1.489391e-15, -1.305056e-18) + BAND06_SAT_Z_NUM_COEF = ( 3.668600e-03, 2.173292e-07, -1.134659e-07, -1.037615e-08, -2.310406e-07, + -7.431731e-11, -5.538127e-10, -1.031773e-09, -4.200854e-16, -8.737532e-20) + BAND06_SAT_Z_DEN_COEF = (-4.080422e-06, 1.150291e-06, -2.824581e-06, 3.995513e-06, 9.886973e-11, + 7.395664e-10, 1.384177e-09, 2.619626e-16, 3.921104e-17) + BAND06_MEAN_SUN_VECTOR = ( 0.246306373, -0.913838828, 0.322494906) + BAND06_SUN_X_NUM_COEF = ( 3.082995e-05, -2.972048e-08, -6.190166e-06, -1.776990e-14, -2.745907e-07, + 2.092787e-13, 3.127209e-11, -6.157846e-12, 4.120850e-18, 8.708430e-18) + BAND06_SUN_X_DEN_COEF = ( 5.365707e-08, 0.000000e+00, -5.151616e-12, -8.611364e-08, -3.728990e-11, + 1.080894e-11, 2.032883e-11, 1.579506e-16, 2.892335e-17) + BAND06_SUN_Y_NUM_COEF = (-1.080487e-04, 1.512626e-06, -1.267313e-06, 4.456988e-13, -5.594097e-08, + 2.238171e-11, 2.931681e-12, 1.948739e-11, 2.753273e-17, 7.889960e-18) + BAND06_SUN_Y_DEN_COEF = ( 7.673427e-06, 0.000000e+00, -8.495708e-11, 5.061103e-07, -4.357597e-11, + -3.884420e-11, 1.218060e-11, -1.894410e-15, -2.666108e-15) + BAND06_SUN_Z_NUM_COEF = ( 2.517023e-05, 4.311382e-06, 1.136304e-06, -1.415562e-13, 5.125411e-08, + -3.274431e-12, -1.177813e-12, -3.229601e-12, 6.417919e-18, -2.467682e-18) + BAND06_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 9.340641e-12, 1.561381e-08, 3.698562e-12, + 9.386856e-13, 1.031419e-11, 1.205093e-15, -1.685565e-15) + BAND06_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND06_SCA01_MEAN_HEIGHT = 2000.000 + BAND06_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA01_MEAN_L1T_LINE_SAMP = (3525.075, 1017.456) + BAND06_SCA01_LINE_NUM_COEF = ( 1.595406e-01, 1.012749e+00, -2.355112e-01, 1.650686e-04, -8.378653e-06) + BAND06_SCA01_LINE_DEN_COEF = ( 2.645206e-07, -6.898119e-06, -1.774519e-10, -1.104696e-11) + BAND06_SCA01_SAMP_NUM_COEF = (-1.190083e+00, 2.640723e-01, 9.845825e-01, -4.669086e-03, -9.079159e-07) + BAND06_SCA01_SAMP_DEN_COEF = (-2.845992e-06, -7.407013e-06, -1.540999e-06, 3.716213e-12) + BAND06_SCA02_MEAN_HEIGHT = 2000.000 + BAND06_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA02_MEAN_L1T_LINE_SAMP = (3059.963, 1615.338) + BAND06_SCA02_LINE_NUM_COEF = ( 1.429073e-01, 1.009771e+00, -2.456131e-01, -7.559000e-04, -5.017453e-06) + BAND06_SCA02_LINE_DEN_COEF = ( 2.189412e-07, -3.945307e-06, 1.003344e-09, -1.094641e-11) + BAND06_SCA02_SAMP_NUM_COEF = (-1.176294e+00, 2.666072e-01, 9.950139e-01, -3.977012e-03, -9.253986e-07) + BAND06_SCA02_SAMP_DEN_COEF = (-2.527118e-06, -6.185115e-06, -1.549885e-06, 2.485386e-12) + BAND06_SCA03_MEAN_HEIGHT = 2000.000 + BAND06_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA03_MEAN_L1T_LINE_SAMP = (3752.793, 1900.926) + BAND06_SCA03_LINE_NUM_COEF = ( 1.471556e-01, 1.009535e+00, -2.458400e-01, 2.345455e-04, -6.765488e-06) + BAND06_SCA03_LINE_DEN_COEF = ( 2.439422e-07, -5.474449e-06, -2.237897e-10, -1.081982e-11) + BAND06_SCA03_SAMP_NUM_COEF = (-1.155986e+00, 2.672886e-01, 9.963670e-01, -3.243847e-03, -9.156167e-07) + BAND06_SCA03_SAMP_DEN_COEF = (-2.406505e-06, -5.758778e-06, -1.554661e-06, 1.945679e-12) + BAND06_SCA04_MEAN_HEIGHT = 2000.000 + BAND06_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA04_MEAN_L1T_LINE_SAMP = (3290.163, 2493.176) + BAND06_SCA04_LINE_NUM_COEF = ( 1.403280e-01, 1.006980e+00, -2.543723e-01, -7.062675e-04, -5.541741e-06) + BAND06_SCA04_LINE_DEN_COEF = ( 2.283472e-07, -4.394963e-06, 1.033242e-09, -1.073515e-11) + BAND06_SCA04_SAMP_NUM_COEF = (-1.132817e+00, 2.693039e-01, 1.004851e+00, -2.531657e-03, -9.313132e-07) + BAND06_SCA04_SAMP_DEN_COEF = (-1.996579e-06, -4.195971e-06, -1.561779e-06, 4.114091e-13) + BAND06_SCA05_MEAN_HEIGHT = 2000.000 + BAND06_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA05_MEAN_L1T_LINE_SAMP = (3981.589, 2774.833) + BAND06_SCA05_LINE_NUM_COEF = ( 1.600715e-01, 1.006292e+00, -2.562982e-01, 2.787027e-04, -9.677291e-06) + BAND06_SCA05_LINE_DEN_COEF = ( 2.936034e-07, -7.997115e-06, -4.815444e-10, -1.060702e-11) + BAND06_SCA05_SAMP_NUM_COEF = (-1.096728e+00, 2.694470e-01, 1.004183e+00, -1.793064e-03, -9.195113e-07) + BAND06_SCA05_SAMP_DEN_COEF = (-1.725693e-06, -3.212143e-06, -1.565871e-06, -6.397675e-13) + BAND06_SCA06_MEAN_HEIGHT = 2000.000 + BAND06_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA06_MEAN_L1T_LINE_SAMP = (3521.072, 3363.837) + BAND06_SCA06_LINE_NUM_COEF = ( 1.397599e-01, 1.004251e+00, -2.629162e-01, -6.791611e-04, -6.392641e-06) + BAND06_SCA06_LINE_DEN_COEF = ( 2.436145e-07, -5.126933e-06, 1.133733e-09, -1.052161e-11) + BAND06_SCA06_SAMP_NUM_COEF = (-1.069425e+00, 2.708288e-01, 1.010292e+00, -1.065172e-03, -9.330140e-07) + BAND06_SCA06_SAMP_DEN_COEF = (-1.287184e-06, -1.540799e-06, -1.569347e-06, -2.261719e-12) + BAND06_SCA07_MEAN_HEIGHT = 2000.000 + BAND06_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA07_MEAN_L1T_LINE_SAMP = (4212.432, 3643.171) + BAND06_SCA07_LINE_NUM_COEF = ( 1.502527e-01, 1.003047e+00, -2.667716e-01, 2.974741e-04, -8.374366e-06) + BAND06_SCA07_LINE_DEN_COEF = ( 2.771302e-07, -6.846331e-06, -4.343591e-10, -1.037610e-11) + BAND06_SCA07_SAMP_NUM_COEF = (-1.030418e+00, 2.703658e-01, 1.007354e+00, -3.267675e-04, -9.190070e-07) + BAND06_SCA07_SAMP_DEN_COEF = (-1.009048e-06, -5.334861e-07, -1.570484e-06, -3.329758e-12) + BAND06_SCA08_MEAN_HEIGHT = 2000.000 + BAND06_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA08_MEAN_L1T_LINE_SAMP = (3753.637, 4231.020) + BAND06_SCA08_LINE_NUM_COEF = ( 1.298381e-01, 1.001474e+00, -2.716498e-01, -6.735174e-04, -5.491458e-06) + BAND06_SCA08_LINE_DEN_COEF = ( 2.303407e-07, -4.335227e-06, 9.852796e-10, -1.030054e-11) + BAND06_SCA08_SAMP_NUM_COEF = (-1.006260e+00, 2.711526e-01, 1.011230e+00, 4.100287e-04, -9.304314e-07) + BAND06_SCA08_SAMP_DEN_COEF = (-6.245242e-07, 9.384859e-07, -1.570067e-06, -4.758539e-12) + BAND06_SCA09_MEAN_HEIGHT = 2000.000 + BAND06_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA09_MEAN_L1T_LINE_SAMP = (4446.492, 4509.663) + BAND06_SCA09_LINE_NUM_COEF = ( 1.542203e-01, 9.997812e-01, -2.773284e-01, 2.910873e-04, -9.393141e-06) + BAND06_SCA09_LINE_DEN_COEF = ( 2.992046e-07, -7.712361e-06, -4.922658e-10, -1.014679e-11) + BAND06_SCA09_SAMP_NUM_COEF = (-9.633883e-01, 2.701137e-01, 1.006138e+00, 1.142105e-03, -9.143665e-07) + BAND06_SCA09_SAMP_DEN_COEF = (-3.313618e-07, 1.998351e-06, -1.568295e-06, -5.870281e-12) + BAND06_SCA10_MEAN_HEIGHT = 2000.000 + BAND06_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA10_MEAN_L1T_LINE_SAMP = (3988.701, 5098.604) + BAND06_SCA10_LINE_NUM_COEF = ( 1.417185e-01, 9.987221e-01, -2.802855e-01, -6.899698e-04, -8.265274e-06) + BAND06_SCA10_LINE_DEN_COEF = ( 2.802690e-07, -6.729288e-06, 1.451511e-09, -1.007766e-11) + BAND06_SCA10_SAMP_NUM_COEF = (-9.555101e-01, 2.703189e-01, 1.007830e+00, 1.881858e-03, -9.237500e-07) + BAND06_SCA10_SAMP_DEN_COEF = (-1.469891e-07, 2.725940e-06, -1.565689e-06, -6.602915e-12) + BAND06_SCA11_MEAN_HEIGHT = 2000.000 + BAND06_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA11_MEAN_L1T_LINE_SAMP = (4684.356, 5378.255) + BAND06_SCA11_LINE_NUM_COEF = ( 1.430457e-01, 9.964740e-01, -2.880335e-01, 2.582833e-04, -7.803619e-06) + BAND06_SCA11_LINE_DEN_COEF = ( 2.758502e-07, -6.319334e-06, -3.266748e-10, -9.912087e-12) + BAND06_SCA11_SAMP_NUM_COEF = (-8.953538e-01, 2.686781e-01, 1.000491e+00, 2.601508e-03, -9.055882e-07) + BAND06_SCA11_SAMP_DEN_COEF = ( 3.015075e-07, 4.361556e-06, -1.559981e-06, -8.242745e-12) + BAND06_SCA12_MEAN_HEIGHT = 2000.000 + BAND06_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA12_MEAN_L1T_LINE_SAMP = (4227.636, 5970.327) + BAND06_SCA12_LINE_NUM_COEF = ( 1.161471e-01, 9.959768e-01, -2.888912e-01, -7.277415e-04, -4.792972e-06) + BAND06_SCA12_LINE_DEN_COEF = ( 2.206001e-07, -3.715130e-06, 9.363214e-10, -9.856920e-12) + BAND06_SCA12_SAMP_NUM_COEF = (-8.843262e-01, 2.683178e-01, 1.000058e+00, 3.338375e-03, -9.129627e-07) + BAND06_SCA12_SAMP_DEN_COEF = ( 4.927025e-07, 5.116424e-06, -1.554881e-06, -8.984366e-12) + BAND06_SCA13_MEAN_HEIGHT = 2000.000 + BAND06_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA13_MEAN_L1T_LINE_SAMP = (4927.616, 6252.568) + BAND06_SCA13_LINE_NUM_COEF = ( 1.586890e-01, 9.932672e-01, -2.983532e-01, 2.010510e-04, -1.045765e-05) + BAND06_SCA13_LINE_DEN_COEF = ( 3.293554e-07, -8.592006e-06, -3.494392e-10, -9.670508e-12) + BAND06_SCA13_SAMP_NUM_COEF = (-8.106385e-01, 2.661011e-01, 9.905738e-01, 4.039622e-03, -8.928388e-07) + BAND06_SCA13_SAMP_DEN_COEF = ( 1.050477e-06, 7.155098e-06, -1.543774e-06, -1.098082e-11) + BAND06_SCA14_MEAN_HEIGHT = 2000.000 + BAND06_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA14_MEAN_L1T_LINE_SAMP = (4471.467, 6850.032) + BAND06_SCA14_LINE_NUM_COEF = ( 1.405711e-01, 9.932622e-01, -2.973673e-01, -7.869255e-04, -9.219731e-06) + BAND06_SCA14_LINE_DEN_COEF = ( 3.039021e-07, -7.526763e-06, 1.813310e-09, -9.610917e-12) + BAND06_SCA14_SAMP_NUM_COEF = (-8.128907e-01, 2.651427e-01, 9.878895e-01, 4.767242e-03, -8.980822e-07) + BAND06_SCA14_SAMP_DEN_COEF = ( 1.068588e-06, 7.267300e-06, -1.538975e-06, -1.112874e-11) +END_GROUP = RPC_BAND06 +GROUP = RPC_BAND07 + BAND07_NUMBER_OF_SCAS = 14 + BAND07_NUM_L1T_LINES = 7971 + BAND07_NUM_L1T_SAMPS = 7861 + BAND07_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND07_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND07_NUM_L1R_LINES = 7501 + BAND07_NUM_L1R_SAMPS = 494 + BAND07_PIXEL_SIZE = 30.000 + BAND07_START_TIME = 10.589185 + BAND07_LINE_TIME = 0.004236000 + BAND07_MEAN_HEIGHT = 2000.000 + BAND07_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND07_MEAN_L1T_LINE_SAMP = (3988.765, 3935.663) + BAND07_MEAN_SAT_VECTOR = (-0.002243704, -0.003862426, 0.996237165) + BAND07_SAT_X_NUM_COEF = (-1.451721e-04, -2.266959e-07, -4.716641e-05, -3.596574e-09, -1.156508e-05, + -5.187885e-11, -1.512470e-10, 1.716024e-12, 6.552827e-16, 2.204060e-17) + BAND07_SAT_X_DEN_COEF = ( 8.788326e-06, 0.000000e+00, -1.404949e-06, -5.216044e-06, 5.102660e-11, + 5.000853e-10, 9.490678e-10, 5.466503e-16, -1.999694e-17) + BAND07_SAT_Y_NUM_COEF = (-7.733655e-04, 4.714425e-05, -2.121444e-07, -5.414370e-09, -4.393730e-05, + 3.050530e-12, 6.617774e-11, 2.393954e-10, -1.428729e-16, -3.507731e-17) + BAND07_SAT_Y_DEN_COEF = ( 1.407071e-06, 5.719341e-07, -1.406294e-06, -1.444597e-06, 3.698023e-11, + 6.599075e-10, 9.261017e-10, 1.603200e-15, -4.206767e-18) + BAND07_SAT_Z_NUM_COEF = ( 3.668758e-03, 2.173807e-07, -1.134722e-07, -1.038233e-08, -2.310964e-07, + -7.431795e-11, -5.538128e-10, -1.031786e-09, -4.201124e-16, -8.678144e-20) + BAND07_SAT_Z_DEN_COEF = (-4.084817e-06, 1.150236e-06, -2.824746e-06, 3.995449e-06, 9.878567e-11, + 7.379081e-10, 1.382353e-09, 2.520916e-16, 3.744992e-17) + BAND07_MEAN_SUN_VECTOR = ( 0.246306679, -0.913838954, 0.322494885) + BAND07_SUN_X_NUM_COEF = ( 3.049428e-05, -2.972059e-08, -6.190167e-06, -1.730852e-14, -2.745908e-07, + 2.097136e-13, 3.128070e-11, -6.157921e-12, 4.165894e-18, 8.709540e-18) + BAND07_SUN_X_DEN_COEF = ( 5.225615e-08, 0.000000e+00, -5.208756e-12, -8.611793e-08, -3.729498e-11, + 1.081963e-11, 2.032687e-11, 1.584323e-16, 2.889690e-17) + BAND07_SUN_Y_NUM_COEF = (-1.079671e-04, 1.512649e-06, -1.267338e-06, 3.954368e-13, -5.594821e-08, + 2.201514e-11, 3.258238e-12, 1.947839e-11, 2.716053e-17, 7.963192e-18) + BAND07_SUN_Y_DEN_COEF = ( 7.426662e-06, 0.000000e+00, -7.751157e-11, 4.933727e-07, -4.189763e-11, + -3.645998e-11, 1.487456e-11, -1.543184e-15, -2.225171e-15) + BAND07_SUN_Z_NUM_COEF = ( 2.508171e-05, 4.311377e-06, 1.136303e-06, -1.504999e-13, 5.125811e-08, + -3.281180e-12, -1.190262e-12, -3.222850e-12, 7.418852e-18, -2.731696e-18) + BAND07_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 9.557372e-12, 1.084244e-08, 3.703269e-12, + 1.186288e-12, 1.006465e-11, 9.978955e-16, -1.395939e-15) + BAND07_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND07_SCA01_MEAN_HEIGHT = 2000.000 + BAND07_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA01_MEAN_L1T_LINE_SAMP = (3496.936, 1024.978) + BAND07_SCA01_LINE_NUM_COEF = ( 1.618066e-01, 1.012693e+00, -2.357135e-01, 1.184194e-04, -8.779262e-06) + BAND07_SCA01_LINE_DEN_COEF = ( 2.705341e-07, -7.248131e-06, -9.885259e-11, -1.104993e-11) + BAND07_SCA01_SAMP_NUM_COEF = (-1.186312e+00, 2.641054e-01, 9.847581e-01, -4.669948e-03, -9.085304e-07) + BAND07_SCA01_SAMP_DEN_COEF = (-2.800227e-06, -7.235071e-06, -1.541809e-06, 3.559906e-12) + BAND07_SCA02_MEAN_HEIGHT = 2000.000 + BAND07_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA02_MEAN_L1T_LINE_SAMP = (3087.991, 1607.787) + BAND07_SCA02_LINE_NUM_COEF = ( 1.456640e-01, 1.009810e+00, -2.454761e-01, -7.090496e-04, -5.532674e-06) + BAND07_SCA02_LINE_DEN_COEF = ( 2.267123e-07, -4.395312e-06, 1.034449e-09, -1.094713e-11) + BAND07_SCA02_SAMP_NUM_COEF = (-1.180588e+00, 2.665709e-01, 9.948258e-01, -3.976330e-03, -9.247666e-07) + BAND07_SCA02_SAMP_DEN_COEF = (-2.579102e-06, -6.380479e-06, -1.549104e-06, 2.664262e-12) + BAND07_SCA03_MEAN_HEIGHT = 2000.000 + BAND07_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA03_MEAN_L1T_LINE_SAMP = (3724.773, 1908.431) + BAND07_SCA03_LINE_NUM_COEF = ( 1.455562e-01, 1.009496e+00, -2.459774e-01, 1.876384e-04, -6.462292e-06) + BAND07_SCA03_LINE_DEN_COEF = ( 2.393925e-07, -5.209507e-06, -1.379191e-10, -1.081979e-11) + BAND07_SCA03_SAMP_NUM_COEF = (-1.158802e+00, 2.673260e-01, 9.965585e-01, -3.244476e-03, -9.162507e-07) + BAND07_SCA03_SAMP_DEN_COEF = (-2.430207e-06, -5.845755e-06, -1.554373e-06, 2.027962e-12) + BAND07_SCA04_MEAN_HEIGHT = 2000.000 + BAND07_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA04_MEAN_L1T_LINE_SAMP = (3318.077, 2485.653) + BAND07_SCA04_LINE_NUM_COEF = ( 1.413690e-01, 1.007000e+00, -2.543064e-01, -6.592599e-04, -5.725208e-06) + BAND07_SCA04_LINE_DEN_COEF = ( 2.312033e-07, -4.554988e-06, 1.001834e-09, -1.073375e-11) + BAND07_SCA04_SAMP_NUM_COEF = (-1.129276e+00, 2.692628e-01, 1.004645e+00, -2.531219e-03, -9.306609e-07) + BAND07_SCA04_SAMP_DEN_COEF = (-1.965174e-06, -4.080258e-06, -1.562071e-06, 3.016042e-13) + BAND07_SCA05_MEAN_HEIGHT = 2000.000 + BAND07_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA05_MEAN_L1T_LINE_SAMP = (3953.650, 2782.336) + BAND07_SCA05_LINE_NUM_COEF = ( 1.601250e-01, 1.006265e+00, -2.563916e-01, 2.316748e-04, -9.687458e-06) + BAND07_SCA05_LINE_DEN_COEF = ( 2.938414e-07, -8.005681e-06, -3.773346e-10, -1.060842e-11) + BAND07_SCA05_SAMP_NUM_COEF = (-1.097681e+00, 2.694871e-01, 1.004384e+00, -1.793412e-03, -9.201580e-07) + BAND07_SCA05_SAMP_DEN_COEF = (-1.729290e-06, -3.224034e-06, -1.565845e-06, -6.270994e-13) + BAND07_SCA06_MEAN_HEIGHT = 2000.000 + BAND07_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA06_MEAN_L1T_LINE_SAMP = (3548.937, 3356.337) + BAND07_SCA06_LINE_NUM_COEF = ( 1.398851e-01, 1.004259e+00, -2.628964e-01, -6.321221e-04, -6.400954e-06) + BAND07_SCA06_LINE_DEN_COEF = ( 2.437323e-07, -5.134297e-06, 1.066116e-09, -1.051940e-11) + BAND07_SCA06_SAMP_NUM_COEF = (-1.067397e+00, 2.707954e-01, 1.010115e+00, -1.065042e-03, -9.323852e-07) + BAND07_SCA06_SAMP_DEN_COEF = (-1.271812e-06, -1.485059e-06, -1.569406e-06, -2.315248e-12) + BAND07_SCA07_MEAN_HEIGHT = 2000.000 + BAND07_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA07_MEAN_L1T_LINE_SAMP = (4184.531, 3650.672) + BAND07_SCA07_LINE_NUM_COEF = ( 1.474471e-01, 1.003031e+00, -2.668221e-01, 2.503909e-04, -7.893108e-06) + BAND07_SCA07_LINE_DEN_COEF = ( 2.691622e-07, -6.428137e-06, -3.155688e-10, -1.037662e-11) + BAND07_SCA07_SAMP_NUM_COEF = (-1.032723e+00, 2.704044e-01, 1.007549e+00, -3.268152e-04, -9.196504e-07) + BAND07_SCA07_SAMP_DEN_COEF = (-1.027162e-06, -5.993263e-07, -1.570457e-06, -3.268488e-12) + BAND07_SCA08_MEAN_HEIGHT = 2000.000 + BAND07_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA08_MEAN_L1T_LINE_SAMP = (3781.498, 4223.523) + BAND07_SCA08_LINE_NUM_COEF = ( 1.318068e-01, 1.001470e+00, -2.716718e-01, -6.265005e-04, -5.810664e-06) + BAND07_SCA08_LINE_DEN_COEF = ( 2.357467e-07, -4.612301e-06, 9.726896e-10, -1.029845e-11) + BAND07_SCA08_SAMP_NUM_COEF = (-1.004829e+00, 2.711140e-01, 1.011034e+00, 4.099026e-04, -9.297832e-07) + BAND07_SCA08_SAMP_DEN_COEF = (-6.159321e-07, 9.687968e-07, -1.570055e-06, -4.787974e-12) + BAND07_SCA09_MEAN_HEIGHT = 2000.000 + BAND07_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA09_MEAN_L1T_LINE_SAMP = (4418.577, 4517.181) + BAND07_SCA09_LINE_NUM_COEF = ( 1.549038e-01, 9.997866e-01, -2.772996e-01, 2.439966e-04, -9.532291e-06) + BAND07_SCA09_LINE_DEN_COEF = ( 3.015931e-07, -7.832901e-06, -3.981154e-10, -1.014866e-11) + BAND07_SCA09_SAMP_NUM_COEF = (-9.645865e-01, 2.701538e-01, 1.006339e+00, 1.142359e-03, -9.150159e-07) + BAND07_SCA09_SAMP_DEN_COEF = (-3.373360e-07, 1.977881e-06, -1.568313e-06, -5.850539e-12) + BAND07_SCA10_MEAN_HEIGHT = 2000.000 + BAND07_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA10_MEAN_L1T_LINE_SAMP = (4016.597, 5091.109) + BAND07_SCA10_LINE_NUM_COEF = ( 1.450342e-01, 9.986957e-01, -2.803928e-01, -6.431058e-04, -8.780173e-06) + BAND07_SCA10_LINE_DEN_COEF = ( 2.893478e-07, -7.175084e-06, 1.439367e-09, -1.007473e-11) + BAND07_SCA10_SAMP_NUM_COEF = (-9.540684e-01, 2.702812e-01, 1.007637e+00, 1.881474e-03, -9.231051e-07) + BAND07_SCA10_SAMP_DEN_COEF = (-1.383451e-07, 2.756341e-06, -1.565632e-06, -6.632794e-12) + BAND07_SCA11_MEAN_HEIGHT = 2000.000 + BAND07_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA11_MEAN_L1T_LINE_SAMP = (4656.402, 5385.804) + BAND07_SCA11_LINE_NUM_COEF = ( 1.434717e-01, 9.964898e-01, -2.879663e-01, 2.112671e-04, -7.901117e-06) + BAND07_SCA11_LINE_DEN_COEF = ( 2.775642e-07, -6.403617e-06, -2.468541e-10, -9.913995e-12) + BAND07_SCA11_SAMP_NUM_COEF = (-8.948313e-01, 2.687182e-01, 1.000693e+00, 2.602075e-03, -9.062363e-07) + BAND07_SCA11_SAMP_DEN_COEF = ( 3.141235e-07, 4.410447e-06, -1.559848e-06, -8.286479e-12) + BAND07_SCA12_MEAN_HEIGHT = 2000.000 + BAND07_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA12_MEAN_L1T_LINE_SAMP = (4255.616, 5962.812) + BAND07_SCA12_LINE_NUM_COEF = ( 1.203374e-01, 9.959425e-01, -2.890283e-01, -6.809986e-04, -5.422749e-06) + BAND07_SCA12_LINE_DEN_COEF = ( 2.320295e-07, -4.259406e-06, 9.849314e-10, -9.852521e-12) + BAND07_SCA12_SAMP_NUM_COEF = (-8.853655e-01, 2.682786e-01, 9.998594e-01, 3.337703e-03, -9.123141e-07) + BAND07_SCA12_SAMP_DEN_COEF = ( 4.745487e-07, 5.046810e-06, -1.555114e-06, -8.922136e-12) + BAND07_SCA13_MEAN_HEIGHT = 2000.000 + BAND07_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA13_MEAN_L1T_LINE_SAMP = (4899.572, 6260.157) + BAND07_SCA13_LINE_NUM_COEF = ( 1.588753e-01, 9.932958e-01, -2.982380e-01, 1.541690e-04, -1.052404e-05) + BAND07_SCA13_LINE_DEN_COEF = ( 3.304969e-07, -8.649442e-06, -2.383244e-10, -9.672404e-12) + BAND07_SCA13_SAMP_NUM_COEF = (-8.135813e-01, 2.661423e-01, 9.907780e-01, 4.040520e-03, -8.934876e-07) + BAND07_SCA13_SAMP_DEN_COEF = ( 1.026284e-06, 7.067091e-06, -1.544126e-06, -1.090141e-11) + BAND07_SCA14_MEAN_HEIGHT = 2000.000 + BAND07_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA14_MEAN_L1T_LINE_SAMP = (4499.561, 6842.496) + BAND07_SCA14_LINE_NUM_COEF = ( 1.428234e-01, 9.931999e-01, -2.976085e-01, -7.406881e-04, -9.501918e-06) + BAND07_SCA14_LINE_DEN_COEF = ( 3.093414e-07, -7.769743e-06, 1.763614e-09, -9.606671e-12) + BAND07_SCA14_SAMP_NUM_COEF = (-8.133795e-01, 2.651095e-01, 9.877147e-01, 4.766407e-03, -8.974576e-07) + BAND07_SCA14_SAMP_DEN_COEF = ( 1.056703e-06, 7.220949e-06, -1.539199e-06, -1.108845e-11) +END_GROUP = RPC_BAND07 +GROUP = RPC_BAND08 + BAND08_NUMBER_OF_SCAS = 14 + BAND08_NUM_L1T_LINES = 15941 + BAND08_NUM_L1T_SAMPS = 15721 + BAND08_L1T_IMAGE_CORNER_LINES = ( 8.822348, 3288.734264, 15932.423028, 12589.813746) + BAND08_L1T_IMAGE_CORNER_SAMPS = ( 3375.459559, 15712.522428, 12318.812346, 0.867671) + BAND08_NUM_L1R_LINES = 15002 + BAND08_NUM_L1R_SAMPS = 988 + BAND08_PIXEL_SIZE = 15.000 + BAND08_START_TIME = 10.589185 + BAND08_LINE_TIME = 0.002118000 + BAND08_MEAN_HEIGHT = 2000.000 + BAND08_MEAN_L1R_LINE_SAMP = (7528.774, 6937.357) + BAND08_MEAN_L1T_LINE_SAMP = (7978.504, 7871.427) + BAND08_MEAN_SAT_VECTOR = (-0.002239866, -0.003868314, 0.996309716) + BAND08_SAT_X_NUM_COEF = (-1.605999e-04, -1.136433e-07, -2.358467e-05, -3.208949e-09, -5.782620e-06, + -1.110572e-11, -2.561912e-11, 1.997801e-11, 6.599836e-17, 2.927035e-18) + BAND08_SAT_X_DEN_COEF = ( 3.839614e-06, -8.306252e-07, -1.404838e-06, -2.371624e-06, 1.363506e-11, + 1.244154e-10, 2.369540e-10, 6.821525e-17, -2.910003e-18) + BAND08_SAT_Y_NUM_COEF = (-7.719376e-04, 2.357388e-05, -1.059229e-07, -5.406233e-09, -2.196920e-05, + 7.852485e-13, 1.665862e-11, 5.996411e-11, -3.287976e-17, -4.369803e-18) + BAND08_SAT_Y_DEN_COEF = ( 6.321562e-07, 3.271417e-07, -1.404821e-06, -6.385649e-07, 9.795050e-12, + 1.751330e-10, 2.303810e-10, 2.599268e-16, -1.596886e-18) + BAND08_SAT_Z_NUM_COEF = ( 3.669065e-03, 1.086770e-07, -5.691189e-08, -1.040612e-08, -1.156000e-07, + -1.857993e-11, -1.384514e-10, -2.579558e-10, -5.252083e-17, -1.032061e-20) + BAND08_SAT_Z_DEN_COEF = (-2.050977e-06, 5.757652e-07, -2.825447e-06, 1.992443e-06, 2.456642e-11, + 1.822273e-10, 3.425543e-10, 2.161985e-17, 3.828450e-18) + BAND08_MEAN_SUN_VECTOR = ( 0.246308046, -0.913838589, 0.322497301) + BAND08_SUN_X_NUM_COEF = ( 2.866098e-05, -1.486161e-08, -3.095076e-06, -1.571880e-14, -1.372943e-07, + 5.465434e-14, 7.864582e-12, -1.539639e-12, 6.587028e-19, 1.069227e-18) + BAND08_SUN_X_DEN_COEF = ( 1.169503e-08, 0.000000e+00, -6.728739e-12, -4.315914e-08, -9.395792e-12, + 2.743183e-12, 5.075160e-12, 2.011648e-17, 3.521487e-18) + BAND08_SUN_Y_NUM_COEF = (-1.076867e-04, 7.563110e-07, -6.336376e-07, 1.271596e-13, -2.802944e-08, + 5.847068e-12, -1.086222e-13, 5.402996e-12, 3.310242e-18, 1.587912e-18) + BAND08_SUN_Y_DEN_COEF = ( 4.156710e-06, -8.636725e-07, -4.511571e-11, 2.582104e-07, -1.153182e-11, + -1.102213e-11, 0.000000e+00, -1.145022e-17, -3.096755e-17) + BAND08_SUN_Z_NUM_COEF = ( 2.468698e-05, 2.156176e-06, 5.679647e-07, -1.402902e-13, 2.512199e-08, + -8.366384e-13, -3.099462e-13, -7.945314e-13, 1.038370e-17, 7.146252e-18) + BAND08_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 0.000000e+00, -9.148374e-09, 5.600732e-12, + 0.000000e+00, 0.000000e+00, 5.965345e-18, -1.310569e-17) + BAND08_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND08_SCA01_MEAN_HEIGHT = 2000.000 + BAND08_SCA01_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA01_MEAN_L1T_LINE_SAMP = (6632.586, 2147.529) + BAND08_SCA01_LINE_NUM_COEF = ( 3.112428e-01, 1.012354e+00, -2.369198e-01, -3.658396e-04, -3.743311e-06) + BAND08_SCA01_LINE_DEN_COEF = ( 1.262141e-07, -3.057302e-06, 4.530529e-10, -2.761307e-12) + BAND08_SCA01_SAMP_NUM_COEF = (-2.388582e+00, 2.643609e-01, 9.860447e-01, -9.350795e-03, -4.563121e-07) + BAND08_SCA01_SAMP_DEN_COEF = (-1.421479e-06, -3.693031e-06, -1.541069e-06, 9.287392e-13) + BAND08_SCA02_MEAN_HEIGHT = 2000.000 + BAND08_SCA02_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA02_MEAN_L1T_LINE_SAMP = (6538.400, 3118.583) + BAND08_SCA02_LINE_NUM_COEF = ( 2.953160e-01, 1.010092e+00, -2.444768e-01, -8.160016e-04, -2.986690e-06) + BAND08_SCA02_LINE_DEN_COEF = ( 1.164111e-07, -2.391014e-06, 6.962763e-10, -2.733190e-12) + BAND08_SCA02_SAMP_NUM_COEF = (-2.354434e+00, 2.663739e-01, 9.937518e-01, -7.944017e-03, -4.604075e-07) + BAND08_SCA02_SAMP_DEN_COEF = (-1.290594e-06, -3.198494e-06, -1.549045e-06, 6.660966e-13) + BAND08_SCA03_MEAN_HEIGHT = 2000.000 + BAND08_SCA03_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA03_MEAN_L1T_LINE_SAMP = (7089.886, 3914.002) + BAND08_SCA03_LINE_NUM_COEF = ( 2.903697e-01, 1.009296e+00, -2.466681e-01, -2.310707e-04, -3.185623e-06) + BAND08_SCA03_LINE_DEN_COEF = ( 1.192236e-07, -2.564189e-06, 3.078428e-10, -2.705689e-12) + BAND08_SCA03_SAMP_NUM_COEF = (-2.310854e+00, 2.676001e-01, 9.979162e-01, -6.496634e-03, -4.602201e-07) + BAND08_SCA03_SAMP_DEN_COEF = (-1.175494e-06, -2.770748e-06, -1.555339e-06, 4.415127e-13) + BAND08_SCA04_MEAN_HEIGHT = 2000.000 + BAND08_SCA04_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA04_MEAN_L1T_LINE_SAMP = (6997.391, 4874.657) + BAND08_SCA04_LINE_NUM_COEF = ( 2.902736e-01, 1.007220e+00, -2.535411e-01, -7.148251e-04, -3.218136e-06) + BAND08_SCA04_LINE_DEN_COEF = ( 1.209731e-07, -2.588113e-06, 6.660008e-10, -2.679752e-12) + BAND08_SCA04_SAMP_NUM_COEF = (-2.263488e+00, 2.690558e-01, 1.003533e+00, -5.056628e-03, -4.633228e-07) + BAND08_SCA04_SAMP_DEN_COEF = (-1.015860e-06, -2.168982e-06, -1.561428e-06, 1.320068e-13) + BAND08_SCA05_MEAN_HEIGHT = 2000.000 + BAND08_SCA05_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA05_MEAN_L1T_LINE_SAMP = (7548.400, 5661.584) + BAND08_SCA05_LINE_NUM_COEF = ( 3.210753e-01, 1.006148e+00, -2.567714e-01, -1.444080e-04, -4.901103e-06) + BAND08_SCA05_LINE_DEN_COEF = ( 1.479946e-07, -4.052114e-06, 3.019765e-10, -2.653257e-12) + BAND08_SCA05_SAMP_NUM_COEF = (-2.212446e+00, 2.697739e-01, 1.005789e+00, -3.590800e-03, -4.622080e-07) + BAND08_SCA05_SAMP_DEN_COEF = (-8.883047e-07, -1.695370e-06, -1.565521e-06, -1.147019e-13) + BAND08_SCA06_MEAN_HEIGHT = 2000.000 + BAND08_SCA06_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA06_MEAN_L1T_LINE_SAMP = (7458.771, 6615.831) + BAND08_SCA06_LINE_NUM_COEF = ( 2.977725e-01, 1.004376e+00, -2.625146e-01, -6.583813e-04, -3.975500e-06) + BAND08_SCA06_LINE_DEN_COEF = ( 1.343989e-07, -3.241666e-06, 7.404032e-10, -2.626139e-12) + BAND08_SCA06_SAMP_NUM_COEF = (-2.145071e+00, 2.705870e-01, 1.008997e+00, -2.127882e-03, -4.641716e-07) + BAND08_SCA06_SAMP_DEN_COEF = (-6.845188e-07, -9.289945e-07, -1.569018e-06, -4.953527e-13) + BAND08_SCA07_MEAN_HEIGHT = 2000.000 + BAND08_SCA07_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA07_MEAN_L1T_LINE_SAMP = (8010.440, 7398.089) + BAND08_SCA07_LINE_NUM_COEF = ( 3.015305e-01, 1.003021e+00, -2.668041e-01, -1.075348e-04, -4.294776e-06) + BAND08_SCA07_LINE_DEN_COEF = ( 1.403796e-07, -3.516249e-06, 2.451474e-10, -2.595906e-12) + BAND08_SCA07_SAMP_NUM_COEF = (-2.078050e+00, 2.706767e-01, 1.008900e+00, -6.537315e-04, -4.619364e-07) + BAND08_SCA07_SAMP_DEN_COEF = (-5.252698e-07, -3.379356e-07, -1.570405e-06, -7.963302e-13) + BAND08_SCA08_MEAN_HEIGHT = 2000.000 + BAND08_SCA08_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA08_MEAN_L1T_LINE_SAMP = (7923.295, 8350.423) + BAND08_SCA08_LINE_NUM_COEF = ( 2.694781e-01, 1.001496e+00, -2.716322e-01, -6.475627e-04, -3.103140e-06) + BAND08_SCA08_LINE_DEN_COEF = ( 1.211890e-07, -2.478178e-06, 5.996472e-10, -2.569712e-12) + BAND08_SCA08_SAMP_NUM_COEF = (-1.994784e+00, 2.709147e-01, 1.009952e+00, 8.189053e-04, -4.628843e-07) + BAND08_SCA08_SAMP_DEN_COEF = (-2.890426e-07, 5.493443e-07, -1.570009e-06, -1.228440e-12) + BAND08_SCA09_MEAN_HEIGHT = 2000.000 + BAND08_SCA09_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA09_MEAN_L1T_LINE_SAMP = (8478.310, 9131.172) + BAND08_SCA09_LINE_NUM_COEF = ( 2.949898e-01, 9.998472e-01, -2.770172e-01, -1.197762e-04, -4.224220e-06) + BAND08_SCA09_LINE_DEN_COEF = ( 1.413234e-07, -3.446886e-06, 2.550507e-10, -2.538571e-12) + BAND08_SCA09_SAMP_NUM_COEF = (-1.937981e+00, 2.704207e-01, 1.007668e+00, 2.288394e-03, -4.596121e-07) + BAND08_SCA09_SAMP_DEN_COEF = (-1.700543e-07, 9.895064e-07, -1.568282e-06, -1.460560e-12) + BAND08_SCA10_MEAN_HEIGHT = 2000.000 + BAND08_SCA10_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA10_MEAN_L1T_LINE_SAMP = (8394.033, 10085.199) + BAND08_SCA10_LINE_NUM_COEF = ( 2.870405e-01, 9.985810e-01, -2.808769e-01, -6.817137e-04, -4.156383e-06) + BAND08_SCA10_LINE_DEN_COEF = ( 1.407510e-07, -3.385002e-06, 7.910377e-10, -2.513390e-12) + BAND08_SCA10_SAMP_NUM_COEF = (-1.887772e+00, 2.700703e-01, 1.006514e+00, 3.758402e-03, -4.595253e-07) + BAND08_SCA10_SAMP_DEN_COEF = (-3.616217e-08, 1.495287e-06, -1.565204e-06, -1.713952e-12) + BAND08_SCA11_MEAN_HEIGHT = 2000.000 + BAND08_SCA11_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA11_MEAN_L1T_LINE_SAMP = (8953.462, 10868.407) + BAND08_SCA11_LINE_NUM_COEF = ( 2.839314e-01, 9.966616e-01, -2.872698e-01, -1.829814e-04, -3.943209e-06) + BAND08_SCA11_LINE_DEN_COEF = ( 1.384250e-07, -3.195770e-06, 3.043873e-10, -2.480534e-12) + BAND08_SCA11_SAMP_NUM_COEF = (-1.802485e+00, 2.689903e-01, 1.002038e+00, 5.211464e-03, -4.552268e-07) + BAND08_SCA11_SAMP_DEN_COEF = ( 1.451004e-07, 2.166807e-06, -1.560017e-06, -2.052137e-12) + BAND08_SCA12_MEAN_HEIGHT = 2000.000 + BAND08_SCA12_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA12_MEAN_L1T_LINE_SAMP = (8872.848, 11828.804) + BAND08_SCA12_LINE_NUM_COEF = ( 2.513522e-01, 9.957622e-01, -2.897570e-01, -7.595002e-04, -3.018969e-06) + BAND08_SCA12_LINE_DEN_COEF = ( 1.217561e-07, -2.395416e-06, 6.647944e-10, -2.457015e-12) + BAND08_SCA12_SAMP_NUM_COEF = (-1.767961e+00, 2.680694e-01, 9.987455e-01, 6.668368e-03, -4.541391e-07) + BAND08_SCA12_SAMP_DEN_COEF = ( 2.225913e-07, 2.462396e-06, -1.555530e-06, -2.204205e-12) + BAND08_SCA13_MEAN_HEIGHT = 2000.000 + BAND08_SCA13_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA13_MEAN_L1T_LINE_SAMP = (9438.634, 12618.018) + BAND08_SCA13_LINE_NUM_COEF = ( 3.032598e-01, 9.935241e-01, -2.973304e-01, -2.956416e-04, -4.841350e-06) + BAND08_SCA13_LINE_DEN_COEF = ( 1.570344e-07, -3.962799e-06, 4.682951e-10, -2.420681e-12) + BAND08_SCA13_SAMP_NUM_COEF = (-1.628475e+00, 2.664162e-01, 9.921268e-01, 8.093144e-03, -4.488473e-07) + BAND08_SCA13_SAMP_DEN_COEF = ( 5.319817e-07, 3.610311e-06, -1.543463e-06, -2.759338e-12) + BAND08_SCA14_MEAN_HEIGHT = 2000.000 + BAND08_SCA14_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA14_MEAN_L1T_LINE_SAMP = (9362.596, 13587.682) + BAND08_SCA14_LINE_NUM_COEF = ( 2.766055e-01, 9.929216e-01, -2.987033e-01, -8.813074e-04, -4.258405e-06) + BAND08_SCA14_LINE_DEN_COEF = ( 1.458930e-07, -3.459246e-06, 1.003932e-09, -2.396899e-12) + BAND08_SCA14_SAMP_NUM_COEF = (-1.616667e+00, 2.649263e-01, 9.867012e-01, 9.523510e-03, -4.467636e-07) + BAND08_SCA14_SAMP_DEN_COEF = ( 5.334174e-07, 3.622644e-06, -1.539092e-06, -2.778726e-12) +END_GROUP = RPC_BAND08 +GROUP = RPC_BAND09 + BAND09_NUMBER_OF_SCAS = 14 + BAND09_NUM_L1T_LINES = 7971 + BAND09_NUM_L1T_SAMPS = 7861 + BAND09_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND09_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND09_NUM_L1R_LINES = 7501 + BAND09_NUM_L1R_SAMPS = 494 + BAND09_PIXEL_SIZE = 30.000 + BAND09_START_TIME = 10.589185 + BAND09_LINE_TIME = 0.004236000 + BAND09_MEAN_HEIGHT = 2000.000 + BAND09_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND09_MEAN_L1T_LINE_SAMP = (3988.915, 3935.649) + BAND09_MEAN_SAT_VECTOR = (-0.002247592, -0.003852870, 0.996199129) + BAND09_SAT_X_NUM_COEF = (-1.386146e-04, -2.266992e-07, -4.716464e-05, -3.596515e-09, -1.156465e-05, + -5.190430e-11, -1.513542e-10, 1.667478e-12, 6.570974e-16, 2.201746e-17) + BAND09_SAT_X_DEN_COEF = ( 8.793259e-06, 0.000000e+00, -1.404947e-06, -5.218837e-06, 5.098208e-11, + 5.000650e-10, 9.487760e-10, 5.482607e-16, -2.004199e-17) + BAND09_SAT_Y_NUM_COEF = (-7.714881e-04, 4.714272e-05, -2.123260e-07, -5.414892e-09, -4.393685e-05, + 2.970115e-12, 6.562842e-11, 2.384551e-10, -7.488744e-17, -3.514554e-17) + BAND09_SAT_Y_DEN_COEF = ( 1.693286e-06, 4.087193e-07, -1.406837e-06, -1.754063e-06, 3.761635e-11, + 6.386625e-10, 9.290816e-10, 1.379907e-15, 1.292016e-18) + BAND09_SAT_Z_NUM_COEF = ( 3.668545e-03, 2.170251e-07, -1.134499e-07, -1.036962e-08, -2.307473e-07, + -7.431664e-11, -5.538123e-10, -1.031759e-09, -4.200636e-16, -8.788184e-20) + BAND09_SAT_Z_DEN_COEF = (-4.080858e-06, 1.150507e-06, -2.824402e-06, 4.000115e-06, 9.894072e-11, + 7.411552e-10, 1.385657e-09, 2.719807e-16, 4.119708e-17) + BAND09_MEAN_SUN_VECTOR = ( 0.246306074, -0.913838515, 0.322495389) + BAND09_SUN_X_NUM_COEF = ( 3.117914e-05, -2.972046e-08, -6.190162e-06, -1.828244e-14, -2.745905e-07, + 2.089148e-13, 3.126483e-11, -6.157766e-12, 4.080471e-18, 8.706449e-18) + BAND09_SUN_X_DEN_COEF = ( 5.482969e-08, 0.000000e+00, -5.104326e-12, -8.611135e-08, -3.728698e-11, + 1.079840e-11, 2.033055e-11, 1.574389e-16, 2.894953e-17) + BAND09_SUN_Y_NUM_COEF = (-1.081446e-04, 1.512603e-06, -1.267285e-06, 4.966422e-13, -5.593384e-08, + 2.277004e-11, 2.585519e-12, 1.949649e-11, 2.786797e-17, 7.819451e-18) + BAND09_SUN_Y_DEN_COEF = ( 7.934756e-06, 0.000000e+00, -9.272453e-11, 5.196175e-07, -4.536098e-11, + -4.141486e-11, 9.323074e-12, -2.259281e-15, -3.126313e-15) + BAND09_SUN_Z_NUM_COEF = ( 2.526591e-05, 4.311385e-06, 1.136305e-06, -1.277802e-13, 5.125044e-08, + -3.267256e-12, -1.164275e-12, -3.236328e-12, 5.586825e-18, -2.242310e-18) + BAND09_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 9.190015e-12, 2.070485e-08, 3.696071e-12, + 7.326106e-13, 1.052295e-11, 1.426404e-15, -1.994603e-15) + BAND09_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND09_SCA01_MEAN_HEIGHT = 2000.000 + BAND09_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA01_MEAN_L1T_LINE_SAMP = (3553.327, 1009.882) + BAND09_SCA01_LINE_NUM_COEF = ( 1.532694e-01, 1.012805e+00, -2.353127e-01, 2.119496e-04, -7.225541e-06) + BAND09_SCA01_LINE_DEN_COEF = ( 2.475158e-07, -5.889666e-06, -2.108394e-10, -1.104025e-11) + BAND09_SCA01_SAMP_NUM_COEF = (-1.209508e+00, 2.640237e-01, 9.843495e-01, -4.667961e-03, -9.072468e-07) + BAND09_SCA01_SAMP_DEN_COEF = (-3.057288e-06, -8.196086e-06, -1.537261e-06, 4.440565e-12) + BAND09_SCA02_MEAN_HEIGHT = 2000.000 + BAND09_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA02_MEAN_L1T_LINE_SAMP = (3032.058, 1622.856) + BAND09_SCA02_LINE_NUM_COEF = ( 1.609926e-01, 1.009677e+00, -2.459568e-01, -8.017901e-04, -8.283343e-06) + BAND09_SCA02_LINE_DEN_COEF = ( 2.689639e-07, -6.795313e-06, 1.662182e-09, -1.096403e-11) + BAND09_SCA02_SAMP_NUM_COEF = (-1.172320e+00, 2.666549e-01, 9.952443e-01, -3.977864e-03, -9.260681e-07) + BAND09_SCA02_SAMP_DEN_COEF = (-2.478152e-06, -6.000998e-06, -1.550623e-06, 2.313418e-12) + BAND09_SCA03_MEAN_HEIGHT = 2000.000 + BAND09_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA03_MEAN_L1T_LINE_SAMP = (3780.899, 1893.386) + BAND09_SCA03_LINE_NUM_COEF = ( 1.467003e-01, 1.009586e+00, -2.456586e-01, 2.814651e-04, -6.699394e-06) + BAND09_SCA03_LINE_DEN_COEF = ( 2.428151e-07, -5.417134e-06, -2.921631e-10, -1.081851e-11) + BAND09_SCA03_SAMP_NUM_COEF = (-1.149321e+00, 2.672532e-01, 9.961830e-01, -3.243266e-03, -9.149885e-07) + BAND09_SCA03_SAMP_DEN_COEF = (-2.341676e-06, -5.518516e-06, -1.555449e-06, 1.723459e-12) + BAND09_SCA04_MEAN_HEIGHT = 2000.000 + BAND09_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA04_MEAN_L1T_LINE_SAMP = (3262.318, 2500.689) + BAND09_SCA04_LINE_NUM_COEF = ( 1.345836e-01, 1.006877e+00, -2.547494e-01, -7.523611e-04, -4.441408e-06) + BAND09_SCA04_LINE_DEN_COEF = ( 2.111478e-07, -3.435921e-06, 8.996911e-10, -1.073193e-11) + BAND09_SCA04_SAMP_NUM_COEF = (-1.130628e+00, 2.693298e-01, 1.005000e+00, -2.531948e-03, -9.319121e-07) + BAND09_SCA04_SAMP_DEN_COEF = (-1.966941e-06, -4.083912e-06, -1.562063e-06, 3.055304e-13) + BAND09_SCA05_MEAN_HEIGHT = 2000.000 + BAND09_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA05_MEAN_L1T_LINE_SAMP = (4009.642, 2767.302) + BAND09_SCA05_LINE_NUM_COEF = ( 1.756445e-01, 1.006346e+00, -2.561051e-01, 3.256934e-04, -1.250383e-05) + BAND09_SCA05_LINE_DEN_COEF = ( 3.385375e-07, -1.045883e-05, -8.001591e-10, -1.061465e-11) + BAND09_SCA05_SAMP_NUM_COEF = (-1.089085e+00, 2.693988e-01, 1.003950e+00, -1.792666e-03, -9.188350e-07) + BAND09_SCA05_SAMP_DEN_COEF = (-1.650474e-06, -2.933350e-06, -1.566375e-06, -8.953107e-13) + BAND09_SCA06_MEAN_HEIGHT = 2000.000 + BAND09_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA06_MEAN_L1T_LINE_SAMP = (3493.297, 3371.325) + BAND09_SCA06_LINE_NUM_COEF = ( 1.428332e-01, 1.004217e+00, -2.630343e-01, -7.259604e-04, -6.933253e-06) + BAND09_SCA06_LINE_DEN_COEF = ( 2.525372e-07, -5.596701e-06, 1.293296e-09, -1.052489e-11) + BAND09_SCA06_SAMP_NUM_COEF = (-1.064594e+00, 2.708601e-01, 1.010462e+00, -1.065284e-03, -9.336344e-07) + BAND09_SCA06_SAMP_DEN_COEF = (-1.228463e-06, -1.320138e-06, -1.569580e-06, -2.465028e-12) + BAND09_SCA07_MEAN_HEIGHT = 2000.000 + BAND09_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA07_MEAN_L1T_LINE_SAMP = (4240.459, 3635.667) + BAND09_SCA07_LINE_NUM_COEF = ( 1.682263e-01, 1.003060e+00, -2.667326e-01, 3.447119e-04, -1.150225e-05) + BAND09_SCA07_LINE_DEN_COEF = ( 3.291346e-07, -9.563317e-06, -7.762459e-10, -1.038111e-11) + BAND09_SCA07_SAMP_NUM_COEF = (-1.043793e+00, 2.703407e-01, 1.007208e+00, -3.266630e-04, -9.184071e-07) + BAND09_SCA07_SAMP_DEN_COEF = (-1.159692e-06, -1.096398e-06, -1.570306e-06, -2.818106e-12) + BAND09_SCA08_MEAN_HEIGHT = 2000.000 + BAND09_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA08_MEAN_L1T_LINE_SAMP = (3725.883, 4238.495) + BAND09_SCA08_LINE_NUM_COEF = ( 1.300899e-01, 1.001479e+00, -2.716207e-01, -7.203606e-04, -5.557885e-06) + BAND09_SCA08_LINE_DEN_COEF = ( 2.314567e-07, -4.392790e-06, 1.055211e-09, -1.030311e-11) + BAND09_SCA08_SAMP_NUM_COEF = (-1.013036e+00, 2.711987e-01, 1.011455e+00, 4.101887e-04, -9.311036e-07) + BAND09_SCA08_SAMP_DEN_COEF = (-6.907118e-07, 6.933578e-07, -1.570166e-06, -4.531228e-12) + BAND09_SCA09_MEAN_HEIGHT = 2000.000 + BAND09_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA09_MEAN_L1T_LINE_SAMP = (4474.511, 4502.156) + BAND09_SCA09_LINE_NUM_COEF = ( 1.476212e-01, 9.997606e-01, -2.774136e-01, 3.382911e-04, -8.250233e-06) + BAND09_SCA09_LINE_DEN_COEF = ( 2.794690e-07, -6.722068e-06, -5.045432e-10, -1.014389e-11) + BAND09_SCA09_SAMP_NUM_COEF = (-9.695445e-01, 2.700797e-01, 1.005959e+00, 1.141950e-03, -9.137364e-07) + BAND09_SCA09_SAMP_DEN_COEF = (-4.044608e-07, 1.724293e-06, -1.568611e-06, -5.623198e-12) + BAND09_SCA10_MEAN_HEIGHT = 2000.000 + BAND09_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA10_MEAN_L1T_LINE_SAMP = (3960.899, 5106.119) + BAND09_SCA10_LINE_NUM_COEF = ( 1.219708e-01, 9.987881e-01, -2.800308e-01, -7.363728e-04, -5.032483e-06) + BAND09_SCA10_LINE_DEN_COEF = ( 2.236282e-07, -3.929750e-06, 9.862490e-10, -1.008288e-11) + BAND09_SCA10_SAMP_NUM_COEF = (-9.579857e-01, 2.703498e-01, 1.007998e+00, 1.882269e-03, -9.243702e-07) + BAND09_SCA10_SAMP_DEN_COEF = (-1.671112e-07, 2.652732e-06, -1.565825e-06, -6.531266e-12) + BAND09_SCA11_MEAN_HEIGHT = 2000.000 + BAND09_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA11_MEAN_L1T_LINE_SAMP = (4712.462, 5370.717) + BAND09_SCA11_LINE_NUM_COEF = ( 1.460076e-01, 9.964355e-01, -2.881857e-01, 3.053020e-04, -8.234025e-06) + BAND09_SCA11_LINE_DEN_COEF = ( 2.837080e-07, -6.691105e-06, -4.419545e-10, -9.909790e-12) + BAND09_SCA11_SAMP_NUM_COEF = (-8.980547e-01, 2.686563e-01, 1.000358e+00, 2.601203e-03, -9.049993e-07) + BAND09_SCA11_SAMP_DEN_COEF = ( 2.663136e-07, 4.228594e-06, -1.560332e-06, -8.124323e-12) + BAND09_SCA12_MEAN_HEIGHT = 2000.000 + BAND09_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA12_MEAN_L1T_LINE_SAMP = (4199.777, 5977.871) + BAND09_SCA12_LINE_NUM_COEF = ( 1.258943e-01, 9.960800e-01, -2.884976e-01, -7.734943e-04, -6.435801e-06) + BAND09_SCA12_LINE_DEN_COEF = ( 2.500111e-07, -5.135511e-06, 1.282165e-09, -9.856444e-12) + BAND09_SCA12_SAMP_NUM_COEF = (-8.889111e-01, 2.683388e-01, 1.000188e+00, 3.338927e-03, -9.135471e-07) + BAND09_SCA12_SAMP_DEN_COEF = ( 4.497354e-07, 4.958213e-06, -1.555409e-06, -8.834619e-12) + BAND09_SCA13_MEAN_HEIGHT = 2000.000 + BAND09_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA13_MEAN_L1T_LINE_SAMP = (4955.826, 6245.008) + BAND09_SCA13_LINE_NUM_COEF = ( 1.603642e-01, 9.931852e-01, -2.986671e-01, 2.473648e-04, -1.063781e-05) + BAND09_SCA13_LINE_DEN_COEF = ( 3.329948e-07, -8.746623e-06, -4.720005e-10, -9.667661e-12) + BAND09_SCA13_SAMP_NUM_COEF = (-7.888006e-01, 2.660643e-01, 9.903856e-01, 4.038877e-03, -8.922019e-07) + BAND09_SCA13_SAMP_DEN_COEF = ( 1.275614e-06, 7.991076e-06, -1.540371e-06, -1.173788e-11) + BAND09_SCA14_MEAN_HEIGHT = 2000.000 + BAND09_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA14_MEAN_L1T_LINE_SAMP = (4443.447, 6857.610) + BAND09_SCA14_LINE_NUM_COEF = ( 1.399947e-01, 9.933785e-01, -2.969247e-01, -8.321021e-04, -9.228335e-06) + BAND09_SCA14_LINE_DEN_COEF = ( 3.037170e-07, -7.535030e-06, 1.911046e-09, -9.614362e-12) + BAND09_SCA14_SAMP_NUM_COEF = (-8.230939e-01, 2.651822e-01, 9.880878e-01, 4.768306e-03, -8.987270e-07) + BAND09_SCA14_SAMP_DEN_COEF = ( 9.675271e-07, 6.892804e-06, -1.540782e-06, -1.078276e-11) +END_GROUP = RPC_BAND09 +GROUP = RPC_BAND10 + BAND10_NUMBER_OF_SCAS = 3 + BAND10_NUM_L1T_LINES = 7971 + BAND10_NUM_L1T_SAMPS = 7861 + BAND10_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND10_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND10_NUM_L1R_LINES = 2701 + BAND10_NUM_L1R_SAMPS = 640 + BAND10_PIXEL_SIZE = 30.000 + BAND10_START_TIME = 7.631008 + BAND10_LINE_TIME = 0.014279903 + BAND10_MEAN_HEIGHT = 2000.000 + BAND10_MEAN_L1R_LINE_SAMP = (1353.971, 959.024) + BAND10_MEAN_L1T_LINE_SAMP = (3654.290, 3989.645) + BAND10_MEAN_SAT_VECTOR = (-0.005930078, -0.023946405, 0.995133986) + BAND10_SAT_X_NUM_COEF = (-6.238840e-05, -1.808313e-07, -4.722575e-05, -8.837062e-09, -3.910348e-05, + -5.172406e-11, -1.493774e-10, 5.014146e-12, -3.404643e-14, 7.059292e-16) + BAND10_SAT_X_DEN_COEF = ( 8.574020e-06, 0.000000e+00, -1.399347e-06, -1.688530e-05, 4.585816e-11, + 4.993921e-10, 9.436788e-10, -1.567532e-14, -8.508054e-16) + BAND10_SAT_Y_NUM_COEF = (-9.243601e-04, 4.710280e-05, -1.818868e-07, -3.360615e-08, -1.479888e-04, + 3.579908e-12, 7.478520e-11, 2.627279e-10, -2.328786e-14, -1.387763e-15) + BAND10_SAT_Y_DEN_COEF = (-7.212412e-08, 1.183695e-06, -1.406611e-06, 0.000000e+00, 7.779282e-11, + 5.502766e-10, 9.484874e-10, 9.375228e-14, -2.702534e-16) + BAND10_SAT_Z_NUM_COEF = ( 3.521627e-03, 4.372087e-07, -9.848931e-08, -9.914140e-09, -1.456566e-06, + -7.392787e-11, -5.520163e-10, -1.030052e-09, 1.718990e-14, 5.114830e-17) + BAND10_SAT_Z_DEN_COEF = (-4.980954e-07, 4.205953e-07, -2.682227e-06, 1.371159e-06, 9.970179e-11, + 7.262501e-10, 1.334095e-09, -2.259100e-14, 3.025460e-14) + BAND10_MEAN_SUN_VECTOR = ( 0.245931756, -0.914397180, 0.321110525) + BAND10_SUN_X_NUM_COEF = ( 5.258622e-05, -2.812376e-08, -6.201487e-06, -9.363588e-15, -9.258262e-07, + 1.774510e-13, 3.091498e-11, -6.143232e-12, -4.003424e-16, 2.816716e-16) + BAND10_SUN_X_DEN_COEF = ( 1.410602e-07, 0.000000e+00, -2.381172e-11, -3.024693e-07, -3.815341e-11, + 1.098987e-11, 2.054650e-11, 1.135658e-14, -2.640273e-15) + BAND10_SUN_Y_NUM_COEF = (-1.290807e-04, 1.507480e-06, -1.269437e-06, 8.566008e-14, -1.888532e-07, + 1.052771e-11, 2.105153e-11, 1.264606e-11, -2.812712e-15, 2.376869e-16) + BAND10_SUN_Y_DEN_COEF = ( 0.000000e+00, 5.418541e-06, -2.627466e-10, 1.788652e-07, 2.096697e-11, + 6.940321e-11, 1.246222e-10, 7.439106e-14, -6.169312e-14) + BAND10_SUN_Z_NUM_COEF = ( 3.328860e-05, 4.313243e-06, 1.134926e-06, 7.308634e-13, 1.723081e-07, + -3.523866e-12, -1.081404e-12, -3.107291e-12, 1.097065e-15, -1.701133e-16) + BAND10_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -2.932685e-10, -1.716124e-07, 0.000000e+00, + -1.316870e-11, 0.000000e+00, -4.352869e-14, -4.083055e-14) + BAND10_SCA_LIST = (1, 2, 3) + BAND10_SCA01_MEAN_HEIGHT = 2000.000 + BAND10_SCA01_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA01_MEAN_L1T_LINE_SAMP = (3525.855, 6147.312) + BAND10_SCA01_LINE_NUM_COEF = (-8.800805e-02, 2.972778e-01, -7.878127e-02, -5.898129e-04, 1.094779e-06) + BAND10_SCA01_LINE_DEN_COEF = ( 6.636896e-08, 3.644244e-06, -1.633205e-09, -7.393220e-12) + BAND10_SCA01_SAMP_NUM_COEF = (-9.914897e-02, -7.695426e-02, -2.872019e-01, -9.533806e-04, 2.658244e-07) + BAND10_SCA01_SAMP_DEN_COEF = ( 2.531761e-07, 4.274234e-06, -1.558051e-06, -4.123738e-13) + BAND10_SCA02_MEAN_HEIGHT = 2000.000 + BAND10_SCA02_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA02_MEAN_L1T_LINE_SAMP = (4964.053, 3637.008) + BAND10_SCA02_LINE_NUM_COEF = ( 1.103790e-01, 2.973526e-01, -7.978868e-02, 3.927010e-04, -7.012199e-07) + BAND10_SCA02_LINE_DEN_COEF = ( 1.745864e-07, -1.628042e-06, -5.836825e-10, -6.726404e-12) + BAND10_SCA02_SAMP_NUM_COEF = ( 4.313421e-01, -7.788394e-02, -2.898027e-01, 4.655110e-06, 2.610416e-07) + BAND10_SCA02_SAMP_DEN_COEF = (-8.672453e-07, -4.315822e-08, -1.570869e-06, 5.891958e-13) + BAND10_SCA03_MEAN_HEIGHT = 2000.000 + BAND10_SCA03_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA03_MEAN_L1T_LINE_SAMP = (2472.962, 2184.616) + BAND10_SCA03_LINE_NUM_COEF = (-5.721672e-02, 2.973344e-01, -8.079161e-02, -5.862417e-04, 1.083897e-06) + BAND10_SCA03_LINE_DEN_COEF = ( 8.296207e-08, 3.604007e-06, -1.575449e-09, -7.335619e-12) + BAND10_SCA03_SAMP_NUM_COEF = ( 9.807388e-01, -7.685050e-02, -2.871666e-01, 9.606771e-04, 2.700584e-07) + BAND10_SCA03_SAMP_DEN_COEF = (-2.046557e-06, -4.349691e-06, -1.559212e-06, 7.954067e-12) +END_GROUP = RPC_BAND10 +GROUP = RPC_BAND11 + BAND11_NUMBER_OF_SCAS = 3 + BAND11_NUM_L1T_LINES = 7971 + BAND11_NUM_L1T_SAMPS = 7861 + BAND11_L1T_IMAGE_CORNER_LINES = ( 4.411174, 1644.367132, 7966.211514, 6294.906873) + BAND11_L1T_IMAGE_CORNER_SAMPS = ( 1687.729780, 7856.261214, 6159.406173, 0.433836) + BAND11_NUM_L1R_LINES = 2701 + BAND11_NUM_L1R_SAMPS = 640 + BAND11_PIXEL_SIZE = 30.000 + BAND11_START_TIME = 7.631008 + BAND11_LINE_TIME = 0.014279903 + BAND11_MEAN_HEIGHT = 2000.000 + BAND11_MEAN_L1R_LINE_SAMP = (1353.971, 959.024) + BAND11_MEAN_L1T_LINE_SAMP = (3776.287, 3956.956) + BAND11_MEAN_SAT_VECTOR = (-0.004397583, -0.018286054, 0.995934161) + BAND11_SAT_X_NUM_COEF = (-1.156850e-04, -2.025640e-07, -4.722783e-05, -6.664947e-09, -3.906079e-05, + -5.168481e-11, -1.496563e-10, 3.631990e-12, -3.790076e-14, 7.140518e-16) + BAND11_SAT_X_DEN_COEF = ( 8.534005e-06, 0.000000e+00, -1.401568e-06, -1.680793e-05, 4.384018e-11, + 5.030032e-10, 9.474538e-10, -2.060520e-14, -7.233190e-16) + BAND11_SAT_Y_NUM_COEF = (-8.531916e-04, 4.713315e-05, -1.979816e-07, -2.565081e-08, -1.480822e-04, + 3.144198e-12, 7.202903e-11, 2.566663e-10, -2.013118e-14, -1.360451e-15) + BAND11_SAT_Y_DEN_COEF = (-7.049327e-08, 1.170599e-06, -1.404297e-06, 0.000000e+00, 8.574454e-11, + 5.999684e-10, 9.309658e-10, 1.592328e-13, 1.650653e-15) + BAND11_SAT_Z_NUM_COEF = ( 3.523521e-03, 4.743187e-07, -9.771167e-08, -1.010546e-08, -1.572281e-06, + -7.418072e-11, -5.531639e-10, -1.030960e-09, 1.644467e-14, 2.339443e-17) + BAND11_SAT_Z_DEN_COEF = (-8.944648e-08, -2.520368e-07, -2.735154e-06, -4.517400e-07, 1.149551e-10, + 7.830802e-10, 1.340189e-09, 1.125284e-13, 1.756998e-14) + BAND11_MEAN_SUN_VECTOR = ( 0.246136322, -0.914176696, 0.321601664) + BAND11_SUN_X_NUM_COEF = ( 4.717290e-05, -2.911705e-08, -6.197216e-06, 7.141502e-15, -9.257691e-07, + 1.890334e-13, 3.098391e-11, -6.154426e-12, -3.727282e-16, 2.890741e-16) + BAND11_SUN_X_DEN_COEF = ( 1.195323e-07, 0.000000e+00, -1.958625e-11, -2.994189e-07, -3.799350e-11, + 1.116848e-11, 2.045179e-11, 4.571426e-15, -1.325441e-15) + BAND11_SUN_Y_NUM_COEF = (-1.240076e-04, 1.508334e-06, -1.268443e-06, 9.497699e-14, -1.887373e-07, + 2.342969e-11, -2.185206e-12, 2.306220e-11, -2.516581e-15, 1.242559e-16) + BAND11_SUN_Y_DEN_COEF = ( 8.518669e-06, -2.874625e-06, -2.014246e-10, 1.297841e-06, -4.717313e-11, + -1.689824e-11, 0.000000e+00, 2.469586e-14, -1.942976e-14) + BAND11_SUN_Z_NUM_COEF = ( 3.129895e-05, 4.312341e-06, 1.135500e-06, 1.688230e-13, 1.733440e-07, + -3.606028e-12, -1.213879e-12, -3.120940e-12, -1.431133e-16, -5.648721e-16) + BAND11_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -1.844431e-10, -2.522337e-07, 0.000000e+00, + -1.440195e-12, 0.000000e+00, 0.000000e+00, -1.228920e-14) + BAND11_SCA_LIST = (1, 2, 3) + BAND11_SCA01_MEAN_HEIGHT = 2000.000 + BAND11_SCA01_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA01_MEAN_L1T_LINE_SAMP = (3931.590, 6037.497) + BAND11_SCA01_LINE_NUM_COEF = (-5.185494e-02, 2.972040e-01, -7.910060e-02, -3.877459e-04, 7.427116e-07) + BAND11_SCA01_LINE_DEN_COEF = ( 8.576070e-08, 2.608432e-06, -6.713521e-10, -7.249393e-12) + BAND11_SCA01_SAMP_NUM_COEF = (-8.864542e-02, -7.706055e-02, -2.873807e-01, -9.534023e-04, 2.640495e-07) + BAND11_SCA01_SAMP_DEN_COEF = ( 2.330829e-07, 4.171457e-06, -1.558310e-06, -3.474551e-13) + BAND11_SCA02_MEAN_HEIGHT = 2000.000 + BAND11_SCA02_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA02_MEAN_L1T_LINE_SAMP = (4543.122, 3749.866) + BAND11_SCA02_LINE_NUM_COEF = ( 8.285373e-02, 2.973410e-01, -7.979368e-02, 1.819736e-04, -4.308158e-07) + BAND11_SCA02_LINE_DEN_COEF = ( 1.594701e-07, -8.346392e-07, -7.441266e-11, -6.822437e-12) + BAND11_SCA02_SAMP_NUM_COEF = ( 4.394663e-01, -7.784306e-02, -2.898751e-01, 4.822554e-06, 2.631156e-07) + BAND11_SCA02_SAMP_DEN_COEF = (-8.848675e-07, -8.358705e-08, -1.570731e-06, 4.092506e-13) + BAND11_SCA03_MEAN_HEIGHT = 2000.000 + BAND11_SCA03_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA03_MEAN_L1T_LINE_SAMP = (2854.149, 2083.506) + BAND11_SCA03_LINE_NUM_COEF = (-1.073617e-02, 2.974389e-01, -8.043032e-02, -3.965603e-04, 6.334919e-07) + BAND11_SCA03_LINE_DEN_COEF = ( 1.081882e-07, 2.285905e-06, -5.557367e-10, -7.176043e-12) + BAND11_SCA03_SAMP_NUM_COEF = ( 9.634238e-01, -7.695213e-02, -2.873390e-01, 9.609033e-04, 2.684239e-07) + BAND11_SCA03_SAMP_DEN_COEF = (-2.009959e-06, -4.232811e-06, -1.559531e-06, 7.270098e-12) +END_GROUP = RPC_BAND11 +END diff --git a/tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt b/tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt new file mode 100644 index 0000000..93c58e5 --- /dev/null +++ b/tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt @@ -0,0 +1,1509 @@ +GROUP = FILE_HEADER + LANDSAT_SCENE_ID = "LC90100652022029LGN00" + SPACECRAFT_ID = "LANDSAT_9" + NUMBER_OF_BANDS = 11 + BAND_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) +END_GROUP = FILE_HEADER +GROUP = PROJECTION + ELLIPSOID_AXES = (6378137.000000, 6356752.314200) + MAP_PROJECTION = "UTM" + PROJECTION_UNITS = "METERS" + DATUM = "WGS84" + ELLIPSOID = "WGS84" + UTM_ZONE = 17 + PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) + UL_CORNER = ( 492000.000, -683700.000) + UR_CORNER = ( 720300.000, -683700.000) + LL_CORNER = ( 492000.000, -915900.000) + LR_CORNER = ( 720300.000, -915900.000) +END_GROUP = PROJECTION +GROUP = EPHEMERIS + EPHEMERIS_EPOCH_YEAR = 2022 + EPHEMERIS_EPOCH_DAY = 029 + EPHEMERIS_EPOCH_SECONDS = 55687.900000 + NUMBER_OF_POINTS = 55 + EPHEMERIS_TIME = ( 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, + 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, + 10.000000, 11.000000, 12.000000, 13.000000, 14.000000, + 15.000000, 16.000000, 17.000000, 18.000000, 19.000000, + 20.000000, 21.000000, 22.000000, 23.000000, 24.000000, + 25.000000, 26.000000, 27.000000, 28.000000, 29.000000, + 30.000000, 31.000000, 32.000000, 33.000000, 34.000000, + 35.000000, 36.000000, 37.000000, 38.000000, 39.000000, + 40.000000, 41.000000, 42.000000, 43.000000, 44.000000, + 45.000000, 46.000000, 47.000000, 48.000000, 49.000000, + 50.000000, 51.000000, 52.000000, 53.000000, 54.000000) + EPHEMERIS_ECEF_X = ( 1261320.692823, 1259628.525551, 1257935.011236, 1256240.157383, 1254543.946805, + 1252846.418580, 1251147.558758, 1249447.369788, 1247745.854750, 1246043.017674, + 1244338.857974, 1242633.383406, 1240926.576691, 1239218.476896, 1237509.070118, + 1235798.358842, 1234086.347101, 1232373.034286, 1230658.428182, 1228942.511417, + 1227225.323297, 1225506.849809, 1223787.093388, 1222066.057474, 1220343.745476, + 1218620.157235, 1216895.300202, 1215169.157509, 1213441.768056, 1211713.117986, + 1209983.209817, 1208252.047573, 1206519.630665, 1204785.967055, 1203051.039178, + 1201314.886403, 1199577.494729, 1197838.866696, 1196099.006366, 1194357.913297, + 1192615.595036, 1190872.034442, 1189127.270727, 1187381.290079, 1185634.094723, + 1183885.687940, 1182136.073790, 1180385.251711, 1178633.229530, 1176879.990135, + 1175125.572463, 1173369.962727, 1171613.163481, 1169855.178753, 1168096.007966) + EPHEMERIS_ECEF_Y = (-6937208.839688, -6936784.547266, -6936352.259911, -6935911.977652, -6935463.704497, + -6935007.433636, -6934543.168769, -6934070.910395, -6933590.658886, -6933102.414462, + -6932606.177861, -6932101.949323, -6931589.732833, -6931069.521694, -6930541.319731, + -6930005.127501, -6929460.945351, -6928908.773962, -6928348.613745, -6927780.468678, + -6927204.332290, -6926620.208370, -6926028.097453, -6925428.000072, -6924819.916686, + -6924203.848098, -6923579.794675, -6922947.760632, -6922307.739376, -6921659.734859, + -6921003.747808, -6920339.778633, -6919667.828106, -6918987.897014, -6918299.989300, + -6917604.098727, -6916900.229062, -6916188.381159, -6915468.555563, -6914740.753197, + -6914004.974619, -6913261.224093, -6912509.495344, -6911749.792424, -6910982.115982, + -6910206.466876, -6909422.845639, -6908631.253165, -6907831.690297, -6907024.161331, + -6906208.659987, -6905385.190370, -6904553.753427, -6903714.349732, -6902866.980143) + EPHEMERIS_ECEF_Z = ( -691255.849372, -698645.282285, -706033.931344, -713421.783359, -720808.829358, + -728195.067396, -735580.486177, -742965.077283, -750348.832406, -757731.743343, + -765113.804778, -772495.002028, -779875.326881, -787254.777390, -794633.342213, + -802011.012953, -809387.781351, -816763.642211, -824138.580820, -831512.589680, + -838885.665291, -846257.797115, -853628.976870, -860999.196180, -868368.446853, + -875736.722908, -883104.011906, -890470.303385, -897835.596148, -905199.878896, + -912563.143216, -919925.380945, -927286.586865, -934646.745503, -942005.850881, + -949363.898785, -956720.878805, -964076.782498, -971431.601622, -978785.330198, + -986137.955184, -993489.468237, -1000839.865928, -1008189.136976, -1015537.274608, + -1022884.269751, -1030230.114254, -1037574.802903, -1044918.321121, -1052260.660580, + -1059601.819378, -1066941.786263, -1074280.552829, -1081618.111000, -1088954.455650) +END_GROUP = EPHEMERIS +GROUP = SOLAR_VECTOR + SOLAR_EPOCH_YEAR = 2022 + SOLAR_EPOCH_DAY = 029 + SOLAR_EPOCH_SECONDS = 55687.900000 + EARTH_SUN_DISTANCE = 0.98499835 + NUMBER_OF_POINTS = 55 + SAMPLE_TIME = ( 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, + 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, + 10.000000, 11.000000, 12.000000, 13.000000, 14.000000, + 15.000000, 16.000000, 17.000000, 18.000000, 19.000000, + 20.000000, 21.000000, 22.000000, 23.000000, 24.000000, + 25.000000, 26.000000, 27.000000, 28.000000, 29.000000, + 30.000000, 31.000000, 32.000000, 33.000000, 34.000000, + 35.000000, 36.000000, 37.000000, 38.000000, 39.000000, + 40.000000, 41.000000, 42.000000, 43.000000, 44.000000, + 45.000000, 46.000000, 47.000000, 48.000000, 49.000000, + 50.000000, 51.000000, 52.000000, 53.000000, 54.000000) + SOLAR_ECEF_X = ( 6.27615106e-01, 6.27563064e-01, 6.27511017e-01, 6.27458969e-01, 6.27406918e-01, + 6.27354863e-01, 6.27302805e-01, 6.27250744e-01, 6.27198679e-01, 6.27146611e-01, + 6.27094537e-01, 6.27042463e-01, 6.26990385e-01, 6.26938303e-01, 6.26886219e-01, + 6.26834131e-01, 6.26782040e-01, 6.26729943e-01, 6.26677845e-01, 6.26625744e-01, + 6.26573639e-01, 6.26521531e-01, 6.26469420e-01, 6.26417306e-01, 6.26365188e-01, + 6.26313065e-01, 6.26260940e-01, 6.26208813e-01, 6.26156682e-01, 6.26104547e-01, + 6.26052410e-01, 6.26000269e-01, 6.25948122e-01, 6.25895975e-01, 6.25843824e-01, + 6.25791670e-01, 6.25739512e-01, 6.25687351e-01, 6.25635187e-01, 6.25583018e-01, + 6.25530847e-01, 6.25478673e-01, 6.25426495e-01, 6.25374315e-01, 6.25322131e-01, + 6.25269943e-01, 6.25217753e-01, 6.25165557e-01, 6.25113359e-01, 6.25061159e-01, + 6.25008955e-01, 6.24956748e-01, 6.24904537e-01, 6.24852324e-01, 6.24800105e-01) + SOLAR_ECEF_Y = (-7.15839983e-01, -7.15885630e-01, -7.15931274e-01, -7.15976913e-01, -7.16022548e-01, + -7.16068179e-01, -7.16113807e-01, -7.16159431e-01, -7.16205051e-01, -7.16250667e-01, + -7.16296281e-01, -7.16341890e-01, -7.16387495e-01, -7.16433096e-01, -7.16478693e-01, + -7.16524286e-01, -7.16569876e-01, -7.16615464e-01, -7.16661046e-01, -7.16706624e-01, + -7.16752199e-01, -7.16797770e-01, -7.16843337e-01, -7.16888900e-01, -7.16934459e-01, + -7.16980017e-01, -7.17025568e-01, -7.17071116e-01, -7.17116661e-01, -7.17162201e-01, + -7.17207738e-01, -7.17253271e-01, -7.17298802e-01, -7.17344327e-01, -7.17389848e-01, + -7.17435366e-01, -7.17480880e-01, -7.17526390e-01, -7.17571896e-01, -7.17617401e-01, + -7.17662899e-01, -7.17708394e-01, -7.17753886e-01, -7.17799373e-01, -7.17844856e-01, + -7.17890336e-01, -7.17935812e-01, -7.17981286e-01, -7.18026755e-01, -7.18072219e-01, + -7.18117680e-01, -7.18163137e-01, -7.18208590e-01, -7.18254040e-01, -7.18299487e-01) + SOLAR_ECEF_Z = (-3.06059467e-01, -3.06059415e-01, -3.06059363e-01, -3.06059311e-01, -3.06059259e-01, + -3.06059207e-01, -3.06059155e-01, -3.06059103e-01, -3.06059051e-01, -3.06058999e-01, + -3.06058947e-01, -3.06058895e-01, -3.06058842e-01, -3.06058790e-01, -3.06058738e-01, + -3.06058686e-01, -3.06058634e-01, -3.06058582e-01, -3.06058530e-01, -3.06058478e-01, + -3.06058426e-01, -3.06058374e-01, -3.06058322e-01, -3.06058270e-01, -3.06058218e-01, + -3.06058165e-01, -3.06058113e-01, -3.06058061e-01, -3.06058009e-01, -3.06057957e-01, + -3.06057905e-01, -3.06057853e-01, -3.06057801e-01, -3.06057749e-01, -3.06057697e-01, + -3.06057645e-01, -3.06057593e-01, -3.06057541e-01, -3.06057488e-01, -3.06057436e-01, + -3.06057384e-01, -3.06057332e-01, -3.06057280e-01, -3.06057228e-01, -3.06057176e-01, + -3.06057124e-01, -3.06057072e-01, -3.06057020e-01, -3.06056968e-01, -3.06056916e-01, + -3.06056863e-01, -3.06056811e-01, -3.06056759e-01, -3.06056707e-01, -3.06056655e-01) +END_GROUP = SOLAR_VECTOR +GROUP = RPC_BAND01 + BAND01_NUMBER_OF_SCAS = 14 + BAND01_NUM_L1T_LINES = 7741 + BAND01_NUM_L1T_SAMPS = 7611 + BAND01_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND01_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND01_NUM_L1R_LINES = 7501 + BAND01_NUM_L1R_SAMPS = 494 + BAND01_PIXEL_SIZE = 30.000 + BAND01_START_TIME = 10.607209 + BAND01_LINE_TIME = 0.004235996 + BAND01_MEAN_HEIGHT = 2000.000 + BAND01_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND01_MEAN_L1T_LINE_SAMP = (3875.850, 3811.418) + BAND01_MEAN_SAT_VECTOR = (-0.000330308, -0.000133806, 0.996310181) + BAND01_SAT_X_NUM_COEF = ( 8.651319e-06, -9.956370e-08, -4.727070e-05, -4.251884e-10, -9.555918e-06, + 2.185000e-12, 9.628224e-12, 2.883001e-12, 4.500414e-16, 5.053341e-17) + BAND01_SAT_X_DEN_COEF = (-8.295108e-07, 0.000000e+00, -1.408721e-06, 6.718631e-07, 3.451121e-11, + 4.146211e-10, 9.632338e-10, -8.261616e-18, -5.103138e-19) + BAND01_SAT_Y_NUM_COEF = ( 8.949181e-05, 4.729751e-05, -9.945239e-08, -1.968030e-10, -4.458926e-05, + -1.877392e-14, -9.883393e-12, -2.823612e-11, -1.063371e-16, -1.764059e-17) + BAND01_SAT_Y_DEN_COEF = ( 7.707842e-08, -1.486148e-07, -1.409739e-06, 0.000000e+00, 3.085180e-11, + 5.218063e-10, 9.563399e-10, 2.078641e-16, -7.743042e-19) + BAND01_SAT_Z_NUM_COEF = ( 3.667776e-03, 1.933596e-09, -1.484136e-08, -1.038959e-08, -4.423844e-09, + -4.985271e-11, -4.601674e-10, -1.062096e-09, 2.360589e-18, 6.808825e-21) + BAND01_SAT_Z_DEN_COEF = (-3.878887e-06, 9.397978e-07, -2.833904e-06, 3.963495e-06, 6.743640e-11, + 6.008827e-10, 1.384976e-09, -2.285566e-17, 1.190513e-17) + BAND01_MEAN_SUN_VECTOR = ( 0.492708706, -0.201012557, 0.846575882) + BAND01_SUN_X_NUM_COEF = ( 1.766522e-05, -8.160163e-09, -3.863013e-06, -7.098867e-16, -2.508872e-07, + -1.845283e-13, -3.078222e-12, -5.384067e-12, 1.180940e-18, 2.479180e-18) + BAND01_SUN_X_DEN_COEF = ( 1.964288e-07, 0.000000e+00, -2.272461e-12, -1.891154e-07, -1.163983e-11, + -1.337869e-12, 7.601462e-12, -1.532967e-17, 9.404680e-19) + BAND01_SUN_Y_NUM_COEF = (-2.293337e-06, 4.009928e-06, 2.858875e-07, -2.354536e-14, 1.953766e-08, + 2.272253e-12, 1.061551e-11, -2.348004e-12, -9.856877e-18, -1.284798e-17) + BAND01_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -4.476564e-12, -1.734396e-07, 0.000000e+00, + 0.000000e+00, 2.337867e-11, 3.946199e-17, -3.932634e-17) + BAND01_SUN_Z_NUM_COEF = ( 7.265952e-05, 9.568140e-07, 2.315870e-06, -1.849989e-14, 1.504118e-07, + -1.305384e-11, -1.035471e-11, -1.309180e-11, -8.227703e-18, 1.173136e-17) + BAND01_SUN_Z_DEN_COEF = (-3.785463e-06, -1.567692e-06, -2.543129e-11, 6.130792e-07, -1.316754e-11, + -6.139905e-12, 0.000000e+00, -1.537631e-16, -1.623999e-17) + BAND01_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND01_SCA01_MEAN_HEIGHT = 2000.000 + BAND01_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA01_MEAN_L1T_LINE_SAMP = (3406.215, 915.048) + BAND01_SCA01_LINE_NUM_COEF = ( 1.404022e-02, 1.020536e+00, -1.845419e-01, 8.205700e-05, -9.708032e-06) + BAND01_SCA01_LINE_DEN_COEF = ( 6.923063e-08, -8.806980e-06, -1.198521e-09, 2.752454e-12) + BAND01_SCA01_SAMP_NUM_COEF = (-1.994921e-01, 2.167659e-01, 1.000284e+00, -4.716449e-03, -1.380483e-09) + BAND01_SCA01_SAMP_DEN_COEF = (-1.637145e-06, -7.931822e-06, -1.541845e-06, -3.080119e-12) + BAND01_SCA02_MEAN_HEIGHT = 2000.000 + BAND01_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA02_MEAN_L1T_LINE_SAMP = (3221.592, 1420.763) + BAND01_SCA02_LINE_NUM_COEF = (-7.872982e-04, 1.018745e+00, -1.929125e-01, -3.288098e-04, -8.264468e-06) + BAND01_SCA02_LINE_DEN_COEF = ( 5.909946e-08, -7.482451e-06, -5.158765e-10, 2.662770e-12) + BAND01_SCA02_SAMP_NUM_COEF = (-1.592258e-01, 2.185703e-01, 1.008795e+00, -4.015082e-03, -4.798070e-09) + BAND01_SCA02_SAMP_DEN_COEF = (-1.278459e-06, -6.251235e-06, -1.553098e-06, -3.202569e-12) + BAND01_SCA03_MEAN_HEIGHT = 2000.000 + BAND01_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA03_MEAN_L1T_LINE_SAMP = (3589.180, 1806.183) + BAND01_SCA03_LINE_NUM_COEF = ( 4.900171e-04, 1.018366e+00, -1.945496e-01, 1.497463e-04, -1.014131e-05) + BAND01_SCA03_LINE_DEN_COEF = ( 7.308911e-08, -9.180814e-06, -1.335877e-09, 2.626430e-12) + BAND01_SCA03_SAMP_NUM_COEF = (-1.307928e-01, 2.193061e-01, 1.012358e+00, -3.286580e-03, 2.974622e-09) + BAND01_SCA03_SAMP_DEN_COEF = (-1.090656e-06, -5.411953e-06, -1.559310e-06, -3.284820e-12) + BAND01_SCA04_MEAN_HEIGHT = 2000.000 + BAND01_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA04_MEAN_L1T_LINE_SAMP = (3406.076, 2306.642) + BAND01_SCA04_LINE_NUM_COEF = (-1.169262e-02, 1.016744e+00, -2.021434e-01, -2.784310e-04, -9.308544e-06) + BAND01_SCA04_LINE_DEN_COEF = ( 6.740359e-08, -8.411775e-06, -5.387472e-10, 2.537801e-12) + BAND01_SCA04_SAMP_NUM_COEF = (-9.489797e-02, 2.206493e-01, 1.018731e+00, -2.567367e-03, -4.115790e-10) + BAND01_SCA04_SAMP_DEN_COEF = (-7.598816e-07, -3.859591e-06, -1.566360e-06, -3.397691e-12) + BAND01_SCA05_MEAN_HEIGHT = 2000.000 + BAND01_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA05_MEAN_L1T_LINE_SAMP = (3773.567, 2687.982) + BAND01_SCA05_LINE_NUM_COEF = (-1.001403e-02, 1.016080e+00, -2.051035e-01, 1.943254e-04, -1.111512e-05) + BAND01_SCA05_LINE_DEN_COEF = ( 8.219956e-08, -1.004016e-05, -1.457239e-09, 2.498162e-12) + BAND01_SCA05_SAMP_NUM_COEF = (-6.626419e-02, 2.209324e-01, 1.020200e+00, -1.830053e-03, 7.440146e-09) + BAND01_SCA05_SAMP_DEN_COEF = (-5.660405e-07, -2.991871e-06, -1.570075e-06, -3.481178e-12) + BAND01_SCA06_MEAN_HEIGHT = 2000.000 + BAND01_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA06_MEAN_L1T_LINE_SAMP = (3591.943, 3185.415) + BAND01_SCA06_LINE_NUM_COEF = (-3.088230e-02, 1.014754e+00, -2.113266e-01, -2.505035e-04, -8.394013e-06) + BAND01_SCA06_LINE_DEN_COEF = ( 5.925219e-08, -7.570308e-06, -6.312655e-10, 2.386425e-12) + BAND01_SCA06_SAMP_NUM_COEF = (-3.546199e-02, 2.217837e-01, 1.024293e+00, -1.098359e-03, 4.082591e-09) + BAND01_SCA06_SAMP_DEN_COEF = (-2.740256e-07, -1.617994e-06, -1.573353e-06, -3.574664e-12) + BAND01_SCA07_MEAN_HEIGHT = 2000.000 + BAND01_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA07_MEAN_L1T_LINE_SAMP = (3960.019, 3564.414) + BAND01_SCA07_LINE_NUM_COEF = (-2.318568e-02, 1.013811e+00, -2.155857e-01, 2.133974e-04, -1.135194e-05) + BAND01_SCA07_LINE_DEN_COEF = ( 8.551418e-08, -1.023133e-05, -1.505340e-09, 2.359859e-12) + BAND01_SCA07_SAMP_NUM_COEF = (-1.364719e-02, 2.215439e-01, 1.023341e+00, -3.580118e-04, 1.197311e-08) + BAND01_SCA07_SAMP_DEN_COEF = (-1.388052e-07, -1.020597e-06, -1.574521e-06, -3.663789e-12) + BAND01_SCA08_MEAN_HEIGHT = 2000.000 + BAND01_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA08_MEAN_L1T_LINE_SAMP = (3779.970, 4060.566) + BAND01_SCA08_LINE_NUM_COEF = (-4.253895e-02, 1.012747e+00, -2.206013e-01, -2.445501e-04, -9.060984e-06) + BAND01_SCA08_LINE_DEN_COEF = ( 6.497907e-08, -8.155979e-06, -6.076566e-10, 2.250579e-12) + BAND01_SCA08_SAMP_NUM_COEF = ( 2.600611e-02, 2.219307e-01, 1.025279e+00, 3.793890e-04, 8.645185e-09) + BAND01_SCA08_SAMP_DEN_COEF = ( 2.338280e-07, 7.260729e-07, -1.574695e-06, -3.735320e-12) + BAND01_SCA09_MEAN_HEIGHT = 2000.000 + BAND01_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA09_MEAN_L1T_LINE_SAMP = (4149.410, 4439.253) + BAND01_SCA09_LINE_NUM_COEF = (-6.340320e-02, 1.011558e+00, -2.260081e-01, 2.076590e-04, -5.938485e-06) + BAND01_SCA09_LINE_DEN_COEF = ( 3.582190e-08, -5.339292e-06, -1.273522e-09, 2.103645e-12) + BAND01_SCA09_SAMP_NUM_COEF = ( 7.347123e-02, 2.212142e-01, 1.022120e+00, 1.116594e-03, 1.653881e-08) + BAND01_SCA09_SAMP_DEN_COEF = ( 5.945913e-07, 2.365901e-06, -1.572608e-06, -3.807124e-12) + BAND01_SCA10_MEAN_HEIGHT = 2000.000 + BAND01_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA10_MEAN_L1T_LINE_SAMP = (3970.727, 4936.420) + BAND01_SCA10_LINE_NUM_COEF = (-5.791719e-02, 1.010765e+00, -2.297626e-01, -2.610669e-04, -8.866651e-06) + BAND01_SCA10_LINE_DEN_COEF = ( 6.291904e-08, -7.965354e-06, -5.866052e-10, 2.095152e-12) + BAND01_SCA10_SAMP_NUM_COEF = ( 8.586468e-02, 2.211388e-01, 1.021911e+00, 1.854452e-03, 1.323421e-08) + BAND01_SCA10_SAMP_DEN_COEF = ( 7.252682e-07, 2.995107e-06, -1.570283e-06, -3.875834e-12) + BAND01_SCA11_MEAN_HEIGHT = 2000.000 + BAND01_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA11_MEAN_L1T_LINE_SAMP = (4342.482, 5316.360) + BAND01_SCA11_LINE_NUM_COEF = (-6.742189e-02, 1.009260e+00, -2.366393e-01, 1.762929e-04, -8.052448e-06) + BAND01_SCA11_LINE_DEN_COEF = ( 5.561311e-08, -7.224203e-06, -1.306594e-09, 1.976718e-12) + BAND01_SCA11_SAMP_NUM_COEF = ( 1.165178e-01, 2.199448e-01, 1.016540e+00, 2.582288e-03, 2.109807e-08) + BAND01_SCA11_SAMP_DEN_COEF = ( 9.336449e-07, 3.931136e-06, -1.566398e-06, -3.962736e-12) + BAND01_SCA12_MEAN_HEIGHT = 2000.000 + BAND01_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA12_MEAN_L1T_LINE_SAMP = (4165.509, 5816.517) + BAND01_SCA12_LINE_NUM_COEF = (-6.883593e-02, 1.008790e+00, -2.389062e-01, -2.992344e-04, -9.488192e-06) + BAND01_SCA12_LINE_DEN_COEF = ( 6.879065e-08, -8.507238e-06, -4.836349e-10, 1.951474e-12) + BAND01_SCA12_SAMP_NUM_COEF = ( 1.519165e-01, 2.193529e-01, 1.013933e+00, 3.314008e-03, 1.781578e-08) + BAND01_SCA12_SAMP_DEN_COEF = ( 1.262542e-06, 5.476614e-06, -1.559445e-06, -3.993441e-12) + BAND01_SCA13_MEAN_HEIGHT = 2000.000 + BAND01_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA13_MEAN_L1T_LINE_SAMP = (4540.396, 6199.552) + BAND01_SCA13_LINE_NUM_COEF = (-7.296718e-02, 1.007010e+00, -2.470613e-01, 1.203524e-04, -9.613820e-06) + BAND01_SCA13_LINE_DEN_COEF = ( 7.144918e-08, -8.606082e-06, -1.253223e-09, 1.843786e-12) + BAND01_SCA13_SAMP_NUM_COEF = ( 1.932081e-01, 2.176834e-01, 1.006357e+00, 4.026223e-03, 2.561070e-08) + BAND01_SCA13_SAMP_DEN_COEF = ( 1.556402e-06, 6.808088e-06, -1.551234e-06, -4.068991e-12) + BAND01_SCA14_MEAN_HEIGHT = 2000.000 + BAND01_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA14_MEAN_L1T_LINE_SAMP = (4364.816, 6704.738) + BAND01_SCA14_LINE_NUM_COEF = (-1.006381e-01, 1.006814e+00, -2.480570e-01, -3.599939e-04, -6.222606e-06) + BAND01_SCA14_LINE_DEN_COEF = ( 3.498710e-08, -5.566826e-06, -5.964173e-10, 1.687029e-12) + BAND01_SCA14_SAMP_NUM_COEF = ( 2.173248e-01, 2.166076e-01, 1.001502e+00, 4.745634e-03, 2.234160e-08) + BAND01_SCA14_SAMP_DEN_COEF = ( 1.778479e-06, 7.860119e-06, -1.542654e-06, -4.091019e-12) +END_GROUP = RPC_BAND01 +GROUP = RPC_BAND02 + BAND02_NUMBER_OF_SCAS = 14 + BAND02_NUM_L1T_LINES = 7741 + BAND02_NUM_L1T_SAMPS = 7611 + BAND02_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND02_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND02_NUM_L1R_LINES = 7501 + BAND02_NUM_L1R_SAMPS = 494 + BAND02_PIXEL_SIZE = 30.000 + BAND02_START_TIME = 10.607209 + BAND02_LINE_TIME = 0.004235996 + BAND02_MEAN_HEIGHT = 2000.000 + BAND02_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND02_MEAN_L1T_LINE_SAMP = (3875.827, 3811.423) + BAND02_MEAN_SAT_VECTOR = (-0.000330755, -0.000134866, 0.996318188) + BAND02_SAT_X_NUM_COEF = ( 8.875915e-06, -9.946942e-08, -4.727106e-05, -4.257344e-10, -9.556082e-06, + 2.136513e-12, 9.403005e-12, 2.877273e-12, 4.522516e-16, 5.053362e-17) + BAND02_SAT_X_DEN_COEF = (-8.235684e-07, 0.000000e+00, -1.408724e-06, 6.709331e-07, 3.446112e-11, + 4.146336e-10, 9.632099e-10, -8.376729e-18, -5.055584e-19) + BAND02_SAT_Y_NUM_COEF = ( 8.940504e-05, 4.729788e-05, -9.943447e-08, -1.982958e-10, -4.458945e-05, + -1.687744e-14, -9.878775e-12, -2.823246e-11, -1.136784e-16, -1.765428e-17) + BAND02_SAT_Y_DEN_COEF = ( 7.740331e-08, -1.485702e-07, -1.409468e-06, 0.000000e+00, 3.113487e-11, + 5.257694e-10, 9.559955e-10, 2.267800e-16, -3.073203e-18) + BAND02_SAT_Z_NUM_COEF = ( 3.667871e-03, 1.988588e-09, -1.484910e-08, -1.039247e-08, -4.477099e-09, + -4.984870e-11, -4.601803e-10, -1.062116e-09, 2.368778e-18, 1.020901e-20) + BAND02_SAT_Z_DEN_COEF = (-3.877692e-06, 9.391580e-07, -2.833893e-06, 3.962254e-06, 6.723240e-11, + 6.014743e-10, 1.388868e-09, -2.120920e-17, 1.155262e-17) + BAND02_MEAN_SUN_VECTOR = ( 0.492708685, -0.201012571, 0.846575939) + BAND02_SUN_X_NUM_COEF = ( 1.766585e-05, -8.160173e-09, -3.863013e-06, -1.198678e-16, -2.508873e-07, + -1.845661e-13, -3.078754e-12, -5.384059e-12, 1.182109e-18, 2.480596e-18) + BAND02_SUN_X_DEN_COEF = ( 1.965603e-07, 0.000000e+00, -2.313594e-12, -1.891073e-07, -1.163680e-11, + -1.338325e-12, 7.597548e-12, -1.529771e-17, 9.468174e-19) + BAND02_SUN_Y_NUM_COEF = (-2.374498e-06, 4.009925e-06, 2.858884e-07, -1.934122e-14, 1.954127e-08, + 2.271618e-12, 1.061487e-11, -2.346951e-12, -9.964169e-18, -1.284518e-17) + BAND02_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -4.133148e-12, -1.737519e-07, 0.000000e+00, + 0.000000e+00, 2.340359e-11, 2.054594e-17, -2.416770e-17) + BAND02_SUN_Z_NUM_COEF = ( 7.259049e-05, 9.568147e-07, 2.315869e-06, -1.658383e-14, 1.504111e-07, + -1.305681e-11, -1.035992e-11, -1.308857e-11, -8.136855e-18, 1.175851e-17) + BAND02_SUN_Z_DEN_COEF = (-3.788166e-06, -1.566435e-06, -2.505160e-11, 6.128727e-07, -1.316179e-11, + -6.122624e-12, 0.000000e+00, -1.385943e-16, -1.716176e-17) + BAND02_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND02_SCA01_MEAN_HEIGHT = 2000.000 + BAND02_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA01_MEAN_L1T_LINE_SAMP = (3377.828, 921.136) + BAND02_SCA01_LINE_NUM_COEF = ( 1.299050e-02, 1.020500e+00, -1.847191e-01, 3.543209e-05, -9.487558e-06) + BAND02_SCA01_LINE_DEN_COEF = ( 6.759697e-08, -8.606453e-06, -1.109306e-09, 2.752677e-12) + BAND02_SCA01_SAMP_NUM_COEF = (-2.004569e-01, 2.168047e-01, 1.000464e+00, -4.717399e-03, -1.949941e-09) + BAND02_SCA01_SAMP_DEN_COEF = (-1.641875e-06, -7.950923e-06, -1.541756e-06, -3.078143e-12) + BAND02_SCA02_MEAN_HEIGHT = 2000.000 + BAND02_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA02_MEAN_L1T_LINE_SAMP = (3249.838, 1414.666) + BAND02_SCA02_LINE_NUM_COEF = ( 6.926142e-04, 1.018780e+00, -1.927403e-01, -2.822719e-04, -8.578052e-06) + BAND02_SCA02_LINE_DEN_COEF = ( 6.156676e-08, -7.766913e-06, -5.733664e-10, 2.664097e-12) + BAND02_SCA02_SAMP_NUM_COEF = (-1.589988e-01, 2.185192e-01, 1.008558e+00, -4.014094e-03, -4.225946e-09) + BAND02_SCA02_SAMP_DEN_COEF = (-1.280153e-06, -6.261760e-06, -1.553052e-06, -3.203658e-12) + BAND02_SCA03_MEAN_HEIGHT = 2000.000 + BAND02_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA03_MEAN_L1T_LINE_SAMP = (3560.959, 1812.236) + BAND02_SCA03_LINE_NUM_COEF = ( 5.261011e-04, 1.018341e+00, -1.946779e-01, 1.030016e-04, -1.018041e-05) + BAND02_SCA03_LINE_DEN_COEF = ( 7.345633e-08, -9.215809e-06, -1.244879e-09, 2.627914e-12) + BAND02_SCA03_SAMP_NUM_COEF = (-1.305687e-01, 2.193496e-01, 1.012559e+00, -3.287336e-03, 2.402467e-09) + BAND02_SCA03_SAMP_DEN_COEF = (-1.084916e-06, -5.382749e-06, -1.559406e-06, -3.283418e-12) + BAND02_SCA04_MEAN_HEIGHT = 2000.000 + BAND02_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA04_MEAN_L1T_LINE_SAMP = (3434.255, 2300.559) + BAND02_SCA04_LINE_NUM_COEF = (-1.271856e-02, 1.016761e+00, -2.020509e-01, -2.315632e-04, -9.044388e-06) + BAND02_SCA04_LINE_DEN_COEF = ( 6.514585e-08, -8.173286e-06, -6.349436e-10, 2.533611e-12) + BAND02_SCA04_SAMP_NUM_COEF = (-9.615740e-02, 2.206033e-01, 1.018518e+00, -2.566787e-03, 1.637909e-10) + BAND02_SCA04_SAMP_DEN_COEF = (-7.748654e-07, -3.931467e-06, -1.566174e-06, -3.398764e-12) + BAND02_SCA05_MEAN_HEIGHT = 2000.000 + BAND02_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA05_MEAN_L1T_LINE_SAMP = (3745.364, 2694.043) + BAND02_SCA05_LINE_NUM_COEF = (-9.644625e-03, 1.016068e+00, -2.051686e-01, 1.473191e-04, -1.123007e-05) + BAND02_SCA05_LINE_DEN_COEF = ( 8.320926e-08, -1.014372e-05, -1.359465e-09, 2.500624e-12) + BAND02_SCA05_SAMP_NUM_COEF = (-6.557554e-02, 2.209751e-01, 1.020397e+00, -1.830488e-03, 6.864763e-09) + BAND02_SCA05_SAMP_DEN_COEF = (-5.560170e-07, -2.942887e-06, -1.570165e-06, -3.479857e-12) + BAND02_SCA06_MEAN_HEIGHT = 2000.000 + BAND02_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA06_MEAN_L1T_LINE_SAMP = (3620.075, 3179.352) + BAND02_SCA06_LINE_NUM_COEF = (-3.006564e-02, 1.014762e+00, -2.112806e-01, -2.035483e-04, -8.541663e-06) + BAND02_SCA06_LINE_DEN_COEF = ( 6.053940e-08, -7.703746e-06, -7.017439e-10, 2.387932e-12) + BAND02_SCA06_SAMP_NUM_COEF = (-3.606562e-02, 2.217380e-01, 1.024081e+00, -1.098078e-03, 4.659183e-09) + BAND02_SCA06_SAMP_DEN_COEF = (-2.833980e-07, -1.663969e-06, -1.573298e-06, -3.575410e-12) + BAND02_SCA07_MEAN_HEIGHT = 2000.000 + BAND02_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA07_MEAN_L1T_LINE_SAMP = (3931.840, 3570.476) + BAND02_SCA07_LINE_NUM_COEF = (-2.519390e-02, 1.013809e+00, -2.156063e-01, 1.663332e-04, -1.095171e-05) + BAND02_SCA07_LINE_DEN_COEF = ( 8.192566e-08, -9.870341e-06, -1.389255e-09, 2.353732e-12) + BAND02_SCA07_SAMP_NUM_COEF = (-1.456116e-02, 2.215847e-01, 1.023530e+00, -3.581448e-04, 1.139728e-08) + BAND02_SCA07_SAMP_DEN_COEF = (-1.428428e-07, -1.036555e-06, -1.574518e-06, -3.663375e-12) + BAND02_SCA08_MEAN_HEIGHT = 2000.000 + BAND02_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA08_MEAN_L1T_LINE_SAMP = (3808.091, 4054.513) + BAND02_SCA08_LINE_NUM_COEF = (-4.019583e-02, 1.012744e+00, -2.206032e-01, -1.975729e-04, -9.524392e-06) + BAND02_SCA08_LINE_DEN_COEF = ( 6.924033e-08, -8.573417e-06, -6.723276e-10, 2.258910e-12) + BAND02_SCA08_SAMP_NUM_COEF = ( 2.643867e-02, 2.218872e-01, 1.025078e+00, 3.793768e-04, 9.221194e-09) + BAND02_SCA08_SAMP_DEN_COEF = ( 2.335305e-07, 7.220149e-07, -1.574691e-06, -3.735338e-12) + BAND02_SCA09_MEAN_HEIGHT = 2000.000 + BAND02_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA09_MEAN_L1T_LINE_SAMP = (4121.230, 4445.322) + BAND02_SCA09_LINE_NUM_COEF = (-6.509025e-02, 1.011564e+00, -2.259876e-01, 1.606007e-04, -5.621527e-06) + BAND02_SCA09_LINE_DEN_COEF = ( 3.283215e-08, -5.054079e-06, -1.209568e-09, 2.097080e-12) + BAND02_SCA09_SAMP_NUM_COEF = ( 7.314983e-02, 2.212549e-01, 1.022307e+00, 1.116745e-03, 1.596455e-08) + BAND02_SCA09_SAMP_DEN_COEF = ( 5.959169e-07, 2.374712e-06, -1.572601e-06, -3.807655e-12) + BAND02_SCA10_MEAN_HEIGHT = 2000.000 + BAND02_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA10_MEAN_L1T_LINE_SAMP = (3998.886, 4930.371) + BAND02_SCA10_LINE_NUM_COEF = (-5.716203e-02, 1.010751e+00, -2.298216e-01, -2.141227e-04, -8.987193e-06) + BAND02_SCA10_LINE_DEN_COEF = ( 6.409563e-08, -8.073729e-06, -6.620426e-10, 2.097748e-12) + BAND02_SCA10_SAMP_NUM_COEF = ( 8.708940e-02, 2.210926e-01, 1.021698e+00, 1.854141e-03, 1.380794e-08) + BAND02_SCA10_SAMP_DEN_COEF = ( 7.318815e-07, 3.022986e-06, -1.570227e-06, -3.875127e-12) + BAND02_SCA11_MEAN_HEIGHT = 2000.000 + BAND02_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA11_MEAN_L1T_LINE_SAMP = (4314.247, 5322.449) + BAND02_SCA11_LINE_NUM_COEF = (-6.800522e-02, 1.009278e+00, -2.365672e-01, 1.292838e-04, -7.968820e-06) + BAND02_SCA11_LINE_DEN_COEF = ( 5.476472e-08, -7.149123e-06, -1.231352e-09, 1.974310e-12) + BAND02_SCA11_SAMP_NUM_COEF = ( 1.152679e-01, 2.199853e-01, 1.016726e+00, 2.582725e-03, 2.052679e-08) + BAND02_SCA11_SAMP_DEN_COEF = ( 9.268422e-07, 3.902380e-06, -1.566474e-06, -3.964000e-12) + BAND02_SCA12_MEAN_HEIGHT = 2000.000 + BAND02_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA12_MEAN_L1T_LINE_SAMP = (4193.721, 5810.470) + BAND02_SCA12_LINE_NUM_COEF = (-6.884897e-02, 1.008764e+00, -2.390166e-01, -2.524393e-04, -9.453749e-06) + BAND02_SCA12_LINE_DEN_COEF = ( 6.849232e-08, -8.476278e-06, -5.709828e-10, 1.950783e-12) + BAND02_SCA12_SAMP_NUM_COEF = ( 1.510803e-01, 2.193077e-01, 1.013725e+00, 3.313420e-03, 1.838509e-08) + BAND02_SCA12_SAMP_DEN_COEF = ( 1.250983e-06, 5.420504e-06, -1.559623e-06, -3.993505e-12) + BAND02_SCA13_MEAN_HEIGHT = 2000.000 + BAND02_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA13_MEAN_L1T_LINE_SAMP = (4512.072, 6205.670) + BAND02_SCA13_LINE_NUM_COEF = (-7.530697e-02, 1.007041e+00, -2.469246e-01, 7.353440e-05, -9.217019e-06) + BAND02_SCA13_LINE_DEN_COEF = ( 6.731868e-08, -8.250862e-06, -1.160721e-09, 1.832344e-12) + BAND02_SCA13_SAMP_NUM_COEF = ( 1.903903e-01, 2.177238e-01, 1.006543e+00, 4.026949e-03, 2.504435e-08) + BAND02_SCA13_SAMP_DEN_COEF = ( 1.536107e-06, 6.716945e-06, -1.551601e-06, -4.072417e-12) + BAND02_SCA14_MEAN_HEIGHT = 2000.000 + BAND02_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA14_MEAN_L1T_LINE_SAMP = (4393.166, 6698.664) + BAND02_SCA14_LINE_NUM_COEF = (-1.011846e-01, 1.006775e+00, -2.482309e-01, -3.134020e-04, -6.096440e-06) + BAND02_SCA14_LINE_DEN_COEF = ( 3.372931e-08, -5.453798e-06, -6.599952e-10, 1.683761e-12) + BAND02_SCA14_SAMP_NUM_COEF = ( 2.193877e-01, 2.165667e-01, 1.001314e+00, 4.744831e-03, 2.290598e-08) + BAND02_SCA14_SAMP_DEN_COEF = ( 1.792107e-06, 7.920446e-06, -1.542363e-06, -4.088457e-12) +END_GROUP = RPC_BAND02 +GROUP = RPC_BAND03 + BAND03_NUMBER_OF_SCAS = 14 + BAND03_NUM_L1T_LINES = 7741 + BAND03_NUM_L1T_SAMPS = 7611 + BAND03_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND03_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND03_NUM_L1R_LINES = 7501 + BAND03_NUM_L1R_SAMPS = 494 + BAND03_PIXEL_SIZE = 30.000 + BAND03_START_TIME = 10.607209 + BAND03_LINE_TIME = 0.004235996 + BAND03_MEAN_HEIGHT = 2000.000 + BAND03_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND03_MEAN_L1T_LINE_SAMP = (3876.212, 3811.340) + BAND03_MEAN_SAT_VECTOR = (-0.000326034, -0.000116908, 0.996274824) + BAND03_SAT_X_NUM_COEF = ( 7.907327e-06, -9.970194e-08, -4.726918e-05, -4.199536e-10, -9.555473e-06, + 2.229720e-12, 9.833377e-12, 2.875444e-12, 4.476705e-16, 5.053276e-17) + BAND03_SAT_X_DEN_COEF = (-8.348107e-07, 0.000000e+00, -1.408712e-06, 6.724802e-07, 3.455719e-11, + 4.146239e-10, 9.632997e-10, -7.646795e-18, -5.154887e-19) + BAND03_SAT_Y_NUM_COEF = ( 8.985317e-05, 4.729595e-05, -9.953485e-08, -1.729934e-10, -4.458849e-05, + -2.539237e-14, -9.900154e-12, -2.825843e-11, -6.745913e-17, -1.754195e-17) + BAND03_SAT_Y_DEN_COEF = ( 7.645003e-08, -1.482784e-07, -1.410605e-06, 0.000000e+00, 3.092358e-11, + 5.032664e-10, 9.576275e-10, 1.324188e-16, 4.444855e-18) + BAND03_SAT_Z_NUM_COEF = ( 3.667763e-03, 1.127519e-09, -1.467923e-08, -1.037809e-08, -3.631633e-09, + -4.987008e-11, -4.601216e-10, -1.062035e-09, 2.312049e-18, -7.797454e-21) + BAND03_SAT_Z_DEN_COEF = (-3.874031e-06, 9.403363e-07, -2.833933e-06, 3.958996e-06, 6.819989e-11, + 5.989501e-10, 1.374500e-09, -1.995266e-17, 1.315414e-17) + BAND03_MEAN_SUN_VECTOR = ( 0.492709005, -0.201011367, 0.846575749) + BAND03_SUN_X_NUM_COEF = ( 1.766397e-05, -8.160030e-09, -3.863013e-06, -3.294102e-15, -2.508871e-07, + -1.844698e-13, -3.077495e-12, -5.384088e-12, 1.167495e-18, 2.476368e-18) + BAND03_SUN_X_DEN_COEF = ( 1.962425e-07, 0.000000e+00, -2.132773e-12, -1.891269e-07, -1.164659e-11, + -1.339453e-12, 7.613254e-12, -1.543915e-17, 9.171709e-19) + BAND03_SUN_Y_NUM_COEF = (-2.046660e-06, 4.009933e-06, 2.858892e-07, -3.305920e-14, 1.953220e-08, + 2.274566e-12, 1.061878e-11, -2.351244e-12, -9.526312e-18, -1.285596e-17) + BAND03_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -5.888757e-12, -1.722182e-07, 0.000000e+00, + 0.000000e+00, 2.329838e-11, 1.198319e-16, -1.030827e-16) + BAND03_SUN_Z_NUM_COEF = ( 7.296531e-05, 9.568624e-07, 2.315988e-06, -1.712780e-14, 1.504135e-07, + -1.220012e-11, -6.830510e-12, -9.461797e-12, -8.186556e-18, 1.182724e-17) + BAND03_SUN_Z_DEN_COEF = (-2.909051e-06, 0.000000e+00, -2.441140e-11, 5.087551e-07, -6.397872e-12, + -5.405841e-12, 6.494628e-12, -1.747739e-16, -9.984313e-18) + BAND03_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND03_SCA01_MEAN_HEIGHT = 2000.000 + BAND03_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA01_MEAN_L1T_LINE_SAMP = (3491.692, 896.616) + BAND03_SCA01_LINE_NUM_COEF = ( 1.461197e-02, 1.020643e+00, -1.840139e-01, 2.225146e-04, -9.752191e-06) + BAND03_SCA01_LINE_DEN_COEF = ( 6.937280e-08, -8.848499e-06, -1.464660e-09, 2.748045e-12) + BAND03_SCA01_SAMP_NUM_COEF = (-1.984678e-01, 2.166209e-01, 9.996133e-01, -4.713138e-03, 3.328648e-10) + BAND03_SCA01_SAMP_DEN_COEF = (-1.638951e-06, -7.948353e-06, -1.541766e-06, -3.086318e-12) + BAND03_SCA02_MEAN_HEIGHT = 2000.000 + BAND03_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA02_MEAN_L1T_LINE_SAMP = (3137.024, 1438.939) + BAND03_SCA02_LINE_NUM_COEF = (-1.181910e-03, 1.018649e+00, -1.933892e-01, -4.682908e-04, -8.260532e-06) + BAND03_SCA02_LINE_DEN_COEF = ( 5.921883e-08, -7.477686e-06, -2.928783e-10, 2.666327e-12) + BAND03_SCA02_SAMP_NUM_COEF = (-1.606305e-01, 2.186750e-01, 1.009280e+00, -4.017284e-03, -6.511282e-09) + BAND03_SCA02_SAMP_DEN_COEF = (-1.279410e-06, -6.247531e-06, -1.553126e-06, -3.198962e-12) + BAND03_SCA03_MEAN_HEIGHT = 2000.000 + BAND03_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA03_MEAN_L1T_LINE_SAMP = (3674.288, 1787.859) + BAND03_SCA03_LINE_NUM_COEF = ( 4.629706e-03, 1.018435e+00, -1.941978e-01, 2.908425e-04, -1.100919e-05) + BAND03_SCA03_LINE_DEN_COEF = ( 7.998545e-08, -9.967858e-06, -1.661563e-09, 2.630613e-12) + BAND03_SCA03_SAMP_NUM_COEF = (-1.267061e-01, 2.191812e-01, 1.011780e+00, -3.284519e-03, 4.698796e-09) + BAND03_SCA03_SAMP_DEN_COEF = (-1.066297e-06, -5.307659e-06, -1.559645e-06, -3.288840e-12) + BAND03_SCA04_MEAN_HEIGHT = 2000.000 + BAND03_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA04_MEAN_L1T_LINE_SAMP = (3321.839, 2324.771) + BAND03_SCA04_LINE_NUM_COEF = (-1.449673e-02, 1.016692e+00, -2.024145e-01, -4.185157e-04, -8.765968e-06) + BAND03_SCA04_LINE_DEN_COEF = ( 6.291743e-08, -7.920391e-06, -3.301485e-10, 2.535025e-12) + BAND03_SCA04_SAMP_NUM_COEF = (-9.923432e-02, 2.207684e-01, 1.019283e+00, -2.568972e-03, -2.132848e-09) + BAND03_SCA04_SAMP_DEN_COEF = (-7.863892e-07, -3.973917e-06, -1.566087e-06, -3.394440e-12) + BAND03_SCA05_MEAN_HEIGHT = 2000.000 + BAND03_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA05_MEAN_L1T_LINE_SAMP = (3858.456, 2669.697) + BAND03_SCA05_LINE_NUM_COEF = (-8.776596e-03, 1.016117e+00, -2.048995e-01, 3.357991e-04, -1.129554e-05) + BAND03_SCA05_LINE_DEN_COEF = ( 8.365764e-08, -1.020406e-05, -1.773042e-09, 2.497672e-12) + BAND03_SCA05_SAMP_NUM_COEF = (-6.215430e-02, 2.207951e-01, 1.019566e+00, -1.828747e-03, 9.170173e-09) + BAND03_SCA05_SAMP_DEN_COEF = (-5.416342e-07, -2.887295e-06, -1.570257e-06, -3.483088e-12) + BAND03_SCA06_MEAN_HEIGHT = 2000.000 + BAND03_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA06_MEAN_L1T_LINE_SAMP = (3507.879, 3203.515) + BAND03_SCA06_LINE_NUM_COEF = (-3.555283e-02, 1.014736e+00, -2.114429e-01, -3.908257e-04, -7.461616e-06) + BAND03_SCA06_LINE_DEN_COEF = ( 5.106695e-08, -6.728455e-06, -4.735264e-10, 2.374653e-12) + BAND03_SCA06_SAMP_NUM_COEF = (-3.827723e-02, 2.219049e-01, 1.024853e+00, -1.099149e-03, 2.358037e-09) + BAND03_SCA06_SAMP_DEN_COEF = (-2.868879e-07, -1.669364e-06, -1.573314e-06, -3.572961e-12) + BAND03_SCA07_MEAN_HEIGHT = 2000.000 + BAND03_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA07_MEAN_L1T_LINE_SAMP = (4044.766, 3546.169) + BAND03_SCA07_LINE_NUM_COEF = (-2.448813e-02, 1.013816e+00, -2.155365e-01, 3.549743e-04, -1.097274e-05) + BAND03_SCA07_LINE_DEN_COEF = ( 8.209389e-08, -9.890043e-06, -1.790022e-09, 2.351816e-12) + BAND03_SCA07_SAMP_NUM_COEF = (-1.336665e-02, 2.214043e-01, 1.022697e+00, -3.576042e-04, 1.370259e-08) + BAND03_SCA07_SAMP_DEN_COEF = (-1.484570e-07, -1.073277e-06, -1.574495e-06, -3.666559e-12) + BAND03_SCA08_MEAN_HEIGHT = 2000.000 + BAND03_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA08_MEAN_L1T_LINE_SAMP = (3695.915, 4078.661) + BAND03_SCA08_LINE_NUM_COEF = (-4.406090e-02, 1.012761e+00, -2.205632e-01, -3.849764e-04, -8.834309e-06) + BAND03_SCA08_LINE_DEN_COEF = ( 6.287512e-08, -7.951500e-06, -3.785518e-10, 2.247779e-12) + BAND03_SCA08_SAMP_NUM_COEF = ( 2.312618e-02, 2.220509e-01, 1.025834e+00, 3.794169e-04, 6.921795e-09) + BAND03_SCA08_SAMP_DEN_COEF = ( 2.206541e-07, 6.732334e-07, -1.574732e-06, -3.735267e-12) + BAND03_SCA09_MEAN_HEIGHT = 2000.000 + BAND03_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA09_MEAN_L1T_LINE_SAMP = (4234.232, 4421.003) + BAND03_SCA09_LINE_NUM_COEF = (-5.979656e-02, 1.011519e+00, -2.261588e-01, 3.492082e-04, -6.586142e-06) + BAND03_SCA09_LINE_DEN_COEF = ( 4.196416e-08, -5.922070e-06, -1.479948e-09, 2.115804e-12) + BAND03_SCA09_SAMP_NUM_COEF = ( 7.652351e-02, 2.210755e-01, 1.021480e+00, 1.116087e-03, 1.826476e-08) + BAND03_SCA09_SAMP_DEN_COEF = ( 6.089925e-07, 2.424356e-06, -1.572537e-06, -3.805744e-12) + BAND03_SCA10_MEAN_HEIGHT = 2000.000 + BAND03_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA10_MEAN_L1T_LINE_SAMP = (3886.581, 4954.534) + BAND03_SCA10_LINE_NUM_COEF = (-5.979421e-02, 1.010816e+00, -2.295562e-01, -4.013095e-04, -8.582337e-06) + BAND03_SCA10_LINE_DEN_COEF = ( 6.012097e-08, -7.709751e-06, -3.683973e-10, 2.089452e-12) + BAND03_SCA10_SAMP_NUM_COEF = ( 8.624092e-02, 2.212615e-01, 1.022477e+00, 1.855310e-03, 1.151753e-08) + BAND03_SCA10_SAMP_DEN_COEF = ( 7.411263e-07, 3.076404e-06, -1.570152e-06, -3.875568e-12) + BAND03_SCA11_MEAN_HEIGHT = 2000.000 + BAND03_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA11_MEAN_L1T_LINE_SAMP = (4427.473, 5298.081) + BAND03_SCA11_LINE_NUM_COEF = (-6.629377e-02, 1.009192e+00, -2.369292e-01, 3.175986e-04, -8.178887e-06) + BAND03_SCA11_LINE_DEN_COEF = ( 5.695927e-08, -7.337634e-06, -1.534243e-09, 1.979868e-12) + BAND03_SCA11_SAMP_NUM_COEF = ( 1.167622e-01, 2.198081e-01, 1.015910e+00, 2.580887e-03, 2.281501e-08) + BAND03_SCA11_SAMP_DEN_COEF = ( 9.231913e-07, 3.874740e-06, -1.566534e-06, -3.963200e-12) + BAND03_SCA12_MEAN_HEIGHT = 2000.000 + BAND03_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA12_MEAN_L1T_LINE_SAMP = (4081.095, 5834.700) + BAND03_SCA12_LINE_NUM_COEF = (-7.053206e-02, 1.008868e+00, -2.385672e-01, -4.392535e-04, -9.257582e-06) + BAND03_SCA12_LINE_DEN_COEF = ( 6.636514e-08, -8.300568e-06, -2.467706e-10, 1.944894e-12) + BAND03_SCA12_SAMP_NUM_COEF = ( 1.493404e-01, 2.194698e-01, 1.014471e+00, 3.315638e-03, 1.610966e-08) + BAND03_SCA12_SAMP_DEN_COEF = ( 1.252567e-06, 5.438530e-06, -1.559586e-06, -3.996706e-12) + BAND03_SCA13_MEAN_HEIGHT = 2000.000 + BAND03_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA13_MEAN_L1T_LINE_SAMP = (4625.672, 6181.215) + BAND03_SCA13_LINE_NUM_COEF = (-7.348105e-02, 1.006904e+00, -2.475244e-01, 2.610917e-04, -9.425797e-06) + BAND03_SCA13_LINE_DEN_COEF = ( 6.969735e-08, -8.437282e-06, -1.504886e-09, 1.839288e-12) + BAND03_SCA13_SAMP_NUM_COEF = ( 1.945502e-01, 2.175486e-01, 1.005737e+00, 4.023935e-03, 2.731297e-08) + BAND03_SCA13_SAMP_DEN_COEF = ( 1.555341e-06, 6.795102e-06, -1.551280e-06, -4.066476e-12) + BAND03_SCA14_MEAN_HEIGHT = 2000.000 + BAND03_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA14_MEAN_L1T_LINE_SAMP = (4280.050, 6723.007) + BAND03_SCA14_LINE_NUM_COEF = (-1.047559e-01, 1.006938e+00, -2.475055e-01, -4.991773e-04, -5.562526e-06) + BAND03_SCA14_LINE_DEN_COEF = ( 2.804958e-08, -4.976075e-06, -4.925558e-10, 1.666360e-12) + BAND03_SCA14_SAMP_NUM_COEF = ( 2.179189e-01, 2.167189e-01, 1.002014e+00, 4.747961e-03, 2.065191e-08) + BAND03_SCA14_SAMP_DEN_COEF = ( 1.796161e-06, 7.949905e-06, -1.542244e-06, -4.092561e-12) +END_GROUP = RPC_BAND03 +GROUP = RPC_BAND04 + BAND04_NUMBER_OF_SCAS = 14 + BAND04_NUM_L1T_LINES = 7741 + BAND04_NUM_L1T_SAMPS = 7611 + BAND04_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND04_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND04_NUM_L1R_LINES = 7501 + BAND04_NUM_L1R_SAMPS = 494 + BAND04_PIXEL_SIZE = 30.000 + BAND04_START_TIME = 10.607209 + BAND04_LINE_TIME = 0.004235996 + BAND04_MEAN_HEIGHT = 2000.000 + BAND04_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND04_MEAN_L1T_LINE_SAMP = (3876.141, 3811.357) + BAND04_MEAN_SAT_VECTOR = (-0.000327039, -0.000120169, 0.996288384) + BAND04_SAT_X_NUM_COEF = ( 8.169127e-06, -9.967016e-08, -4.726976e-05, -4.210687e-10, -9.555624e-06, + 2.222156e-12, 9.798872e-12, 2.878229e-12, 4.481323e-16, 5.053301e-17) + BAND04_SAT_X_DEN_COEF = (-8.338333e-07, 0.000000e+00, -1.408714e-06, 6.723098e-07, 3.455011e-11, + 4.146201e-10, 9.632775e-10, -7.878831e-18, -5.144136e-19) + BAND04_SAT_Y_NUM_COEF = ( 8.973498e-05, 4.729653e-05, -9.950474e-08, -1.775691e-10, -4.458879e-05, + -2.326790e-14, -9.895570e-12, -2.825316e-11, -8.259129e-17, -1.758266e-17) + BAND04_SAT_Y_DEN_COEF = ( 7.663793e-08, -1.483956e-07, -1.410316e-06, 0.000000e+00, 3.074808e-11, + 5.102102e-10, 9.570979e-10, 1.586138e-16, 3.232185e-18) + BAND04_SAT_Z_NUM_COEF = ( 3.667829e-03, 1.279720e-09, -1.471005e-08, -1.038269e-08, -3.781171e-09, + -4.986348e-11, -4.601380e-10, -1.062055e-09, 2.331801e-18, -2.235976e-21) + BAND04_SAT_Z_DEN_COEF = (-3.878508e-06, 9.398606e-07, -2.833924e-06, 3.963127e-06, 6.792695e-11, + 5.996553e-10, 1.377871e-09, -2.205022e-17, 1.270128e-17) + BAND04_MEAN_SUN_VECTOR = ( 0.492708940, -0.201011564, 0.846575835) + BAND04_SUN_X_NUM_COEF = ( 1.766482e-05, -8.160074e-09, -3.863013e-06, -2.297291e-15, -2.508871e-07, + -1.844835e-13, -3.077663e-12, -5.384083e-12, 1.172716e-18, 2.477208e-18) + BAND04_SUN_X_DEN_COEF = ( 1.962850e-07, 0.000000e+00, -2.179902e-12, -1.891242e-07, -1.164446e-11, + -1.338575e-12, 7.609339e-12, -1.540129e-17, 9.253585e-19) + BAND04_SUN_Y_NUM_COEF = (-2.129189e-06, 4.009932e-06, 2.858891e-07, -3.040939e-14, 1.953360e-08, + 2.273725e-12, 1.061748e-11, -2.350162e-12, -9.637793e-18, -1.285338e-17) + BAND04_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -5.355401e-12, -1.726702e-07, 0.000000e+00, + 0.000000e+00, 2.332597e-11, 8.931896e-17, -7.898513e-17) + BAND04_SUN_Z_NUM_COEF = ( 7.284853e-05, 9.568640e-07, 2.315987e-06, -1.490702e-14, 1.504124e-07, + -1.220605e-11, -6.843626e-12, -9.461451e-12, -8.134409e-18, 1.186331e-17) + BAND04_SUN_Z_DEN_COEF = (-2.914841e-06, 0.000000e+00, -2.435189e-11, 5.088055e-07, -6.416085e-12, + -5.396003e-12, 6.481861e-12, -1.500818e-16, -1.126238e-17) + BAND04_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND04_SCA01_MEAN_HEIGHT = 2000.000 + BAND04_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA01_MEAN_L1T_LINE_SAMP = (3463.240, 902.728) + BAND04_SCA01_LINE_NUM_COEF = ( 1.247908e-02, 1.020606e+00, -1.841954e-01, 1.758016e-04, -9.274022e-06) + BAND04_SCA01_LINE_DEN_COEF = ( 6.576436e-08, -8.414095e-06, -1.360168e-09, 2.746885e-12) + BAND04_SCA01_SAMP_NUM_COEF = (-1.992567e-01, 2.166719e-01, 9.998489e-01, -4.714333e-03, -2.371941e-10) + BAND04_SCA01_SAMP_DEN_COEF = (-1.642250e-06, -7.960844e-06, -1.541707e-06, -3.084311e-12) + BAND04_SCA02_MEAN_HEIGHT = 2000.000 + BAND04_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA02_MEAN_L1T_LINE_SAMP = (3165.254, 1432.852) + BAND04_SCA02_LINE_NUM_COEF = ( 5.162746e-04, 1.018685e+00, -1.932151e-01, -4.217886e-04, -8.625659e-06) + BAND04_SCA02_LINE_DEN_COEF = ( 6.210712e-08, -7.808803e-06, -3.376476e-10, 2.668213e-12) + BAND04_SCA02_SAMP_NUM_COEF = (-1.610237e-01, 2.186397e-01, 1.009117e+00, -4.016572e-03, -5.939210e-09) + BAND04_SCA02_SAMP_DEN_COEF = (-1.286619e-06, -6.283504e-06, -1.552978e-06, -3.199743e-12) + BAND04_SCA03_MEAN_HEIGHT = 2000.000 + BAND04_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA03_MEAN_L1T_LINE_SAMP = (3646.018, 1793.927) + BAND04_SCA03_LINE_NUM_COEF = ( 4.030379e-03, 1.018411e+00, -1.943198e-01, 2.439952e-04, -1.090032e-05) + BAND04_SCA03_LINE_DEN_COEF = ( 7.915422e-08, -9.868858e-06, -1.556622e-09, 2.630785e-12) + BAND04_SCA03_SAMP_NUM_COEF = (-1.273881e-01, 2.192191e-01, 1.011956e+00, -3.285181e-03, 4.126225e-09) + BAND04_SCA03_SAMP_DEN_COEF = (-1.068456e-06, -5.314916e-06, -1.559622e-06, -3.287545e-12) + BAND04_SCA04_MEAN_HEIGHT = 2000.000 + BAND04_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA04_MEAN_L1T_LINE_SAMP = (3349.961, 2318.706) + BAND04_SCA04_LINE_NUM_COEF = (-1.207307e-02, 1.016706e+00, -2.023385e-01, -3.717129e-04, -9.283382e-06) + BAND04_SCA04_LINE_DEN_COEF = ( 6.725943e-08, -8.388387e-06, -3.725267e-10, 2.539623e-12) + BAND04_SCA04_SAMP_NUM_COEF = (-9.877373e-02, 2.207279e-01, 1.019095e+00, -2.568446e-03, -1.558004e-09) + BAND04_SCA04_SAMP_DEN_COEF = (-7.862357e-07, -3.975898e-06, -1.566077e-06, -3.395790e-12) + BAND04_SCA05_MEAN_HEIGHT = 2000.000 + BAND04_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA05_MEAN_L1T_LINE_SAMP = (3830.235, 2675.770) + BAND04_SCA05_LINE_NUM_COEF = (-9.535292e-03, 1.016100e+00, -2.049927e-01, 2.888149e-04, -1.115633e-05) + BAND04_SCA05_LINE_DEN_COEF = ( 8.250808e-08, -1.007793e-05, -1.662648e-09, 2.496445e-12) + BAND04_SCA05_SAMP_NUM_COEF = (-6.288682e-02, 2.208405e-01, 1.019775e+00, -1.829188e-03, 8.595253e-09) + BAND04_SCA05_SAMP_DEN_COEF = (-5.441573e-07, -2.896244e-06, -1.570243e-06, -3.482700e-12) + BAND04_SCA06_MEAN_HEIGHT = 2000.000 + BAND04_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA06_MEAN_L1T_LINE_SAMP = (3535.896, 3197.474) + BAND04_SCA06_LINE_NUM_COEF = (-3.515710e-02, 1.014740e+00, -2.114102e-01, -3.440461e-04, -7.517029e-06) + BAND04_SCA06_LINE_DEN_COEF = ( 5.154815e-08, -6.778639e-06, -5.374178e-10, 2.374628e-12) + BAND04_SCA06_SAMP_NUM_COEF = (-3.725395e-02, 2.218645e-01, 1.024666e+00, -1.098900e-03, 2.932997e-09) + BAND04_SCA06_SAMP_DEN_COEF = (-2.818483e-07, -1.648766e-06, -1.573330e-06, -3.573635e-12) + BAND04_SCA07_MEAN_HEIGHT = 2000.000 + BAND04_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA07_MEAN_L1T_LINE_SAMP = (4016.563, 3552.239) + BAND04_SCA07_LINE_NUM_COEF = (-2.684627e-02, 1.013814e+00, -2.155518e-01, 3.078673e-04, -1.049818e-05) + BAND04_SCA07_LINE_DEN_COEF = ( 7.783589e-08, -9.462054e-06, -1.661956e-09, 2.344565e-12) + BAND04_SCA07_SAMP_NUM_COEF = (-1.494840e-02, 2.214491e-01, 1.022904e+00, -3.577371e-04, 1.312718e-08) + BAND04_SCA07_SAMP_DEN_COEF = (-1.584076e-07, -1.116546e-06, -1.574482e-06, -3.666371e-12) + BAND04_SCA08_MEAN_HEIGHT = 2000.000 + BAND04_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA08_MEAN_L1T_LINE_SAMP = (3723.965, 4072.626) + BAND04_SCA08_LINE_NUM_COEF = (-4.338601e-02, 1.012751e+00, -2.206022e-01, -3.381261e-04, -8.944293e-06) + BAND04_SCA08_LINE_DEN_COEF = ( 6.390248e-08, -8.050614e-06, -4.513810e-10, 2.248970e-12) + BAND04_SCA08_SAMP_NUM_COEF = ( 2.491468e-02, 2.220097e-01, 1.025643e+00, 3.794097e-04, 7.497073e-09) + BAND04_SCA08_SAMP_DEN_COEF = ( 2.323848e-07, 7.247507e-07, -1.574707e-06, -3.735521e-12) + BAND04_SCA09_MEAN_HEIGHT = 2000.000 + BAND04_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA09_MEAN_L1T_LINE_SAMP = (4206.046, 4427.075) + BAND04_SCA09_LINE_NUM_COEF = (-6.011640e-02, 1.011522e+00, -2.261550e-01, 3.021169e-04, -6.550109e-06) + BAND04_SCA09_LINE_DEN_COEF = ( 4.162207e-08, -5.889527e-06, -1.417780e-09, 2.114693e-12) + BAND04_SCA09_SAMP_NUM_COEF = ( 7.294025e-02, 2.211202e-01, 1.021686e+00, 1.116265e-03, 1.769140e-08) + BAND04_SCA09_SAMP_DEN_COEF = ( 5.815189e-07, 2.300102e-06, -1.572675e-06, -3.808820e-12) + BAND04_SCA10_MEAN_HEIGHT = 2000.000 + BAND04_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA10_MEAN_L1T_LINE_SAMP = (3914.655, 4948.502) + BAND04_SCA10_LINE_NUM_COEF = (-6.022100e-02, 1.010800e+00, -2.296216e-01, -3.545143e-04, -8.464290e-06) + BAND04_SCA10_LINE_DEN_COEF = ( 5.901742e-08, -7.603683e-06, -4.540100e-10, 2.086606e-12) + BAND04_SCA10_SAMP_NUM_COEF = ( 8.710930e-02, 2.212183e-01, 1.022278e+00, 1.855021e-03, 1.209036e-08) + BAND04_SCA10_SAMP_DEN_COEF = ( 7.446061e-07, 3.089811e-06, -1.570122e-06, -3.875116e-12) + BAND04_SCA11_MEAN_HEIGHT = 2000.000 + BAND04_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA11_MEAN_L1T_LINE_SAMP = (4399.208, 5304.178) + BAND04_SCA11_LINE_NUM_COEF = (-6.537914e-02, 1.009211e+00, -2.368496e-01, 2.705531e-04, -8.386327e-06) + BAND04_SCA11_LINE_DEN_COEF = ( 5.897639e-08, -7.523783e-06, -1.470683e-09, 1.984489e-12) + BAND04_SCA11_SAMP_NUM_COEF = ( 1.159219e-01, 2.198510e-01, 1.016108e+00, 2.581354e-03, 2.224403e-08) + BAND04_SCA11_SAMP_DEN_COEF = ( 9.199926e-07, 3.862644e-06, -1.566567e-06, -3.963999e-12) + BAND04_SCA12_MEAN_HEIGHT = 2000.000 + BAND04_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA12_MEAN_L1T_LINE_SAMP = (4109.294, 5828.647) + BAND04_SCA12_LINE_NUM_COEF = (-6.875535e-02, 1.008844e+00, -2.386730e-01, -3.924654e-04, -9.566960e-06) + BAND04_SCA12_LINE_DEN_COEF = ( 6.947909e-08, -8.578048e-06, -3.070125e-10, 1.953248e-12) + BAND04_SCA12_SAMP_NUM_COEF = ( 1.487726e-01, 2.194279e-01, 1.014279e+00, 3.315086e-03, 1.667962e-08) + BAND04_SCA12_SAMP_DEN_COEF = ( 1.243369e-06, 5.393331e-06, -1.559727e-06, -3.996428e-12) + BAND04_SCA13_MEAN_HEIGHT = 2000.000 + BAND04_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA13_MEAN_L1T_LINE_SAMP = (4597.318, 6187.336) + BAND04_SCA13_LINE_NUM_COEF = (-7.301764e-02, 1.006935e+00, -2.473895e-01, 2.142106e-04, -9.540744e-06) + BAND04_SCA13_LINE_DEN_COEF = ( 7.082768e-08, -8.540315e-06, -1.424337e-09, 1.841919e-12) + BAND04_SCA13_SAMP_NUM_COEF = ( 1.925190e-01, 2.175916e-01, 1.005935e+00, 4.024703e-03, 2.674702e-08) + BAND04_SCA13_SAMP_DEN_COEF = ( 1.541908e-06, 6.735685e-06, -1.551519e-06, -4.069276e-12) + BAND04_SCA14_MEAN_HEIGHT = 2000.000 + BAND04_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA14_MEAN_L1T_LINE_SAMP = (4308.326, 6716.940) + BAND04_SCA14_LINE_NUM_COEF = (-1.041618e-01, 1.006899e+00, -2.476778e-01, -4.527016e-04, -5.642704e-06) + BAND04_SCA14_LINE_DEN_COEF = ( 2.891528e-08, -5.047807e-06, -5.355074e-10, 1.669251e-12) + BAND04_SCA14_SAMP_NUM_COEF = ( 2.186437e-01, 2.166809e-01, 1.001839e+00, 4.747206e-03, 2.121567e-08) + BAND04_SCA14_SAMP_DEN_COEF = ( 1.798240e-06, 7.956838e-06, -1.542205e-06, -4.091081e-12) +END_GROUP = RPC_BAND04 +GROUP = RPC_BAND05 + BAND05_NUMBER_OF_SCAS = 14 + BAND05_NUM_L1T_LINES = 7741 + BAND05_NUM_L1T_SAMPS = 7611 + BAND05_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND05_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND05_NUM_L1R_LINES = 7501 + BAND05_NUM_L1R_SAMPS = 494 + BAND05_PIXEL_SIZE = 30.000 + BAND05_START_TIME = 10.607209 + BAND05_LINE_TIME = 0.004235996 + BAND05_MEAN_HEIGHT = 2000.000 + BAND05_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND05_MEAN_L1T_LINE_SAMP = (3876.107, 3811.358) + BAND05_MEAN_SAT_VECTOR = (-0.000327277, -0.000121733, 0.996300100) + BAND05_SAT_X_NUM_COEF = ( 8.424346e-06, -9.962583e-08, -4.727027e-05, -4.211427e-10, -9.555771e-06, + 2.208908e-12, 9.737320e-12, 2.877341e-12, 4.488520e-16, 5.053321e-17) + BAND05_SAT_X_DEN_COEF = (-8.320785e-07, 0.000000e+00, -1.408717e-06, 6.719393e-07, 3.453665e-11, + 4.146184e-10, 9.632558e-10, -8.084102e-18, -5.127232e-19) + BAND05_SAT_Y_NUM_COEF = ( 8.963028e-05, 4.729705e-05, -9.947510e-08, -1.797567e-10, -4.458904e-05, + -2.118453e-14, -9.891468e-12, -2.824935e-11, -9.582318e-17, -1.761632e-17) + BAND05_SAT_Y_DEN_COEF = ( 7.685153e-08, -1.484903e-07, -1.410024e-06, 0.000000e+00, 3.071739e-11, + 5.165157e-10, 9.566893e-10, 1.846424e-16, 1.435700e-18) + BAND05_SAT_Z_NUM_COEF = ( 3.667922e-03, 1.357151e-09, -1.470873e-08, -1.038678e-08, -3.853703e-09, + -4.985781e-11, -4.601546e-10, -1.062079e-09, 2.348218e-18, 2.670503e-21) + BAND05_SAT_Z_DEN_COEF = (-3.882298e-06, 9.404643e-07, -2.833913e-06, 3.966833e-06, 6.768345e-11, + 6.004370e-10, 1.381707e-09, -2.304410e-17, 1.227512e-17) + BAND05_MEAN_SUN_VECTOR = ( 0.492708937, -0.201011622, 0.846575903) + BAND05_SUN_X_NUM_COEF = ( 1.766565e-05, -8.160087e-09, -3.863013e-06, -1.434763e-15, -2.508872e-07, + -1.845010e-13, -3.077899e-12, -5.384079e-12, 1.177295e-18, 2.478134e-18) + BAND05_SUN_X_DEN_COEF = ( 1.963438e-07, 0.000000e+00, -2.226744e-12, -1.891207e-07, -1.164223e-11, + -1.338038e-12, 7.605399e-12, -1.536300e-17, 9.334475e-19) + BAND05_SUN_Y_NUM_COEF = (-2.211425e-06, 4.009931e-06, 2.858895e-07, -2.723215e-14, 1.953540e-08, + 2.272954e-12, 1.061640e-11, -2.349088e-12, -9.748210e-18, -1.285072e-17) + BAND05_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -4.883660e-12, -1.730769e-07, 0.000000e+00, + 0.000000e+00, 2.335281e-11, 6.244824e-17, -5.765806e-17) + BAND05_SUN_Z_NUM_COEF = ( 7.274765e-05, 9.568649e-07, 2.315987e-06, -1.291210e-14, 1.504115e-07, + -1.221128e-11, -6.855194e-12, -9.461137e-12, -8.075543e-18, 1.189524e-17) + BAND05_SUN_Z_DEN_COEF = (-2.919938e-06, 0.000000e+00, -2.426800e-11, 5.088416e-07, -6.430968e-12, + -5.383545e-12, 6.467701e-12, -1.286955e-16, -1.236475e-17) + BAND05_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND05_SCA01_MEAN_HEIGHT = 2000.000 + BAND05_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA01_MEAN_L1T_LINE_SAMP = (3434.816, 908.813) + BAND05_SCA01_LINE_NUM_COEF = ( 9.412907e-03, 1.020573e+00, -1.843586e-01, 1.290576e-04, -8.573332e-06) + BAND05_SCA01_LINE_DEN_COEF = ( 6.042953e-08, -7.777839e-06, -1.258703e-09, 2.744596e-12) + BAND05_SCA01_SAMP_NUM_COEF = (-1.989698e-01, 2.167064e-01, 1.000009e+00, -4.715207e-03, -8.069315e-10) + BAND05_SCA01_SAMP_DEN_COEF = (-1.636112e-06, -7.929796e-06, -1.541853e-06, -3.082092e-12) + BAND05_SCA02_MEAN_HEIGHT = 2000.000 + BAND05_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA02_MEAN_L1T_LINE_SAMP = (3193.534, 1426.745) + BAND05_SCA02_LINE_NUM_COEF = ( 1.180602e-03, 1.018716e+00, -1.930607e-01, -3.751182e-04, -8.749456e-06) + BAND05_SCA02_LINE_DEN_COEF = ( 6.305347e-08, -7.921333e-06, -4.066848e-10, 2.667814e-12) + BAND05_SCA02_SAMP_NUM_COEF = (-1.633714e-01, 2.185938e-01, 1.008904e+00, -4.015677e-03, -5.366046e-09) + BAND05_SCA02_SAMP_DEN_COEF = (-1.310824e-06, -6.397928e-06, -1.552518e-06, -3.200629e-12) + BAND05_SCA03_MEAN_HEIGHT = 2000.000 + BAND05_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA03_MEAN_L1T_LINE_SAMP = (3617.722, 1799.993) + BAND05_SCA03_LINE_NUM_COEF = ( 2.066450e-03, 1.018393e+00, -1.944139e-01, 1.970211e-04, -1.047581e-05) + BAND05_SCA03_LINE_DEN_COEF = ( 7.574948e-08, -9.484119e-06, -1.441403e-09, 2.628435e-12) + BAND05_SCA03_SAMP_NUM_COEF = (-1.261192e-01, 2.192554e-01, 1.012123e+00, -3.285832e-03, 3.552889e-09) + BAND05_SCA03_SAMP_DEN_COEF = (-1.053520e-06, -5.243258e-06, -1.559856e-06, -3.285413e-12) + BAND05_SCA04_MEAN_HEIGHT = 2000.000 + BAND05_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA04_MEAN_L1T_LINE_SAMP = (3378.150, 2312.613) + BAND05_SCA04_LINE_NUM_COEF = (-7.320044e-03, 1.016729e+00, -2.022194e-01, -3.249095e-04, -1.033034e-05) + BAND05_SCA04_LINE_DEN_COEF = ( 7.604617e-08, -9.335185e-06, -3.911332e-10, 2.550880e-12) + BAND05_SCA04_SAMP_NUM_COEF = (-1.007277e-01, 2.206845e-01, 1.018894e+00, -2.567905e-03, -9.819977e-10) + BAND05_SCA04_SAMP_DEN_COEF = (-8.073542e-07, -4.076099e-06, -1.565819e-06, -3.396402e-12) + BAND05_SCA05_MEAN_HEIGHT = 2000.000 + BAND05_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA05_MEAN_L1T_LINE_SAMP = (3801.983, 2681.833) + BAND05_SCA05_LINE_NUM_COEF = (-4.602339e-03, 1.016092e+00, -2.050377e-01, 2.416823e-04, -1.229532e-05) + BAND05_SCA05_LINE_DEN_COEF = ( 9.226155e-08, -1.110674e-05, -1.614015e-09, 2.512329e-12) + BAND05_SCA05_SAMP_NUM_COEF = (-5.655913e-02, 2.208762e-01, 1.019940e+00, -1.829589e-03, 8.019076e-09) + BAND05_SCA05_SAMP_DEN_COEF = (-4.843741e-07, -2.617480e-06, -1.570745e-06, -3.479245e-12) + BAND05_SCA06_MEAN_HEIGHT = 2000.000 + BAND05_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA06_MEAN_L1T_LINE_SAMP = (3564.048, 3191.399) + BAND05_SCA06_LINE_NUM_COEF = (-3.625851e-02, 1.014750e+00, -2.113582e-01, -2.970548e-04, -7.243096e-06) + BAND05_SCA06_LINE_DEN_COEF = ( 4.912184e-08, -6.531700e-06, -6.214509e-10, 2.369828e-12) + BAND05_SCA06_SAMP_NUM_COEF = (-3.748251e-02, 2.218130e-01, 1.024428e+00, -1.098601e-03, 3.510362e-09) + BAND05_SCA06_SAMP_DEN_COEF = (-2.878972e-07, -1.679394e-06, -1.573292e-06, -3.574214e-12) + BAND05_SCA07_MEAN_HEIGHT = 2000.000 + BAND05_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA07_MEAN_L1T_LINE_SAMP = (3988.362, 3558.299) + BAND05_SCA07_LINE_NUM_COEF = (-2.669092e-02, 1.013812e+00, -2.155728e-01, 2.607619e-04, -1.056357e-05) + BAND05_SCA07_LINE_DEN_COEF = ( 7.842973e-08, -9.520815e-06, -1.569635e-09, 2.346111e-12) + BAND05_SCA07_SAMP_NUM_COEF = (-1.656452e-02, 2.214904e-01, 1.023094e+00, -3.578802e-04, 1.255139e-08) + BAND05_SCA07_SAMP_DEN_COEF = (-1.686591e-07, -1.161204e-06, -1.574469e-06, -3.666302e-12) + BAND05_SCA08_MEAN_HEIGHT = 2000.000 + BAND05_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA08_MEAN_L1T_LINE_SAMP = (3752.095, 4066.571) + BAND05_SCA08_LINE_NUM_COEF = (-3.838591e-02, 1.012749e+00, -2.206019e-01, -2.911397e-04, -9.970050e-06) + BAND05_SCA08_LINE_DEN_COEF = ( 7.333025e-08, -8.974447e-06, -4.751769e-10, 2.267908e-12) + BAND05_SCA08_SAMP_NUM_COEF = ( 3.079419e-02, 2.219661e-01, 1.025442e+00, 3.793882e-04, 8.073676e-09) + BAND05_SCA08_SAMP_DEN_COEF = ( 2.803629e-07, 9.437157e-07, -1.574620e-06, -3.733781e-12) + BAND05_SCA09_MEAN_HEIGHT = 2000.000 + BAND05_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA09_MEAN_L1T_LINE_SAMP = (4177.811, 4433.151) + BAND05_SCA09_LINE_NUM_COEF = (-6.090932e-02, 1.011542e+00, -2.260716e-01, 2.550334e-04, -6.418757e-06) + BAND05_SCA09_LINE_DEN_COEF = ( 4.036096e-08, -5.771348e-06, -1.351616e-09, 2.112791e-12) + BAND05_SCA09_SAMP_NUM_COEF = ( 7.463456e-02, 2.211608e-01, 1.021874e+00, 1.116403e-03, 1.711643e-08) + BAND05_SCA09_SAMP_DEN_COEF = ( 6.006491e-07, 2.391184e-06, -1.572577e-06, -3.806875e-12) + BAND05_SCA10_MEAN_HEIGHT = 2000.000 + BAND05_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA10_MEAN_L1T_LINE_SAMP = (3942.824, 4942.443) + BAND05_SCA10_LINE_NUM_COEF = (-5.876557e-02, 1.010789e+00, -2.296647e-01, -3.075238e-04, -8.727329e-06) + BAND05_SCA10_LINE_DEN_COEF = ( 6.154915e-08, -7.840165e-06, -5.152924e-10, 2.092628e-12) + BAND05_SCA10_SAMP_NUM_COEF = ( 8.773396e-02, 2.211726e-01, 1.022067e+00, 1.854701e-03, 1.266476e-08) + BAND05_SCA10_SAMP_DEN_COEF = ( 7.459142e-07, 3.093172e-06, -1.570110e-06, -3.874404e-12) + BAND05_SCA11_MEAN_HEIGHT = 2000.000 + BAND05_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA11_MEAN_L1T_LINE_SAMP = (4370.946, 5310.267) + BAND05_SCA11_LINE_NUM_COEF = (-6.334703e-02, 1.009235e+00, -2.367449e-01, 2.235743e-04, -8.811658e-06) + BAND05_SCA11_LINE_DEN_COEF = ( 6.313019e-08, -7.905524e-06, -1.412875e-09, 1.994694e-12) + BAND05_SCA11_SAMP_NUM_COEF = ( 1.133244e-01, 2.198941e-01, 1.016306e+00, 2.581813e-03, 2.167289e-08) + BAND05_SCA11_SAMP_DEN_COEF = ( 9.013638e-07, 3.779233e-06, -1.566781e-06, -3.965840e-12) + BAND05_SCA12_MEAN_HEIGHT = 2000.000 + BAND05_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA12_MEAN_L1T_LINE_SAMP = (4137.521, 5822.581) + BAND05_SCA12_LINE_NUM_COEF = (-6.994965e-02, 1.008816e+00, -2.387931e-01, -3.456677e-04, -9.306182e-06) + BAND05_SCA12_LINE_DEN_COEF = ( 6.693660e-08, -8.344037e-06, -4.107145e-10, 1.946531e-12) + BAND05_SCA12_SAMP_NUM_COEF = ( 1.513859e-01, 2.193901e-01, 1.014105e+00, 3.314581e-03, 1.725021e-08) + BAND05_SCA12_SAMP_DEN_COEF = ( 1.262061e-06, 5.477052e-06, -1.559448e-06, -3.994322e-12) + BAND05_SCA13_MEAN_HEIGHT = 2000.000 + BAND05_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA13_MEAN_L1T_LINE_SAMP = (4568.981, 6193.450) + BAND05_SCA13_LINE_NUM_COEF = (-7.410650e-02, 1.006963e+00, -2.472697e-01, 1.673022e-04, -9.372247e-06) + BAND05_SCA13_LINE_DEN_COEF = ( 6.904718e-08, -8.389519e-06, -1.332521e-09, 1.836524e-12) + BAND05_SCA13_SAMP_NUM_COEF = ( 1.932613e-01, 2.176322e-01, 1.006121e+00, 4.025416e-03, 2.618086e-08) + BAND05_SCA13_SAMP_DEN_COEF = ( 1.552561e-06, 6.787620e-06, -1.551313e-06, -4.069497e-12) + BAND05_SCA14_MEAN_HEIGHT = 2000.000 + BAND05_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA14_MEAN_L1T_LINE_SAMP = (4336.708, 6710.850) + BAND05_SCA14_LINE_NUM_COEF = (-1.056680e-01, 1.006863e+00, -2.478391e-01, -4.059901e-04, -5.343436e-06) + BAND05_SCA14_LINE_DEN_COEF = ( 2.586817e-08, -4.779822e-06, -6.097689e-10, 1.660950e-12) + BAND05_SCA14_SAMP_NUM_COEF = ( 2.189270e-01, 2.166303e-01, 1.001606e+00, 4.746177e-03, 2.178010e-08) + BAND05_SCA14_SAMP_DEN_COEF = ( 1.796395e-06, 7.945620e-06, -1.542253e-06, -4.089836e-12) +END_GROUP = RPC_BAND05 +GROUP = RPC_BAND06 + BAND06_NUMBER_OF_SCAS = 14 + BAND06_NUM_L1T_LINES = 7741 + BAND06_NUM_L1T_SAMPS = 7611 + BAND06_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND06_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND06_NUM_L1R_LINES = 7501 + BAND06_NUM_L1R_SAMPS = 494 + BAND06_PIXEL_SIZE = 30.000 + BAND06_START_TIME = 10.607209 + BAND06_LINE_TIME = 0.004235996 + BAND06_MEAN_HEIGHT = 2000.000 + BAND06_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND06_MEAN_L1T_LINE_SAMP = (3876.764, 3811.228) + BAND06_MEAN_SAT_VECTOR = (-0.000320226, -0.000090970, 0.996233751) + BAND06_SAT_X_NUM_COEF = ( 7.217901e-06, -9.975141e-08, -4.726744e-05, -4.125692e-10, -9.555064e-06, + 2.237447e-12, 9.864955e-12, 2.855692e-12, 4.470566e-16, 5.053193e-17) + BAND06_SAT_X_DEN_COEF = (-8.350264e-07, 0.000000e+00, -1.408707e-06, 6.718275e-07, 3.456115e-11, + 4.146353e-10, 9.633549e-10, -6.993075e-18, -5.167139e-19) + BAND06_SAT_Y_NUM_COEF = ( 9.023523e-05, 4.729436e-05, -9.959849e-08, -1.364483e-10, -4.458761e-05, + -3.092901e-14, -9.918117e-12, -2.828757e-11, -2.660714e-17, -1.742549e-17) + BAND06_SAT_Y_DEN_COEF = ( 7.608270e-08, -1.477898e-07, -1.411258e-06, 0.000000e+00, 3.184255e-11, + 4.855481e-10, 9.596511e-10, 7.660081e-17, 4.836335e-18) + BAND06_SAT_Z_NUM_COEF = ( 3.667662e-03, -1.031766e-10, -1.445730e-08, -1.036445e-08, -2.427087e-09, + -4.988885e-11, -4.600746e-10, -1.061981e-09, 2.243861e-18, -2.382209e-20) + BAND06_SAT_Z_DEN_COEF = (-3.867450e-06, 9.439061e-07, -2.833954e-06, 3.953501e-06, 6.890447e-11, + 5.967981e-10, 1.366456e-09, -8.177979e-18, 1.441824e-17) + BAND06_MEAN_SUN_VECTOR = ( 0.492709436, -0.201009378, 0.846575671) + BAND06_SUN_X_NUM_COEF = ( 1.766174e-05, -8.159862e-09, -3.863013e-06, -6.308474e-15, -2.508869e-07, + -1.844437e-13, -3.077275e-12, -5.384106e-12, 1.153588e-18, 2.474420e-18) + BAND06_SUN_X_DEN_COEF = ( 1.961769e-07, 0.000000e+00, -2.019396e-12, -1.891307e-07, -1.165185e-11, + -1.342808e-12, 7.622713e-12, -1.553951e-17, 8.956365e-19) + BAND06_SUN_Y_NUM_COEF = (-1.842570e-06, 4.009934e-06, 2.858940e-07, -3.728890e-14, 1.952979e-08, + 2.276863e-12, 1.062277e-11, -2.353936e-12, -9.248606e-18, -1.286198e-17) + BAND06_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -7.451072e-12, -1.709440e-07, 0.000000e+00, + 0.000000e+00, 2.322812e-11, 2.086063e-16, -1.725521e-16) + BAND06_SUN_Z_NUM_COEF = ( 7.331911e-05, 9.568512e-07, 2.315991e-06, -2.343815e-14, 1.504166e-07, + -1.218269e-11, -6.791946e-12, -9.462790e-12, -8.294774e-18, 1.171954e-17) + BAND06_SUN_Z_DEN_COEF = (-2.892001e-06, 0.000000e+00, -2.447536e-11, 5.085872e-07, -6.343161e-12, + -5.417420e-12, 6.520393e-12, -2.489761e-16, -6.141062e-18) + BAND06_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND06_SCA01_MEAN_HEIGHT = 2000.000 + BAND06_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA01_MEAN_L1T_LINE_SAMP = (3561.743, 881.641) + BAND06_SCA01_LINE_NUM_COEF = ( 1.124398e-02, 1.020728e+00, -1.835936e-01, 3.376554e-04, -8.871309e-06) + BAND06_SCA01_LINE_DEN_COEF = ( 6.246385e-08, -8.050207e-06, -1.624959e-09, 2.739391e-12) + BAND06_SCA01_SAMP_NUM_COEF = (-2.008586e-01, 2.165012e-01, 9.990592e-01, -4.710200e-03, 1.735354e-09) + BAND06_SCA01_SAMP_DEN_COEF = (-1.668329e-06, -8.090637e-06, -1.541097e-06, -3.091958e-12) + BAND06_SCA02_MEAN_HEIGHT = 2000.000 + BAND06_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA02_MEAN_L1T_LINE_SAMP = (3068.246, 1453.642) + BAND06_SCA02_LINE_NUM_COEF = ( 1.893949e-03, 1.018575e+00, -1.937598e-01, -5.817838e-04, -9.043476e-06) + BAND06_SCA02_LINE_DEN_COEF = ( 6.566642e-08, -8.185756e-06, -2.353649e-11, 2.675824e-12) + BAND06_SCA02_SAMP_NUM_COEF = (-1.614824e-01, 2.187564e-01, 1.009658e+00, -4.019138e-03, -7.905769e-09) + BAND06_SCA02_SAMP_DEN_COEF = (-1.277613e-06, -6.232655e-06, -1.553197e-06, -3.195881e-12) + BAND06_SCA03_MEAN_HEIGHT = 2000.000 + BAND06_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA03_MEAN_L1T_LINE_SAMP = (3744.005, 1772.929) + BAND06_SCA03_LINE_NUM_COEF = ( 4.394501e-03, 1.018479e+00, -1.939708e-01, 4.066084e-04, -1.087286e-05) + BAND06_SCA03_LINE_DEN_COEF = ( 7.878954e-08, -9.845252e-06, -1.897558e-09, 2.625261e-12) + BAND06_SCA03_SAMP_NUM_COEF = (-1.210138e-01, 2.190589e-01, 1.011215e+00, -3.282414e-03, 6.109172e-09) + BAND06_SCA03_SAMP_DEN_COEF = (-1.025736e-06, -5.127104e-06, -1.560230e-06, -3.292398e-12) + BAND06_SCA04_MEAN_HEIGHT = 2000.000 + BAND06_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA04_MEAN_L1T_LINE_SAMP = (3253.453, 2339.561) + BAND06_SCA04_LINE_NUM_COEF = (-7.019549e-03, 1.016685e+00, -2.024726e-01, -5.327029e-04, -1.054103e-05) + BAND06_SCA04_LINE_DEN_COEF = ( 7.791603e-08, -9.524469e-06, 4.554974e-11, 2.560773e-12) + BAND06_SCA04_SAMP_NUM_COEF = (-1.005126e-01, 2.208394e-01, 1.019612e+00, -2.569865e-03, -3.531165e-09) + BAND06_SCA04_SAMP_DEN_COEF = (-7.880447e-07, -3.975020e-06, -1.566098e-06, -3.389263e-12) + BAND06_SCA05_MEAN_HEIGHT = 2000.000 + BAND06_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA05_MEAN_L1T_LINE_SAMP = (3927.907, 2654.714) + BAND06_SCA05_LINE_NUM_COEF = (-7.755974e-03, 1.016155e+00, -2.047005e-01, 4.514956e-04, -1.144354e-05) + BAND06_SCA05_LINE_DEN_COEF = ( 8.483650e-08, -1.033859e-05, -2.038692e-09, 2.497582e-12) + BAND06_SCA05_SAMP_NUM_COEF = (-5.051705e-02, 2.206543e-01, 1.018915e+00, -1.827497e-03, 1.058254e-08) + BAND06_SCA05_SAMP_DEN_COEF = (-4.486754e-07, -2.464689e-06, -1.571012e-06, -3.480438e-12) + BAND06_SCA06_MEAN_HEIGHT = 2000.000 + BAND06_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA06_MEAN_L1T_LINE_SAMP = (3439.571, 3218.159) + BAND06_SCA06_LINE_NUM_COEF = (-3.629731e-02, 1.014693e+00, -2.116622e-01, -5.047038e-04, -7.368481e-06) + BAND06_SCA06_LINE_DEN_COEF = ( 5.030680e-08, -6.643770e-06, -3.180958e-10, 2.373233e-12) + BAND06_SCA06_SAMP_NUM_COEF = (-3.185092e-02, 2.219812e-01, 1.025206e+00, -1.099799e-03, 9.551244e-10) + BAND06_SCA06_SAMP_DEN_COEF = (-2.200606e-07, -1.354198e-06, -1.573667e-06, -3.573388e-12) + BAND06_SCA07_MEAN_HEIGHT = 2000.000 + BAND06_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA07_MEAN_L1T_LINE_SAMP = (4114.226, 3531.293) + BAND06_SCA07_LINE_NUM_COEF = (-3.663581e-02, 1.013816e+00, -2.155090e-01, 4.710223e-04, -8.280862e-06) + BAND06_SCA07_LINE_DEN_COEF = ( 5.791549e-08, -7.463753e-06, -1.791978e-09, 2.306171e-12) + BAND06_SCA07_SAMP_NUM_COEF = (-1.326413e-02, 2.212799e-01, 1.022123e+00, -3.571292e-04, 1.511782e-08) + BAND06_SCA07_SAMP_DEN_COEF = (-1.574543e-07, -1.121473e-06, -1.574475e-06, -3.669209e-12) + BAND06_SCA08_MEAN_HEIGHT = 2000.000 + BAND06_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA08_MEAN_L1T_LINE_SAMP = (3627.549, 4093.375) + BAND06_SCA08_LINE_NUM_COEF = (-4.466794e-02, 1.012770e+00, -2.205452e-01, -4.991989e-04, -8.781464e-06) + BAND06_SCA08_LINE_DEN_COEF = ( 6.237730e-08, -7.903599e-06, -1.886317e-10, 2.247736e-12) + BAND06_SCA08_SAMP_NUM_COEF = ( 3.014467e-02, 2.221319e-01, 1.026208e+00, 3.793897e-04, 5.518237e-09) + BAND06_SCA08_SAMP_DEN_COEF = ( 2.929682e-07, 1.013835e-06, -1.574621e-06, -3.733424e-12) + BAND06_SCA09_MEAN_HEIGHT = 2000.000 + BAND06_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA09_MEAN_L1T_LINE_SAMP = (4303.609, 4406.015) + BAND06_SCA09_LINE_NUM_COEF = (-6.194036e-02, 1.011490e+00, -2.262680e-01, 4.650340e-04, -6.071405e-06) + BAND06_SCA09_LINE_DEN_COEF = ( 3.714799e-08, -5.459293e-06, -1.581611e-09, 2.104941e-12) + BAND06_SCA09_SAMP_NUM_COEF = ( 7.261582e-02, 2.209446e-01, 1.020877e+00, 1.115495e-03, 1.967323e-08) + BAND06_SCA09_SAMP_DEN_COEF = ( 5.642380e-07, 2.210954e-06, -1.572766e-06, -3.809249e-12) + BAND06_SCA10_MEAN_HEIGHT = 2000.000 + BAND06_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA10_MEAN_L1T_LINE_SAMP = (3818.107, 4969.351) + BAND06_SCA10_LINE_NUM_COEF = (-6.270759e-02, 1.010863e+00, -2.293594e-01, -5.154074e-04, -8.069270e-06) + BAND06_SCA10_LINE_DEN_COEF = ( 5.514726e-08, -7.248582e-06, -2.301529e-10, 2.078797e-12) + BAND06_SCA10_SAMP_NUM_COEF = ( 8.668461e-02, 2.213457e-01, 1.022865e+00, 1.856005e-03, 1.011851e-08) + BAND06_SCA10_SAMP_DEN_COEF = ( 7.552291e-07, 3.148098e-06, -1.570038e-06, -3.875116e-12) + BAND06_SCA11_MEAN_HEIGHT = 2000.000 + BAND06_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA11_MEAN_L1T_LINE_SAMP = (4497.242, 5283.158) + BAND06_SCA11_LINE_NUM_COEF = (-6.426352e-02, 1.009132e+00, -2.371850e-01, 4.335169e-04, -8.494048e-06) + BAND06_SCA11_LINE_DEN_COEF = ( 6.015890e-08, -7.620385e-06, -1.743799e-09, 1.987126e-12) + BAND06_SCA11_SAMP_NUM_COEF = ( 1.139974e-01, 2.196764e-01, 1.015304e+00, 2.579648e-03, 2.422079e-08) + BAND06_SCA11_SAMP_DEN_COEF = ( 8.885610e-07, 3.708054e-06, -1.566953e-06, -3.966983e-12) + BAND06_SCA12_MEAN_HEIGHT = 2000.000 + BAND06_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA12_MEAN_L1T_LINE_SAMP = (4012.431, 5849.339) + BAND06_SCA12_LINE_NUM_COEF = (-7.205970e-02, 1.008913e+00, -2.383794e-01, -5.533796e-04, -9.036669e-06) + BAND06_SCA12_LINE_DEN_COEF = ( 6.410025e-08, -8.102384e-06, -6.641260e-11, 1.937378e-12) + BAND06_SCA12_SAMP_NUM_COEF = ( 1.529666e-01, 2.195567e-01, 1.014872e+00, 3.316594e-03, 1.471985e-08) + BAND06_SCA12_SAMP_DEN_COEF = ( 1.294588e-06, 5.639286e-06, -1.558945e-06, -3.997677e-12) + BAND06_SCA13_MEAN_HEIGHT = 2000.000 + BAND06_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA13_MEAN_L1T_LINE_SAMP = (4695.520, 6166.170) + BAND06_SCA13_LINE_NUM_COEF = (-7.266971e-02, 1.006813e+00, -2.479266e-01, 3.762829e-04, -9.494187e-06) + BAND06_SCA13_LINE_DEN_COEF = ( 7.055949e-08, -8.498119e-06, -1.719420e-09, 1.841352e-12) + BAND06_SCA13_SAMP_NUM_COEF = ( 1.977716e-01, 2.174207e-01, 1.005149e+00, 4.021699e-03, 2.870338e-08) + BAND06_SCA13_SAMP_DEN_COEF = ( 1.572813e-06, 6.869258e-06, -1.550980e-06, -4.062649e-12) + BAND06_SCA14_MEAN_HEIGHT = 2000.000 + BAND06_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA14_MEAN_L1T_LINE_SAMP = (4211.088, 6737.851) + BAND06_SCA14_LINE_NUM_COEF = (-1.129208e-01, 1.007032e+00, -2.470920e-01, -6.125582e-04, -4.149213e-06) + BAND06_SCA14_LINE_DEN_COEF = ( 1.342947e-08, -3.710645e-06, -5.372059e-10, 1.622788e-12) + BAND06_SCA14_SAMP_NUM_COEF = ( 2.220577e-01, 2.168073e-01, 1.002420e+00, 4.749776e-03, 1.927574e-08) + BAND06_SCA14_SAMP_DEN_COEF = ( 1.842206e-06, 8.169330e-06, -1.541219e-06, -4.092043e-12) +END_GROUP = RPC_BAND06 +GROUP = RPC_BAND07 + BAND07_NUMBER_OF_SCAS = 14 + BAND07_NUM_L1T_LINES = 7741 + BAND07_NUM_L1T_SAMPS = 7611 + BAND07_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND07_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND07_NUM_L1R_LINES = 7501 + BAND07_NUM_L1R_SAMPS = 494 + BAND07_PIXEL_SIZE = 30.000 + BAND07_START_TIME = 10.607209 + BAND07_LINE_TIME = 0.004235996 + BAND07_MEAN_HEIGHT = 2000.000 + BAND07_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND07_MEAN_L1T_LINE_SAMP = (3876.739, 3811.234) + BAND07_MEAN_SAT_VECTOR = (-0.000320716, -0.000092125, 0.996251824) + BAND07_SAT_X_NUM_COEF = ( 7.515172e-06, -9.973458e-08, -4.726821e-05, -4.129360e-10, -9.555241e-06, + 2.235184e-12, 9.854837e-12, 2.858547e-12, 4.472538e-16, 5.053232e-17) + BAND07_SAT_X_DEN_COEF = (-8.346446e-07, 0.000000e+00, -1.408709e-06, 6.717079e-07, 3.456105e-11, + 4.146304e-10, 9.633315e-10, -7.264000e-18, -5.162135e-19) + BAND07_SAT_Y_NUM_COEF = ( 9.010706e-05, 4.729504e-05, -9.957321e-08, -1.380273e-10, -4.458800e-05, + -2.915337e-14, -9.914498e-12, -2.828398e-11, -4.355838e-17, -1.747471e-17) + BAND07_SAT_Y_DEN_COEF = ( 7.622451e-08, -1.478919e-07, -1.411002e-06, 0.000000e+00, 3.139884e-11, + 4.927449e-10, 9.586945e-10, 9.857131e-17, 5.091396e-18) + BAND07_SAT_Z_NUM_COEF = ( 3.667757e-03, -4.874597e-11, -1.446548e-08, -1.037060e-08, -2.479850e-09, + -4.988089e-11, -4.600959e-10, -1.062006e-09, 2.275371e-18, -1.681737e-20) + BAND07_SAT_Z_DEN_COEF = (-3.870461e-06, 9.433161e-07, -2.833945e-06, 3.956223e-06, 6.862291e-11, + 5.978879e-10, 1.370081e-09, -1.390708e-17, 1.390142e-17) + BAND07_MEAN_SUN_VECTOR = ( 0.492709415, -0.201009399, 0.846575812) + BAND07_SUN_X_NUM_COEF = ( 1.766297e-05, -8.159902e-09, -3.863013e-06, -4.977804e-15, -2.508869e-07, + -1.844509e-13, -3.077356e-12, -5.384103e-12, 1.159322e-18, 2.475221e-18) + BAND07_SUN_X_DEN_COEF = ( 1.961972e-07, 0.000000e+00, -2.065163e-12, -1.891294e-07, -1.164966e-11, + -1.341271e-12, 7.618865e-12, -1.549840e-17, 9.045196e-19) + BAND07_SUN_Y_NUM_COEF = (-1.926135e-06, 4.009934e-06, 2.858944e-07, -3.594461e-14, 1.953079e-08, + 2.275871e-12, 1.062102e-11, -2.352853e-12, -9.362676e-18, -1.285960e-17) + BAND07_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -6.769790e-12, -1.714920e-07, 0.000000e+00, + 0.000000e+00, 2.325720e-11, 1.701085e-16, -1.425282e-16) + BAND07_SUN_Z_NUM_COEF = ( 7.316346e-05, 9.568520e-07, 2.315991e-06, -2.072281e-14, 1.504153e-07, + -1.219031e-11, -6.808822e-12, -9.462360e-12, -8.252731e-18, 1.176730e-17) + BAND07_SUN_Z_DEN_COEF = (-2.899466e-06, 0.000000e+00, -2.445932e-11, 5.086633e-07, -6.366652e-12, + -5.415072e-12, 6.510792e-12, -2.163371e-16, -7.832093e-18) + BAND07_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND07_SCA01_MEAN_HEIGHT = 2000.000 + BAND07_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA01_MEAN_L1T_LINE_SAMP = (3533.311, 887.733) + BAND07_SCA01_LINE_NUM_COEF = ( 1.282081e-02, 1.020693e+00, -1.837650e-01, 2.909211e-04, -9.278945e-06) + BAND07_SCA01_LINE_DEN_COEF = ( 6.564895e-08, -8.419706e-06, -1.567413e-09, 2.743101e-12) + BAND07_SCA01_SAMP_NUM_COEF = (-2.019450e-01, 2.165458e-01, 9.992658e-01, -4.711279e-03, 1.166302e-09) + BAND07_SCA01_SAMP_DEN_COEF = (-1.674163e-06, -8.114829e-06, -1.540982e-06, -3.089845e-12) + BAND07_SCA02_MEAN_HEIGHT = 2000.000 + BAND07_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA02_MEAN_L1T_LINE_SAMP = (3096.549, 1447.521) + BAND07_SCA02_LINE_NUM_COEF = ( 4.189865e-03, 1.018611e+00, -1.935838e-01, -5.351616e-04, -9.547032e-06) + BAND07_SCA02_LINE_DEN_COEF = ( 6.967211e-08, -8.642239e-06, -5.327775e-11, 2.678813e-12) + BAND07_SCA02_SAMP_NUM_COEF = (-1.639351e-01, 2.187210e-01, 1.009494e+00, -4.018448e-03, -7.331758e-09) + BAND07_SCA02_SAMP_DEN_COEF = (-1.302824e-06, -6.351723e-06, -1.552717e-06, -3.196044e-12) + BAND07_SCA03_MEAN_HEIGHT = 2000.000 + BAND07_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA03_MEAN_L1T_LINE_SAMP = (3715.707, 1779.005) + BAND07_SCA03_LINE_NUM_COEF = ( 3.479740e-03, 1.018448e+00, -1.941221e-01, 3.598100e-04, -1.068964e-05) + BAND07_SCA03_LINE_DEN_COEF = ( 7.736974e-08, -9.678868e-06, -1.786347e-09, 2.624344e-12) + BAND07_SCA03_SAMP_NUM_COEF = (-1.243599e-01, 2.191009e-01, 1.011409e+00, -3.283127e-03, 5.536726e-09) + BAND07_SCA03_SAMP_DEN_COEF = (-1.051217e-06, -5.242014e-06, -1.559857e-06, -3.292328e-12) + BAND07_SCA04_MEAN_HEIGHT = 2000.000 + BAND07_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA04_MEAN_L1T_LINE_SAMP = (3281.638, 2333.485) + BAND07_SCA04_LINE_NUM_COEF = (-5.793976e-03, 1.016702e+00, -2.023822e-01, -4.858273e-04, -1.078736e-05) + BAND07_SCA04_LINE_DEN_COEF = ( 7.995917e-08, -9.747475e-06, -2.695031e-11, 2.562341e-12) + BAND07_SCA04_SAMP_NUM_COEF = (-9.700031e-02, 2.207942e-01, 1.019402e+00, -2.569284e-03, -2.954533e-09) + BAND07_SCA04_SAMP_DEN_COEF = (-7.609810e-07, -3.852763e-06, -1.566400e-06, -3.390699e-12) + BAND07_SCA05_MEAN_HEIGHT = 2000.000 + BAND07_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA05_MEAN_L1T_LINE_SAMP = (3899.693, 2660.776) + BAND07_SCA05_LINE_NUM_COEF = (-7.597897e-03, 1.016130e+00, -2.048242e-01, 4.045776e-04, -1.150866e-05) + BAND07_SCA05_LINE_DEN_COEF = ( 8.544789e-08, -1.039700e-05, -1.939910e-09, 2.498537e-12) + BAND07_SCA05_SAMP_NUM_COEF = (-5.438447e-02, 2.207029e-01, 1.019140e+00, -1.827974e-03, 1.000858e-08) + BAND07_SCA05_SAMP_DEN_COEF = (-4.788221e-07, -2.601195e-06, -1.570768e-06, -3.482104e-12) + BAND07_SCA06_MEAN_HEIGHT = 2000.000 + BAND07_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA06_MEAN_L1T_LINE_SAMP = (3467.680, 3212.094) + BAND07_SCA06_LINE_NUM_COEF = (-3.662084e-02, 1.014702e+00, -2.116127e-01, -4.577845e-04, -7.266698e-06) + BAND07_SCA06_LINE_DEN_COEF = ( 4.939695e-08, -6.552153e-06, -3.939758e-10, 2.371076e-12) + BAND07_SCA06_SAMP_NUM_COEF = (-3.309875e-02, 2.219473e-01, 1.025049e+00, -1.099584e-03, 1.532483e-09) + BAND07_SCA06_SAMP_DEN_COEF = (-2.351857e-07, -1.426739e-06, -1.573583e-06, -3.573727e-12) + BAND07_SCA07_MEAN_HEIGHT = 2000.000 + BAND07_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA07_MEAN_L1T_LINE_SAMP = (4086.076, 3537.350) + BAND07_SCA07_LINE_NUM_COEF = (-3.346447e-02, 1.013811e+00, -2.155412e-01, 4.239945e-04, -8.993585e-06) + BAND07_SCA07_LINE_DEN_COEF = ( 6.432501e-08, -8.106067e-06, -1.774786e-09, 2.318058e-12) + BAND07_SCA07_SAMP_NUM_COEF = (-1.588755e-02, 2.213255e-01, 1.022333e+00, -3.572644e-04, 1.454418e-08) + BAND07_SCA07_SAMP_DEN_COEF = (-1.766223e-07, -1.207322e-06, -1.574446e-06, -3.670016e-12) + BAND07_SCA08_MEAN_HEIGHT = 2000.000 + BAND07_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA08_MEAN_L1T_LINE_SAMP = (3655.694, 4087.316) + BAND07_SCA08_LINE_NUM_COEF = (-4.404969e-02, 1.012769e+00, -2.205401e-01, -4.521717e-04, -8.881557e-06) + BAND07_SCA08_LINE_DEN_COEF = ( 6.329724e-08, -7.993884e-06, -2.597294e-10, 2.249396e-12) + BAND07_SCA08_SAMP_NUM_COEF = ( 2.929041e-02, 2.220968e-01, 1.026046e+00, 3.793921e-04, 6.096114e-09) + BAND07_SCA08_SAMP_DEN_COEF = ( 2.812389e-07, 9.569619e-07, -1.574636e-06, -3.733381e-12) + BAND07_SCA09_MEAN_HEIGHT = 2000.000 + BAND07_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA09_MEAN_L1T_LINE_SAMP = (4275.417, 4412.088) + BAND07_SCA09_LINE_NUM_COEF = (-6.278733e-02, 1.011497e+00, -2.262452e-01, 4.179556e-04, -5.927698e-06) + BAND07_SCA09_LINE_DEN_COEF = ( 3.578656e-08, -5.329927e-06, -1.514649e-09, 2.101900e-12) + BAND07_SCA09_SAMP_NUM_COEF = ( 7.533226e-02, 2.209879e-01, 1.021076e+00, 1.115656e-03, 1.910022e-08) + BAND07_SCA09_SAMP_DEN_COEF = ( 5.923594e-07, 2.343577e-06, -1.572622e-06, -3.807334e-12) + BAND07_SCA10_MEAN_HEIGHT = 2000.000 + BAND07_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA10_MEAN_L1T_LINE_SAMP = (3846.275, 4963.301) + BAND07_SCA10_LINE_NUM_COEF = (-6.196837e-02, 1.010844e+00, -2.294368e-01, -4.684797e-04, -8.187578e-06) + BAND07_SCA10_LINE_DEN_COEF = ( 5.630491e-08, -7.354936e-06, -2.926343e-10, 2.081128e-12) + BAND07_SCA10_SAMP_NUM_COEF = ( 8.776941e-02, 2.213086e-01, 1.022694e+00, 1.855768e-03, 1.069405e-08) + BAND07_SCA10_SAMP_DEN_COEF = ( 7.606185e-07, 3.170321e-06, -1.569991e-06, -3.874713e-12) + BAND07_SCA11_MEAN_HEIGHT = 2000.000 + BAND07_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA11_MEAN_L1T_LINE_SAMP = (4468.992, 5289.251) + BAND07_SCA11_LINE_NUM_COEF = (-6.450821e-02, 1.009149e+00, -2.371152e-01, 3.864736e-04, -8.476684e-06) + BAND07_SCA11_LINE_DEN_COEF = ( 5.996217e-08, -7.604778e-06, -1.665275e-09, 1.986244e-12) + BAND07_SCA11_SAMP_NUM_COEF = ( 1.134223e-01, 2.197197e-01, 1.015503e+00, 2.580115e-03, 2.365074e-08) + BAND07_SCA11_SAMP_DEN_COEF = ( 8.876776e-07, 3.706658e-06, -1.566958e-06, -3.967618e-12) + BAND07_SCA12_MEAN_HEIGHT = 2000.000 + BAND07_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA12_MEAN_L1T_LINE_SAMP = (4040.632, 5843.290) + BAND07_SCA12_LINE_NUM_COEF = (-7.130535e-02, 1.008884e+00, -2.385050e-01, -5.066517e-04, -9.149385e-06) + BAND07_SCA12_LINE_DEN_COEF = ( 6.526690e-08, -8.203418e-06, -1.369030e-10, 1.940278e-12) + BAND07_SCA12_SAMP_NUM_COEF = ( 1.527721e-01, 2.195123e-01, 1.014667e+00, 3.316009e-03, 1.529014e-08) + BAND07_SCA12_SAMP_DEN_COEF = ( 1.288631e-06, 5.609075e-06, -1.559038e-06, -3.997364e-12) + BAND07_SCA13_MEAN_HEIGHT = 2000.000 + BAND07_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA13_MEAN_L1T_LINE_SAMP = (4667.211, 6172.291) + BAND07_SCA13_LINE_NUM_COEF = (-7.268257e-02, 1.006841e+00, -2.478046e-01, 3.294218e-04, -9.521834e-06) + BAND07_SCA13_LINE_DEN_COEF = ( 7.079666e-08, -8.522959e-06, -1.635286e-09, 1.841365e-12) + BAND07_SCA13_SAMP_NUM_COEF = ( 1.977402e-01, 2.174630e-01, 1.005343e+00, 4.022462e-03, 2.813882e-08) + BAND07_SCA13_SAMP_DEN_COEF = ( 1.576742e-06, 6.890106e-06, -1.550898e-06, -4.063633e-12) + BAND07_SCA14_MEAN_HEIGHT = 2000.000 + BAND07_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA14_MEAN_L1T_LINE_SAMP = (4239.467, 6731.771) + BAND07_SCA14_LINE_NUM_COEF = (-1.135126e-01, 1.006988e+00, -2.472856e-01, -5.660104e-04, -4.015948e-06) + BAND07_SCA14_LINE_DEN_COEF = ( 1.209226e-08, -3.591289e-06, -5.890468e-10, 1.619007e-12) + BAND07_SCA14_SAMP_NUM_COEF = ( 2.232990e-01, 2.167654e-01, 1.002228e+00, 4.748947e-03, 1.984168e-08) + BAND07_SCA14_SAMP_DEN_COEF = ( 1.848702e-06, 8.196675e-06, -1.541083e-06, -4.090443e-12) +END_GROUP = RPC_BAND07 +GROUP = RPC_BAND08 + BAND08_NUMBER_OF_SCAS = 14 + BAND08_NUM_L1T_LINES = 15481 + BAND08_NUM_L1T_SAMPS = 15221 + BAND08_L1T_IMAGE_CORNER_LINES = ( 8.170414, 2673.742554, 15469.653311, 12779.349634) + BAND08_L1T_IMAGE_CORNER_SAMPS = ( 2769.363955, 15211.065563, 12442.949693, 1.422150) + BAND08_NUM_L1R_LINES = 15002 + BAND08_NUM_L1R_SAMPS = 988 + BAND08_PIXEL_SIZE = 15.000 + BAND08_START_TIME = 10.607209 + BAND08_LINE_TIME = 0.002117998 + BAND08_MEAN_HEIGHT = 2000.000 + BAND08_MEAN_L1R_LINE_SAMP = (7528.774, 6937.357) + BAND08_MEAN_L1T_LINE_SAMP = (7754.357, 7622.683) + BAND08_MEAN_SAT_VECTOR = (-0.000331926, -0.000093228, 0.996324292) + BAND08_SAT_X_NUM_COEF = ( 8.915203e-06, -4.966527e-08, -2.363569e-05, -4.917183e-10, -4.778138e-06, + 3.628335e-13, 8.482565e-13, -2.564824e-12, 5.710432e-17, 6.316754e-18) + BAND08_SAT_X_DEN_COEF = (-3.462069e-07, 1.403230e-07, -1.408730e-06, 3.056424e-07, 8.589591e-12, + 1.036716e-10, 2.407931e-10, -1.085677e-18, -2.316899e-20) + BAND08_SAT_Y_NUM_COEF = ( 8.938055e-05, 2.364910e-05, -4.971468e-08, -1.358479e-10, -2.229481e-05, + 4.282779e-15, -2.395629e-12, -6.892084e-12, -1.468266e-17, -2.207033e-18) + BAND08_SAT_Y_DEN_COEF = (-1.259368e-07, 0.000000e+00, -1.409223e-06, 1.707507e-07, 7.889517e-12, + 1.320599e-10, 2.389472e-10, 3.058869e-17, -1.087730e-18) + BAND08_SAT_Z_NUM_COEF = ( 3.668019e-03, 1.100383e-11, -7.445115e-09, -1.039490e-08, -1.316118e-09, + -1.246138e-11, -1.150476e-10, -2.655331e-10, 2.967453e-19, 1.683026e-21) + BAND08_SAT_Z_DEN_COEF = (-1.939002e-06, 4.696848e-07, -2.833881e-06, 1.981303e-06, 1.676087e-11, + 1.504730e-10, 3.481448e-10, -2.224180e-18, 1.446449e-18) + BAND08_MEAN_SUN_VECTOR = ( 0.492708863, -0.201007086, 0.846577170) + BAND08_SUN_X_NUM_COEF = ( 1.766669e-05, -4.080196e-09, -1.931508e-06, 3.331746e-16, -1.254436e-07, + -4.615644e-14, -7.699433e-13, -1.346015e-12, 1.471506e-19, 3.103677e-19) + BAND08_SUN_X_DEN_COEF = ( 9.839083e-08, 0.000000e+00, -2.342517e-12, -9.454664e-08, -2.908034e-12, + -3.349983e-13, 1.898431e-12, -1.908528e-18, 1.188902e-19) + BAND08_SUN_Y_NUM_COEF = (-2.454765e-06, 2.004963e-06, 1.429526e-07, -1.461376e-14, 9.774107e-09, + 5.677389e-13, 2.653619e-12, -5.865080e-13, -1.258735e-18, -1.605303e-18) + BAND08_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -3.854680e-12, -8.701139e-08, 0.000000e+00, + 0.000000e+00, 5.856848e-12, 7.286975e-19, -1.538845e-18) + BAND08_SUN_Z_NUM_COEF = ( 7.253819e-05, 4.783948e-07, 1.157935e-06, -1.500809e-14, 7.520520e-08, + -3.264540e-12, -2.590169e-12, -3.270795e-12, -1.000783e-18, 1.473475e-18) + BAND08_SUN_Z_DEN_COEF = (-1.894601e-06, -7.821251e-07, -2.459455e-11, 3.062324e-07, -3.283354e-12, + -1.526988e-12, 0.000000e+00, -1.586086e-17, -2.236370e-18) + BAND08_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND08_SCA01_MEAN_HEIGHT = 2000.000 + BAND08_SCA01_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA01_MEAN_L1T_LINE_SAMP = (6701.549, 1854.274) + BAND08_SCA01_LINE_NUM_COEF = ( 1.857118e-02, 1.020459e+00, -1.849219e-01, -2.045028e-05, -4.314654e-06) + BAND08_SCA01_LINE_DEN_COEF = ( 3.052174e-08, -3.913627e-06, -1.027028e-09, 6.870317e-13) + BAND08_SCA01_SAMP_NUM_COEF = (-4.043628e-01, 2.168391e-01, 1.000624e+00, -9.435868e-03, -1.262365e-09) + BAND08_SCA01_SAMP_DEN_COEF = (-8.259182e-07, -3.997079e-06, -1.541555e-06, -7.693366e-13) + BAND08_SCA02_MEAN_HEIGHT = 2000.000 + BAND08_SCA02_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA02_MEAN_L1T_LINE_SAMP = (6559.021, 2816.914) + BAND08_SCA02_LINE_NUM_COEF = ( 5.205974e-03, 1.018801e+00, -1.926355e-01, -4.689459e-04, -4.492027e-06) + BAND08_SCA02_LINE_DEN_COEF = ( 3.239725e-08, -4.067502e-06, -6.344630e-10, 6.661430e-13) + BAND08_SCA02_SAMP_NUM_COEF = (-3.200566e-01, 2.184739e-01, 1.008348e+00, -8.025792e-03, -1.828684e-09) + BAND08_SCA02_SAMP_DEN_COEF = (-6.459062e-07, -3.159136e-06, -1.552825e-06, -8.016207e-13) + BAND08_SCA03_MEAN_HEIGHT = 2000.000 + BAND08_SCA03_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA03_MEAN_L1T_LINE_SAMP = (7068.114, 3636.400) + BAND08_SCA03_LINE_NUM_COEF = ( 1.761341e-04, 1.018320e+00, -1.947876e-01, 1.140182e-04, -5.052038e-06) + BAND08_SCA03_LINE_DEN_COEF = ( 3.643741e-08, -4.573170e-06, -1.153399e-09, 6.570167e-13) + BAND08_SCA03_SAMP_NUM_COEF = (-2.692728e-01, 2.193901e-01, 1.012747e+00, -6.575452e-03, 9.124011e-10) + BAND08_SCA03_SAMP_DEN_COEF = (-5.579173e-07, -2.761379e-06, -1.558955e-06, -8.207061e-13) + BAND08_SCA04_MEAN_HEIGHT = 2000.000 + BAND08_SCA04_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA04_MEAN_L1T_LINE_SAMP = (6927.612, 4588.753) + BAND08_SCA04_LINE_NUM_COEF = (-1.960992e-02, 1.016783e+00, -2.019415e-01, -3.677022e-04, -4.834491e-06) + BAND08_SCA04_LINE_DEN_COEF = ( 3.518264e-08, -4.369147e-06, -6.963726e-10, 6.348725e-13) + BAND08_SCA04_SAMP_NUM_COEF = (-1.940807e-01, 2.205655e-01, 1.018344e+00, -5.131969e-03, 3.674207e-10) + BAND08_SCA04_SAMP_DEN_COEF = (-3.929469e-07, -1.992536e-06, -1.566036e-06, -8.500431e-13) + BAND08_SCA05_MEAN_HEIGHT = 2000.000 + BAND08_SCA05_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA05_MEAN_L1T_LINE_SAMP = (7437.065, 5400.021) + BAND08_SCA05_LINE_NUM_COEF = (-2.483252e-02, 1.016055e+00, -2.052391e-01, 2.024561e-04, -5.316609e-06) + BAND08_SCA05_LINE_DEN_COEF = ( 3.906418e-08, -4.802106e-06, -1.247712e-09, 6.233663e-13) + BAND08_SCA05_SAMP_NUM_COEF = (-1.348332e-01, 2.210145e-01, 1.020579e+00, -3.661133e-03, 3.142523e-09) + BAND08_SCA05_SAMP_DEN_COEF = (-2.838991e-07, -1.497291e-06, -1.570076e-06, -8.699653e-13) + BAND08_SCA06_MEAN_HEIGHT = 2000.000 + BAND08_SCA06_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA06_MEAN_L1T_LINE_SAMP = (7299.164, 6346.379) + BAND08_SCA06_LINE_NUM_COEF = (-5.783460e-02, 1.014768e+00, -2.112414e-01, -3.113738e-04, -4.378538e-06) + BAND08_SCA06_LINE_DEN_COEF = ( 3.121094e-08, -3.949163e-06, -7.743859e-10, 5.975559e-13) + BAND08_SCA06_SAMP_NUM_COEF = (-7.010576e-02, 2.216964e-01, 1.023889e+00, -2.194997e-03, 2.615843e-09) + BAND08_SCA06_SAMP_DEN_COEF = (-1.390869e-07, -8.212618e-07, -1.573317e-06, -8.940998e-13) + BAND08_SCA07_MEAN_HEIGHT = 2000.000 + BAND08_SCA07_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA07_MEAN_L1T_LINE_SAMP = (7810.007, 7152.919) + BAND08_SCA07_LINE_NUM_COEF = (-5.592047e-02, 1.013813e+00, -2.155965e-01, 2.402006e-04, -5.191820e-06) + BAND08_SCA07_LINE_DEN_COEF = ( 3.840606e-08, -4.679066e-06, -1.278239e-09, 5.863041e-13) + BAND08_SCA07_SAMP_NUM_COEF = (-2.933373e-02, 2.216318e-01, 1.023747e+00, -7.158962e-04, 5.408478e-09) + BAND08_SCA07_SAMP_DEN_COEF = (-6.977047e-08, -5.093004e-07, -1.574527e-06, -9.155984e-13) + BAND08_SCA08_MEAN_HEIGHT = 2000.000 + BAND08_SCA08_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA08_MEAN_L1T_LINE_SAMP = (7675.111, 8096.764) + BAND08_SCA08_LINE_NUM_COEF = (-8.185225e-02, 1.012736e+00, -2.206307e-01, -2.995093e-04, -4.665739e-06) + BAND08_SCA08_LINE_DEN_COEF = ( 3.373873e-08, -4.199899e-06, -7.658819e-10, 5.636580e-13) + BAND08_SCA08_SAMP_NUM_COEF = ( 4.734140e-02, 2.218410e-01, 1.024865e+00, 7.594148e-04, 4.896166e-09) + BAND08_SCA08_SAMP_DEN_COEF = ( 1.024100e-07, 2.933519e-07, -1.574736e-06, -9.343435e-13) + BAND08_SCA09_MEAN_HEIGHT = 2000.000 + BAND08_SCA09_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA09_MEAN_L1T_LINE_SAMP = (8188.891, 8902.601) + BAND08_SCA09_LINE_NUM_COEF = (-1.160740e-01, 1.011566e+00, -2.259899e-01, 2.288325e-04, -3.547913e-06) + BAND08_SCA09_LINE_DEN_COEF = ( 2.335146e-08, -3.190028e-06, -1.191758e-09, 5.316634e-13) + BAND08_SCA09_SAMP_NUM_COEF = ( 1.329454e-01, 2.213038e-01, 1.022533e+00, 2.234577e-03, 7.693579e-09) + BAND08_SCA09_SAMP_DEN_COEF = ( 2.703891e-07, 1.061318e-06, -1.572879e-06, -9.531733e-13) + BAND08_SCA10_MEAN_HEIGHT = 2000.000 + BAND08_SCA10_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA10_MEAN_L1T_LINE_SAMP = (8056.922, 9848.479) + BAND08_SCA10_LINE_NUM_COEF = (-1.125385e-01, 1.010729e+00, -2.299134e-01, -3.325680e-04, -4.564607e-06) + BAND08_SCA10_LINE_DEN_COEF = ( 3.274382e-08, -4.100679e-06, -7.405401e-10, 5.251646e-13) + BAND08_SCA10_SAMP_NUM_COEF = ( 1.741249e-01, 2.210524e-01, 1.021513e+00, 3.708482e-03, 7.189349e-09) + BAND08_SCA10_SAMP_DEN_COEF = ( 3.635025e-07, 1.498887e-06, -1.570267e-06, -9.689562e-13) + BAND08_SCA11_MEAN_HEIGHT = 2000.000 + BAND08_SCA11_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA11_MEAN_L1T_LINE_SAMP = (8574.783, 10656.929) + BAND08_SCA11_LINE_NUM_COEF = (-1.358846e-01, 1.009306e+00, -2.364477e-01, 1.665648e-04, -4.003658e-06) + BAND08_SCA11_LINE_DEN_COEF = ( 2.754991e-08, -3.591864e-06, -1.161136e-09, 4.939708e-13) + BAND08_SCA11_SAMP_NUM_COEF = ( 2.254624e-01, 2.200236e-01, 1.016902e+00, 5.166998e-03, 9.975561e-09) + BAND08_SCA11_SAMP_DEN_COEF = ( 4.540731e-07, 1.909332e-06, -1.566689e-06, -9.913982e-13) + BAND08_SCA12_MEAN_HEIGHT = 2000.000 + BAND08_SCA12_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA12_MEAN_L1T_LINE_SAMP = (8446.666, 11608.666) + BAND08_SCA12_LINE_NUM_COEF = (-1.427858e-01, 1.008725e+00, -2.391882e-01, -4.098178e-04, -4.464111e-06) + BAND08_SCA12_LINE_DEN_COEF = ( 3.166348e-08, -4.002365e-06, -6.783591e-10, 4.842319e-13) + BAND08_SCA12_SAMP_NUM_COEF = ( 2.920430e-01, 2.192626e-01, 1.013517e+00, 6.626367e-03, 9.475282e-09) + BAND08_SCA12_SAMP_DEN_COEF = ( 6.008286e-07, 2.594914e-06, -1.560370e-06, -9.994621e-13) + BAND08_SCA13_MEAN_HEIGHT = 2000.000 + BAND08_SCA13_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA13_MEAN_L1T_LINE_SAMP = (8970.242, 12423.444) + BAND08_SCA13_LINE_NUM_COEF = (-1.593700e-01, 1.007073e+00, -2.467856e-01, 5.521464e-05, -4.220659e-06) + BAND08_SCA13_LINE_DEN_COEF = ( 2.964931e-08, -3.778160e-06, -1.074847e-09, 4.527512e-13) + BAND08_SCA13_SAMP_NUM_COEF = ( 3.801546e-01, 2.177581e-01, 1.006700e+00, 8.055856e-03, 1.223641e-08) + BAND08_SCA13_SAMP_DEN_COEF = ( 7.682589e-07, 3.360770e-06, -1.551583e-06, -1.018367e-12) + BAND08_SCA14_MEAN_HEIGHT = 2000.000 + BAND08_SCA14_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA14_MEAN_L1T_LINE_SAMP = (8845.855, 13385.027) + BAND08_SCA14_LINE_NUM_COEF = (-2.077613e-01, 1.006738e+00, -2.483921e-01, -5.316108e-04, -2.790464e-06) + BAND08_SCA14_LINE_DEN_COEF = ( 1.422051e-08, -2.496127e-06, -7.423589e-10, 4.174412e-13) + BAND08_SCA14_SAMP_NUM_COEF = ( 4.396619e-01, 2.165143e-01, 1.001073e+00, 9.488284e-03, 1.173262e-08) + BAND08_SCA14_SAMP_DEN_COEF = ( 8.952082e-07, 3.954974e-06, -1.542406e-06, -1.021788e-12) +END_GROUP = RPC_BAND08 +GROUP = RPC_BAND09 + BAND09_NUMBER_OF_SCAS = 14 + BAND09_NUM_L1T_LINES = 7741 + BAND09_NUM_L1T_SAMPS = 7611 + BAND09_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND09_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND09_NUM_L1R_LINES = 7501 + BAND09_NUM_L1R_SAMPS = 494 + BAND09_PIXEL_SIZE = 30.000 + BAND09_START_TIME = 10.607209 + BAND09_LINE_TIME = 0.004235996 + BAND09_MEAN_HEIGHT = 2000.000 + BAND09_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND09_MEAN_L1T_LINE_SAMP = (3876.918, 3811.220) + BAND09_MEAN_SAT_VECTOR = (-0.000319591, -0.000083792, 0.996213719) + BAND09_SAT_X_NUM_COEF = ( 6.900425e-06, -9.976461e-08, -4.726659e-05, -4.119861e-10, -9.554875e-06, + 2.238824e-12, 9.870728e-12, 2.852143e-12, 4.469123e-16, 5.053148e-17) + BAND09_SAT_X_DEN_COEF = (-8.350175e-07, 0.000000e+00, -1.408706e-06, 6.716605e-07, 3.455987e-11, + 4.146394e-10, 9.633770e-10, -6.696788e-18, -5.170982e-19) + BAND09_SAT_Y_NUM_COEF = ( 9.039494e-05, 4.729364e-05, -9.962080e-08, -1.263686e-10, -4.458716e-05, + -3.279544e-14, -9.924040e-12, -2.829665e-11, -9.884711e-18, -1.737588e-17) + BAND09_SAT_Y_DEN_COEF = ( 7.597042e-08, -1.475934e-07, -1.411495e-06, 0.000000e+00, 3.235034e-11, + 4.786358e-10, 9.607700e-10, 5.806507e-17, 4.185214e-18) + BAND09_SAT_Z_NUM_COEF = ( 3.667657e-03, -4.489541e-10, -1.444166e-08, -1.035795e-08, -2.098260e-09, + -4.989715e-11, -4.600506e-10, -1.061951e-09, 2.213479e-18, -3.125782e-20) + BAND09_SAT_Z_DEN_COEF = (-3.869301e-06, 9.444713e-07, -2.833962e-06, 3.955355e-06, 6.917606e-11, + 5.955420e-10, 1.362760e-09, -2.947172e-18, 1.498660e-17) + BAND09_MEAN_SUN_VECTOR = ( 0.492709469, -0.201008846, 0.846575629) + BAND09_SUN_X_NUM_COEF = ( 1.766090e-05, -8.159853e-09, -3.863014e-06, -7.776864e-15, -2.508868e-07, + -1.844377e-13, -3.077222e-12, -5.384109e-12, 1.147772e-18, 2.473620e-18) + BAND09_SUN_X_DEN_COEF = ( 1.961609e-07, 0.000000e+00, -1.974404e-12, -1.891315e-07, -1.165410e-11, + -1.344599e-12, 7.626526e-12, -1.558181e-17, 8.865864e-19) + BAND09_SUN_Y_NUM_COEF = (-1.758622e-06, 4.009935e-06, 2.858951e-07, -3.807856e-14, 1.952894e-08, + 2.277901e-12, 1.062469e-11, -2.355029e-12, -9.133782e-18, -1.286430e-17) + BAND09_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -8.192180e-12, -1.703625e-07, 0.000000e+00, + 0.000000e+00, 2.319850e-11, 2.499307e-16, -2.046049e-16) + BAND09_SUN_Z_NUM_COEF = ( 7.349165e-05, 9.568479e-07, 2.315992e-06, -2.632577e-14, 1.504181e-07, + -1.217440e-11, -6.773579e-12, -9.463255e-12, -8.332583e-18, 1.166717e-17) + BAND09_SUN_Z_DEN_COEF = (-2.883875e-06, 0.000000e+00, -2.447208e-11, 5.085034e-07, -6.317545e-12, + -5.416683e-12, 6.528740e-12, -2.847915e-16, -4.280877e-18) + BAND09_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND09_SCA01_MEAN_HEIGHT = 2000.000 + BAND09_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA01_MEAN_L1T_LINE_SAMP = (3590.288, 875.505) + BAND09_SCA01_LINE_NUM_COEF = ( 2.469071e-02, 1.020769e+00, -1.833938e-01, 3.844051e-04, -1.205785e-05) + BAND09_SCA01_LINE_DEN_COEF = ( 8.679128e-08, -1.094282e-05, -1.941489e-09, 2.755345e-12) + BAND09_SCA01_SAMP_NUM_COEF = (-2.058893e-01, 2.164626e-01, 9.988807e-01, -4.709273e-03, 2.306487e-09) + BAND09_SCA01_SAMP_DEN_COEF = (-1.715429e-06, -8.310723e-06, -1.540060e-06, -3.094566e-12) + BAND09_SCA02_MEAN_HEIGHT = 2000.000 + BAND09_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA02_MEAN_L1T_LINE_SAMP = (3040.075, 1459.726) + BAND09_SCA02_LINE_NUM_COEF = ( 4.518821e-03, 1.018545e+00, -1.939103e-01, -6.282991e-04, -9.679358e-06) + BAND09_SCA02_LINE_DEN_COEF = ( 7.086382e-08, -8.761168e-06, 1.348491e-10, 2.682318e-12) + BAND09_SCA02_SAMP_NUM_COEF = (-1.580497e-01, 2.187860e-01, 1.009795e+00, -4.019739e-03, -8.477085e-09) + BAND09_SCA02_SAMP_DEN_COEF = (-1.243816e-06, -6.073973e-06, -1.553834e-06, -3.195813e-12) + BAND09_SCA03_MEAN_HEIGHT = 2000.000 + BAND09_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA03_MEAN_L1T_LINE_SAMP = (3772.423, 1766.824) + BAND09_SCA03_LINE_NUM_COEF = ( 1.525290e-02, 1.018486e+00, -1.939276e-01, 4.539305e-04, -1.336193e-05) + BAND09_SCA03_LINE_DEN_COEF = ( 9.891164e-08, -1.209960e-05, -2.214872e-09, 2.645450e-12) + BAND09_SCA03_SAMP_NUM_COEF = (-1.351330e-01, 2.190198e-01, 1.011034e+00, -3.281722e-03, 6.683987e-09) + BAND09_SCA03_SAMP_DEN_COEF = (-1.153035e-06, -5.717462e-06, -1.558313e-06, -3.299449e-12) + BAND09_SCA04_MEAN_HEIGHT = 2000.000 + BAND09_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA04_MEAN_L1T_LINE_SAMP = (3225.382, 2345.618) + BAND09_SCA04_LINE_NUM_COEF = ( 8.302222e-03, 1.016663e+00, -2.025838e-01, -5.793852e-04, -1.404311e-05) + BAND09_SCA04_LINE_DEN_COEF = ( 1.075453e-07, -1.268965e-05, 5.312751e-10, 2.602904e-12) + BAND09_SCA04_SAMP_NUM_COEF = (-1.052414e-01, 2.208841e-01, 1.019819e+00, -2.570430e-03, -4.105681e-09) + BAND09_SCA04_SAMP_DEN_COEF = (-8.258614e-07, -4.146934e-06, -1.565670e-06, -3.387980e-12) + BAND09_SCA05_MEAN_HEIGHT = 2000.000 + BAND09_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA05_MEAN_L1T_LINE_SAMP = (3956.270, 2648.628) + BAND09_SCA05_LINE_NUM_COEF = (-4.260442e-03, 1.016160e+00, -2.046659e-01, 4.988093e-04, -1.219351e-05) + BAND09_SCA05_LINE_DEN_COEF = ( 9.122310e-08, -1.101646e-05, -2.215481e-09, 2.505740e-12) + BAND09_SCA05_SAMP_NUM_COEF = (-3.572826e-02, 2.206104e-01, 1.018713e+00, -1.827063e-03, 1.115949e-08) + BAND09_SCA05_SAMP_DEN_COEF = (-3.223668e-07, -1.884148e-06, -1.572053e-06, -3.475200e-12) + BAND09_SCA06_MEAN_HEIGHT = 2000.000 + BAND09_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA06_MEAN_L1T_LINE_SAMP = (3411.535, 3224.225) + BAND09_SCA06_LINE_NUM_COEF = (-3.593767e-02, 1.014693e+00, -2.116716e-01, -5.515514e-04, -7.481294e-06) + BAND09_SCA06_LINE_DEN_COEF = ( 5.130168e-08, -6.745394e-06, -2.393237e-10, 2.376327e-12) + BAND09_SCA06_SAMP_NUM_COEF = (-2.497467e-02, 2.220406e-01, 1.025480e+00, -1.100122e-03, 3.791017e-10) + BAND09_SCA06_SAMP_DEN_COEF = (-1.550669e-07, -1.051350e-06, -1.573998e-06, -3.572139e-12) + BAND09_SCA07_MEAN_HEIGHT = 2000.000 + BAND09_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA07_MEAN_L1T_LINE_SAMP = (4142.553, 3525.224) + BAND09_SCA07_LINE_NUM_COEF = (-4.688937e-02, 1.013825e+00, -2.154566e-01, 5.183511e-04, -6.048018e-06) + BAND09_SCA07_LINE_DEN_COEF = ( 3.785381e-08, -5.451065e-06, -1.644983e-09, 2.269906e-12) + BAND09_SCA07_SAMP_NUM_COEF = (-3.840642e-03, 2.212377e-01, 1.021929e+00, -3.569672e-04, 1.569508e-08) + BAND09_SCA07_SAMP_DEN_COEF = (-7.824814e-08, -7.583154e-07, -1.574601e-06, -3.663562e-12) + BAND09_SCA08_MEAN_HEIGHT = 2000.000 + BAND09_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA08_MEAN_L1T_LINE_SAMP = (3599.498, 4099.432) + BAND09_SCA08_LINE_NUM_COEF = (-6.091624e-02, 1.012776e+00, -2.205282e-01, -5.460224e-04, -5.370039e-06) + BAND09_SCA08_LINE_DEN_COEF = ( 3.103175e-08, -4.831499e-06, -4.675579e-10, 2.183716e-12) + BAND09_SCA08_SAMP_NUM_COEF = ( 3.744821e-02, 2.221763e-01, 1.026413e+00, 3.794220e-04, 4.942282e-09) + BAND09_SCA08_SAMP_DEN_COEF = ( 3.619168e-07, 1.335042e-06, -1.574509e-06, -3.731808e-12) + BAND09_SCA09_MEAN_HEIGHT = 2000.000 + BAND09_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA09_MEAN_L1T_LINE_SAMP = (4331.942, 4399.944) + BAND09_SCA09_LINE_NUM_COEF = (-6.201252e-02, 1.011482e+00, -2.262966e-01, 5.123348e-04, -6.026756e-06) + BAND09_SCA09_LINE_DEN_COEF = ( 3.673594e-08, -5.419238e-06, -1.632870e-09, 2.104122e-12) + BAND09_SCA09_SAMP_NUM_COEF = ( 8.470761e-02, 2.208964e-01, 1.020655e+00, 1.115338e-03, 2.024842e-08) + BAND09_SCA09_SAMP_DEN_COEF = ( 6.667294e-07, 2.681816e-06, -1.572250e-06, -3.799669e-12) + BAND09_SCA10_MEAN_HEIGHT = 2000.000 + BAND09_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA10_MEAN_L1T_LINE_SAMP = (3790.093, 4975.405) + BAND09_SCA10_LINE_NUM_COEF = (-6.300776e-02, 1.010894e+00, -2.292252e-01, -5.619905e-04, -8.041718e-06) + BAND09_SCA10_LINE_DEN_COEF = ( 5.483731e-08, -7.223889e-06, -1.605454e-10, 2.079348e-12) + BAND09_SCA10_SAMP_NUM_COEF = ( 8.125377e-02, 2.213835e-01, 1.023040e+00, 1.856311e-03, 9.545997e-09) + BAND09_SCA10_SAMP_DEN_COEF = ( 7.113970e-07, 2.948213e-06, -1.570407e-06, -3.876080e-12) + BAND09_SCA11_MEAN_HEIGHT = 2000.000 + BAND09_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA11_MEAN_L1T_LINE_SAMP = (4525.623, 5277.079) + BAND09_SCA11_LINE_NUM_COEF = (-4.939086e-02, 1.009116e+00, -2.372478e-01, 4.807352e-04, -1.133624e-05) + BAND09_SCA11_LINE_DEN_COEF = ( 8.824721e-08, -1.017088e-05, -2.084413e-09, 2.054933e-12) + BAND09_SCA11_SAMP_NUM_COEF = ( 1.198022e-01, 2.196276e-01, 1.015079e+00, 2.579176e-03, 2.479264e-08) + BAND09_SCA11_SAMP_DEN_COEF = ( 9.352800e-07, 3.921282e-06, -1.566410e-06, -3.961341e-12) + BAND09_SCA12_MEAN_HEIGHT = 2000.000 + BAND09_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA12_MEAN_L1T_LINE_SAMP = (3984.300, 5855.423) + BAND09_SCA12_LINE_NUM_COEF = (-5.701955e-02, 1.008937e+00, -2.382804e-01, -6.001450e-04, -1.196341e-05) + BAND09_SCA12_LINE_DEN_COEF = ( 9.307924e-08, -1.072809e-05, 3.527715e-10, 2.014038e-12) + BAND09_SCA12_SAMP_NUM_COEF = ( 1.465230e-01, 2.196004e-01, 1.015073e+00, 3.317260e-03, 1.415077e-08) + BAND09_SCA12_SAMP_DEN_COEF = ( 1.242317e-06, 5.400346e-06, -1.559733e-06, -4.002033e-12) + BAND09_SCA13_MEAN_HEIGHT = 2000.000 + BAND09_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA13_MEAN_L1T_LINE_SAMP = (4724.024, 6160.077) + BAND09_SCA13_LINE_NUM_COEF = (-7.359578e-02, 1.006779e+00, -2.480747e-01, 4.233402e-04, -9.296545e-06) + BAND09_SCA13_LINE_DEN_COEF = ( 6.857768e-08, -8.321039e-06, -1.789556e-09, 1.836398e-12) + BAND09_SCA13_SAMP_NUM_COEF = ( 2.002677e-01, 2.173882e-01, 1.004999e+00, 4.021223e-03, 2.927299e-08) + BAND09_SCA13_SAMP_DEN_COEF = ( 1.590312e-06, 6.947456e-06, -1.550666e-06, -4.059264e-12) + BAND09_SCA14_MEAN_HEIGHT = 2000.000 + BAND09_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA14_MEAN_L1T_LINE_SAMP = (4182.840, 6743.969) + BAND09_SCA14_LINE_NUM_COEF = (-1.142806e-01, 1.007067e+00, -2.469395e-01, -6.591041e-04, -3.928145e-06) + BAND09_SCA14_LINE_DEN_COEF = ( 1.113246e-08, -3.512676e-06, -5.278777e-10, 1.615349e-12) + BAND09_SCA14_SAMP_NUM_COEF = ( 2.289701e-01, 2.168425e-01, 1.002582e+00, 4.750548e-03, 1.871162e-08) + BAND09_SCA14_SAMP_DEN_COEF = ( 1.906253e-06, 8.468130e-06, -1.539809e-06, -4.088696e-12) +END_GROUP = RPC_BAND09 +GROUP = RPC_BAND10 + BAND10_NUMBER_OF_SCAS = 3 + BAND10_NUM_L1T_LINES = 7741 + BAND10_NUM_L1T_SAMPS = 7611 + BAND10_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND10_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND10_NUM_L1R_LINES = 2701 + BAND10_NUM_L1R_SAMPS = 640 + BAND10_PIXEL_SIZE = 30.000 + BAND10_START_TIME = 7.486831 + BAND10_LINE_TIME = 0.014280006 + BAND10_MEAN_HEIGHT = 2000.000 + BAND10_MEAN_L1R_LINE_SAMP = (1353.971, 959.024) + BAND10_MEAN_L1T_LINE_SAMP = (3533.702, 3884.002) + BAND10_MEAN_SAT_VECTOR = (-0.004293372, -0.018990427, 0.995247776) + BAND10_SAT_X_NUM_COEF = (-3.369105e-05, -1.040337e-07, -4.720767e-05, -5.986164e-09, -3.215807e-05, + 2.394752e-12, 1.178429e-11, 8.472703e-12, -1.826912e-14, 1.938073e-15) + BAND10_SAT_X_DEN_COEF = (-9.846437e-07, 0.000000e+00, -1.409608e-06, 2.799435e-06, 3.442993e-11, + 4.143779e-10, 9.628891e-10, 1.840840e-14, -1.426296e-17) + BAND10_SAT_Y_NUM_COEF = (-6.456888e-05, 4.725419e-05, -1.023830e-07, -2.672837e-08, -1.501825e-04, + 4.917666e-13, -3.667441e-12, -1.047093e-11, -7.854172e-15, -6.375167e-16) + BAND10_SAT_Y_DEN_COEF = ( 2.754103e-08, -1.970628e-07, -1.413721e-06, 0.000000e+00, 4.991382e-11, + 4.415378e-10, 9.774277e-10, 2.960443e-14, 4.587401e-17) + BAND10_SAT_Z_NUM_COEF = ( 3.546796e-03, 1.570807e-07, -5.579581e-08, -9.775021e-09, -5.337444e-07, + -4.983081e-11, -4.590941e-10, -1.060658e-09, 7.593311e-16, -1.632735e-17) + BAND10_SAT_Z_DEN_COEF = ( 3.276785e-07, 7.768358e-07, -2.781709e-06, 6.446718e-07, 9.000973e-11, + 4.996805e-10, 1.403439e-09, -1.158070e-13, -7.242925e-15) + BAND10_MEAN_SUN_VECTOR = ( 0.492416301, -0.202361028, 0.846398331) + BAND10_SUN_X_NUM_COEF = ( 1.646926e-05, -8.190661e-09, -3.863052e-06, -6.870454e-14, -8.460405e-07, + -1.896493e-13, -3.115061e-12, -5.368143e-12, -1.186333e-16, 8.539969e-17) + BAND10_SUN_X_DEN_COEF = ( 2.149726e-07, 0.000000e+00, -1.016311e-11, -6.414148e-07, -1.214054e-11, + -1.151474e-12, 7.568035e-12, 9.757885e-15, -1.272364e-15) + BAND10_SUN_Y_NUM_COEF = (-3.927777e-06, 4.009372e-06, 2.816912e-07, 5.975750e-14, 6.441433e-08, + 2.246879e-12, 1.061941e-11, -2.317862e-12, 1.416180e-16, -4.401783e-18) + BAND10_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -6.331098e-13, -6.161855e-07, 3.784311e-12, + 0.000000e+00, 2.412370e-11, -7.068912e-15, -3.474730e-15) + BAND10_SUN_Z_NUM_COEF = ( 9.933753e-05, 9.632068e-07, 2.314532e-06, 1.410455e-13, 5.070344e-07, + -1.198312e-11, -6.343043e-12, -9.417682e-12, 1.051336e-15, 2.284012e-16) + BAND10_SUN_Z_DEN_COEF = (-2.674995e-06, 0.000000e+00, -1.413298e-10, 1.573176e-06, -1.413162e-11, + -2.475718e-12, 8.011457e-12, -5.968976e-14, -2.121946e-14) + BAND10_SCA_LIST = (1, 2, 3) + BAND10_SCA01_MEAN_HEIGHT = 2000.000 + BAND10_SCA01_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA01_MEAN_L1T_LINE_SAMP = (3297.585, 6033.966) + BAND10_SCA01_LINE_NUM_COEF = (-1.728950e-01, 3.006715e-01, -6.437513e-02, -5.304462e-04, 1.435928e-06) + BAND10_SCA01_LINE_DEN_COEF = (-6.958720e-08, 4.369407e-06, -2.690109e-09, -1.983582e-12) + BAND10_SCA01_SAMP_NUM_COEF = (-5.601774e-01, -6.284551e-02, -2.905205e-01, -9.625382e-04, 1.617142e-09) + BAND10_SCA01_SAMP_DEN_COEF = ( 1.038462e-06, 4.548205e-06, -1.562760e-06, 4.109492e-12) + BAND10_SCA02_MEAN_HEIGHT = 2000.000 + BAND10_SCA02_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA02_MEAN_L1T_LINE_SAMP = (4855.394, 3595.995) + BAND10_SCA02_LINE_NUM_COEF = ( 3.061598e-02, 3.004105e-01, -6.538525e-02, 4.546751e-04, -7.741642e-07) + BAND10_SCA02_LINE_DEN_COEF = ( 6.511696e-09, -2.352161e-06, -1.817445e-09, -1.710833e-12) + BAND10_SCA02_SAMP_NUM_COEF = (-1.323245e-02, -6.345327e-02, -2.931538e-01, -1.532082e-06, -6.956927e-09) + BAND10_SCA02_SAMP_DEN_COEF = ( 9.784540e-08, 1.663935e-08, -1.575012e-06, 4.222137e-13) + BAND10_SCA03_MEAN_HEIGHT = 2000.000 + BAND10_SCA03_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA03_MEAN_L1T_LINE_SAMP = (2448.127, 2022.045) + BAND10_SCA03_LINE_NUM_COEF = (-1.366672e-01, 3.002617e-01, -6.628465e-02, -5.197843e-04, 1.350339e-06) + BAND10_SCA03_LINE_DEN_COEF = (-5.179957e-08, 4.103308e-06, -2.555534e-09, -1.740742e-12) + BAND10_SCA03_SAMP_NUM_COEF = ( 5.657226e-01, -6.293103e-02, -2.905341e-01, 9.570555e-04, 7.462012e-09) + BAND10_SCA03_SAMP_DEN_COEF = (-9.268092e-07, -4.522616e-06, -1.562491e-06, 3.187958e-12) +END_GROUP = RPC_BAND10 +GROUP = RPC_BAND11 + BAND11_NUMBER_OF_SCAS = 3 + BAND11_NUM_L1T_LINES = 7741 + BAND11_NUM_L1T_SAMPS = 7611 + BAND11_L1T_IMAGE_CORNER_LINES = ( 4.085207, 1336.871277, 7734.826656, 6389.674817) + BAND11_L1T_IMAGE_CORNER_SAMPS = ( 1384.681977, 7605.532781, 6221.474846, 0.711075) + BAND11_NUM_L1R_LINES = 2701 + BAND11_NUM_L1R_SAMPS = 640 + BAND11_PIXEL_SIZE = 30.000 + BAND11_START_TIME = 7.486831 + BAND11_LINE_TIME = 0.014280006 + BAND11_MEAN_HEIGHT = 2000.000 + BAND11_MEAN_L1R_LINE_SAMP = (1353.971, 959.024) + BAND11_MEAN_L1T_LINE_SAMP = (3651.633, 3858.351) + BAND11_MEAN_SAT_VECTOR = (-0.003108648, -0.013480609, 0.995973318) + BAND11_SAT_X_NUM_COEF = (-1.827054e-05, -1.036936e-07, -4.724202e-05, -4.325172e-09, -3.218242e-05, + 2.383953e-12, 1.158482e-11, 7.681453e-12, -1.780036e-14, 1.939399e-15) + BAND11_SAT_X_DEN_COEF = (-1.014326e-06, 0.000000e+00, -1.409280e-06, 2.878270e-06, 3.466971e-11, + 4.144011e-10, 9.631628e-10, 1.170069e-14, -1.780417e-17) + BAND11_SAT_Y_NUM_COEF = (-1.295483e-05, 4.728361e-05, -1.012450e-07, -1.898297e-08, -1.502740e-04, + 1.938801e-13, -6.071551e-12, -1.591849e-11, -7.443969e-15, -6.412510e-16) + BAND11_SAT_Y_DEN_COEF = ( 2.221015e-08, -1.928274e-07, -1.412759e-06, 0.000000e+00, 5.363849e-11, + 4.667405e-10, 9.743645e-10, 5.416785e-14, 1.213110e-16) + BAND11_SAT_Z_NUM_COEF = ( 3.546806e-03, 1.837757e-07, -7.149188e-08, -9.986820e-09, -6.303818e-07, + -4.973936e-11, -4.590979e-10, -1.060969e-09, 1.333566e-15, -9.097338e-18) + BAND11_SAT_Z_DEN_COEF = ( 2.038881e-06, 8.260369e-07, -2.796862e-06, -4.992122e-06, 6.210250e-11, + 4.832691e-10, 1.423309e-09, -2.657766e-13, -4.419911e-15) + BAND11_MEAN_SUN_VECTOR = ( 0.492514355, -0.201895778, 0.846457777) + BAND11_SUN_X_NUM_COEF = ( 1.652573e-05, -8.177016e-09, -3.863047e-06, -1.909871e-14, -8.459584e-07, + -1.873566e-13, -3.094193e-12, -5.373860e-12, -1.147414e-16, 8.546193e-17) + BAND11_SUN_X_DEN_COEF = ( 2.064350e-07, 0.000000e+00, -9.332050e-12, -6.399933e-07, -1.213036e-11, + -1.127111e-12, 7.569246e-12, 6.275040e-15, -7.853537e-16) + BAND11_SUN_Y_NUM_COEF = (-3.588858e-06, 4.009644e-06, 2.831177e-07, 3.443380e-14, 6.466601e-08, + 2.242073e-12, 1.061435e-11, -2.325224e-12, 7.414013e-17, -6.825271e-18) + BAND11_SUN_Y_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -3.360318e-12, -6.176688e-07, 3.809899e-12, + 0.000000e+00, 2.326585e-11, -2.098263e-15, -1.376384e-15) + BAND11_SUN_Z_NUM_COEF = ( 9.398036e-05, 9.610161e-07, 2.315028e-06, 1.113608e-13, 5.069935e-07, + -1.207315e-11, -6.548063e-12, -9.424576e-12, 1.021866e-15, 2.586178e-16) + BAND11_SUN_Z_DEN_COEF = (-2.763762e-06, 0.000000e+00, -1.249599e-10, 1.592605e-06, -1.396573e-11, + -2.674599e-12, 7.626610e-12, -4.648855e-14, -1.469716e-14) + BAND11_SCA_LIST = (1, 2, 3) + BAND11_SCA01_MEAN_HEIGHT = 2000.000 + BAND11_SCA01_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA01_MEAN_L1T_LINE_SAMP = (3650.201, 5956.696) + BAND11_SCA01_LINE_NUM_COEF = (-1.251641e-01, 3.005940e-01, -6.470362e-02, -3.565905e-04, 8.664682e-07) + BAND11_SCA01_LINE_DEN_COEF = (-5.234469e-08, 2.637268e-06, -1.701972e-09, -1.934383e-12) + BAND11_SCA01_SAMP_NUM_COEF = (-5.415244e-01, -6.287756e-02, -2.906694e-01, -9.625722e-04, -4.151740e-10) + BAND11_SCA01_SAMP_DEN_COEF = ( 1.008616e-06, 4.376807e-06, -1.563178e-06, 4.380576e-12) + BAND11_SCA02_MEAN_HEIGHT = 2000.000 + BAND11_SCA02_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA02_MEAN_L1T_LINE_SAMP = (4463.617, 3680.984) + BAND11_SCA02_LINE_NUM_COEF = ( 3.148839e-03, 3.004213e-01, -6.537699e-02, 2.605036e-04, -4.522396e-07) + BAND11_SCA02_LINE_DEN_COEF = (-3.488231e-09, -1.373002e-06, -1.298184e-09, -1.727442e-12) + BAND11_SCA02_SAMP_NUM_COEF = (-1.371666e-02, -6.346593e-02, -2.932097e-01, -1.599151e-06, -4.678563e-09) + BAND11_SCA02_SAMP_DEN_COEF = ( 9.614210e-08, 4.588484e-08, -1.574974e-06, -4.397229e-14) + BAND11_SCA03_MEAN_HEIGHT = 2000.000 + BAND11_SCA03_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA03_MEAN_L1T_LINE_SAMP = (2841.080, 1937.373) + BAND11_SCA03_LINE_NUM_COEF = (-8.560761e-02, 3.003281e-01, -6.593487e-02, -3.261788e-04, 7.660947e-07) + BAND11_SCA03_LINE_DEN_COEF = (-3.330054e-08, 2.329906e-06, -1.570400e-09, -1.720477e-12) + BAND11_SCA03_SAMP_NUM_COEF = ( 5.508748e-01, -6.296294e-02, -2.906773e-01, 9.572333e-04, 5.197378e-09) + BAND11_SCA03_SAMP_DEN_COEF = (-8.985361e-07, -4.429188e-06, -1.562636e-06, 3.297287e-12) +END_GROUP = RPC_BAND11 +END diff --git a/tests/test_commands.py b/tests/test_commands.py index 5366199..b565c7d 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -130,7 +130,7 @@ def test_create_nonlegacyl8_item(self) -> None: with TemporaryDirectory() as temp_dir: cmd = (f"landsat create-item --mtl {infile} --output {temp_dir} " - f"--usgs_geometry True --legacy_l8 False") + f"--usgs_geometry") self.run_command(cmd) item_path = os.path.join(temp_dir, "LC08_L2SP_017036_20130419_02_T2.json") diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index 3d39719..e30cc87 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -50,7 +50,7 @@ def check_proj_bbox(item, tif_bounds): with TemporaryDirectory() as tmp_dir: cmd = [ 'landsat', 'create-item', '--mtl', mtl_path, - '--output', tmp_dir + '--output', tmp_dir, '--legacy_l8' ] self.run_command(cmd) @@ -134,7 +134,7 @@ def get_item(output_dir: str) -> pystac.Item: create_cmd = [ 'landsat', 'create-item', '--mtl', mtl_path, - '--output', create_dir + '--output', create_dir, '--legacy_l8' ] self.run_command(create_cmd) From 99a3e47bace51ed5e1e38f3c308e14672062e923 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 8 Mar 2022 08:16:19 -0500 Subject: [PATCH 13/47] make asset hrefs absolute when creating assets - allows the hrefs to then be made relative --- .../LM01_L1GS_001010_19720908_02_T2.json | 26 +++++----- .../LM02_L1GS_001004_19750411_02_T2.json | 26 +++++----- .../LM03_L1GS_001001_19780510_02_T2.json | 26 +++++----- .../LM04_L1GS_001001_19830527_02_T2.json | 26 +++++----- .../LM05_L1GS_001001_19850524_02_T2.json | 26 +++++----- .../LC08_L2SP_047027_20201204_02_T1.json | 52 +++++++++---------- .../LC09_L2SP_010065_20220129_02_T1.json | 52 +++++++++---------- .../LE07_L2SP_021030_20100109_02_T1.json | 52 +++++++++---------- .../LT04_L2SP_002026_19830110_02_T1.json | 52 +++++++++---------- .../LT05_L2SP_010067_19860424_02_T2.json | 52 +++++++++---------- src/stactools/landsat/commands.py | 3 +- src/stactools/landsat/fragments/__init__.py | 6 ++- 12 files changed, 201 insertions(+), 198 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 43c2fc6..b55b5ba 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-08T10:33:48.853081Z", + "created": "2022-03-08T11:06:45.905943Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 43.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_ANG.txt", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -164,7 +164,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -179,7 +179,7 @@ ] }, "green": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", @@ -205,7 +205,7 @@ ] }, "red": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", @@ -231,7 +231,7 @@ ] }, "nir08": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", @@ -257,7 +257,7 @@ ] }, "nir09": { - "href": "tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", + "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 9b696f8..2902021 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-08T10:33:48.855315Z", + "created": "2022-03-08T11:06:45.908542Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 100.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_small.jpeg", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_large.jpeg", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.json", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_ANG.txt", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -164,7 +164,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -179,7 +179,7 @@ ] }, "green": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", @@ -205,7 +205,7 @@ ] }, "red": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", @@ -231,7 +231,7 @@ ] }, "nir08": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", @@ -257,7 +257,7 @@ ] }, "nir09": { - "href": "tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF", + "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 371efb9..bef67bd 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-08T10:33:48.856823Z", + "created": "2022-03-08T11:06:45.910328Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 58.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_small.jpeg", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_large.jpeg", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.json", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_ANG.txt", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -164,7 +164,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -179,7 +179,7 @@ ] }, "green": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", @@ -205,7 +205,7 @@ ] }, "red": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", @@ -231,7 +231,7 @@ ] }, "nir08": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", @@ -257,7 +257,7 @@ ] }, "nir09": { - "href": "tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF", + "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 3e67bf3..50965df 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-08T10:33:50.212475Z", + "created": "2022-03-08T11:06:46.645319Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 32.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_thumb_small.jpeg", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_thumb_large.jpeg", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.json", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.txt", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_ANG.txt", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -164,7 +164,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -179,7 +179,7 @@ ] }, "green": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B1)", "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", @@ -205,7 +205,7 @@ ] }, "red": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B2)", "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", @@ -231,7 +231,7 @@ ] }, "nir08": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B3)", "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", @@ -257,7 +257,7 @@ ] }, "nir09": { - "href": "tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF", + "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B4)", "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index da78c1f..1551b6e 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-08T10:33:50.222503Z", + "created": "2022-03-08T11:06:46.650729Z", "gsd": 60, "description": "Landsat Collection 2 Level-1 Data Product", "eo:cloud_cover": 29.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_small.jpeg", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_large.jpeg", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.json", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-1 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-1 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_ANG.txt", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -164,7 +164,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -179,7 +179,7 @@ ] }, "green": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B1)", "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", @@ -205,7 +205,7 @@ ] }, "red": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B2)", "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", @@ -231,7 +231,7 @@ ] }, "nir08": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B3)", "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", @@ -257,7 +257,7 @@ ] }, "nir09": { - "href": "tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF", + "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B4)", "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index f888fb5..c7c8c52 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-08T10:32:55.634835Z", + "created": "2022-03-08T11:06:23.216316Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 1.55, @@ -98,7 +98,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_small.jpeg", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -106,7 +106,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_large.jpeg", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -114,7 +114,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.json", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -123,7 +123,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -132,7 +132,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -141,7 +141,7 @@ ] }, "ang": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -150,7 +150,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -168,7 +168,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", @@ -183,7 +183,7 @@ ] }, "sr_coastal": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", @@ -209,7 +209,7 @@ ] }, "sr_blue": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", @@ -235,7 +235,7 @@ ] }, "sr_green": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", @@ -261,7 +261,7 @@ ] }, "sr_red": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", @@ -287,7 +287,7 @@ ] }, "sr_nir08": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", @@ -313,7 +313,7 @@ ] }, "sr_swir16": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -339,7 +339,7 @@ ] }, "sr_swir22": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -365,7 +365,7 @@ ] }, "sr_qa_aerosol": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -382,7 +382,7 @@ ] }, "st_lwir11": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B10.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", @@ -409,7 +409,7 @@ ] }, "st_atran": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -426,7 +426,7 @@ ] }, "st_cdist": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -443,7 +443,7 @@ ] }, "st_drad": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -460,7 +460,7 @@ ] }, "st_urad": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -477,7 +477,7 @@ ] }, "st_trad": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -494,7 +494,7 @@ ] }, "st_emis": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -511,7 +511,7 @@ ] }, "st_emsd": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -528,7 +528,7 @@ ] }, "st_qa": { - "href": "tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 50439b5..4eef12d 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-08T10:32:56.597928Z", + "created": "2022-03-08T11:06:24.315730Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 21.12, @@ -98,7 +98,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_thumb_small.jpeg", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -106,7 +106,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_thumb_large.jpeg", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -114,7 +114,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.json", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -123,7 +123,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.txt", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -132,7 +132,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -141,7 +141,7 @@ ] }, "ang": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -150,7 +150,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_PIXEL.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -168,7 +168,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_RADSAT.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", @@ -183,7 +183,7 @@ ] }, "sr_coastal": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", @@ -209,7 +209,7 @@ ] }, "sr_blue": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", @@ -235,7 +235,7 @@ ] }, "sr_green": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", @@ -261,7 +261,7 @@ ] }, "sr_red": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", @@ -287,7 +287,7 @@ ] }, "sr_nir08": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", @@ -313,7 +313,7 @@ ] }, "sr_swir16": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -339,7 +339,7 @@ ] }, "sr_swir22": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -365,7 +365,7 @@ ] }, "sr_qa_aerosol": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -382,7 +382,7 @@ ] }, "st_lwir11": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B10.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", @@ -409,7 +409,7 @@ ] }, "st_atran": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -426,7 +426,7 @@ ] }, "st_cdist": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -443,7 +443,7 @@ ] }, "st_drad": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -460,7 +460,7 @@ ] }, "st_urad": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -477,7 +477,7 @@ ] }, "st_trad": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -494,7 +494,7 @@ ] }, "st_emis": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -511,7 +511,7 @@ ] }, "st_emsd": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -528,7 +528,7 @@ ] }, "st_qa": { - "href": "tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 3aca546..7f75315 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-08T10:32:55.632324Z", + "created": "2022-03-08T11:06:23.213589Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 8.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -167,7 +167,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -182,7 +182,7 @@ ] }, "sr_blue": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", @@ -208,7 +208,7 @@ ] }, "sr_green": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", @@ -234,7 +234,7 @@ ] }, "sr_red": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", @@ -260,7 +260,7 @@ ] }, "sr_nir08": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", @@ -286,7 +286,7 @@ ] }, "sr_swir16": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -312,7 +312,7 @@ ] }, "sr_swir22": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -338,7 +338,7 @@ ] }, "sr_atmos_opacity": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -354,7 +354,7 @@ ] }, "sr_cloud_qa": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -372,7 +372,7 @@ ] }, "st_lwir": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -399,7 +399,7 @@ ] }, "st_atran": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -416,7 +416,7 @@ ] }, "st_cdist": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -433,7 +433,7 @@ ] }, "st_drad": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -450,7 +450,7 @@ ] }, "st_urad": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -467,7 +467,7 @@ ] }, "st_trad": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -484,7 +484,7 @@ ] }, "st_emis": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -501,7 +501,7 @@ ] }, "st_emsd": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -518,7 +518,7 @@ ] }, "st_qa": { - "href": "tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 0dd4490..ec7a806 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-08T10:32:55.627774Z", + "created": "2022-03-08T11:06:23.208278Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 7.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -167,7 +167,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -182,7 +182,7 @@ ] }, "sr_blue": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", @@ -208,7 +208,7 @@ ] }, "sr_green": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", @@ -234,7 +234,7 @@ ] }, "sr_red": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", @@ -260,7 +260,7 @@ ] }, "sr_nir08": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", @@ -286,7 +286,7 @@ ] }, "sr_swir16": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -312,7 +312,7 @@ ] }, "sr_swir22": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -338,7 +338,7 @@ ] }, "sr_atmos_opacity": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -354,7 +354,7 @@ ] }, "sr_cloud_qa": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -372,7 +372,7 @@ ] }, "st_lwir": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -399,7 +399,7 @@ ] }, "st_atran": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -416,7 +416,7 @@ ] }, "st_cdist": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -433,7 +433,7 @@ ] }, "st_drad": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -450,7 +450,7 @@ ] }, "st_urad": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -467,7 +467,7 @@ ] }, "st_trad": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -484,7 +484,7 @@ ] }, "st_emis": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -501,7 +501,7 @@ ] }, "st_emsd": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -518,7 +518,7 @@ ] }, "st_qa": { - "href": "tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 6b8f320..73733f6 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-08T10:32:55.630579Z", + "created": "2022-03-08T11:06:23.211565Z", "gsd": 30, "description": "Landsat Collection 2 Level-2 Science Product", "eo:cloud_cover": 23.0, @@ -97,7 +97,7 @@ ], "assets": { "thumbnail": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -105,7 +105,7 @@ ] }, "reduced_resolution_browse": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -113,7 +113,7 @@ ] }, "mtl.json": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -122,7 +122,7 @@ ] }, "mtl.txt": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -131,7 +131,7 @@ ] }, "mtl.xml": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -140,7 +140,7 @@ ] }, "ang": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", @@ -149,7 +149,7 @@ ] }, "qa_pixel": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -167,7 +167,7 @@ ] }, "qa_radsat": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", @@ -182,7 +182,7 @@ ] }, "sr_blue": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", @@ -208,7 +208,7 @@ ] }, "sr_green": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", @@ -234,7 +234,7 @@ ] }, "sr_red": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", @@ -260,7 +260,7 @@ ] }, "sr_nir08": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", @@ -286,7 +286,7 @@ ] }, "sr_swir16": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -312,7 +312,7 @@ ] }, "sr_swir22": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -338,7 +338,7 @@ ] }, "sr_atmos_opacity": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -354,7 +354,7 @@ ] }, "sr_cloud_qa": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -372,7 +372,7 @@ ] }, "st_lwir": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B6.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -399,7 +399,7 @@ ] }, "st_atran": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -416,7 +416,7 @@ ] }, "st_cdist": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -433,7 +433,7 @@ ] }, "st_drad": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -450,7 +450,7 @@ ] }, "st_urad": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -467,7 +467,7 @@ ] }, "st_trad": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -484,7 +484,7 @@ ] }, "st_emis": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -501,7 +501,7 @@ ] }, "st_emsd": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -518,7 +518,7 @@ ] }, "st_qa": { - "href": "tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 8ed7b9f..0cd3f87 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -81,6 +81,7 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, use_usgs_geometry=usgs_geometry, legacy_l8=legacy_l8) item.set_self_href(os.path.join(output, f'{item.id}.json')) + item.make_asset_hrefs_relative() item.save_object() @landsat.command( @@ -133,8 +134,8 @@ def create_collection_cmd(file_list: str, output: str, id: str, use_usgs_geometry=usgs_geometry, legacy_l8=False) collection.add_item(item) - collection.validate_all() collection.make_all_asset_hrefs_relative() + collection.validate_all() collection.save() @landsat.command( diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index 56e217e..33ce7f6 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -2,6 +2,7 @@ from typing import Any, Dict, Optional import pkg_resources +from pystac.utils import make_absolute_href from pystac import Asset, Extent, Link, MediaType, Provider, Summaries from pystac.extensions.item_assets import AssetDefinition @@ -181,9 +182,10 @@ def _convert_assets(self, asset_dicts: Dict[str, Any]) -> Dict[str, Asset]: href_suffix = asset_dict.pop('href_suffix', None) if href_suffix is not None: - asset_dict["href"] = f"{self.base_href}_{href_suffix}" + href = f"{self.base_href}_{href_suffix}" else: - asset_dict["href"] = f"{self.base_href}_{key.upper()}.TIF" + href = f"{self.base_href}_{key.upper()}.TIF" + asset_dict["href"] = make_absolute_href(href) assets[key] = Asset.from_dict(asset_dict) return assets From 50e126d0339838733995fe1e648ab9cc27c593cc Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 8 Mar 2022 08:32:26 -0500 Subject: [PATCH 14/47] remove relative asset paths from item command, import formatting --- src/stactools/landsat/commands.py | 1 - src/stactools/landsat/fragments/__init__.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 0cd3f87..7fdb05f 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -81,7 +81,6 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, use_usgs_geometry=usgs_geometry, legacy_l8=legacy_l8) item.set_self_href(os.path.join(output, f'{item.id}.json')) - item.make_asset_hrefs_relative() item.save_object() @landsat.command( diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index 33ce7f6..172c9a4 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -2,9 +2,9 @@ from typing import Any, Dict, Optional import pkg_resources -from pystac.utils import make_absolute_href from pystac import Asset, Extent, Link, MediaType, Provider, Summaries from pystac.extensions.item_assets import AssetDefinition +from pystac.utils import make_absolute_href from stactools.landsat.constants import Sensor From 22b5edbda0fb19750d5ab026fc6a6e0e6dcc7919 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 8 Mar 2022 16:33:10 -0500 Subject: [PATCH 15/47] remove "Science Product" and "Data Product" from Ttem descriptions --- .../fragments/collections/landsat-c2-l2.json | 697 +++++++++--------- src/stactools/landsat/stac.py | 5 +- 2 files changed, 349 insertions(+), 353 deletions(-) diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index a020712..0777804 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,363 +1,362 @@ { - "id": "landsat-c2-l2", - "title": "Landsat Collection 2 Level-2", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "license": "proprietary", - "links": [ - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] - } - }, - "summaries": { - "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], - "instruments": ["tm", "etm", "oli", "tirs"], - "gsd": [30, 60, 100, 120], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 - } - }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "TEXT", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": [ - "cloud", "cloud-shadow", "snow-ice", "water-mask" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "roles": [ - "saturation" - ] - }, - "sr_coastal": { - "type": "COG", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "eo:bands": [ + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ { - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" } - ], - "roles": [ - "reflectance" - ] - }, - "sr_blue": { - "type": "COG", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "eo:bands": [ + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], + "providers": [ { - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "eo:bands": [ + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, { - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "eo:bands": [ + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" } - ], - "roles": [ - "reflectance" - ] - }, - "sr_nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "eo:bands": [ - { - "common_name": "nir08", - "center_wavelength": 0.86, - "full_width_half_max": 0.03 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_swir16": { - "type": "COG", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_swir22": { - "type": "COG", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.2 + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] } - ], - "roles": [ - "reflectance" - ] - }, - "sr_atmos_opacity": { - "type": "COG", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "roles": [ - "data" - ] - }, - "sr_cloud_qa": { - "type": "COG", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "sr_qa_aerosol": { - "type": "COG", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "roles": [ - "data-mask", - "water-mask" - ] }, - "st_lwir11": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "summaries": { + "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], + "instruments": ["tm", "etm", "oli", "tirs"], + "gsd": [30, 60, 100, 120], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 } - ], - "gsd": 100, - "roles": [ - "temperature" - ] }, - "st_lwir": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud", "cloud-shadow", "snow-ice", "water-mask" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "sr_coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "eo:bands": [ + { + "common_name": "nir08", + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "roles": [ + "data" + ] + }, + "sr_cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "sr_qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "roles": [ + "data-mask", + "water-mask" + ] + }, + "st_lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "st_lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + } + ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": [ + "data" + ] } - ], - "gsd": 120, - "roles": [ - "temperature" - ] - }, - "st_atran": { - "type": "COG", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_cdist": { - "type": "COG", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_drad": { - "type": "COG", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_urad": { - "type": "COG", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_trad": { - "type": "COG", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_emis": { - "type": "COG", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_emsd": { - "type": "COG", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_qa": { - "type": "COG", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": [ - "data" - ] } - } } - diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index bdba6b1..6d47c6a 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -137,10 +137,7 @@ def create_stac_item( item.common_metadata.instruments = SENSORS[sensor.name]["instruments"] item.common_metadata.created = datetime.now(tz=timezone.utc) item.common_metadata.gsd = SENSORS[sensor.name]["reflective_gsd"] - if level == 1: - item.common_metadata.description = "Landsat Collection 2 Level-1 Data Product" - elif level == 2: - item.common_metadata.description = "Landsat Collection 2 Level-2 Science Product" + item.common_metadata.description = f"Landsat Collection 2 Level-{level}" fragments = Fragments(sensor, satellite, base_href, mtl_metadata.level1_radiance) From cbd051b4d3a3db7941a39116cf5a2a4fa34f466f Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 8 Mar 2022 18:19:17 -0500 Subject: [PATCH 16/47] replace alternate link with via links to usgs stac server --- src/stactools/landsat/constants.py | 1 + src/stactools/landsat/stac.py | 41 ++++++++++++++++++++---------- tests/test_create_stac.py | 7 +++-- 3 files changed, 31 insertions(+), 18 deletions(-) diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index b5aa7d6..07e2316 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -16,6 +16,7 @@ class Sensor(Enum): USGS_BROWSER_C2 = "https://landsatlook.usgs.gov/stac-browser/collection02" USGS_C2L1 = "landsat-c2l1" USGS_C2L2_SR = "landsat-c2l2-sr" +USGS_C2L2_ST = "landsat-c2l2-st" COLLECTION_IDS = ["landsat-c2-l1", "landsat-c2-l2"] SENSORS: Dict[str, Any] = { diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 6d47c6a..6eeff21 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -2,7 +2,7 @@ from datetime import datetime, timezone from typing import Optional -from pystac import Collection, Item, Link +from pystac import Collection, Item, Link, MediaType from pystac.extensions.eo import Band, EOExtension from pystac.extensions.item_assets import ItemAssetsExtension from pystac.extensions.projection import ProjectionExtension @@ -18,7 +18,9 @@ from stactools.landsat.constants import (COLLECTION_IDS, L8_EXTENSION_SCHEMA, L8_INSTRUMENTS, L8_ITEM_DESCRIPTION, L8_PLATFORM, LANDSAT_EXTENSION_SCHEMA, - SENSORS, USGS_BROWSER_C2, Sensor) + SENSORS, USGS_API, USGS_BROWSER_C2, + USGS_C2L1, USGS_C2L2_SR, USGS_C2L2_ST, + Sensor) from stactools.landsat.fragments import CollectionFragments, Fragments from stactools.landsat.mtl_metadata import MtlMetadata from stactools.landsat.utils import get_usgs_geometry @@ -54,6 +56,7 @@ def create_stac_item( sensor = Sensor(mtl_metadata.item_id[1]) satellite = int(mtl_metadata.item_id[2:4]) level = int(mtl_metadata.item_id[6]) + correction = mtl_metadata.item_id[7:9] if use_usgs_geometry: geometry = get_usgs_geometry(base_href, sensor, @@ -211,18 +214,28 @@ def create_stac_item( item.properties["landsat:correction"] = item.properties.pop( "landsat:processing_level") - # Link to USGS STAC browser for this item - instrument = "-".join(i for i in SENSORS[sensor.name]["instruments"]) - usgs_item_page = ( - f"{USGS_BROWSER_C2}/level-{level}/standard/{instrument}" - f"/{mtl_metadata.scene_datetime.year}" - f"/{mtl_metadata.wrs_path}/{mtl_metadata.wrs_row}" - f"/{mtl_metadata.product_id}") - item.add_link( - Link(rel="alternate", - target=usgs_item_page, - title="USGS stac-browser page", - media_type="text/html")) + via_links = [] + if level == 1: + via_links.append( + f"{USGS_API}/collections/{USGS_C2L1}/items/{mtl_metadata.product_id}" + ) + elif level == 2 and correction == "SP": + via_links.append( + f"{USGS_API}/collections/{USGS_C2L2_SR}/items/{mtl_metadata.product_id}_SR" + ) + via_links.append( + f"{USGS_API}/collections/{USGS_C2L2_ST}/items/{mtl_metadata.product_id}_ST" + ) + elif level == 2 and correction == "SR": + via_links.append( + f"{USGS_API}/collections/{USGS_C2L2_SR}/items/{mtl_metadata.product_id}_SR" + ) + for via_link in via_links: + item.add_link( + Link(rel="via", + target=via_link, + title="USGS STAC Item", + media_type=MediaType.JSON)) return item diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index e30cc87..8429e46 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -194,10 +194,9 @@ def test_nonlegacyl8_item() -> None: # nonlegacy has doi link assert len(item.get_links("cite-as")) == 1 - # nonlegacy usgs browser link includes processing date - usgs_browser_link = item.get_links("alternate")[0].href - endpoint = os.path.basename(usgs_browser_link) - assert len(endpoint) == 40 + # nonlegacy has via link(s) to usgs stac-server + usgs_stac_links = item.get_links(rel="via") + assert len(usgs_stac_links) > 0 def test_read_href_modifier() -> None: From 50f6cd207becd85481734bc84f0a036068ff8328 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 05:17:15 -0500 Subject: [PATCH 17/47] move legacy landsat 8 logic into mtl_metadata class --- src/stactools/landsat/mtl_metadata.py | 8 ++++++-- src/stactools/landsat/stac.py | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/stactools/landsat/mtl_metadata.py b/src/stactools/landsat/mtl_metadata.py index e535e3f..de3f4f1 100644 --- a/src/stactools/landsat/mtl_metadata.py +++ b/src/stactools/landsat/mtl_metadata.py @@ -293,7 +293,7 @@ def wrs_row(self) -> str: @property def landsat_metadata(self) -> Dict[str, Any]: - return { + landsat_meta = { "landsat:cloud_cover_land": self._get_float("IMAGE_ATTRIBUTES/CLOUD_COVER_LAND"), "landsat:wrs_type": @@ -306,11 +306,15 @@ def landsat_metadata(self) -> Dict[str, Any]: self._get_text("PRODUCT_CONTENTS/COLLECTION_CATEGORY"), "landsat:collection_number": self._get_text("PRODUCT_CONTENTS/COLLECTION_NUMBER"), - "landsat:processing_level": + "landsat:correction": self.processing_level, "landsat:scene_id": self.scene_id } + if self.satellite_num == 8 and self.legacy_l8: + landsat_meta["landsat:processing_level"] = landsat_meta.pop( + "landsat:correction") + return landsat_meta @property def level1_radiance(self) -> Dict[str, Any]: diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 6eeff21..b927666 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -211,8 +211,6 @@ def create_stac_item( item.stac_extensions.append(LANDSAT_EXTENSION_SCHEMA) item.properties.update(**mtl_metadata.landsat_metadata) - item.properties["landsat:correction"] = item.properties.pop( - "landsat:processing_level") via_links = [] if level == 1: From e5cbbbe095454de76f51dff520f09ffe229ea5aa Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 08:40:41 -0500 Subject: [PATCH 18/47] add title to doi Link --- src/stactools/landsat/constants.py | 4 ++++ src/stactools/landsat/stac.py | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index 07e2316..bea356c 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -23,23 +23,27 @@ class Sensor(Enum): "MSS": { "instruments": ["mss"], "doi": "10.5066/P9AF14YV", + "doi_title": "Landsat 1-5 MSS Collection 2 Level 1", "reflective_gsd": 60 }, "TM": { "instruments": ["tm"], "doi": "10.5066/P9IAXOVV", + "doi_title": "Landsat 4-5 TM Collection 2 Level-2", "reflective_gsd": 30, "thermal_gsd": 120 }, "ETM": { "instruments": ["etm"], "doi": "10.5066/P9C7I13B", + "doi_title": "Landsat 7 ETM+ Collection 2 Level-2", "reflective_gsd": 30, "thermal_gsd": 60 }, "OLI_TIRS": { "instruments": ["oli", "tirs"], "doi": "10.5066/P9OGBGM6", + "doi_title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2", "reflective_gsd": 30, "thermal_gsd": 100 } diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index b927666..3b3c465 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -206,12 +206,14 @@ def create_stac_item( projection.shape = mtl_metadata.sr_shape projection.transform = mtl_metadata.sr_transform - scientific = ScientificExtension.ext(item, add_if_missing=True) - scientific.doi = SENSORS[sensor.name]["doi"] - item.stac_extensions.append(LANDSAT_EXTENSION_SCHEMA) item.properties.update(**mtl_metadata.landsat_metadata) + scientific = ScientificExtension.ext(item, add_if_missing=True) + scientific.doi = SENSORS[sensor.name]["doi"] + doi_link = item.get_single_link("cite-as") + doi_link.title = SENSORS[sensor.name]["doi_title"] # type: ignore + via_links = [] if level == 1: via_links.append( From 2b89a98341de43e5d019d9dc15c2348ccc694ff7 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 09:08:04 -0500 Subject: [PATCH 19/47] add doi links to collection summaries field --- .../LM01_L1GS_001010_19720908_02_T2.json | 23 +- .../LM02_L1GS_001004_19750411_02_T2.json | 23 +- .../LM03_L1GS_001001_19780510_02_T2.json | 23 +- .../LM04_L1GS_001001_19830527_02_T2.json | 23 +- .../LM05_L1GS_001001_19850524_02_T2.json | 23 +- examples/landsat-c2-l1/collection.json | 7 + .../LC08_L2SP_047027_20201204_02_T1.json | 29 +- .../LC09_L2SP_010065_20220129_02_T1.json | 29 +- .../LE07_L2SP_021030_20100109_02_T1.json | 29 +- .../LT04_L2SP_002026_19830110_02_T1.json | 29 +- .../LT05_L2SP_010067_19860424_02_T2.json | 29 +- examples/landsat-c2-l2/collection.json | 17 + .../fragments/collections/landsat-c2-l1.json | 9 +- .../fragments/collections/landsat-c2-l2.json | 711 +++++++++--------- 14 files changed, 546 insertions(+), 458 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index b55b5ba..568606c 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,9 +7,9 @@ "instruments": [ "mss" ], - "created": "2022-03-08T11:06:45.905943Z", + "created": "2022-03-09T14:07:40.534083Z", "gsd": 60, - "description": "Landsat Collection 2 Level-1 Data Product", + "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, "view:off_nadir": 0, "view:sun_elevation": 24.87312023, @@ -27,15 +27,15 @@ -60.0, 7953510.0 ], - "sci:doi": "10.5066/P9AF14YV", "landsat:cloud_cover_land": 46.0, "landsat:wrs_type": "1", "landsat:wrs_path": "001", "landsat:wrs_row": "010", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LM10010101972252XXX01", "landsat:correction": "L1GS", + "landsat:scene_id": "LM10010101972252XXX01", + "sci:doi": "10.5066/P9AF14YV", "datetime": "1972-09-08T13:43:34.091000Z" }, "geometry": { @@ -68,13 +68,14 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV" + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1972/001/010/LM01_L1GS_001010_19720908_20200909_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l1/items/LM01_L1GS_001010_19720908_20200909_02_T2", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -294,8 +295,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l1" } \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 2902021..eb51285 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,9 +7,9 @@ "instruments": [ "mss" ], - "created": "2022-03-08T11:06:45.908542Z", + "created": "2022-03-09T14:07:40.536575Z", "gsd": 60, - "description": "Landsat Collection 2 Level-1 Data Product", + "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, "view:off_nadir": 0, "view:sun_elevation": 20.56808495, @@ -27,15 +27,15 @@ -60.0, 8735730.0 ], - "sci:doi": "10.5066/P9AF14YV", "landsat:cloud_cover_land": 100.0, "landsat:wrs_type": "1", "landsat:wrs_path": "001", "landsat:wrs_row": "004", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LM20010041975101AAA02", "landsat:correction": "L1GS", + "landsat:scene_id": "LM20010041975101AAA02", + "sci:doi": "10.5066/P9AF14YV", "datetime": "1975-04-11T13:29:55.002000Z" }, "geometry": { @@ -68,13 +68,14 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV" + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1975/001/004/LM02_L1GS_001004_19750411_20200908_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l1/items/LM02_L1GS_001004_19750411_20200908_02_T2", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -294,8 +295,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l1" } \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index bef67bd..7af425c 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,9 +7,9 @@ "instruments": [ "mss" ], - "created": "2022-03-08T11:06:45.910328Z", + "created": "2022-03-09T14:07:40.538252Z", "gsd": 60, - "description": "Landsat Collection 2 Level-1 Data Product", + "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, "view:off_nadir": 0, "view:sun_elevation": 26.41213243, @@ -27,15 +27,15 @@ -60.0, 9003150.0 ], - "sci:doi": "10.5066/P9AF14YV", "landsat:cloud_cover_land": 85.0, "landsat:wrs_type": "1", "landsat:wrs_path": "001", "landsat:wrs_row": "001", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LM30010011978130XXX00", "landsat:correction": "L1GS", + "landsat:scene_id": "LM30010011978130XXX00", + "sci:doi": "10.5066/P9AF14YV", "datetime": "1978-05-10T13:28:09.003000Z" }, "geometry": { @@ -68,13 +68,14 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV" + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1978/001/001/LM03_L1GS_001001_19780510_20200907_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l1/items/LM03_L1GS_001001_19780510_20200907_02_T2", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -294,8 +295,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l1" } \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 50965df..51bd7e4 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,9 +7,9 @@ "instruments": [ "mss" ], - "created": "2022-03-08T11:06:46.645319Z", + "created": "2022-03-09T14:07:41.269024Z", "gsd": 60, - "description": "Landsat Collection 2 Level-1 Data Product", + "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, "view:off_nadir": 0, "view:sun_elevation": 29.32047976, @@ -27,15 +27,15 @@ -60.0, 9099030.0 ], - "sci:doi": "10.5066/P9AF14YV", "landsat:cloud_cover_land": 0.0, "landsat:wrs_type": "2", "landsat:wrs_path": "001", "landsat:wrs_row": "001", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LM40010011983147KIS00", "landsat:correction": "L1GS", + "landsat:scene_id": "LM40010011983147KIS00", + "sci:doi": "10.5066/P9AF14YV", "datetime": "1983-05-27T13:36:40.094000Z" }, "geometry": { @@ -68,13 +68,14 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV" + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1983/001/001/LM04_L1GS_001001_19830527_20210902_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l1/items/LM04_L1GS_001001_19830527_20210902_02_T2", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -294,8 +295,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l1" } \ No newline at end of file diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 1551b6e..c4bcd67 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,9 +7,9 @@ "instruments": [ "mss" ], - "created": "2022-03-08T11:06:46.650729Z", + "created": "2022-03-09T14:07:41.276922Z", "gsd": 60, - "description": "Landsat Collection 2 Level-1 Data Product", + "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, "view:off_nadir": 0, "view:sun_elevation": 28.86981221, @@ -27,15 +27,15 @@ -60.0, 9098730.0 ], - "sci:doi": "10.5066/P9AF14YV", "landsat:cloud_cover_land": 0.0, "landsat:wrs_type": "2", "landsat:wrs_path": "001", "landsat:wrs_row": "001", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LM50010011985144KIS00", "landsat:correction": "L1GS", + "landsat:scene_id": "LM50010011985144KIS00", + "sci:doi": "10.5066/P9AF14YV", "datetime": "1985-05-24T13:37:18.047002Z" }, "geometry": { @@ -68,13 +68,14 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV" + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-1/standard/mss/1985/001/001/LM05_L1GS_001001_19850524_20210918_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l1/items/LM05_L1GS_001001_19850524_20210918_02_T2", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -294,8 +295,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l1" } \ No newline at end of file diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index bcf377e..89191ea 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -232,6 +232,13 @@ ], "view:off_nadir": [ 0 + ], + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" + } ] } } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index c7c8c52..8042030 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,9 +8,9 @@ "oli", "tirs" ], - "created": "2022-03-08T11:06:23.216316Z", + "created": "2022-03-09T14:05:39.976226Z", "gsd": 30, - "description": "Landsat Collection 2 Level-2 Science Product", + "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, "view:off_nadir": 0, "view:sun_elevation": 18.80722985, @@ -28,15 +28,15 @@ -30.0, 5374215.0 ], - "sci:doi": "10.5066/P9OGBGM6", "landsat:cloud_cover_land": 1.9, "landsat:wrs_type": "2", "landsat:wrs_path": "047", "landsat:wrs_row": "027", "landsat:collection_category": "T1", "landsat:collection_number": "02", - "landsat:scene_id": "LC80470272020339LGN00", "landsat:correction": "L2SP", + "landsat:scene_id": "LC80470272020339LGN00", + "sci:doi": "10.5066/P9OGBGM6", "datetime": "2020-12-04T19:02:11.194486Z" }, "geometry": { @@ -69,13 +69,20 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6" + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2020/047/027/LC08_L2SP_047027_20201204_20210313_02_T1", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_047027_20201204_20210313_02_T1_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_047027_20201204_20210313_02_T1_ST", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -556,8 +563,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 4eef12d..57aa677 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,9 +8,9 @@ "oli", "tirs" ], - "created": "2022-03-08T11:06:24.315730Z", + "created": "2022-03-09T14:05:41.015634Z", "gsd": 30, - "description": "Landsat Collection 2 Level-2 Science Product", + "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, "view:off_nadir": 0, "view:sun_elevation": 57.84396063, @@ -28,15 +28,15 @@ -30.0, -683685.0 ], - "sci:doi": "10.5066/P9OGBGM6", "landsat:cloud_cover_land": 23.54, "landsat:wrs_type": "2", "landsat:wrs_path": "010", "landsat:wrs_row": "065", "landsat:collection_category": "T1", "landsat:collection_number": "02", - "landsat:scene_id": "LC90100652022029LGN00", "landsat:correction": "L2SP", + "landsat:scene_id": "LC90100652022029LGN00", + "sci:doi": "10.5066/P9OGBGM6", "datetime": "2022-01-29T15:28:34.396428Z" }, "geometry": { @@ -69,13 +69,20 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6" + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2022/010/065/LC09_L2SP_010065_20220129_20220131_02_T1", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC09_L2SP_010065_20220129_20220131_02_T1_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC09_L2SP_010065_20220129_20220131_02_T1_ST", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -556,8 +563,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 7f75315..0821838 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,9 +7,9 @@ "instruments": [ "etm" ], - "created": "2022-03-08T11:06:23.213589Z", + "created": "2022-03-09T14:05:39.973341Z", "gsd": 30, - "description": "Landsat Collection 2 Level-2 Science Product", + "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, "view:off_nadir": 0, "view:sun_elevation": 21.38957268, @@ -27,15 +27,15 @@ -30.0, 4890015.0 ], - "sci:doi": "10.5066/P9C7I13B", "landsat:cloud_cover_land": 8.0, "landsat:wrs_type": "2", "landsat:wrs_path": "021", "landsat:wrs_row": "030", "landsat:collection_category": "T1", "landsat:collection_number": "02", - "landsat:scene_id": "LE70210302010009EDC00", "landsat:correction": "L2SP", + "landsat:scene_id": "LE70210302010009EDC00", + "sci:doi": "10.5066/P9C7I13B", "datetime": "2010-01-09T16:13:46.040058Z" }, "geometry": { @@ -68,13 +68,20 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B" + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/etm/2010/021/030/LE07_L2SP_021030_20100109_20200911_02_T1", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LE07_L2SP_021030_20100109_20200911_02_T1_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LE07_L2SP_021030_20100109_20200911_02_T1_ST", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -546,8 +553,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index ec7a806..9660107 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,9 +7,9 @@ "instruments": [ "tm" ], - "created": "2022-03-08T11:06:23.208278Z", + "created": "2022-03-09T14:05:39.968074Z", "gsd": 30, - "description": "Landsat Collection 2 Level-2 Science Product", + "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, "view:off_nadir": 0, "view:sun_elevation": 15.13135888, @@ -27,15 +27,15 @@ -30.0, 5525415.0 ], - "sci:doi": "10.5066/P9IAXOVV", "landsat:cloud_cover_land": 1.0, "landsat:wrs_type": "2", "landsat:wrs_path": "002", "landsat:wrs_row": "026", "landsat:collection_category": "T1", "landsat:collection_number": "02", - "landsat:scene_id": "LT40020261983010XXX03", "landsat:correction": "L2SP", + "landsat:scene_id": "LT40020261983010XXX03", + "sci:doi": "10.5066/P9IAXOVV", "datetime": "1983-01-10T13:52:14.171013Z" }, "geometry": { @@ -68,13 +68,20 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV" + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1983/002/026/LT04_L2SP_002026_19830110_20200918_02_T1", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LT04_L2SP_002026_19830110_20200918_02_T1_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LT04_L2SP_002026_19830110_20200918_02_T1_ST", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -546,8 +553,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 73733f6..9bcb4d9 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,9 +7,9 @@ "instruments": [ "tm" ], - "created": "2022-03-08T11:06:23.211565Z", + "created": "2022-03-09T14:05:39.971367Z", "gsd": 30, - "description": "Landsat Collection 2 Level-2 Science Product", + "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, "view:off_nadir": 0, "view:sun_elevation": 46.93006922, @@ -27,15 +27,15 @@ -30.0, -1014285.0 ], - "sci:doi": "10.5066/P9IAXOVV", "landsat:cloud_cover_land": 0.0, "landsat:wrs_type": "2", "landsat:wrs_path": "010", "landsat:wrs_row": "067", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LT50100671986114XXX02", "landsat:correction": "L2SP", + "landsat:scene_id": "LT50100671986114XXX02", + "sci:doi": "10.5066/P9IAXOVV", "datetime": "1986-04-24T14:54:18.179094Z" }, "geometry": { @@ -68,13 +68,20 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV" + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/tm/1986/010/067/LT05_L2SP_010067_19860424_20200918_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LT05_L2SP_010067_19860424_20200918_02_T2_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LT05_L2SP_010067_19860424_20200918_02_T2_ST", + "type": "application/json", + "title": "USGS STAC Item" }, { "rel": "root", @@ -546,8 +553,8 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ], "collection": "landsat-c2-l2" } \ No newline at end of file diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index b89851d..850b44a 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -418,6 +418,23 @@ 100, 120 ], + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + } + ], "view:off_nadir": { "minimum": 0, "maximum": 15 diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index a111ef1..36cb7a9 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -61,7 +61,14 @@ "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], "instruments": ["mss"], "gsd": [60], - "view:off_nadir": [0] + "view:off_nadir": [0], + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" + } + ] }, "item_assets": { "thumbnail": { diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index 0777804..e69c616 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,362 +1,379 @@ { - "id": "landsat-c2-l2", - "title": "Landsat Collection 2 Level-2", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "license": "proprietary", + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "summaries": { + "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], + "instruments": ["tm", "etm", "oli", "tirs"], + "gsd": [30, 60, 100, 120], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + }, "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + } + ] + }, + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud", "cloud-shadow", "snow-ice", "water-mask" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "sr_coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "eo:bands": [ { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], - "providers": [ + ], + "roles": [ + "reflectance" + ] + }, + "sr_blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "eo:bands": [ { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "eo:bands": [ { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "eo:bands": [ { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] + ], + "roles": [ + "reflectance" + ] + }, + "sr_nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "eo:bands": [ + { + "common_name": "nir08", + "center_wavelength": 0.86, + "full_width_half_max": 0.03 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir16", + "center_wavelength": 1.6, + "full_width_half_max": 0.08 + } + ], + "roles": [ + "reflectance" + ] + }, + "sr_swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.2 } + ], + "roles": [ + "reflectance" + ] + }, + "sr_atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "roles": [ + "data" + ] + }, + "sr_cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "sr_qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "roles": [ + "data-mask", + "water-mask" + ] }, - "summaries": { - "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], - "instruments": ["tm", "etm", "oli", "tirs"], - "gsd": [30, 60, 100, 120], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 + "st_lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.6 } + ], + "gsd": 100, + "roles": [ + "temperature" + ] }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "TEXT", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": [ - "cloud", "cloud-shadow", "snow-ice", "water-mask" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "roles": [ - "saturation" - ] - }, - "sr_coastal": { - "type": "COG", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_blue": { - "type": "COG", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "eo:bands": [ - { - "common_name": "nir08", - "center_wavelength": 0.86, - "full_width_half_max": 0.03 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_swir16": { - "type": "COG", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_swir22": { - "type": "COG", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "sr_atmos_opacity": { - "type": "COG", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "roles": [ - "data" - ] - }, - "sr_cloud_qa": { - "type": "COG", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "sr_qa_aerosol": { - "type": "COG", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "roles": [ - "data-mask", - "water-mask" - ] - }, - "st_lwir11": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.6 - } - ], - "gsd": 100, - "roles": [ - "temperature" - ] - }, - "st_lwir": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 - } - ], - "gsd": 120, - "roles": [ - "temperature" - ] - }, - "st_atran": { - "type": "COG", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_cdist": { - "type": "COG", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_drad": { - "type": "COG", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_urad": { - "type": "COG", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_trad": { - "type": "COG", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_emis": { - "type": "COG", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_emsd": { - "type": "COG", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "st_qa": { - "type": "COG", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": [ - "data" - ] + "st_lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 } + ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "st_atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "st_qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": [ + "data" + ] } + } } From 57ddb434ef3e6ed4979a59573b6c1ce96d13472a Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 09:27:19 -0500 Subject: [PATCH 20/47] change how scientific doi links are included in collections --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 13 +++---- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- examples/landsat-c2-l2/collection.json | 35 ++++++++++--------- .../fragments/collections/landsat-c2-l1.json | 13 ++++--- .../fragments/collections/landsat-c2-l2.json | 35 ++++++++++--------- 14 files changed, 61 insertions(+), 55 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 568606c..3d84735 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:07:40.534083Z", + "created": "2022-03-09T14:26:13.011522Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index eb51285..c6f7b80 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:07:40.536575Z", + "created": "2022-03-09T14:26:13.014219Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 7af425c..8b22a7c 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:07:40.538252Z", + "created": "2022-03-09T14:26:13.015897Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 51bd7e4..011902b 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:07:41.269024Z", + "created": "2022-03-09T14:26:14.488447Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index c4bcd67..6ffefec 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:07:41.276922Z", + "created": "2022-03-09T14:26:14.493489Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 89191ea..c7a3dde 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -10,6 +10,11 @@ "type": "application/json", "title": "Landsat Collection 2 Level-1" }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" + }, { "rel": "license", "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", @@ -233,12 +238,8 @@ "view:off_nadir": [ 0 ], - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" - } + "sci_doi": [ + "10.5066/P9AF14YV" ] } } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 8042030..cf5a41b 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T14:05:39.976226Z", + "created": "2022-03-09T14:26:27.506310Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 57aa677..1a1ee54 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T14:05:41.015634Z", + "created": "2022-03-09T14:26:28.469264Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 0821838..8dd5f54 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T14:05:39.973341Z", + "created": "2022-03-09T14:26:27.503211Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 9660107..b92bd03 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T14:05:39.968074Z", + "created": "2022-03-09T14:26:27.497771Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 9bcb4d9..f69468e 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T14:05:39.971367Z", + "created": "2022-03-09T14:26:27.501246Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 850b44a..451c4eb 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -10,6 +10,21 @@ "type": "application/json", "title": "Landsat Collection 2 Level-2" }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { "rel": "license", "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", @@ -418,22 +433,10 @@ 100, 120 ], - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - } + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" ], "view:off_nadir": { "minimum": 0, diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index 36cb7a9..541b501 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -4,6 +4,11 @@ "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", "license": "proprietary", "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" + }, { "rel": "license", "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", @@ -62,13 +67,7 @@ "instruments": ["mss"], "gsd": [60], "view:off_nadir": [0], - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" - } - ] + "sci_doi": ["10.5066/P9AF14YV"] }, "item_assets": { "thumbnail": { diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index e69c616..91acc14 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -4,6 +4,21 @@ "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", "license": "proprietary", "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { "rel": "license", "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", @@ -65,22 +80,10 @@ "minimum": 0, "maximum": 15 }, - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - } + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" ] }, "item_assets": { From 4fba7996c21110f00b0ce395f4890edc1fee34cf Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 09:48:26 -0500 Subject: [PATCH 21/47] remove sr_ and st_ prefixes from asset keys --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 55 +++++++++--------- .../LC09_L2SP_010065_20220129_02_T1.json | 55 +++++++++--------- .../LE07_L2SP_021030_20100109_02_T1.json | 57 +++++++++---------- .../LT04_L2SP_002026_19830110_02_T1.json | 57 +++++++++---------- .../LT05_L2SP_010067_19860424_02_T2.json | 57 +++++++++---------- examples/landsat-c2-l2/collection.json | 40 ++++++------- .../fragments/collections/landsat-c2-l2.json | 40 ++++++------- .../landsat/fragments/etm/sr-assets.json | 16 +++--- .../landsat/fragments/etm/sr-eo-bands.json | 12 ++-- .../fragments/etm/sr-raster-bands.json | 16 +++--- .../landsat/fragments/etm/st-assets.json | 18 +++--- .../landsat/fragments/etm/st-eo-bands.json | 2 +- .../fragments/etm/st-raster-bands.json | 18 +++--- .../landsat/fragments/oli_tirs/sr-assets.json | 16 +++--- .../fragments/oli_tirs/sr-eo-bands.json | 14 ++--- .../fragments/oli_tirs/sr-raster-bands.json | 16 +++--- .../landsat/fragments/oli_tirs/st-assets.json | 18 +++--- .../fragments/oli_tirs/st-eo-bands.json | 2 +- .../fragments/oli_tirs/st-raster-bands.json | 18 +++--- .../landsat/fragments/tm/sr-assets.json | 16 +++--- .../landsat/fragments/tm/sr-eo-bands.json | 12 ++-- .../landsat/fragments/tm/sr-raster-bands.json | 16 +++--- .../landsat/fragments/tm/st-assets.json | 18 +++--- .../landsat/fragments/tm/st-eo-bands.json | 2 +- .../landsat/fragments/tm/st-raster-bands.json | 18 +++--- 30 files changed, 307 insertions(+), 312 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 3d84735..97d53e5 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:26:13.011522Z", + "created": "2022-03-09T14:41:11.314333Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index c6f7b80..43e272a 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:26:13.014219Z", + "created": "2022-03-09T14:41:11.315956Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 8b22a7c..0623462 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:26:13.015897Z", + "created": "2022-03-09T14:41:11.317299Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 011902b..dc95052 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:26:14.488447Z", + "created": "2022-03-09T14:41:12.454436Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 6ffefec..769ffac 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:26:14.493489Z", + "created": "2022-03-09T14:41:12.462355Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index cf5a41b..cedbd0f 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T14:26:27.506310Z", + "created": "2022-03-09T14:41:24.658885Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -189,7 +189,7 @@ "saturation" ] }, - "sr_coastal": { + "coastal": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", @@ -215,7 +215,7 @@ "reflectance" ] }, - "sr_blue": { + "blue": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", @@ -241,7 +241,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", @@ -267,7 +267,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", @@ -293,7 +293,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", @@ -319,7 +319,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", @@ -345,7 +345,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -371,8 +371,8 @@ "reflectance" ] }, - "sr_qa_aerosol": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", + "qa_aerosol": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -388,7 +388,7 @@ "water-mask" ] }, - "st_lwir11": { + "lwir11": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", @@ -410,13 +410,12 @@ "offset": 149.0 } ], - "gsd": 100, "roles": [ "temperature" ] }, - "st_atran": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", + "atran": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -432,8 +431,8 @@ "data" ] }, - "st_cdist": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", + "cdist": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -449,8 +448,8 @@ "data" ] }, - "st_drad": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", + "drad": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -466,8 +465,8 @@ "data" ] }, - "st_urad": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", + "urad": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -483,8 +482,8 @@ "data" ] }, - "st_trad": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", + "trad": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -500,8 +499,8 @@ "data" ] }, - "st_emis": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", + "emis": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -517,8 +516,8 @@ "data" ] }, - "st_emsd": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", + "emsd": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -534,8 +533,8 @@ "data" ] }, - "st_qa": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", + "qa": { + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 1a1ee54..8d76fa9 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T14:26:28.469264Z", + "created": "2022-03-09T14:41:25.399107Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -189,7 +189,7 @@ "saturation" ] }, - "sr_coastal": { + "coastal": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", @@ -215,7 +215,7 @@ "reflectance" ] }, - "sr_blue": { + "blue": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", @@ -241,7 +241,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", @@ -267,7 +267,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", @@ -293,7 +293,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", @@ -319,7 +319,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", @@ -345,7 +345,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -371,8 +371,8 @@ "reflectance" ] }, - "sr_qa_aerosol": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", + "qa_aerosol": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -388,7 +388,7 @@ "water-mask" ] }, - "st_lwir11": { + "lwir11": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", @@ -410,13 +410,12 @@ "offset": 149.0 } ], - "gsd": 100, "roles": [ "temperature" ] }, - "st_atran": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", + "atran": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -432,8 +431,8 @@ "data" ] }, - "st_cdist": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", + "cdist": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -449,8 +448,8 @@ "data" ] }, - "st_drad": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", + "drad": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -466,8 +465,8 @@ "data" ] }, - "st_urad": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", + "urad": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -483,8 +482,8 @@ "data" ] }, - "st_trad": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", + "trad": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -500,8 +499,8 @@ "data" ] }, - "st_emis": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", + "emis": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -517,8 +516,8 @@ "data" ] }, - "st_emsd": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", + "emsd": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -534,8 +533,8 @@ "data" ] }, - "st_qa": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", + "qa": { + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 8dd5f54..de84a46 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T14:26:27.503211Z", + "created": "2022-03-09T14:41:24.656356Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -188,7 +188,7 @@ "saturation" ] }, - "sr_blue": { + "blue": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", @@ -214,7 +214,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", @@ -240,7 +240,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", @@ -266,7 +266,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", @@ -292,7 +292,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", @@ -318,7 +318,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -344,8 +344,8 @@ "reflectance" ] }, - "sr_atmos_opacity": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", + "atmos_opacity": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -360,8 +360,8 @@ "data" ] }, - "sr_cloud_qa": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", + "cloud_qa": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -378,7 +378,7 @@ "water-mask" ] }, - "st_lwir": { + "lwir": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", @@ -400,13 +400,12 @@ "offset": 149.0 } ], - "gsd": 60, "roles": [ "temperature" ] }, - "st_atran": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", + "atran": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -422,8 +421,8 @@ "data" ] }, - "st_cdist": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", + "cdist": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -439,8 +438,8 @@ "data" ] }, - "st_drad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", + "drad": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -456,8 +455,8 @@ "data" ] }, - "st_urad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", + "urad": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -473,8 +472,8 @@ "data" ] }, - "st_trad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", + "trad": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -490,8 +489,8 @@ "data" ] }, - "st_emis": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", + "emis": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -507,8 +506,8 @@ "data" ] }, - "st_emsd": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", + "emsd": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -524,8 +523,8 @@ "data" ] }, - "st_qa": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", + "qa": { + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index b92bd03..5844959 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T14:26:27.497771Z", + "created": "2022-03-09T14:41:24.651438Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -188,7 +188,7 @@ "saturation" ] }, - "sr_blue": { + "blue": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", @@ -214,7 +214,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", @@ -240,7 +240,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", @@ -266,7 +266,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", @@ -292,7 +292,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", @@ -318,7 +318,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -344,8 +344,8 @@ "reflectance" ] }, - "sr_atmos_opacity": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", + "atmos_opacity": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -360,8 +360,8 @@ "data" ] }, - "sr_cloud_qa": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", + "cloud_qa": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -378,7 +378,7 @@ "water-mask" ] }, - "st_lwir": { + "lwir": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", @@ -400,13 +400,12 @@ "offset": 149.0 } ], - "gsd": 120, "roles": [ "temperature" ] }, - "st_atran": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", + "atran": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -422,8 +421,8 @@ "data" ] }, - "st_cdist": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", + "cdist": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -439,8 +438,8 @@ "data" ] }, - "st_drad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", + "drad": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -456,8 +455,8 @@ "data" ] }, - "st_urad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", + "urad": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -473,8 +472,8 @@ "data" ] }, - "st_trad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", + "trad": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -490,8 +489,8 @@ "data" ] }, - "st_emis": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", + "emis": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -507,8 +506,8 @@ "data" ] }, - "st_emsd": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", + "emsd": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -524,8 +523,8 @@ "data" ] }, - "st_qa": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", + "qa": { + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index f69468e..9b81f9d 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T14:26:27.501246Z", + "created": "2022-03-09T14:41:24.654389Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -188,7 +188,7 @@ "saturation" ] }, - "sr_blue": { + "blue": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B1)", @@ -214,7 +214,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B2)", @@ -240,7 +240,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B3)", @@ -266,7 +266,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B4)", @@ -292,7 +292,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", @@ -318,7 +318,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", @@ -344,8 +344,8 @@ "reflectance" ] }, - "sr_atmos_opacity": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", + "atmos_opacity": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -360,8 +360,8 @@ "data" ] }, - "sr_cloud_qa": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", + "cloud_qa": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -378,7 +378,7 @@ "water-mask" ] }, - "st_lwir": { + "lwir": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", @@ -400,13 +400,12 @@ "offset": 149.0 } ], - "gsd": 120, "roles": [ "temperature" ] }, - "st_atran": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", + "atran": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -422,8 +421,8 @@ "data" ] }, - "st_cdist": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", + "cdist": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -439,8 +438,8 @@ "data" ] }, - "st_drad": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", + "drad": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -456,8 +455,8 @@ "data" ] }, - "st_urad": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", + "urad": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -473,8 +472,8 @@ "data" ] }, - "st_trad": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", + "trad": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -490,8 +489,8 @@ "data" ] }, - "st_emis": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", + "emis": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -507,8 +506,8 @@ "data" ] }, - "st_emsd": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", + "emsd": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -524,8 +523,8 @@ "data" ] }, - "st_qa": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", + "qa": { + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 451c4eb..4661893 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -125,7 +125,7 @@ "saturation" ] }, - "sr_coastal": { + "coastal": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band", "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", @@ -140,7 +140,7 @@ "reflectance" ] }, - "sr_blue": { + "blue": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band", "description": "Collection 2 Level-2 Blue Band Surface Reflectance", @@ -155,7 +155,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band", "description": "Collection 2 Level-2 Green Band Surface Reflectance", @@ -170,7 +170,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band", "description": "Collection 2 Level-2 Red Band Surface Reflectance", @@ -185,7 +185,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", @@ -200,7 +200,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", @@ -215,7 +215,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", @@ -230,7 +230,7 @@ "reflectance" ] }, - "sr_atmos_opacity": { + "atmos_opacity": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -238,7 +238,7 @@ "data" ] }, - "sr_cloud_qa": { + "cloud_qa": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -249,7 +249,7 @@ "water-mask" ] }, - "sr_qa_aerosol": { + "qa_aerosol": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -258,7 +258,7 @@ "water-mask" ] }, - "st_lwir11": { + "lwir11": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", @@ -274,7 +274,7 @@ "temperature" ] }, - "st_lwir": { + "lwir": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", @@ -290,7 +290,7 @@ "temperature" ] }, - "st_atran": { + "atran": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -298,7 +298,7 @@ "data" ] }, - "st_cdist": { + "cdist": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -306,7 +306,7 @@ "data" ] }, - "st_drad": { + "drad": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -314,7 +314,7 @@ "data" ] }, - "st_urad": { + "urad": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -322,7 +322,7 @@ "data" ] }, - "st_trad": { + "trad": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -330,7 +330,7 @@ "data" ] }, - "st_emis": { + "emis": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -338,7 +338,7 @@ "data" ] }, - "st_emsd": { + "emsd": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -346,7 +346,7 @@ "data" ] }, - "st_qa": { + "qa": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index 91acc14..0e32638 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -149,7 +149,7 @@ "saturation" ] }, - "sr_coastal": { + "coastal": { "type": "COG", "title": "Coastal/Aerosol Band", "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", @@ -164,7 +164,7 @@ "reflectance" ] }, - "sr_blue": { + "blue": { "type": "COG", "title": "Blue Band", "description": "Collection 2 Level-2 Blue Band Surface Reflectance", @@ -179,7 +179,7 @@ "reflectance" ] }, - "sr_green": { + "green": { "type": "COG", "title": "Green Band", "description": "Collection 2 Level-2 Green Band Surface Reflectance", @@ -194,7 +194,7 @@ "reflectance" ] }, - "sr_red": { + "red": { "type": "COG", "title": "Red Band", "description": "Collection 2 Level-2 Red Band Surface Reflectance", @@ -209,7 +209,7 @@ "reflectance" ] }, - "sr_nir08": { + "nir08": { "type": "COG", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", @@ -224,7 +224,7 @@ "reflectance" ] }, - "sr_swir16": { + "swir16": { "type": "COG", "title": "Short-wave Infrared Band 1.6", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", @@ -239,7 +239,7 @@ "reflectance" ] }, - "sr_swir22": { + "swir22": { "type": "COG", "title": "Short-wave Infrared Band 2.2", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", @@ -254,7 +254,7 @@ "reflectance" ] }, - "sr_atmos_opacity": { + "atmos_opacity": { "type": "COG", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -262,7 +262,7 @@ "data" ] }, - "sr_cloud_qa": { + "cloud_qa": { "type": "COG", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", @@ -273,7 +273,7 @@ "water-mask" ] }, - "sr_qa_aerosol": { + "qa_aerosol": { "type": "COG", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -282,7 +282,7 @@ "water-mask" ] }, - "st_lwir11": { + "lwir11": { "type": "COG", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", @@ -298,7 +298,7 @@ "temperature" ] }, - "st_lwir": { + "lwir": { "type": "COG", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", @@ -314,7 +314,7 @@ "temperature" ] }, - "st_atran": { + "atran": { "type": "COG", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -322,7 +322,7 @@ "data" ] }, - "st_cdist": { + "cdist": { "type": "COG", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -330,7 +330,7 @@ "data" ] }, - "st_drad": { + "drad": { "type": "COG", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -338,7 +338,7 @@ "data" ] }, - "st_urad": { + "urad": { "type": "COG", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -346,7 +346,7 @@ "data" ] }, - "st_trad": { + "trad": { "type": "COG", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -354,7 +354,7 @@ "data" ] }, - "st_emis": { + "emis": { "type": "COG", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -362,7 +362,7 @@ "data" ] }, - "st_emsd": { + "emsd": { "type": "COG", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -370,7 +370,7 @@ "data" ] }, - "st_qa": { + "qa": { "type": "COG", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json index 7d2ca2a..e1421dd 100644 --- a/src/stactools/landsat/fragments/etm/sr-assets.json +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -9,48 +9,48 @@ "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, - "sr_blue": { + "blue": { "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, - "sr_green": { + "green": { "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, - "sr_red": { + "red": { "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, - "sr_nir08": { + "nir08": { "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, - "sr_swir16": { + "swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, - "sr_swir22": { + "swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, - "sr_atmos_opacity": { + "atmos_opacity": { "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": ["data"] }, - "sr_cloud_qa": { + "cloud_qa": { "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json index 599ce51..4cf164d 100644 --- a/src/stactools/landsat/fragments/etm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -1,35 +1,35 @@ { - "sr_blue": { + "blue": { "name": "SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, - "sr_green": { + "green": { "name": "SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, - "sr_red": { + "red": { "name": "SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, - "sr_nir08": { + "nir08": { "name": "SR_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 }, - "sr_swir16": { + "swir16": { "name": "SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 }, - "sr_swir22": { + "swir22": { "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.22, diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json index d1ad200..1016cfd 100644 --- a/src/stactools/landsat/fragments/etm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -7,54 +7,54 @@ "data_type": "uint16", "unit": "bit index" }, - "sr_blue": { + "blue": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_green": { + "green": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_red": { + "red": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_nir08": { + "nir08": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_swir16": { + "swir16": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_swir22": { + "swir22": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_atmos_opacity": { + "atmos_opacity": { "data_type": "int16", "nodata": -9999, "scale": 0.001 }, - "sr_cloud_qa": { + "cloud_qa": { "data_type": "uint8", "unit": "bit index" } diff --git a/src/stactools/landsat/fragments/etm/st-assets.json b/src/stactools/landsat/fragments/etm/st-assets.json index deb4ffc..0269e4d 100644 --- a/src/stactools/landsat/fragments/etm/st-assets.json +++ b/src/stactools/landsat/fragments/etm/st-assets.json @@ -1,46 +1,46 @@ { - "st_lwir": { + "lwir": { "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "roles": ["temperature"], "href_suffix": "SR_B6.TIF" }, - "st_atran": { + "atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"] }, - "st_cdist": { + "cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"] }, - "st_drad": { + "drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_urad": { + "urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_trad": { + "trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_emis": { + "emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"] }, - "st_emsd": { + "emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"] }, - "st_qa": { + "qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"] diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json index cb6c899..1ee2073 100644 --- a/src/stactools/landsat/fragments/etm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -1,5 +1,5 @@ { - "st_lwir": { + "lwir": { "name": "ST_B6", "common_name": "lwir", "center_wavelength": 11.45, diff --git a/src/stactools/landsat/fragments/etm/st-raster-bands.json b/src/stactools/landsat/fragments/etm/st-raster-bands.json index 267d21c..98a344a 100644 --- a/src/stactools/landsat/fragments/etm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/st-raster-bands.json @@ -1,54 +1,54 @@ { - "st_lwir": { + "lwir": { "data_type": "uint16", "nodata": 0, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 }, - "st_atran": { + "atran": { "data_type": "int16", "nodata": -9999, "unit": "unitless", "scale": 0.0001 }, - "st_cdist": { + "cdist": { "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, - "st_drad": { + "drad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_urad": { + "urad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_trad": { + "trad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_emis": { + "emis": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "st_emsd": { + "emsd": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "st_qa": { + "qa": { "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json index 3ae28c0..e9ad618 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json @@ -9,49 +9,49 @@ "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "roles": ["saturation"] }, - "sr_coastal": { + "coastal": { "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, - "sr_blue": { + "blue": { "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, - "sr_green": { + "green": { "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, - "sr_red": { + "red": { "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, - "sr_nir08": { + "nir08": { "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, - "sr_swir16": { + "swir16": { "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B6.TIF" }, - "sr_swir22": { + "swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, - "sr_qa_aerosol": { + "qa_aerosol": { "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", "roles": ["data-mask", "water-mask"] diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json index 239aaf2..e7cd99a 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json @@ -1,41 +1,41 @@ { - "sr_coastal": { + "coastal": { "name": "SR_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 }, - "sr_blue": { + "blue": { "name": "SR_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 }, - "sr_green": { + "green": { "name": "SR_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 }, - "sr_red": { + "red": { "name": "SR_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 }, - "sr_nir08": { + "nir08": { "name": "SR_B5", "common_name": "nir08", "center_wavelength": 0.86, "full_width_half_max": 0.03 }, - "sr_swir16": { + "swir16": { "name": "SR_B6", "common_name": "swir16", "center_wavelength": 1.6, "full_width_half_max": 0.08 }, - "sr_swir22": { + "swir22": { "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.2, diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index ae85e62..ae9256c 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -7,56 +7,56 @@ "data_type": "uint16", "unit": "bit index" }, - "sr_coastal": { + "coastal": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_blue": { + "blue": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_green": { + "green": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_red": { + "red": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_nir08": { + "nir08": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_swir16": { + "swir16": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_swir22": { + "swir22": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_qa_aerosol": { + "qa_aerosol": { "data_type": "uint8", "nodata": 1, "unit": "bit index" diff --git a/src/stactools/landsat/fragments/oli_tirs/st-assets.json b/src/stactools/landsat/fragments/oli_tirs/st-assets.json index 5d37ea5..e96cac8 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-assets.json @@ -1,46 +1,46 @@ { - "st_lwir11": { + "lwir11": { "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", "roles": ["temperature"], "href_suffix": "SR_B10.TIF" }, - "st_atran": { + "atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"] }, - "st_cdist": { + "cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"] }, - "st_drad": { + "drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_urad": { + "urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_trad": { + "trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_emis": { + "emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"] }, - "st_emsd": { + "emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"] }, - "st_qa": { + "qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"] diff --git a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json index 4183365..3912dd6 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json @@ -1,5 +1,5 @@ { - "st_lwir11": { + "lwir11": { "name": "ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, diff --git a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json index 56b3498..3d08435 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json @@ -1,54 +1,54 @@ { - "st_lwir11": { + "lwir11": { "data_type": "uint16", "nodata": 0, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 }, - "st_atran": { + "atran": { "data_type": "int16", "nodata": -9999, "unit": "unitless", "scale": 0.0001 }, - "st_cdist": { + "cdist": { "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, - "st_drad": { + "drad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_urad": { + "urad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_trad": { + "trad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_emis": { + "emis": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "st_emsd": { + "emsd": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "st_qa": { + "qa": { "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json index 7d2ca2a..e1421dd 100644 --- a/src/stactools/landsat/fragments/tm/sr-assets.json +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -9,48 +9,48 @@ "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, - "sr_blue": { + "blue": { "title": "Blue Band (B1)", "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, - "sr_green": { + "green": { "title": "Green Band (B2)", "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, - "sr_red": { + "red": { "title": "Red Band (B3)", "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, - "sr_nir08": { + "nir08": { "title": "Near Infrared Band 0.8 (B4)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, - "sr_swir16": { + "swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, - "sr_swir22": { + "swir22": { "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, - "sr_atmos_opacity": { + "atmos_opacity": { "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": ["data"] }, - "sr_cloud_qa": { + "cloud_qa": { "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json index 0857d52..4518134 100644 --- a/src/stactools/landsat/fragments/tm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -1,35 +1,35 @@ { - "sr_blue": { + "blue": { "name": "SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, - "sr_green": { + "green": { "name": "SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, - "sr_red": { + "red": { "name": "SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, - "sr_nir08": { + "nir08": { "name": "SR_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 }, - "sr_swir16": { + "swir16": { "name": "SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 }, - "sr_swir22": { + "swir22": { "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.22, diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index d1ad200..1016cfd 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -7,54 +7,54 @@ "data_type": "uint16", "unit": "bit index" }, - "sr_blue": { + "blue": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_green": { + "green": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_red": { + "red": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_nir08": { + "nir08": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_swir16": { + "swir16": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_swir22": { + "swir22": { "data_type": "uint16", "nodata": 0, "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, - "sr_atmos_opacity": { + "atmos_opacity": { "data_type": "int16", "nodata": -9999, "scale": 0.001 }, - "sr_cloud_qa": { + "cloud_qa": { "data_type": "uint8", "unit": "bit index" } diff --git a/src/stactools/landsat/fragments/tm/st-assets.json b/src/stactools/landsat/fragments/tm/st-assets.json index deb4ffc..0269e4d 100644 --- a/src/stactools/landsat/fragments/tm/st-assets.json +++ b/src/stactools/landsat/fragments/tm/st-assets.json @@ -1,46 +1,46 @@ { - "st_lwir": { + "lwir": { "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "roles": ["temperature"], "href_suffix": "SR_B6.TIF" }, - "st_atran": { + "atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"] }, - "st_cdist": { + "cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"] }, - "st_drad": { + "drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_urad": { + "urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_trad": { + "trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"] }, - "st_emis": { + "emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"] }, - "st_emsd": { + "emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"] }, - "st_qa": { + "qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"] diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json index cb6c899..1ee2073 100644 --- a/src/stactools/landsat/fragments/tm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -1,5 +1,5 @@ { - "st_lwir": { + "lwir": { "name": "ST_B6", "common_name": "lwir", "center_wavelength": 11.45, diff --git a/src/stactools/landsat/fragments/tm/st-raster-bands.json b/src/stactools/landsat/fragments/tm/st-raster-bands.json index 267d21c..98a344a 100644 --- a/src/stactools/landsat/fragments/tm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/st-raster-bands.json @@ -1,54 +1,54 @@ { - "st_lwir": { + "lwir": { "data_type": "uint16", "nodata": 0, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 }, - "st_atran": { + "atran": { "data_type": "int16", "nodata": -9999, "unit": "unitless", "scale": 0.0001 }, - "st_cdist": { + "cdist": { "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, - "st_drad": { + "drad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_urad": { + "urad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_trad": { + "trad": { "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, - "st_emis": { + "emis": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "st_emsd": { + "emsd": { "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, - "st_qa": { + "qa": { "data_type": "int16", "nodata": -9999, "unit": "kelvin", From d62b68a270f9dba58b152f49890b4d316d751027 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 10:09:24 -0500 Subject: [PATCH 22/47] remove "unitless" units from raster extension --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 18 +-- .../LC09_L2SP_010065_20220129_02_T1.json | 18 +-- .../LE07_L2SP_021030_20100109_02_T1.json | 9 +- .../LT04_L2SP_002026_19830110_02_T1.json | 9 +- .../LT05_L2SP_010067_19860424_02_T2.json | 9 +- .../fragments/etm/sr-raster-bands.json | 6 - .../fragments/etm/st-raster-bands.json | 109 ++++++++------- .../fragments/oli_tirs/sr-raster-bands.json | 124 +++++++++--------- .../fragments/oli_tirs/st-raster-bands.json | 110 ++++++++-------- .../landsat/fragments/tm/sr-raster-bands.json | 112 ++++++++-------- .../landsat/fragments/tm/st-raster-bands.json | 109 ++++++++------- 16 files changed, 304 insertions(+), 339 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 97d53e5..4eb6710 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:41:11.314333Z", + "created": "2022-03-09T15:07:31.186860Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 43e272a..1737228 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:41:11.315956Z", + "created": "2022-03-09T15:07:31.189491Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 0623462..6371dd8 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:41:11.317299Z", + "created": "2022-03-09T15:07:31.191285Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index dc95052..df61a07 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:41:12.454436Z", + "created": "2022-03-09T15:07:32.567636Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 769ffac..aa0eaf6 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T14:41:12.462355Z", + "created": "2022-03-09T15:07:32.575417Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index cedbd0f..ecbeeec 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T14:41:24.658885Z", + "created": "2022-03-09T15:07:40.940589Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -206,7 +206,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -232,7 +232,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -258,7 +258,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -284,7 +284,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -310,7 +310,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -336,7 +336,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -362,7 +362,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -423,7 +423,7 @@ { "nodata": -9999, "data_type": "int16", - "unit": "unitless", + "unit": "", "scale": 0.0001 } ], diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 8d76fa9..7e6b008 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T14:41:25.399107Z", + "created": "2022-03-09T15:07:41.677815Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -206,7 +206,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -232,7 +232,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -258,7 +258,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -284,7 +284,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -310,7 +310,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -336,7 +336,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -362,7 +362,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -423,7 +423,7 @@ { "nodata": -9999, "data_type": "int16", - "unit": "unitless", + "unit": "", "scale": 0.0001 } ], diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index de84a46..6ed9cc7 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T14:41:24.656356Z", + "created": "2022-03-09T15:07:40.937590Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -205,7 +205,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -231,7 +230,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -257,7 +255,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -283,7 +280,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -309,7 +305,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -335,7 +330,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -413,7 +407,6 @@ { "nodata": -9999, "data_type": "int16", - "unit": "unitless", "scale": 0.0001 } ], diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 5844959..73d724e 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T14:41:24.651438Z", + "created": "2022-03-09T15:07:40.932372Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -205,7 +205,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -231,7 +230,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -257,7 +255,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -283,7 +280,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -309,7 +305,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -335,7 +330,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -413,7 +407,6 @@ { "nodata": -9999, "data_type": "int16", - "unit": "unitless", "scale": 0.0001 } ], diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 9b81f9d..0c0f8a8 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T14:41:24.654389Z", + "created": "2022-03-09T15:07:40.935722Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -205,7 +205,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -231,7 +230,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -257,7 +255,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -283,7 +280,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -309,7 +305,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -335,7 +330,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", "scale": 2.75e-05, "offset": -0.2 } @@ -413,7 +407,6 @@ { "nodata": -9999, "data_type": "int16", - "unit": "unitless", "scale": 0.0001 } ], diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json index 1016cfd..0c9c59d 100644 --- a/src/stactools/landsat/fragments/etm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -10,42 +10,36 @@ "blue": { "data_type": "uint16", "nodata": 0, - "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, "green": { "data_type": "uint16", "nodata": 0, - "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, "red": { "data_type": "uint16", "nodata": 0, - "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, "nir08": { "data_type": "uint16", "nodata": 0, - "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, "swir16": { "data_type": "uint16", "nodata": 0, - "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, "swir22": { "data_type": "uint16", "nodata": 0, - "unit": "unitless", "scale": 0.0000275, "offset": -0.2 }, diff --git a/src/stactools/landsat/fragments/etm/st-raster-bands.json b/src/stactools/landsat/fragments/etm/st-raster-bands.json index 98a344a..2dd15ac 100644 --- a/src/stactools/landsat/fragments/etm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/st-raster-bands.json @@ -1,57 +1,56 @@ { - "lwir": { - "data_type": "uint16", - "nodata": 0, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - }, - "atran": { - "data_type": "int16", - "nodata": -9999, - "unit": "unitless", - "scale": 0.0001 - }, - "cdist": { - "data_type": "int16", - "nodata": -9999, - "unit": "kilometer", - "scale": 0.01 - }, - "drad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "urad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "trad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "emis": { - "data_type": "int16", - "nodata": -9999, - "unit": "emissivity coefficient", - "scale": 0.0001 - }, - "emsd": { - "data_type": "int16", - "nodata": -9999, - "unit": "emissivity coefficient", - "scale": 0.0001 - }, - "qa": { - "data_type": "int16", - "nodata": -9999, - "unit": "kelvin", - "scale": 0.01 - } + "lwir": { + "data_type": "uint16", + "nodata": 0, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + }, + "atran": { + "data_type": "int16", + "nodata": -9999, + "scale": 0.0001 + }, + "cdist": { + "data_type": "int16", + "nodata": -9999, + "unit": "kilometer", + "scale": 0.01 + }, + "drad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "urad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "trad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "emis": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "emsd": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "qa": { + "data_type": "int16", + "nodata": -9999, + "unit": "kelvin", + "scale": 0.01 + } } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index ae9256c..4d22fd2 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -1,64 +1,64 @@ { - "qa_pixel": { - "data_type": "uint16", - "unit": "bit index" - }, - "qa_radsat": { - "data_type": "uint16", - "unit": "bit index" - }, - "coastal": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "blue": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "green": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "red": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "nir08": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "swir16": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "swir22": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "qa_aerosol": { - "data_type": "uint8", - "nodata": 1, - "unit": "bit index" - } + "qa_pixel": { + "data_type": "uint16", + "unit": "bit index" + }, + "qa_radsat": { + "data_type": "uint16", + "unit": "bit index" + }, + "coastal": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "blue": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "green": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "red": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "nir08": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "swir16": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "swir22": { + "data_type": "uint16", + "nodata": 0, + "unit": "", + "scale": 0.0000275, + "offset": -0.2 + }, + "qa_aerosol": { + "data_type": "uint8", + "nodata": 1, + "unit": "bit index" + } } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json index 3d08435..01902ac 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json @@ -1,57 +1,57 @@ { - "lwir11": { - "data_type": "uint16", - "nodata": 0, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - }, - "atran": { - "data_type": "int16", - "nodata": -9999, - "unit": "unitless", - "scale": 0.0001 - }, - "cdist": { - "data_type": "int16", - "nodata": -9999, - "unit": "kilometer", - "scale": 0.01 - }, - "drad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "urad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "trad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "emis": { - "data_type": "int16", - "nodata": -9999, - "unit": "emissivity coefficient", - "scale": 0.0001 - }, - "emsd": { - "data_type": "int16", - "nodata": -9999, - "unit": "emissivity coefficient", - "scale": 0.0001 - }, - "qa": { - "data_type": "int16", - "nodata": -9999, - "unit": "kelvin", - "scale": 0.01 - } + "lwir11": { + "data_type": "uint16", + "nodata": 0, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + }, + "atran": { + "data_type": "int16", + "nodata": -9999, + "unit": "", + "scale": 0.0001 + }, + "cdist": { + "data_type": "int16", + "nodata": -9999, + "unit": "kilometer", + "scale": 0.01 + }, + "drad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "urad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "trad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "emis": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "emsd": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "qa": { + "data_type": "int16", + "nodata": -9999, + "unit": "kelvin", + "scale": 0.01 + } } diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index 1016cfd..10988ae 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -1,61 +1,55 @@ { - "qa_pixel": { - "data_type": "uint16", - "unit": "bit index" - }, - "qa_radsat": { - "data_type": "uint16", - "unit": "bit index" - }, - "blue": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "green": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "red": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "nir08": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "swir16": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "swir22": { - "data_type": "uint16", - "nodata": 0, - "unit": "unitless", - "scale": 0.0000275, - "offset": -0.2 - }, - "atmos_opacity": { - "data_type": "int16", - "nodata": -9999, - "scale": 0.001 - }, - "cloud_qa": { - "data_type": "uint8", - "unit": "bit index" - } + "qa_pixel": { + "data_type": "uint16", + "unit": "bit index" + }, + "qa_radsat": { + "data_type": "uint16", + "unit": "bit index" + }, + "blue": { + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "green": { + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "red": { + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "nir08": { + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir16": { + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir22": { + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "atmos_opacity": { + "data_type": "int16", + "nodata": -9999, + "scale": 0.001 + }, + "cloud_qa": { + "data_type": "uint8", + "unit": "bit index" + } } diff --git a/src/stactools/landsat/fragments/tm/st-raster-bands.json b/src/stactools/landsat/fragments/tm/st-raster-bands.json index 98a344a..2dd15ac 100644 --- a/src/stactools/landsat/fragments/tm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/st-raster-bands.json @@ -1,57 +1,56 @@ { - "lwir": { - "data_type": "uint16", - "nodata": 0, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - }, - "atran": { - "data_type": "int16", - "nodata": -9999, - "unit": "unitless", - "scale": 0.0001 - }, - "cdist": { - "data_type": "int16", - "nodata": -9999, - "unit": "kilometer", - "scale": 0.01 - }, - "drad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "urad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "trad": { - "data_type": "int16", - "nodata": -9999, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - }, - "emis": { - "data_type": "int16", - "nodata": -9999, - "unit": "emissivity coefficient", - "scale": 0.0001 - }, - "emsd": { - "data_type": "int16", - "nodata": -9999, - "unit": "emissivity coefficient", - "scale": 0.0001 - }, - "qa": { - "data_type": "int16", - "nodata": -9999, - "unit": "kelvin", - "scale": 0.01 - } + "lwir": { + "data_type": "uint16", + "nodata": 0, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + }, + "atran": { + "data_type": "int16", + "nodata": -9999, + "scale": 0.0001 + }, + "cdist": { + "data_type": "int16", + "nodata": -9999, + "unit": "kilometer", + "scale": 0.01 + }, + "drad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "urad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "trad": { + "data_type": "int16", + "nodata": -9999, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + }, + "emis": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "emsd": { + "data_type": "int16", + "nodata": -9999, + "unit": "emissivity coefficient", + "scale": 0.0001 + }, + "qa": { + "data_type": "int16", + "nodata": -9999, + "unit": "kelvin", + "scale": 0.01 + } } From 033ac29ab2f54ed710b2614cd955753d08b9cb56 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 10:13:45 -0500 Subject: [PATCH 23/47] fix: finish removing "unitless" unit from oli_tirs --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 10 +--------- .../LC09_L2SP_010065_20220129_02_T1.json | 10 +--------- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- .../landsat/fragments/oli_tirs/sr-raster-bands.json | 7 ------- .../landsat/fragments/oli_tirs/st-raster-bands.json | 1 - 12 files changed, 10 insertions(+), 34 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 4eb6710..4e9ba0e 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:07:31.186860Z", + "created": "2022-03-09T15:13:13.934102Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 1737228..3b97fda 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:07:31.189491Z", + "created": "2022-03-09T15:13:13.936592Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 6371dd8..ba2b0b7 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:07:31.191285Z", + "created": "2022-03-09T15:13:13.938251Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index df61a07..4511df9 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:07:32.567636Z", + "created": "2022-03-09T15:13:14.908465Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index aa0eaf6..4083272 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:07:32.575417Z", + "created": "2022-03-09T15:13:14.915662Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index ecbeeec..fb68931 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T15:07:40.940589Z", + "created": "2022-03-09T15:13:21.019765Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -206,7 +206,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -232,7 +231,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -258,7 +256,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -284,7 +281,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -310,7 +306,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -336,7 +331,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -362,7 +356,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -423,7 +416,6 @@ { "nodata": -9999, "data_type": "int16", - "unit": "", "scale": 0.0001 } ], diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 7e6b008..b7475dc 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T15:07:41.677815Z", + "created": "2022-03-09T15:13:21.724443Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -206,7 +206,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -232,7 +231,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -258,7 +256,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -284,7 +281,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -310,7 +306,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -336,7 +331,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -362,7 +356,6 @@ { "nodata": 0, "data_type": "uint16", - "unit": "", "scale": 2.75e-05, "offset": -0.2 } @@ -423,7 +416,6 @@ { "nodata": -9999, "data_type": "int16", - "unit": "", "scale": 0.0001 } ], diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 6ed9cc7..a3b3f6c 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T15:07:40.937590Z", + "created": "2022-03-09T15:13:21.016631Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 73d724e..635181e 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T15:07:40.932372Z", + "created": "2022-03-09T15:13:21.011188Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 0c0f8a8..b06ca46 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T15:07:40.935722Z", + "created": "2022-03-09T15:13:21.014734Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index 4d22fd2..0ab153c 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -10,49 +10,42 @@ "coastal": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, "blue": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, "green": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, "red": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, "nir08": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, "swir16": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, "swir22": { "data_type": "uint16", "nodata": 0, - "unit": "", "scale": 0.0000275, "offset": -0.2 }, diff --git a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json index 01902ac..a03fb92 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json @@ -9,7 +9,6 @@ "atran": { "data_type": "int16", "nodata": -9999, - "unit": "", "scale": 0.0001 }, "cdist": { From 4507d346c71a573b7718a424271c5027ca89252d Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 10:27:03 -0500 Subject: [PATCH 24/47] remove eo extension center_wavelength and full_width_half_max in collection item_assets --- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- examples/landsat-c2-l2/collection.json | 36 +++++-------------- .../fragments/collections/landsat-c2-l2.json | 36 +++++-------------- 7 files changed, 23 insertions(+), 59 deletions(-) diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index fb68931..864aead 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T15:13:21.019765Z", + "created": "2022-03-09T15:23:34.136765Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index b7475dc..ac44a84 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T15:13:21.724443Z", + "created": "2022-03-09T15:23:35.126561Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index a3b3f6c..d7169db 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T15:13:21.016631Z", + "created": "2022-03-09T15:23:34.133753Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 635181e..8710a40 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T15:13:21.011188Z", + "created": "2022-03-09T15:23:34.128570Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index b06ca46..5d9e2c8 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T15:13:21.014734Z", + "created": "2022-03-09T15:23:34.131797Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 4661893..b5693c0 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -131,9 +131,7 @@ "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", "eo:bands": [ { - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 + "common_name": "coastal" } ], "roles": [ @@ -146,9 +144,7 @@ "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 + "common_name": "blue" } ], "roles": [ @@ -161,9 +157,7 @@ "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 + "common_name": "green" } ], "roles": [ @@ -176,9 +170,7 @@ "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 + "common_name": "red" } ], "roles": [ @@ -191,9 +183,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "common_name": "nir08", - "center_wavelength": 0.86, - "full_width_half_max": 0.03 + "common_name": "nir08" } ], "roles": [ @@ -206,9 +196,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 + "common_name": "swir16" } ], "roles": [ @@ -221,9 +209,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.2 + "common_name": "swir22" } ], "roles": [ @@ -264,9 +250,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "common_name": "lwir11" } ], "gsd": 100, @@ -280,9 +264,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 + "common_name": "lwir" } ], "gsd": 120, diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index 0e32638..c345c89 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -155,9 +155,7 @@ "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", "eo:bands": [ { - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 + "common_name": "coastal" } ], "roles": [ @@ -170,9 +168,7 @@ "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 + "common_name": "blue" } ], "roles": [ @@ -185,9 +181,7 @@ "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 + "common_name": "green" } ], "roles": [ @@ -200,9 +194,7 @@ "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 + "common_name": "red" } ], "roles": [ @@ -215,9 +207,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "common_name": "nir08", - "center_wavelength": 0.86, - "full_width_half_max": 0.03 + "common_name": "nir08" } ], "roles": [ @@ -230,9 +220,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 + "common_name": "swir16" } ], "roles": [ @@ -245,9 +233,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.2 + "common_name": "swir22" } ], "roles": [ @@ -288,9 +274,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "common_name": "lwir11" } ], "gsd": 100, @@ -304,9 +288,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 + "common_name": "lwir" } ], "gsd": 120, From 43a3c1d673a70e95f903e109557083205567d37f Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 16:20:14 -0500 Subject: [PATCH 25/47] fix a slew of errors and add spatial_resolution to raster extension --- .../LM01_L1GS_001010_19720908_02_T2.json | 17 +++---- .../LM02_L1GS_001004_19750411_02_T2.json | 17 +++---- .../LM03_L1GS_001001_19780510_02_T2.json | 17 +++---- .../LM04_L1GS_001001_19830527_02_T2.json | 17 +++---- .../LM05_L1GS_001001_19850524_02_T2.json | 17 +++---- .../LC08_L2SP_047027_20201204_02_T1.json | 44 +++++++++++++----- .../LC09_L2SP_010065_20220129_02_T1.json | 44 +++++++++++++----- .../LE07_L2SP_021030_20100109_02_T1.json | 46 +++++++++++++------ .../LT04_L2SP_002026_19830110_02_T1.json | 46 +++++++++++++------ .../LT05_L2SP_010067_19860424_02_T2.json | 46 +++++++++++++------ examples/landsat-c2-l2/collection.json | 2 +- src/stactools/landsat/fragments/README.md | 2 +- .../fragments/collections/landsat-c2-l2.json | 2 +- .../fragments/common/common-assets.json | 2 +- .../landsat/fragments/etm/sr-assets.json | 6 ++- .../fragments/etm/sr-raster-bands.json | 10 ++++ .../landsat/fragments/etm/st-assets.json | 26 +++++++---- .../fragments/etm/st-raster-bands.json | 9 ++++ .../fragments/mss/sr-raster-bands.json | 18 +++++--- .../landsat/fragments/oli_tirs/sr-assets.json | 3 +- .../fragments/oli_tirs/sr-raster-bands.json | 10 ++++ .../landsat/fragments/oli_tirs/st-assets.json | 26 +++++++---- .../fragments/oli_tirs/st-raster-bands.json | 9 ++++ .../landsat/fragments/tm/sr-assets.json | 6 ++- .../landsat/fragments/tm/sr-raster-bands.json | 10 ++++ .../landsat/fragments/tm/st-assets.json | 26 +++++++---- .../landsat/fragments/tm/st-raster-bands.json | 9 ++++ src/stactools/landsat/stac.py | 4 +- 28 files changed, 334 insertions(+), 157 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 4e9ba0e..c502b11 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:13:13.934102Z", + "created": "2022-03-09T20:44:53.843778Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, @@ -140,15 +140,6 @@ "metadata" ] }, - "ang": { - "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, "qa_pixel": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", @@ -157,6 +148,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -172,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -196,6 +189,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.95591, "offset": -18.55591 @@ -222,6 +216,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.64843, "offset": -0.74843 @@ -248,6 +243,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.65236, "offset": -0.75236 @@ -274,6 +270,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.60866, "offset": -0.60866 diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 3b97fda..0c710be 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:13:13.936592Z", + "created": "2022-03-09T20:44:53.847107Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, @@ -140,15 +140,6 @@ "metadata" ] }, - "ang": { - "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, "qa_pixel": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", @@ -157,6 +148,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -172,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -196,6 +189,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 1.0598, "offset": -9.05984 @@ -222,6 +216,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.61496, "offset": 4.18504 @@ -248,6 +243,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.53386, "offset": 4.06614 @@ -274,6 +270,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.45787, "offset": 3.14213 diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index ba2b0b7..8d01a5f 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:13:13.938251Z", + "created": "2022-03-09T20:44:53.850631Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, @@ -140,15 +140,6 @@ "metadata" ] }, - "ang": { - "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, "qa_pixel": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", @@ -157,6 +148,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -172,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -196,6 +189,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 1.0827, "offset": -6.48268 @@ -222,6 +216,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.72559, "offset": 0.97441 @@ -248,6 +243,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.62756, "offset": 2.57244 @@ -274,6 +270,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.50787, "offset": 0.19213 diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 4511df9..6e51a93 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:13:14.908465Z", + "created": "2022-03-09T20:44:55.092540Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, @@ -140,15 +140,6 @@ "metadata" ] }, - "ang": { - "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, "qa_pixel": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", @@ -157,6 +148,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -172,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -196,6 +189,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.8752, "offset": 2.9248 @@ -222,6 +216,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.62008, "offset": 3.07992 @@ -248,6 +243,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.54921, "offset": 4.55079 @@ -274,6 +270,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.47638, "offset": 3.82362 diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 4083272..b70ac52 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T15:13:14.915662Z", + "created": "2022-03-09T20:44:55.101298Z", "gsd": 60, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, @@ -140,15 +140,6 @@ "metadata" ] }, - "ang": { - "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", - "roles": [ - "metadata" - ] - }, "qa_pixel": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", @@ -157,6 +148,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -172,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 60, "unit": "bit index" } ], @@ -196,6 +189,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.88504, "offset": 1.51496 @@ -222,6 +216,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.66024, "offset": 2.03976 @@ -248,6 +243,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.55866, "offset": 4.34134 @@ -274,6 +270,7 @@ { "nodata": 0, "data_type": "uint8", + "spatial_resolution": 60, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.46654, "offset": 1.03346 diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 864aead..8192893 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T15:23:34.136765Z", + "created": "2022-03-09T20:45:05.036764Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -151,7 +151,7 @@ "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] @@ -164,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -182,6 +183,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -206,6 +208,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -231,6 +234,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -256,6 +260,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -281,6 +286,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -306,6 +312,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -331,6 +338,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -356,6 +364,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -365,7 +374,7 @@ ] }, "qa_aerosol": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_AEROSOL.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -373,6 +382,7 @@ { "nodata": 1, "data_type": "uint8", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -382,7 +392,7 @@ ] }, "lwir11": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B10.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", @@ -398,17 +408,19 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 } ], + "gsd": 100, "roles": [ "temperature" ] }, "atran": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ATRAN.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -416,6 +428,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.0001 } ], @@ -424,7 +437,7 @@ ] }, "cdist": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_CDIST.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -432,6 +445,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kilometer", "scale": 0.01 } @@ -441,7 +455,7 @@ ] }, "drad": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_DRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -449,6 +463,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -458,7 +473,7 @@ ] }, "urad": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_URAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -466,6 +481,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -475,7 +491,7 @@ ] }, "trad": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_TRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -483,6 +499,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -492,7 +509,7 @@ ] }, "emis": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_EMIS.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -500,6 +517,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -509,7 +527,7 @@ ] }, "emsd": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_EMSD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -517,6 +535,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -526,7 +545,7 @@ ] }, "qa": { - "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA.TIF", + "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -534,6 +553,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.01 } diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index ac44a84..fd5e912 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T15:23:35.126561Z", + "created": "2022-03-09T20:45:06.027283Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -151,7 +151,7 @@ "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] @@ -164,6 +164,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -182,6 +183,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -206,6 +208,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -231,6 +234,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -256,6 +260,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -281,6 +286,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -306,6 +312,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -331,6 +338,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -356,6 +364,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -365,7 +374,7 @@ ] }, "qa_aerosol": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_AEROSOL.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -373,6 +382,7 @@ { "nodata": 1, "data_type": "uint8", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -382,7 +392,7 @@ ] }, "lwir11": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B10.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", @@ -398,17 +408,19 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 } ], + "gsd": 100, "roles": [ "temperature" ] }, "atran": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ATRAN.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -416,6 +428,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.0001 } ], @@ -424,7 +437,7 @@ ] }, "cdist": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_CDIST.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -432,6 +445,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kilometer", "scale": 0.01 } @@ -441,7 +455,7 @@ ] }, "drad": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_DRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -449,6 +463,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -458,7 +473,7 @@ ] }, "urad": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_URAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -466,6 +481,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -475,7 +491,7 @@ ] }, "trad": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_TRAD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -483,6 +499,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -492,7 +509,7 @@ ] }, "emis": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_EMIS.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -500,6 +517,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -509,7 +527,7 @@ ] }, "emsd": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_EMSD.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -517,6 +535,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -526,7 +545,7 @@ ] }, "qa": { - "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA.TIF", + "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -534,6 +553,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.01 } diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index d7169db..2621e87 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T15:23:34.133753Z", + "created": "2022-03-09T20:45:05.033668Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -150,7 +150,7 @@ "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] @@ -163,6 +163,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -181,6 +182,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -205,6 +207,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -230,6 +233,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -255,6 +259,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -280,6 +285,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -305,6 +311,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -330,6 +337,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -339,7 +347,7 @@ ] }, "atmos_opacity": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ATMOS_OPACITY.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -347,6 +355,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.001 } ], @@ -355,13 +364,14 @@ ] }, "cloud_qa": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_CLOUD_QA.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -373,7 +383,7 @@ ] }, "lwir": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B6.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -389,17 +399,19 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 } ], + "gsd": 60, "roles": [ "temperature" ] }, "atran": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ATRAN.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -407,6 +419,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.0001 } ], @@ -415,7 +428,7 @@ ] }, "cdist": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_CDIST.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -423,6 +436,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kilometer", "scale": 0.01 } @@ -432,7 +446,7 @@ ] }, "drad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_DRAD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -440,6 +454,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -449,7 +464,7 @@ ] }, "urad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_URAD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -457,6 +472,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -466,7 +482,7 @@ ] }, "trad": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_TRAD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -474,6 +490,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -483,7 +500,7 @@ ] }, "emis": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_EMIS.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -491,6 +508,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -500,7 +518,7 @@ ] }, "emsd": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_EMSD.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -508,6 +526,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -517,7 +536,7 @@ ] }, "qa": { - "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA.TIF", + "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -525,6 +544,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.01 } diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 8710a40..ddc2929 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T15:23:34.128570Z", + "created": "2022-03-09T20:45:05.028358Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -150,7 +150,7 @@ "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] @@ -163,6 +163,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -181,6 +182,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -205,6 +207,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -230,6 +233,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -255,6 +259,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -280,6 +285,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -305,6 +311,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -330,6 +337,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -339,7 +347,7 @@ ] }, "atmos_opacity": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ATMOS_OPACITY.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -347,6 +355,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.001 } ], @@ -355,13 +364,14 @@ ] }, "cloud_qa": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_CLOUD_QA.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -373,7 +383,7 @@ ] }, "lwir": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B6.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -389,17 +399,19 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 } ], + "gsd": 120, "roles": [ "temperature" ] }, "atran": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ATRAN.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -407,6 +419,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.0001 } ], @@ -415,7 +428,7 @@ ] }, "cdist": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_CDIST.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -423,6 +436,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kilometer", "scale": 0.01 } @@ -432,7 +446,7 @@ ] }, "drad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_DRAD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -440,6 +454,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -449,7 +464,7 @@ ] }, "urad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_URAD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -457,6 +472,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -466,7 +482,7 @@ ] }, "trad": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_TRAD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -474,6 +490,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -483,7 +500,7 @@ ] }, "emis": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_EMIS.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -491,6 +508,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -500,7 +518,7 @@ ] }, "emsd": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_EMSD.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -508,6 +526,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -517,7 +536,7 @@ ] }, "qa": { - "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA.TIF", + "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -525,6 +544,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.01 } diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 5d9e2c8..605ed31 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T15:23:34.131797Z", + "created": "2022-03-09T20:45:05.031782Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -150,7 +150,7 @@ "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] @@ -163,6 +163,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -181,6 +182,7 @@ "raster:bands": [ { "data_type": "uint16", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -205,6 +207,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -230,6 +233,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -255,6 +259,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -280,6 +285,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -305,6 +311,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -330,6 +337,7 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -339,7 +347,7 @@ ] }, "atmos_opacity": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ATMOS_OPACITY.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", @@ -347,6 +355,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.001 } ], @@ -355,13 +364,14 @@ ] }, "cloud_qa": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_CLOUD_QA.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", + "spatial_resolution": 30, "unit": "bit index" } ], @@ -373,7 +383,7 @@ ] }, "lwir": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B6.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", @@ -389,17 +399,19 @@ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 } ], + "gsd": 120, "roles": [ "temperature" ] }, "atran": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ATRAN.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -407,6 +419,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "scale": 0.0001 } ], @@ -415,7 +428,7 @@ ] }, "cdist": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_CDIST.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -423,6 +436,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kilometer", "scale": 0.01 } @@ -432,7 +446,7 @@ ] }, "drad": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_DRAD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -440,6 +454,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -449,7 +464,7 @@ ] }, "urad": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_URAD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -457,6 +472,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -466,7 +482,7 @@ ] }, "trad": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_TRAD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -474,6 +490,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -483,7 +500,7 @@ ] }, "emis": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_EMIS.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -491,6 +508,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -500,7 +518,7 @@ ] }, "emsd": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_EMSD.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -508,6 +526,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -517,7 +536,7 @@ ] }, "qa": { - "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA.TIF", + "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -525,6 +544,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.01 } diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index b5693c0..bd7790f 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -101,7 +101,7 @@ "ang": { "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] diff --git a/src/stactools/landsat/fragments/README.md b/src/stactools/landsat/fragments/README.md index 47498c1..e31c1e0 100644 --- a/src/stactools/landsat/fragments/README.md +++ b/src/stactools/landsat/fragments/README.md @@ -1,6 +1,6 @@ # Fragments -Fragments are JSON files that contain constant values that are included in generated STAC items. Some JSON files also contain information that is used to generate STAC Items, but not directly included. The following fragment types/files exist: +Fragments are JSON files that contain constant values that are included in generated STAC items. Some JSON files also contain information that is used to generate STAC Items, but is not included in the STAC Item. The following fragment types/files exist: - `landsat-c2-l1` or `-l2`: Collection data - `common-assets.json`: Asset data that is common to all Landsat data products. diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index c345c89..c361285 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -128,7 +128,7 @@ "ang": { "type": "TEXT", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] diff --git a/src/stactools/landsat/fragments/common/common-assets.json b/src/stactools/landsat/fragments/common/common-assets.json index b7355e7..f0360cc 100644 --- a/src/stactools/landsat/fragments/common/common-assets.json +++ b/src/stactools/landsat/fragments/common/common-assets.json @@ -35,7 +35,7 @@ "ang": { "type": "TEXT", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": ["metadata"], "href_suffix": "ANG.txt" } diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json index e1421dd..1db6874 100644 --- a/src/stactools/landsat/fragments/etm/sr-assets.json +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -48,11 +48,13 @@ "atmos_opacity": { "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "SR_ATMOS_OPACITY.TIF" }, "cloud_qa": { "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"], + "href_suffix": "SR_CLOUD_QA.TIF" } } diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json index 0c9c59d..ea47438 100644 --- a/src/stactools/landsat/fragments/etm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -1,54 +1,64 @@ { "qa_pixel": { + "spatial_resolution": 30, "data_type": "uint16", "unit": "bit index" }, "qa_radsat": { + "spatial_resolution": 30, "data_type": "uint16", "unit": "bit index" }, "blue": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "green": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "red": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "nir08": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "swir16": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "swir22": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "atmos_opacity": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "scale": 0.001 }, "cloud_qa": { + "spatial_resolution": 30, "data_type": "uint8", "unit": "bit index" } diff --git a/src/stactools/landsat/fragments/etm/st-assets.json b/src/stactools/landsat/fragments/etm/st-assets.json index 0269e4d..afa9e8f 100644 --- a/src/stactools/landsat/fragments/etm/st-assets.json +++ b/src/stactools/landsat/fragments/etm/st-assets.json @@ -3,46 +3,54 @@ "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "roles": ["temperature"], - "href_suffix": "SR_B6.TIF" + "href_suffix": "ST_B6.TIF" }, "atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_ATRAN.TIF" }, "cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_CDIST.TIF" }, "drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_DRAD.TIF" }, "urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_URAD.TIF" }, "trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_TRAD.TIF" }, "emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_EMIS.TIF" }, "emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_EMSD.TIF" }, "qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_QA.TIF" } } diff --git a/src/stactools/landsat/fragments/etm/st-raster-bands.json b/src/stactools/landsat/fragments/etm/st-raster-bands.json index 2dd15ac..a98074b 100644 --- a/src/stactools/landsat/fragments/etm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/st-raster-bands.json @@ -1,5 +1,6 @@ { "lwir": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "unit": "kelvin", @@ -7,47 +8,55 @@ "offset": 149.0 }, "atran": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "scale": 0.0001 }, "cdist": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, "drad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "urad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "trad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "emis": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, "emsd": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, "qa": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/fragments/mss/sr-raster-bands.json b/src/stactools/landsat/fragments/mss/sr-raster-bands.json index a8a2fc2..71b426d 100644 --- a/src/stactools/landsat/fragments/mss/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-raster-bands.json @@ -1,34 +1,40 @@ { "qa_pixel": { "data_type": "uint16", - "unit": "bit index" + "unit": "bit index", + "spatial_resolution": 60 }, "qa_radsat": { "data_type": "uint16", - "unit": "bit index" + "unit": "bit index", + "spatial_resolution": 60 }, "green": { "name": "B1", "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "spatial_resolution": 60 }, "red": { "name": "B2", "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "spatial_resolution": 60 }, "nir08": { "name": "B3", "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "spatial_resolution": 60 }, "nir09": { "name": "B4", "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "spatial_resolution": 60 } } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json index e9ad618..507d30d 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json @@ -54,6 +54,7 @@ "qa_aerosol": { "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "roles": ["data-mask", "water-mask"] + "roles": ["data-mask", "water-mask"], + "href_suffix": "SR_QA_AEROSOL.TIF" } } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index 0ab153c..6811012 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -1,55 +1,65 @@ { "qa_pixel": { + "spatial_resolution": 30, "data_type": "uint16", "unit": "bit index" }, "qa_radsat": { + "spatial_resolution": 30, "data_type": "uint16", "unit": "bit index" }, "coastal": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "blue": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "green": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "red": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "nir08": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "swir16": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "swir22": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "qa_aerosol": { + "spatial_resolution": 30, "data_type": "uint8", "nodata": 1, "unit": "bit index" diff --git a/src/stactools/landsat/fragments/oli_tirs/st-assets.json b/src/stactools/landsat/fragments/oli_tirs/st-assets.json index e96cac8..5d578e0 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-assets.json @@ -3,46 +3,54 @@ "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", "roles": ["temperature"], - "href_suffix": "SR_B10.TIF" + "href_suffix": "ST_B10.TIF" }, "atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_ATRAN.TIF" }, "cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_CDIST.TIF" }, "drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_DRAD.TIF" }, "urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_URAD.TIF" }, "trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_TRAD.TIF" }, "emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_EMIS.TIF" }, "emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_EMSD.TIF" }, "qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_QA.TIF" } } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json index a03fb92..45a77c6 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-raster-bands.json @@ -1,5 +1,6 @@ { "lwir11": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "unit": "kelvin", @@ -7,47 +8,55 @@ "offset": 149.0 }, "atran": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "scale": 0.0001 }, "cdist": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, "drad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "urad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "trad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "emis": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, "emsd": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, "qa": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json index e1421dd..1db6874 100644 --- a/src/stactools/landsat/fragments/tm/sr-assets.json +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -48,11 +48,13 @@ "atmos_opacity": { "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "SR_ATMOS_OPACITY.TIF" }, "cloud_qa": { "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] + "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"], + "href_suffix": "SR_CLOUD_QA.TIF" } } diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index 10988ae..285fd41 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -1,54 +1,64 @@ { "qa_pixel": { + "spatial_resolution": 30, "data_type": "uint16", "unit": "bit index" }, "qa_radsat": { + "spatial_resolution": 30, "data_type": "uint16", "unit": "bit index" }, "blue": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "green": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "red": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "nir08": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "swir16": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "swir22": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "scale": 0.0000275, "offset": -0.2 }, "atmos_opacity": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "scale": 0.001 }, "cloud_qa": { + "spatial_resolution": 30, "data_type": "uint8", "unit": "bit index" } diff --git a/src/stactools/landsat/fragments/tm/st-assets.json b/src/stactools/landsat/fragments/tm/st-assets.json index 0269e4d..afa9e8f 100644 --- a/src/stactools/landsat/fragments/tm/st-assets.json +++ b/src/stactools/landsat/fragments/tm/st-assets.json @@ -3,46 +3,54 @@ "title": "Surface Temperature Band (B6)", "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "roles": ["temperature"], - "href_suffix": "SR_B6.TIF" + "href_suffix": "ST_B6.TIF" }, "atran": { "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_ATRAN.TIF" }, "cdist": { "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_CDIST.TIF" }, "drad": { "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_DRAD.TIF" }, "urad": { "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_URAD.TIF" }, "trad": { "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_TRAD.TIF" }, "emis": { "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_EMIS.TIF" }, "emsd": { "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_EMSD.TIF" }, "qa": { "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": ["data"] + "roles": ["data"], + "href_suffix": "ST_QA.TIF" } } diff --git a/src/stactools/landsat/fragments/tm/st-raster-bands.json b/src/stactools/landsat/fragments/tm/st-raster-bands.json index 2dd15ac..a98074b 100644 --- a/src/stactools/landsat/fragments/tm/st-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/st-raster-bands.json @@ -1,5 +1,6 @@ { "lwir": { + "spatial_resolution": 30, "data_type": "uint16", "nodata": 0, "unit": "kelvin", @@ -7,47 +8,55 @@ "offset": 149.0 }, "atran": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "scale": 0.0001 }, "cdist": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "kilometer", "scale": 0.01 }, "drad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "urad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "trad": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 }, "emis": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, "emsd": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "emissivity coefficient", "scale": 0.0001 }, "qa": { + "spatial_resolution": 30, "data_type": "int16", "nodata": -9999, "unit": "kelvin", diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 3b3c465..e9f36c7 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -149,7 +149,7 @@ def create_stac_item( assets = fragments.common_assets() for key, asset in assets.items(): # MSS data does not have an angle file - if sensor is Sensor.MSS and key.startswith("ANG"): + if sensor is Sensor.MSS and key.startswith("ang"): continue # MTL files are specific to the processing level if key.startswith("mtl"): @@ -189,7 +189,7 @@ def create_stac_item( thermal_raster = RasterExtension.ext(asset, add_if_missing=True) thermal_raster.bands = [RasterBand.create(**raster_band)] - if key.startswith("st_lwir"): + if key.startswith("lwir"): asset.common_metadata.gsd = SENSORS[ sensor.name]["thermal_gsd"] From cac49928b8a46a37ddc820e45e703fcca244ba2b Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Wed, 9 Mar 2022 17:39:11 -0500 Subject: [PATCH 26/47] update gsd --- .../LM01_L1GS_001010_19720908_02_T2.json | 4 +- .../LM02_L1GS_001004_19750411_02_T2.json | 4 +- .../LM03_L1GS_001001_19780510_02_T2.json | 4 +- .../LM04_L1GS_001001_19830527_02_T2.json | 4 +- .../LM05_L1GS_001001_19850524_02_T2.json | 4 +- examples/landsat-c2-l1/collection.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- src/stactools/landsat/constants.py | 2 +- .../fragments/collections/landsat-c2-l1.json | 356 ++++----- .../fragments/collections/landsat-c2-l2.json | 698 +++++++++--------- 14 files changed, 544 insertions(+), 544 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index c502b11..7a379bc 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,8 +7,8 @@ "instruments": [ "mss" ], - "created": "2022-03-09T20:44:53.843778Z", - "gsd": 60, + "created": "2022-03-09T22:37:34.614323Z", + "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, "view:off_nadir": 0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 0c710be..4234c83 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,8 +7,8 @@ "instruments": [ "mss" ], - "created": "2022-03-09T20:44:53.847107Z", - "gsd": 60, + "created": "2022-03-09T22:37:34.616794Z", + "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, "view:off_nadir": 0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 8d01a5f..9c7c4d1 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,8 +7,8 @@ "instruments": [ "mss" ], - "created": "2022-03-09T20:44:53.850631Z", - "gsd": 60, + "created": "2022-03-09T22:37:34.618478Z", + "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, "view:off_nadir": 0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 6e51a93..b55329e 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,8 +7,8 @@ "instruments": [ "mss" ], - "created": "2022-03-09T20:44:55.092540Z", - "gsd": 60, + "created": "2022-03-09T22:37:35.840165Z", + "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, "view:off_nadir": 0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index b70ac52..5e82285 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,8 +7,8 @@ "instruments": [ "mss" ], - "created": "2022-03-09T20:44:55.101298Z", - "gsd": 60, + "created": "2022-03-09T22:37:35.842484Z", + "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, "view:off_nadir": 0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index c7a3dde..82e1e99 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -233,7 +233,7 @@ "mss" ], "gsd": [ - 60 + 79 ], "view:off_nadir": [ 0 diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 8192893..9ad16db 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T20:45:05.036764Z", + "created": "2022-03-09T22:37:46.716736Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index fd5e912..1808254 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T20:45:06.027283Z", + "created": "2022-03-09T22:37:47.443816Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 2621e87..8465409 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T20:45:05.033668Z", + "created": "2022-03-09T22:37:46.713725Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index ddc2929..57187ee 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T20:45:05.028358Z", + "created": "2022-03-09T22:37:46.708347Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 605ed31..a6d9e8f 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T20:45:05.031782Z", + "created": "2022-03-09T22:37:46.711775Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index bea356c..2807ff0 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -24,7 +24,7 @@ class Sensor(Enum): "instruments": ["mss"], "doi": "10.5066/P9AF14YV", "doi_title": "Landsat 1-5 MSS Collection 2 Level 1", - "reflective_gsd": 60 + "reflective_gsd": 79 }, "TM": { "instruments": ["tm"], diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index 541b501..f13d5b0 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -1,189 +1,189 @@ { - "id": "landsat-c2-l1", - "title": "Landsat Collection 2 Level-1", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", - "license": "proprietary", - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" - }, - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery"], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1972-07-25T00:00:00Z", - "2013-01-07T23:23:59Z" - ] - ] - } - }, - "summaries": { - "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], - "instruments": ["mss"], - "gsd": [60], - "view:off_nadir": [0], - "sci_doi": ["10.5066/P9AF14YV"] - }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-1 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": [ - "cloud" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "roles": [ - "saturation" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", - "eo:bands": [ + "id": "landsat-c2-l1", + "title": "Landsat Collection 2 Level-1", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "license": "proprietary", + "links": [ { - "common_name": "green", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - } - ], - "roles": [ - "data" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", - "eo:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" + }, { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" } - ], - "roles": [ - "data" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", - "eo:bands": [ + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery"], + "providers": [ { - "common_name": "nir08", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1972-07-25T00:00:00Z", + "2013-01-07T23:23:59Z" + ] + ] } - ], - "roles": [ - "data" - ] }, - "nir09": { - "type": "COG", - "title": "Near Infrared Band 0.9", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir09", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 + "summaries": { + "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], + "instruments": ["mss"], + "gsd": [79], + "view:off_nadir": [0], + "sci_doi": ["10.5066/P9AF14YV"] + }, + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "type": "COG", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "roles": [ + "data" + ] } - ], - "roles": [ - "data" - ] } - } } diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index c361285..a24d0b2 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,364 +1,364 @@ { - "id": "landsat-c2-l2", - "title": "Landsat Collection 2 Level-2", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "license": "proprietary", - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] - } - }, - "summaries": { - "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], - "instruments": ["tm", "etm", "oli", "tirs"], - "gsd": [30, 60, 100, 120], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 - }, - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ] - }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "TEXT", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": [ - "cloud", "cloud-shadow", "snow-ice", "water-mask" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "COG", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "eo:bands": [ + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ { - "common_name": "coastal" - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "COG", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "eo:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, { - "common_name": "blue" - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "eo:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, { - "common_name": "green" - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "eo:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { - "common_name": "red" + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "eo:bands": [ + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], + "providers": [ { - "common_name": "nir08" - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "COG", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "eo:bands": [ + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, { - "common_name": "swir16" - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "COG", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "eo:bands": [ + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, { - "common_name": "swir22" + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "COG", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "COG", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "COG", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir11" + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] } - ], - "gsd": 100, - "roles": [ - "temperature" - ] }, - "lwir": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir" - } - ], - "gsd": 120, - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "COG", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "cdist": { - "type": "COG", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "drad": { - "type": "COG", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "urad": { - "type": "COG", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "trad": { - "type": "COG", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "emis": { - "type": "COG", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "emsd": { - "type": "COG", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": [ - "data" - ] + "summaries": { + "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], + "instruments": ["tm", "etm", "oli", "tirs"], + "gsd": [30, 60, 100, 120], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + }, + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ] }, - "qa": { - "type": "COG", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": [ - "data" - ] + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "roles": [ + "cloud", "cloud-shadow", "snow-ice", "water-mask" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "coastal" + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "blue" + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "green" + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "red" + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "eo:bands": [ + { + "common_name": "nir08" + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir16" + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir22" + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir11" + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir" + } + ], + "gsd": 120, + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "roles": [ + "data" + ] + }, + "qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "roles": [ + "data" + ] + } } - } } From 998f9e632be6bb123c684044c1115306d873f3a7 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 10 Mar 2022 09:06:45 -0500 Subject: [PATCH 27/47] fix: remove 'name' field from MSS raster extension --- .../LM01_L1GS_001010_19720908_02_T2.json | 18 ++++-------- .../LM02_L1GS_001004_19750411_02_T2.json | 18 ++++-------- .../LM03_L1GS_001001_19780510_02_T2.json | 18 ++++-------- .../LM04_L1GS_001001_19830527_02_T2.json | 18 ++++-------- .../LM05_L1GS_001001_19850524_02_T2.json | 18 ++++-------- .../fragments/mss/sr-raster-bands.json | 28 ++++++++----------- 6 files changed, 37 insertions(+), 81 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 7a379bc..9e18cb0 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T22:37:34.614323Z", + "created": "2022-03-10T14:05:15.683124Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, @@ -190,9 +190,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.95591, - "offset": -18.55591 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -217,9 +215,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.64843, - "offset": -0.74843 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -244,9 +240,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.65236, - "offset": -0.75236 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -271,9 +265,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.60866, - "offset": -0.60866 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 4234c83..b5f1391 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T22:37:34.616794Z", + "created": "2022-03-10T14:05:15.685724Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, @@ -190,9 +190,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 1.0598, - "offset": -9.05984 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -217,9 +215,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.61496, - "offset": 4.18504 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -244,9 +240,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.53386, - "offset": 4.06614 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -271,9 +265,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.45787, - "offset": 3.14213 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 9c7c4d1..d31eb19 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T22:37:34.618478Z", + "created": "2022-03-10T14:05:15.687396Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, @@ -190,9 +190,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 1.0827, - "offset": -6.48268 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -217,9 +215,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.72559, - "offset": 0.97441 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -244,9 +240,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.62756, - "offset": 2.57244 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -271,9 +265,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.50787, - "offset": 0.19213 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index b55329e..3aa8814 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T22:37:35.840165Z", + "created": "2022-03-10T14:05:16.916183Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, @@ -190,9 +190,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.8752, - "offset": 2.9248 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -217,9 +215,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.62008, - "offset": 3.07992 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -244,9 +240,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.54921, - "offset": 4.55079 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -271,9 +265,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.47638, - "offset": 3.82362 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 5e82285..58f64e1 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-09T22:37:35.842484Z", + "created": "2022-03-10T14:05:16.923790Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, @@ -190,9 +190,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.88504, - "offset": 1.51496 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -217,9 +215,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.66024, - "offset": 2.03976 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -244,9 +240,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.55866, - "offset": 4.34134 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ @@ -271,9 +265,7 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.46654, - "offset": 1.03346 + "unit": "watt/steradian/square_meter/micrometer" } ], "roles": [ diff --git a/src/stactools/landsat/fragments/mss/sr-raster-bands.json b/src/stactools/landsat/fragments/mss/sr-raster-bands.json index 71b426d..8bee8d1 100644 --- a/src/stactools/landsat/fragments/mss/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-raster-bands.json @@ -1,40 +1,36 @@ { "qa_pixel": { + "spatial_resolution": 60, "data_type": "uint16", - "unit": "bit index", - "spatial_resolution": 60 + "unit": "bit index" }, "qa_radsat": { + "spatial_resolution": 60, "data_type": "uint16", - "unit": "bit index", - "spatial_resolution": 60 + "unit": "bit index" }, "green": { - "name": "B1", + "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer", - "spatial_resolution": 60 + "unit": "watt/steradian/square_meter/micrometer" }, "red": { - "name": "B2", + "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer", - "spatial_resolution": 60 + "unit": "watt/steradian/square_meter/micrometer" }, "nir08": { - "name": "B3", + "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer", - "spatial_resolution": 60 + "unit": "watt/steradian/square_meter/micrometer" }, "nir09": { - "name": "B4", + "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, - "unit": "watt/steradian/square_meter/micrometer", - "spatial_resolution": 60 + "unit": "watt/steradian/square_meter/micrometer" } } From 761c6015a6d567aaa09361c9e32b0c840aec9f26 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 10 Mar 2022 17:54:50 -0500 Subject: [PATCH 28/47] fix: update fragments with traceable info. --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 46 + .../LC08_L2SP_047027_20201204_02_T1.json | 12 +- .../LC09_L2SP_010065_20220129_02_T1.json | 12 +- .../LE07_L2SP_021030_20100109_02_T1.json | 12 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- examples/landsat-c2-l2/collection.json | 193 +++- .../fragments/collections/landsat-c2-l1.json | 394 ++++---- .../fragments/collections/landsat-c2-l2.json | 885 +++++++++++------- .../landsat/fragments/etm/sr-eo-bands.json | 8 +- .../landsat/fragments/etm/st-eo-bands.json | 4 +- .../fragments/oli_tirs/sr-eo-bands.json | 56 +- .../fragments/oli_tirs/sr-raster-bands.json | 130 +-- .../fragments/oli_tirs/st-eo-bands.json | 4 +- .../landsat/fragments/tm/sr-eo-bands.json | 2 +- .../landsat/fragments/tm/sr-raster-bands.json | 126 +-- .../landsat/fragments/tm/st-eo-bands.json | 2 +- 22 files changed, 1185 insertions(+), 715 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 9e18cb0..c649088 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T14:05:15.683124Z", + "created": "2022-03-10T22:53:30.360025Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index b5f1391..9c9932d 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T14:05:15.685724Z", + "created": "2022-03-10T22:53:30.362885Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index d31eb19..3e12202 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T14:05:15.687396Z", + "created": "2022-03-10T22:53:30.364580Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 3aa8814..62915e6 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T14:05:16.916183Z", + "created": "2022-03-10T22:53:31.668809Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 58f64e1..16a6107 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T14:05:16.923790Z", + "created": "2022-03-10T22:53:31.678021Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 82e1e99..b32967d 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -92,6 +92,13 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 60, + "unit": "bit index" + } + ], "roles": [ "cloud" ] @@ -100,6 +107,13 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 60, + "unit": "bit index" + } + ], "roles": [ "saturation" ] @@ -115,6 +129,14 @@ "full_width_half_max": 0.1 } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], "roles": [ "data" ] @@ -130,6 +152,14 @@ "full_width_half_max": 0.1 } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], "roles": [ "data" ] @@ -145,6 +175,14 @@ "full_width_half_max": 0.1 } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], "roles": [ "data" ] @@ -160,6 +198,14 @@ "full_width_half_max": 0.3 } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], "roles": [ "data" ] diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 9ad16db..bd4d5fe 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T22:37:46.716736Z", + "created": "2022-03-10T22:53:42.978707Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -304,7 +304,7 @@ { "name": "SR_B5", "common_name": "nir08", - "center_wavelength": 0.86, + "center_wavelength": 0.87, "full_width_half_max": 0.03 } ], @@ -330,8 +330,8 @@ { "name": "SR_B6", "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 + "center_wavelength": 1.61, + "full_width_half_max": 0.09 } ], "raster:bands": [ @@ -357,7 +357,7 @@ "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.2, - "full_width_half_max": 0.2 + "full_width_half_max": 0.19 } ], "raster:bands": [ @@ -401,7 +401,7 @@ "name": "ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "full_width_half_max": 0.59 } ], "raster:bands": [ diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 1808254..6d236c6 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-09T22:37:47.443816Z", + "created": "2022-03-10T22:53:43.702716Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -304,7 +304,7 @@ { "name": "SR_B5", "common_name": "nir08", - "center_wavelength": 0.86, + "center_wavelength": 0.87, "full_width_half_max": 0.03 } ], @@ -330,8 +330,8 @@ { "name": "SR_B6", "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 + "center_wavelength": 1.61, + "full_width_half_max": 0.09 } ], "raster:bands": [ @@ -357,7 +357,7 @@ "name": "SR_B7", "common_name": "swir22", "center_wavelength": 2.2, - "full_width_half_max": 0.2 + "full_width_half_max": 0.19 } ], "raster:bands": [ @@ -401,7 +401,7 @@ "name": "ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "full_width_half_max": 0.59 } ], "raster:bands": [ diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 8465409..19988c0 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm" ], - "created": "2022-03-09T22:37:46.713725Z", + "created": "2022-03-10T22:53:42.975766Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -199,7 +199,7 @@ { "name": "SR_B1", "common_name": "blue", - "center_wavelength": 0.49, + "center_wavelength": 0.48, "full_width_half_max": 0.07 } ], @@ -329,8 +329,8 @@ { "name": "SR_B7", "common_name": "swir22", - "center_wavelength": 2.22, - "full_width_half_max": 0.26 + "center_wavelength": 2.2, + "full_width_half_max": 0.28 } ], "raster:bands": [ @@ -391,8 +391,8 @@ { "name": "ST_B6", "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 + "center_wavelength": 11.34, + "full_width_half_max": 2.05 } ], "raster:bands": [ diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 57187ee..94edee0 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T22:37:46.708347Z", + "created": "2022-03-10T22:53:42.969696Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index a6d9e8f..ddaaf1b 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-09T22:37:46.711775Z", + "created": "2022-03-10T22:53:42.973306Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index bd7790f..c1fb0f4 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -110,6 +110,13 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], "roles": [ "cloud", "cloud-shadow", @@ -121,6 +128,13 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], "roles": [ "saturation" ] @@ -134,6 +148,15 @@ "common_name": "coastal" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -147,6 +170,15 @@ "common_name": "blue" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -160,6 +192,15 @@ "common_name": "green" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -173,6 +214,15 @@ "common_name": "red" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -186,6 +236,15 @@ "common_name": "nir08" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -199,6 +258,15 @@ "common_name": "swir16" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -212,6 +280,15 @@ "common_name": "swir22" } ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], "roles": [ "reflectance" ] @@ -220,6 +297,14 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Opacity Band", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 + } + ], "roles": [ "data" ] @@ -228,6 +313,13 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Quality Assessment Band", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], "roles": [ "cloud", "cloud-shadow", @@ -239,6 +331,14 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], "roles": [ "data-mask", "water-mask" @@ -253,7 +353,16 @@ "common_name": "lwir11" } ], - "gsd": 100, + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], "roles": [ "temperature" ] @@ -267,7 +376,16 @@ "common_name": "lwir" } ], - "gsd": 120, + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], "roles": [ "temperature" ] @@ -276,6 +394,14 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], "roles": [ "data" ] @@ -284,6 +410,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], "roles": [ "data" ] @@ -292,6 +427,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], "roles": [ "data" ] @@ -300,6 +444,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], "roles": [ "data" ] @@ -308,6 +461,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], "roles": [ "data" ] @@ -316,6 +478,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], "roles": [ "data" ] @@ -324,6 +495,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], "roles": [ "data" ] @@ -332,6 +512,15 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], "roles": [ "data" ] diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index f13d5b0..9988cd2 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -1,189 +1,235 @@ { - "id": "landsat-c2-l1", - "title": "Landsat Collection 2 Level-1", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", - "license": "proprietary", - "links": [ + "id": "landsat-c2-l1", + "title": "Landsat Collection 2 Level-1", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "license": "proprietary", + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level 1" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery"], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1972-07-25T00:00:00Z", + "2013-01-07T23:23:59Z" + ] + ] + } + }, + "summaries": { + "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], + "instruments": ["mss"], + "gsd": [79], + "view:off_nadir": [0], + "sci_doi": ["10.5066/P9AF14YV"] + }, + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" - }, + "data_type": "uint16", + "spatial_resolution": 60, + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" + "data_type": "uint16", + "spatial_resolution": 60, + "unit": "bit index" } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery"], - "providers": [ + ], + "roles": [ + "saturation" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "eo:bands": [ { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, + "common_name": "green", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], + "roles": [ + "data" + ] + }, + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "eo:bands": [ { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1972-07-25T00:00:00Z", - "2013-01-07T23:23:59Z" - ] - ] + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" } + ], + "roles": [ + "data" + ] }, - "summaries": { - "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], - "instruments": ["mss"], - "gsd": [79], - "view:off_nadir": [0], - "sci_doi": ["10.5066/P9AF14YV"] + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "nir08", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], + "roles": [ + "data" + ] }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-1 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": [ - "cloud" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "roles": [ - "saturation" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "green", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - } - ], - "roles": [ - "data" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - } - ], - "roles": [ - "data" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir08", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - } - ], - "roles": [ - "data" - ] - }, - "nir09": { - "type": "COG", - "title": "Near Infrared Band 0.9", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir09", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - } - ], - "roles": [ - "data" - ] + "nir09": { + "type": "COG", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "eo:bands": [ + { + "common_name": "nir09", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" } + ], + "roles": [ + "data" + ] } + } } diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index a24d0b2..668c9e4 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,364 +1,553 @@ { - "id": "landsat-c2-l2", - "title": "Landsat Collection 2 Level-2", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "license": "proprietary", - "links": [ + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "summaries": { + "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], + "instruments": ["tm", "etm", "oli", "tirs"], + "gsd": [30, 60, 100, 120], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + }, + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ] + }, + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", "cloud-shadow", "snow-ice", "water-mask" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "eo:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, + "common_name": "coastal" + } + ], + "raster:bands": [ { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], - "providers": [ + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "eo:bands": [ { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, + "common_name": "blue" + } + ], + "raster:bands": [ { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "eo:bands": [ { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" + "common_name": "green" } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } + ], + "roles": [ + "reflectance" + ] }, - "summaries": { - "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], - "instruments": ["tm", "etm", "oli", "tirs"], - "gsd": [30, 60, 100, 120], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 - }, - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ] + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "eo:bands": [ + { + "common_name": "red" + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "eo:bands": [ + { + "common_name": "nir08" + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "TEXT", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "roles": [ - "cloud", "cloud-shadow", "snow-ice", "water-mask" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "COG", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "coastal" - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "COG", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "blue" - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "green" - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "red" - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "eo:bands": [ - { - "common_name": "nir08" - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "COG", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir16" - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "COG", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir22" - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "COG", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "COG", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "COG", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir11" - } - ], - "gsd": 100, - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir" - } - ], - "gsd": 120, - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "COG", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "cdist": { - "type": "COG", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "drad": { - "type": "COG", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "urad": { - "type": "COG", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "trad": { - "type": "COG", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "emis": { - "type": "COG", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "emsd": { - "type": "COG", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "roles": [ - "data" - ] - }, - "qa": { - "type": "COG", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "roles": [ - "data" - ] + "swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir16" + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "eo:bands": [ + { + "common_name": "swir22" + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir11" + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "eo:bands": [ + { + "common_name": "lwir" + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 } + ], + "roles": [ + "data" + ] } + } } diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json index 4cf164d..67359a5 100644 --- a/src/stactools/landsat/fragments/etm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -2,7 +2,7 @@ "blue": { "name": "SR_B1", "common_name": "blue", - "center_wavelength": 0.49, + "center_wavelength": 0.48, "full_width_half_max": 0.07 }, "green": { @@ -27,12 +27,12 @@ "name": "SR_B5", "common_name": "swir16", "center_wavelength": 1.65, - "full_width_half_max": 0.2 + "full_width_half_max": 0.20 }, "swir22": { "name": "SR_B7", "common_name": "swir22", - "center_wavelength": 2.22, - "full_width_half_max": 0.26 + "center_wavelength": 2.20, + "full_width_half_max": 0.28 } } diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json index 1ee2073..e742eea 100644 --- a/src/stactools/landsat/fragments/etm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -2,7 +2,7 @@ "lwir": { "name": "ST_B6", "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 + "center_wavelength": 11.34, + "full_width_half_max": 2.05 } } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json index e7cd99a..9bd39e9 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json @@ -4,41 +4,41 @@ "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 - }, + }, "blue": { - "name": "SR_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, + "name": "SR_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, "green": { - "name": "SR_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, + "name": "SR_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, "red": { - "name": "SR_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, + "name": "SR_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, "nir08": { - "name": "SR_B5", - "common_name": "nir08", - "center_wavelength": 0.86, - "full_width_half_max": 0.03 - }, + "name": "SR_B5", + "common_name": "nir08", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, "swir16": { - "name": "SR_B6", - "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 - }, + "name": "SR_B6", + "common_name": "swir16", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, "swir22": { "name": "SR_B7", "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.2 + "center_wavelength": 2.20, + "full_width_half_max": 0.19 } } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index 6811012..c188f87 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -1,67 +1,67 @@ { - "qa_pixel": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit index" - }, - "qa_radsat": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit index" - }, - "coastal": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "blue": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "green": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "red": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "nir08": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir16": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir22": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "qa_aerosol": { - "spatial_resolution": 30, - "data_type": "uint8", - "nodata": 1, - "unit": "bit index" - } + "qa_pixel": { + "spatial_resolution": 30, + "data_type": "uint16", + "unit": "bit index" + }, + "qa_radsat": { + "spatial_resolution": 30, + "data_type": "uint16", + "unit": "bit index" + }, + "coastal": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "blue": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "green": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "red": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "nir08": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir16": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir22": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "qa_aerosol": { + "spatial_resolution": 30, + "data_type": "uint8", + "nodata": 1, + "unit": "bit index" + } } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json index 3912dd6..1017a36 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json @@ -2,7 +2,7 @@ "lwir11": { "name": "ST_B10", "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "center_wavelength": 10.90, + "full_width_half_max": 0.59 } } diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json index 4518134..9b1acd8 100644 --- a/src/stactools/landsat/fragments/tm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -27,7 +27,7 @@ "name": "SR_B5", "common_name": "swir16", "center_wavelength": 1.65, - "full_width_half_max": 0.2 + "full_width_half_max": 0.20 }, "swir22": { "name": "SR_B7", diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index 285fd41..ea47438 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -1,65 +1,65 @@ { - "qa_pixel": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit index" - }, - "qa_radsat": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit index" - }, - "blue": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "green": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "red": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "nir08": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir16": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir22": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "atmos_opacity": { - "spatial_resolution": 30, - "data_type": "int16", - "nodata": -9999, - "scale": 0.001 - }, - "cloud_qa": { - "spatial_resolution": 30, - "data_type": "uint8", - "unit": "bit index" - } + "qa_pixel": { + "spatial_resolution": 30, + "data_type": "uint16", + "unit": "bit index" + }, + "qa_radsat": { + "spatial_resolution": 30, + "data_type": "uint16", + "unit": "bit index" + }, + "blue": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "green": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "red": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "nir08": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir16": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir22": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "atmos_opacity": { + "spatial_resolution": 30, + "data_type": "int16", + "nodata": -9999, + "scale": 0.001 + }, + "cloud_qa": { + "spatial_resolution": 30, + "data_type": "uint8", + "unit": "bit index" + } } diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json index 1ee2073..9c54abc 100644 --- a/src/stactools/landsat/fragments/tm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -3,6 +3,6 @@ "name": "ST_B6", "common_name": "lwir", "center_wavelength": 11.45, - "full_width_half_max": 2.1 + "full_width_half_max": 2.10 } } From 8b0cf8db67b451cbf4ea88cd29d2f6ed5651aa50 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 11 Mar 2022 15:02:06 -0500 Subject: [PATCH 29/47] change eo:bands layout, other edits to meet requested format --- .../LM01_L1GS_001010_19720908_02_T2.json | 28 ++- .../LM02_L1GS_001004_19750411_02_T2.json | 28 ++- .../LM03_L1GS_001001_19780510_02_T2.json | 28 ++- .../LM04_L1GS_001001_19830527_02_T2.json | 28 ++- .../LM05_L1GS_001001_19850524_02_T2.json | 28 ++- examples/landsat-c2-l1/collection.json | 94 +++++--- .../LC08_L2SP_047027_20201204_02_T1.json | 24 +-- .../LC09_L2SP_010065_20220129_02_T1.json | 24 +-- .../LE07_L2SP_021030_20100109_02_T1.json | 24 +-- .../LT04_L2SP_002026_19830110_02_T1.json | 22 +- .../LT05_L2SP_010067_19860424_02_T2.json | 22 +- examples/landsat-c2-l2/collection.json | 193 ++++++++++++----- ...C08_L2SP_005009_20150710_02_T2-legacy.json | 93 ++++---- .../LC08_L2SP_005009_20150710_02_T2.json | 200 ++++++++++-------- src/stactools/landsat/constants.py | 4 +- src/stactools/landsat/fragments/__init__.py | 3 +- .../fragments/collections/landsat-c2-l1.json | 96 ++++++--- .../fragments/collections/landsat-c2-l2.json | 193 ++++++++++++----- .../landsat/fragments/etm/sr-eo-bands.json | 14 +- .../fragments/etm/sr-raster-bands.json | 6 +- .../landsat/fragments/etm/st-eo-bands.json | 2 +- .../landsat/fragments/mss/sr-eo-bands.json | 4 + .../fragments/mss/sr-raster-bands.json | 8 +- .../fragments/oli_tirs/sr-eo-bands.json | 14 +- .../fragments/oli_tirs/sr-raster-bands.json | 6 +- .../fragments/oli_tirs/st-eo-bands.json | 2 +- .../landsat/fragments/tm/sr-eo-bands.json | 14 +- .../landsat/fragments/tm/sr-raster-bands.json | 6 +- .../landsat/fragments/tm/st-eo-bands.json | 2 +- tests/test_create_stac.py | 15 ++ 30 files changed, 787 insertions(+), 438 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index c649088..6b6687b 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T22:53:30.360025Z", + "created": "2022-03-11T19:39:19.938262Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, @@ -69,7 +69,7 @@ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "via", @@ -149,7 +149,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -181,6 +181,7 @@ { "name": "B4", "common_name": "green", + "description": "Landsat 1-3 Band B4", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -190,7 +191,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.95591, + "offset": -18.55591 } ], "roles": [ @@ -206,6 +209,7 @@ { "name": "B5", "common_name": "red", + "description": "Landsat 1-3 Band B5", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -215,7 +219,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.64843, + "offset": -0.74843 } ], "roles": [ @@ -231,6 +237,7 @@ { "name": "B6", "common_name": "nir08", + "description": "Landsat 1-3 Band B6", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -240,7 +247,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.65236, + "offset": -0.75236 } ], "roles": [ @@ -256,6 +265,7 @@ { "name": "B7", "common_name": "nir09", + "description": "Landsat 1-3 Band B7", "center_wavelength": 0.95, "full_width_half_max": 0.3 } @@ -265,7 +275,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.60866, + "offset": -0.60866 } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 9c9932d..22ada34 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T22:53:30.362885Z", + "created": "2022-03-11T19:39:19.940815Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, @@ -69,7 +69,7 @@ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "via", @@ -149,7 +149,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -181,6 +181,7 @@ { "name": "B4", "common_name": "green", + "description": "Landsat 1-3 Band B4", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -190,7 +191,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 1.0598, + "offset": -9.05984 } ], "roles": [ @@ -206,6 +209,7 @@ { "name": "B5", "common_name": "red", + "description": "Landsat 1-3 Band B5", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -215,7 +219,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.61496, + "offset": 4.18504 } ], "roles": [ @@ -231,6 +237,7 @@ { "name": "B6", "common_name": "nir08", + "description": "Landsat 1-3 Band B6", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -240,7 +247,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.53386, + "offset": 4.06614 } ], "roles": [ @@ -256,6 +265,7 @@ { "name": "B7", "common_name": "nir09", + "description": "Landsat 1-3 Band B7", "center_wavelength": 0.95, "full_width_half_max": 0.3 } @@ -265,7 +275,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.45787, + "offset": 3.14213 } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 3e12202..d091398 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T22:53:30.364580Z", + "created": "2022-03-11T19:39:19.942492Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, @@ -69,7 +69,7 @@ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "via", @@ -149,7 +149,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -181,6 +181,7 @@ { "name": "B4", "common_name": "green", + "description": "Landsat 1-3 Band B4", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -190,7 +191,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 1.0827, + "offset": -6.48268 } ], "roles": [ @@ -206,6 +209,7 @@ { "name": "B5", "common_name": "red", + "description": "Landsat 1-3 Band B5", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -215,7 +219,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.72559, + "offset": 0.97441 } ], "roles": [ @@ -231,6 +237,7 @@ { "name": "B6", "common_name": "nir08", + "description": "Landsat 1-3 Band B6", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -240,7 +247,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.62756, + "offset": 2.57244 } ], "roles": [ @@ -256,6 +265,7 @@ { "name": "B7", "common_name": "nir09", + "description": "Landsat 1-3 Band B7", "center_wavelength": 0.95, "full_width_half_max": 0.3 } @@ -265,7 +275,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.50787, + "offset": 0.19213 } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 62915e6..5766e86 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T22:53:31.668809Z", + "created": "2022-03-11T19:39:20.908990Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, @@ -69,7 +69,7 @@ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "via", @@ -149,7 +149,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -181,6 +181,7 @@ { "name": "B1", "common_name": "green", + "description": "Landsat 4-5 Band B1", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -190,7 +191,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.8752, + "offset": 2.9248 } ], "roles": [ @@ -206,6 +209,7 @@ { "name": "B2", "common_name": "red", + "description": "Landsat 4-5 Band B2", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -215,7 +219,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.62008, + "offset": 3.07992 } ], "roles": [ @@ -231,6 +237,7 @@ { "name": "B3", "common_name": "nir08", + "description": "Landsat 4-5 Band B3", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -240,7 +247,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.54921, + "offset": 4.55079 } ], "roles": [ @@ -256,6 +265,7 @@ { "name": "B4", "common_name": "nir09", + "description": "Landsat 4-5 Band B4", "center_wavelength": 0.95, "full_width_half_max": 0.3 } @@ -265,7 +275,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.47638, + "offset": 3.82362 } ], "roles": [ diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 16a6107..935c574 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-10T22:53:31.678021Z", + "created": "2022-03-11T19:39:20.916818Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, @@ -69,7 +69,7 @@ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "via", @@ -149,7 +149,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -181,6 +181,7 @@ { "name": "B1", "common_name": "green", + "description": "Landsat 4-5 Band B1", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -190,7 +191,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.88504, + "offset": 1.51496 } ], "roles": [ @@ -206,6 +209,7 @@ { "name": "B2", "common_name": "red", + "description": "Landsat 4-5 Band B2", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -215,7 +219,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.66024, + "offset": 2.03976 } ], "roles": [ @@ -231,6 +237,7 @@ { "name": "B3", "common_name": "nir08", + "description": "Landsat 4-5 Band B3", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -240,7 +247,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.55866, + "offset": 4.34134 } ], "roles": [ @@ -256,6 +265,7 @@ { "name": "B4", "common_name": "nir09", + "description": "Landsat 4-5 Band B4", "center_wavelength": 0.95, "full_width_half_max": 0.3 } @@ -265,7 +275,9 @@ "nodata": 0, "data_type": "uint8", "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.46654, + "offset": 1.03346 } ], "roles": [ diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index b32967d..2d33cc4 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -2,7 +2,7 @@ "type": "Collection", "id": "landsat-c2-l1", "stac_version": "1.0.0", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "description": "Global Landsat Collection 2 Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", "links": [ { "rel": "root", @@ -13,7 +13,7 @@ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "license", @@ -96,7 +96,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -111,7 +111,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -122,13 +122,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band", "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "green", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - } - ], "raster:bands": [ { "nodata": 0, @@ -145,13 +138,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band", "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - } - ], "raster:bands": [ { "nodata": 0, @@ -168,13 +154,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir08", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - } - ], "raster:bands": [ { "nodata": 0, @@ -191,13 +170,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9", "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir09", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - } - ], "raster:bands": [ { "nodata": 0, @@ -286,6 +258,64 @@ ], "sci_doi": [ "10.5066/P9AF14YV" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "description": "Landsat 1-3 Band B4", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B5", + "common_name": "red", + "description": "Landsat 1-3 Band B5", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B6", + "common_name": "nir08", + "description": "Landsat 1-3 Band B6", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B7", + "common_name": "nir09", + "description": "Landsat 1-3 Band B7", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + }, + { + "name": "B1", + "common_name": "green", + "description": "Landsat 4-5 Band B1", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B2", + "common_name": "red", + "description": "Landsat 4-5 Band B2", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B3", + "common_name": "nir08", + "description": "Landsat 4-5 Band B3", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B4", + "common_name": "nir09", + "description": "Landsat 4-5 Band B4", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } ] } } \ No newline at end of file diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index bd4d5fe..5bc2e90 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-10T22:53:42.978707Z", + "created": "2022-03-11T19:48:15.843274Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -184,7 +184,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -198,7 +198,7 @@ "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", "eo:bands": [ { - "name": "SR_B1", + "name": "OLI_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 @@ -224,7 +224,7 @@ "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", "eo:bands": [ { - "name": "SR_B2", + "name": "OLI_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 @@ -250,7 +250,7 @@ "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", "eo:bands": [ { - "name": "SR_B3", + "name": "OLI_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 @@ -276,7 +276,7 @@ "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", "eo:bands": [ { - "name": "SR_B4", + "name": "OLI_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 @@ -302,7 +302,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", "eo:bands": [ { - "name": "SR_B5", + "name": "OLI_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 @@ -328,7 +328,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "eo:bands": [ { - "name": "SR_B6", + "name": "OLI_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 @@ -354,7 +354,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "eo:bands": [ { - "name": "SR_B7", + "name": "OLI_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.19 @@ -383,7 +383,7 @@ "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -398,7 +398,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", "eo:bands": [ { - "name": "ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", "center_wavelength": 10.9, "full_width_half_max": 0.59 diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 6d236c6..3c88f35 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-10T22:53:43.702716Z", + "created": "2022-03-11T19:48:16.914436Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -165,7 +165,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -184,7 +184,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -198,7 +198,7 @@ "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", "eo:bands": [ { - "name": "SR_B1", + "name": "OLI_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 @@ -224,7 +224,7 @@ "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", "eo:bands": [ { - "name": "SR_B2", + "name": "OLI_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 @@ -250,7 +250,7 @@ "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", "eo:bands": [ { - "name": "SR_B3", + "name": "OLI_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 @@ -276,7 +276,7 @@ "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", "eo:bands": [ { - "name": "SR_B4", + "name": "OLI_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 @@ -302,7 +302,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", "eo:bands": [ { - "name": "SR_B5", + "name": "OLI_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 @@ -328,7 +328,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "eo:bands": [ { - "name": "SR_B6", + "name": "OLI_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 @@ -354,7 +354,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "eo:bands": [ { - "name": "SR_B7", + "name": "OLI_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.19 @@ -383,7 +383,7 @@ "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -398,7 +398,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", "eo:bands": [ { - "name": "ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", "center_wavelength": 10.9, "full_width_half_max": 0.59 diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 19988c0..84804c3 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -5,9 +5,9 @@ "properties": { "platform": "landsat-7", "instruments": [ - "etm" + "etm+" ], - "created": "2022-03-10T22:53:42.975766Z", + "created": "2022-03-11T19:48:15.840472Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -164,7 +164,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -183,7 +183,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -197,7 +197,7 @@ "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", "eo:bands": [ { - "name": "SR_B1", + "name": "ETM+_B1", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 @@ -223,7 +223,7 @@ "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", "eo:bands": [ { - "name": "SR_B2", + "name": "ETM+_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 @@ -249,7 +249,7 @@ "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", "eo:bands": [ { - "name": "SR_B3", + "name": "ETM+_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 @@ -275,7 +275,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", "eo:bands": [ { - "name": "SR_B4", + "name": "ETM+_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 @@ -301,7 +301,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "eo:bands": [ { - "name": "SR_B5", + "name": "ETM+_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 @@ -327,7 +327,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "eo:bands": [ { - "name": "SR_B7", + "name": "ETM+_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.28 @@ -372,7 +372,7 @@ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -389,7 +389,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "eo:bands": [ { - "name": "ST_B6", + "name": "ETM+_B6", "common_name": "lwir", "center_wavelength": 11.34, "full_width_half_max": 2.05 diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 94edee0..27da492 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-10T22:53:42.969696Z", + "created": "2022-03-11T19:48:15.834995Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -164,7 +164,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -183,7 +183,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -197,7 +197,7 @@ "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", "eo:bands": [ { - "name": "SR_B1", + "name": "TM_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 @@ -223,7 +223,7 @@ "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", "eo:bands": [ { - "name": "SR_B2", + "name": "TM_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 @@ -249,7 +249,7 @@ "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", "eo:bands": [ { - "name": "SR_B3", + "name": "TM_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 @@ -275,7 +275,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", "eo:bands": [ { - "name": "SR_B4", + "name": "TM_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 @@ -301,7 +301,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "eo:bands": [ { - "name": "SR_B5", + "name": "TM_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 @@ -327,7 +327,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "eo:bands": [ { - "name": "SR_B7", + "name": "TM_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 @@ -372,7 +372,7 @@ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -389,7 +389,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "eo:bands": [ { - "name": "ST_B6", + "name": "TM_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.1 diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index ddaaf1b..77275e5 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-10T22:53:42.973306Z", + "created": "2022-03-11T19:48:15.838399Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -164,7 +164,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -183,7 +183,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -197,7 +197,7 @@ "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", "eo:bands": [ { - "name": "SR_B1", + "name": "TM_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 @@ -223,7 +223,7 @@ "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", "eo:bands": [ { - "name": "SR_B2", + "name": "TM_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 @@ -249,7 +249,7 @@ "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", "eo:bands": [ { - "name": "SR_B3", + "name": "TM_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 @@ -275,7 +275,7 @@ "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", "eo:bands": [ { - "name": "SR_B4", + "name": "TM_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 @@ -301,7 +301,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "eo:bands": [ { - "name": "SR_B5", + "name": "TM_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 @@ -327,7 +327,7 @@ "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "eo:bands": [ { - "name": "SR_B7", + "name": "TM_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 @@ -372,7 +372,7 @@ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -389,7 +389,7 @@ "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", "eo:bands": [ { - "name": "ST_B6", + "name": "TM_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.1 diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index c1fb0f4..18b52a0 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -2,7 +2,7 @@ "type": "Collection", "id": "landsat-c2-l2", "stac_version": "1.0.0", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", "links": [ { "rel": "root", @@ -114,7 +114,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -132,7 +132,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -143,11 +143,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band", "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "coastal" - } - ], "raster:bands": [ { "nodata": 0, @@ -165,11 +160,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band", "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "blue" - } - ], "raster:bands": [ { "nodata": 0, @@ -187,11 +177,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band", "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "green" - } - ], "raster:bands": [ { "nodata": 0, @@ -209,11 +194,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band", "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "red" - } - ], "raster:bands": [ { "nodata": 0, @@ -231,11 +211,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "eo:bands": [ - { - "common_name": "nir08" - } - ], "raster:bands": [ { "nodata": 0, @@ -253,11 +228,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir16" - } - ], "raster:bands": [ { "nodata": 0, @@ -275,11 +245,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir22" - } - ], "raster:bands": [ { "nodata": 0, @@ -317,7 +282,7 @@ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -336,7 +301,7 @@ "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -348,11 +313,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir11" - } - ], "raster:bands": [ { "nodata": 0, @@ -371,11 +331,6 @@ "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir" - } - ], "raster:bands": [ { "nodata": 0, @@ -574,7 +529,7 @@ "processor", "licensor" ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" }, { "name": "Microsoft", @@ -594,7 +549,7 @@ ], "instruments": [ "tm", - "etm", + "etm+", "oli", "tirs" ], @@ -609,6 +564,140 @@ "10.5066/P9C7I13B", "10.5066/P9OGBGM6" ], + "eo:bands": [ + { + "name": "TM_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "TM_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + }, + { + "name": "TM_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM+_B1", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM+_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM+_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM+_B4", + "common_name": "nir08", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM+_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "ETM+_B6", + "common_name": "lwir", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM+_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.28 + }, + { + "name": "OLI_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI_B5", + "common_name": "nir08", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI_B6", + "common_name": "swir16", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS_B10", + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], "view:off_nadir": { "minimum": 0, "maximum": 15 diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json index 99cc2f1..6687ed0 100644 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json +++ b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json @@ -35,24 +35,24 @@ "coordinates": [ [ [ - -40.24668835688223, - 73.34767227948275 + -40.207494643258215, + 73.37663856483091 ], [ - -34.958411161782664, - 72.5174838111986 + -35.24761728197594, + 72.53787734153468 ], [ - -37.92205787926383, - 70.98117952546042 + -38.14743429756088, + 71.03398759793903 ], [ - -43.192625531993365, - 71.82092278865927 + -42.81076871497076, + 71.81441016731796 ], [ - -40.24668835688223, - 73.34767227948275 + -40.207494643258215, + 73.37663856483091 ] ] ] @@ -63,45 +63,50 @@ "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", "type": "text/html", "title": "USGS stac-browser page" + }, + { + "rel": "self", + "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", + "type": "application/json" } ], "assets": { "thumbnail": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image" }, "reduced_resolution_browse": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image" }, - "MTL.json": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)" + "ANG": { + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" }, "MTL.txt": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File", "description": "Collection 2 Level-1 Product Metadata File (MTL)" }, "MTL.xml": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-1 Product Metadata File (xml)" }, - "ANG": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" + "MTL.json": { + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)" }, "QA_PIXEL": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", @@ -120,7 +125,7 @@ ] }, "QA_RADSAT": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", @@ -139,7 +144,7 @@ ] }, "SR_B1": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", @@ -167,7 +172,7 @@ ] }, "SR_B2": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", @@ -195,7 +200,7 @@ ] }, "SR_B3": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", @@ -223,7 +228,7 @@ ] }, "SR_B4": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", @@ -251,7 +256,7 @@ ] }, "SR_B5": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", @@ -279,7 +284,7 @@ ] }, "SR_B6": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", @@ -307,7 +312,7 @@ ] }, "SR_B7": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", @@ -335,7 +340,7 @@ ] }, "SR_QA_AEROSOL": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Analysis Band", "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", @@ -354,7 +359,7 @@ ] }, "ST_B10": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", @@ -382,7 +387,7 @@ ] }, "ST_ATRAN": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -408,7 +413,7 @@ ] }, "ST_CDIST": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -434,7 +439,7 @@ ] }, "ST_DRAD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -460,7 +465,7 @@ ] }, "ST_URAD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -486,7 +491,7 @@ ] }, "ST_TRAD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -512,7 +517,7 @@ ] }, "ST_EMIS": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -538,7 +543,7 @@ ] }, "ST_EMSD": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -564,7 +569,7 @@ ] }, "ST_QA": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", @@ -595,4 +600,4 @@ "https://stac-extensions.github.io/projection/v1.0.0/schema.json", "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" ] -} +} \ No newline at end of file diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json index 4743c0e..1d4949f 100644 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json +++ b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json @@ -8,9 +8,9 @@ "oli", "tirs" ], - "created": "2022-03-05T11:13:07.506358Z", + "created": "2022-03-11T19:59:40.967667Z", "gsd": 30, - "description": "Landsat Collection 2 Level-2 Science Product", + "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 54.65, "view:off_nadir": 0, "view:sun_elevation": 40.0015903, @@ -28,15 +28,15 @@ -30.0, 8143815.0 ], - "sci:doi": "10.5066/P9OGBGM6", "landsat:cloud_cover_land": 54.67, "landsat:wrs_type": "2", "landsat:wrs_path": "005", "landsat:wrs_row": "009", "landsat:collection_category": "T2", "landsat:collection_number": "02", - "landsat:scene_id": "LC80050092015191LGN01", "landsat:correction": "L2SP", + "landsat:scene_id": "LC80050092015191LGN01", + "sci:doi": "10.5066/P9OGBGM6", "datetime": "2015-07-10T14:34:35.978399Z" }, "geometry": { @@ -44,24 +44,24 @@ "coordinates": [ [ [ - -40.24668835688223, - 73.34767227948275 + -40.207494643258215, + 73.37663856483091 ], [ - -34.958411161782664, - 72.5174838111986 + -35.24761728197594, + 72.53787734153468 ], [ - -37.92205787926383, - 70.98117952546042 + -38.14743429756088, + 71.03398759793903 ], [ - -43.192625531993365, - 71.82092278865927 + -42.81076871497076, + 71.81441016731796 ], [ - -40.24668835688223, - 73.34767227948275 + -40.207494643258215, + 73.37663856483091 ] ] ] @@ -69,18 +69,30 @@ "links": [ { "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6" + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST", + "type": "application/json", + "title": "USGS STAC Item" }, { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_20200908_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" + "rel": "self", + "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", + "type": "application/json" } ], "assets": { "thumbnail": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", "type": "image/jpeg", "title": "Thumbnail image", "roles": [ @@ -88,7 +100,7 @@ ] }, "reduced_resolution_browse": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", "type": "image/jpeg", "title": "Reduced resolution browse image", "roles": [ @@ -96,7 +108,7 @@ ] }, "mtl.json": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", "type": "application/json", "title": "Product Metadata File (json)", "description": "Collection 2 Level-2 Product Metadata File (json)", @@ -105,7 +117,7 @@ ] }, "mtl.txt": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", "type": "text/plain", "title": "Product Metadata File (txt)", "description": "Collection 2 Level-2 Product Metadata File (txt)", @@ -114,7 +126,7 @@ ] }, "mtl.xml": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", "type": "application/xml", "title": "Product Metadata File (xml)", "description": "Collection 2 Level-2 Product Metadata File (xml)", @@ -123,56 +135,57 @@ ] }, "ang": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", "type": "text/plain", "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)", + "description": "Collection 2 Level-1 Angle Coefficients File", "roles": [ "metadata" ] }, "qa_pixel": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Pixel Quality Assessment Band", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", - "unit": "bit index" + "spatial_resolution": 30, + "unit": "bit_index" } ], "roles": [ "cloud", "cloud-shadow", - "cirrus", "snow-ice", "water-mask" ] }, "qa_radsat": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", - "unit": "bit index" + "spatial_resolution": 30, + "unit": "bit_index" } ], "roles": [ "saturation" ] }, - "sr_coastal": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "coastal": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Coastal/Aerosol Band (B1)", "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", "eo:bands": [ { - "name": "SR_B1", + "name": "OLI_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 @@ -182,7 +195,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -191,14 +204,14 @@ "reflectance" ] }, - "sr_blue": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "blue": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Blue Band (B2)", "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", "eo:bands": [ { - "name": "SR_B2", + "name": "OLI_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 @@ -208,7 +221,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -217,14 +230,14 @@ "reflectance" ] }, - "sr_green": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "green": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B3)", "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", "eo:bands": [ { - "name": "SR_B3", + "name": "OLI_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 @@ -234,7 +247,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -243,14 +256,14 @@ "reflectance" ] }, - "sr_red": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "red": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B4)", "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", "eo:bands": [ { - "name": "SR_B4", + "name": "OLI_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 @@ -260,7 +273,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -269,16 +282,16 @@ "reflectance" ] }, - "sr_nir08": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "nir08": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B5)", "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", "eo:bands": [ { - "name": "SR_B5", + "name": "OLI_B5", "common_name": "nir08", - "center_wavelength": 0.86, + "center_wavelength": 0.87, "full_width_half_max": 0.03 } ], @@ -286,7 +299,7 @@ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -295,24 +308,24 @@ "reflectance" ] }, - "sr_swir16": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "swir16": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B6)", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", "eo:bands": [ { - "name": "SR_B6", + "name": "OLI_B6", "common_name": "swir16", - "center_wavelength": 1.6, - "full_width_half_max": 0.08 + "center_wavelength": 1.61, + "full_width_half_max": 0.09 } ], "raster:bands": [ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -321,24 +334,24 @@ "reflectance" ] }, - "sr_swir22": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "swir22": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 2.2 (B7)", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", "eo:bands": [ { - "name": "SR_B7", + "name": "OLI_B7", "common_name": "swir22", "center_wavelength": 2.2, - "full_width_half_max": 0.2 + "full_width_half_max": 0.19 } ], "raster:bands": [ { "nodata": 0, "data_type": "uint16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 2.75e-05, "offset": -0.2 } @@ -347,8 +360,8 @@ "reflectance" ] }, - "sr_qa_aerosol": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "qa_aerosol": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Aerosol Quality Assessment Band", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", @@ -356,7 +369,8 @@ { "nodata": 1, "data_type": "uint8", - "unit": "bit index" + "spatial_resolution": 30, + "unit": "bit_index" } ], "roles": [ @@ -364,23 +378,24 @@ "water-mask" ] }, - "st_lwir11": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B10.TIF", + "lwir11": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Band (B10)", "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", "eo:bands": [ { - "name": "ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", "center_wavelength": 10.9, - "full_width_half_max": 0.6 + "full_width_half_max": 0.59 } ], "raster:bands": [ { "nodata": 0, "data_type": "uint16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.00341802, "offset": 149.0 @@ -391,8 +406,8 @@ "temperature" ] }, - "st_atran": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "atran": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Atmospheric Transmittance Band", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", @@ -400,7 +415,7 @@ { "nodata": -9999, "data_type": "int16", - "unit": "unitless", + "spatial_resolution": 30, "scale": 0.0001 } ], @@ -408,8 +423,8 @@ "data" ] }, - "st_cdist": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "cdist": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Cloud Distance Band", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", @@ -417,6 +432,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kilometer", "scale": 0.01 } @@ -425,8 +441,8 @@ "data" ] }, - "st_drad": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "drad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Downwelled Radiance Band", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", @@ -434,6 +450,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -442,8 +459,8 @@ "data" ] }, - "st_urad": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "urad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Upwelled Radiance Band", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", @@ -451,6 +468,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -459,8 +477,8 @@ "data" ] }, - "st_trad": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "trad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Thermal Radiance Band", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", @@ -468,6 +486,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "watt/steradian/square_meter/micrometer", "scale": 0.001 } @@ -476,8 +495,8 @@ "data" ] }, - "st_emis": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "emis": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Band", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", @@ -485,6 +504,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -493,8 +513,8 @@ "data" ] }, - "st_emsd": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "emsd": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Emissivity Standard Deviation Band", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", @@ -502,6 +522,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "emissivity coefficient", "scale": 0.0001 } @@ -510,8 +531,8 @@ "data" ] }, - "st_qa": { - "href": "../../../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "qa": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Surface Temperature Quality Assessment Band", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", @@ -519,6 +540,7 @@ { "nodata": -9999, "data_type": "int16", + "spatial_resolution": 30, "unit": "kelvin", "scale": 0.01 } @@ -539,7 +561,7 @@ "https://stac-extensions.github.io/eo/v1.0.0/schema.json", "https://stac-extensions.github.io/view/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" ] } \ No newline at end of file diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index 2807ff0..5078b9d 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -23,7 +23,7 @@ class Sensor(Enum): "MSS": { "instruments": ["mss"], "doi": "10.5066/P9AF14YV", - "doi_title": "Landsat 1-5 MSS Collection 2 Level 1", + "doi_title": "Landsat 1-5 MSS Collection 2 Level-1", "reflective_gsd": 79 }, "TM": { @@ -34,7 +34,7 @@ class Sensor(Enum): "thermal_gsd": 120 }, "ETM": { - "instruments": ["etm"], + "instruments": ["etm+"], "doi": "10.5066/P9C7I13B", "doi_title": "Landsat 7 ETM+ Collection 2 Level-2", "reflective_gsd": 30, diff --git a/src/stactools/landsat/fragments/__init__.py b/src/stactools/landsat/fragments/__init__.py index 172c9a4..b2500db 100644 --- a/src/stactools/landsat/fragments/__init__.py +++ b/src/stactools/landsat/fragments/__init__.py @@ -157,12 +157,13 @@ def _update_mss_num(self, mss_dict: Dict[str, Any]) -> Dict[str, Any]: mss_str = mss_str.replace("B3", "B6") mss_str = mss_str.replace("B2", "B5") mss_str = mss_str.replace("B1", "B4") + mss_str = mss_str.replace("4-5", "1-3") return json.loads(mss_str) def _update_mss_raster(self, mss_raster_dict: Dict[str, Any]) -> Dict[str, Any]: for key, value in mss_raster_dict.items(): - rad_key = value.pop("name", None) + rad_key = value.pop("temp_name", None) if rad_key: mss_raster_dict[key]["scale"] = self.level1_radiance[rad_key][ "mult"] diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index 9988cd2..ad6fe47 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -1,13 +1,13 @@ { "id": "landsat-c2-l1", "title": "Landsat Collection 2 Level-1", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-1 data products consist of quantized and calibrated scaled Digital Numbers (DN) representing the multispectral image data. This dataset contains global Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "description": "Global Landsat Collection 2 Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", "license": "proprietary", "links": [ { "rel": "cite-as", "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level 1" + "title": "Landsat 1-5 MSS Collection 2 Level-1" }, { "rel": "license", @@ -67,7 +67,65 @@ "instruments": ["mss"], "gsd": [79], "view:off_nadir": [0], - "sci_doi": ["10.5066/P9AF14YV"] + "sci_doi": ["10.5066/P9AF14YV"], + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "description": "Landsat 1-3 Band B4", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B5", + "common_name": "red", + "description": "Landsat 1-3 Band B5", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B6", + "common_name": "nir08", + "description": "Landsat 1-3 Band B6", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B7", + "common_name": "nir09", + "description": "Landsat 1-3 Band B7", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + }, + { + "name": "B1", + "common_name": "green", + "description": "Landsat 4-5 Band B1", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B2", + "common_name": "red", + "description": "Landsat 4-5 Band B2", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B3", + "common_name": "nir08", + "description": "Landsat 4-5 Band B3", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B4", + "common_name": "nir09", + "description": "Landsat 4-5 Band B4", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ] }, "item_assets": { "thumbnail": { @@ -116,7 +174,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -131,7 +189,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -142,13 +200,6 @@ "type": "COG", "title": "Green Band", "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "green", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - } - ], "raster:bands": [ { "nodata": 0, @@ -165,13 +216,6 @@ "type": "COG", "title": "Red Band", "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - } - ], "raster:bands": [ { "nodata": 0, @@ -188,13 +232,6 @@ "type": "COG", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir08", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - } - ], "raster:bands": [ { "nodata": 0, @@ -211,13 +248,6 @@ "type": "COG", "title": "Near Infrared Band 0.9", "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", - "eo:bands": [ - { - "common_name": "nir09", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - } - ], "raster:bands": [ { "nodata": 0, diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index 668c9e4..b680941 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,7 +1,7 @@ { "id": "landsat-c2-l2", "title": "Landsat Collection 2 Level-2", - "description": "The Landsat program provides a comprehensive, continuous archive of the Earth's surface. Landsat Collection 2 Level-2 data products consist of atmospherically corrected surface reflectance and surface temperature image data. This dataset contains global Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", "license": "proprietary", "links": [ { @@ -42,7 +42,7 @@ "processor", "licensor" ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" }, { "name": "Microsoft", @@ -74,7 +74,7 @@ }, "summaries": { "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], - "instruments": ["tm", "etm", "oli", "tirs"], + "instruments": ["tm", "etm+", "oli", "tirs"], "gsd": [30, 60, 100, 120], "view:off_nadir": { "minimum": 0, @@ -84,6 +84,140 @@ "10.5066/P9IAXOVV", "10.5066/P9C7I13B", "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.20 + }, + { + "name": "TM_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.10 + }, + { + "name": "TM_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM+_B1", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM+_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM+_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM+_B4", + "common_name": "nir08", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM+_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.20 + }, + { + "name": "ETM+_B6", + "common_name": "lwir", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM+_B7", + "common_name": "swir22", + "center_wavelength": 2.20, + "full_width_half_max": 0.28 + }, + { + "name": "OLI_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI_B5", + "common_name": "nir08", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI_B6", + "common_name": "swir16", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI_B7", + "common_name": "swir22", + "center_wavelength": 2.20, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS_B10", + "common_name": "lwir11", + "center_wavelength": 10.90, + "full_width_half_max": 0.59 + } ] }, "item_assets": { @@ -141,7 +275,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -156,7 +290,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -167,11 +301,6 @@ "type": "COG", "title": "Coastal/Aerosol Band", "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "coastal" - } - ], "raster:bands": [ { "nodata": 0, @@ -189,11 +318,6 @@ "type": "COG", "title": "Blue Band", "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "blue" - } - ], "raster:bands": [ { "nodata": 0, @@ -211,11 +335,6 @@ "type": "COG", "title": "Green Band", "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "green" - } - ], "raster:bands": [ { "nodata": 0, @@ -233,11 +352,6 @@ "type": "COG", "title": "Red Band", "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "eo:bands": [ - { - "common_name": "red" - } - ], "raster:bands": [ { "nodata": 0, @@ -255,11 +369,6 @@ "type": "COG", "title": "Near Infrared Band 0.8", "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "eo:bands": [ - { - "common_name": "nir08" - } - ], "raster:bands": [ { "nodata": 0, @@ -277,11 +386,6 @@ "type": "COG", "title": "Short-wave Infrared Band 1.6", "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir16" - } - ], "raster:bands": [ { "nodata": 0, @@ -299,11 +403,6 @@ "type": "COG", "title": "Short-wave Infrared Band 2.2", "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "eo:bands": [ - { - "common_name": "swir22" - } - ], "raster:bands": [ { "nodata": 0, @@ -341,7 +440,7 @@ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -360,7 +459,7 @@ "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit index" + "unit": "bit_index" } ], "roles": [ @@ -372,11 +471,6 @@ "type": "COG", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir11" - } - ], "raster:bands": [ { "nodata": 0, @@ -395,11 +489,6 @@ "type": "COG", "title": "Surface Temperature Band", "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "eo:bands": [ - { - "common_name": "lwir" - } - ], "raster:bands": [ { "nodata": 0, diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json index 67359a5..9c23a1c 100644 --- a/src/stactools/landsat/fragments/etm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -1,36 +1,36 @@ { "blue": { - "name": "SR_B1", + "name": "ETM+_B1", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 - }, + }, "green": { - "name": "SR_B2", + "name": "ETM+_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, "red": { - "name": "SR_B3", + "name": "ETM+_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, "nir08": { - "name": "SR_B4", + "name": "ETM+_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 }, "swir16": { - "name": "SR_B5", + "name": "ETM+_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.20 }, "swir22": { - "name": "SR_B7", + "name": "ETM+_B7", "common_name": "swir22", "center_wavelength": 2.20, "full_width_half_max": 0.28 diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json index ea47438..bb20363 100644 --- a/src/stactools/landsat/fragments/etm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -2,12 +2,12 @@ "qa_pixel": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "qa_radsat": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "blue": { "spatial_resolution": 30, @@ -60,6 +60,6 @@ "cloud_qa": { "spatial_resolution": 30, "data_type": "uint8", - "unit": "bit index" + "unit": "bit_index" } } diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json index e742eea..ff7c4d0 100644 --- a/src/stactools/landsat/fragments/etm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -1,6 +1,6 @@ { "lwir": { - "name": "ST_B6", + "name": "ETM+_B6", "common_name": "lwir", "center_wavelength": 11.34, "full_width_half_max": 2.05 diff --git a/src/stactools/landsat/fragments/mss/sr-eo-bands.json b/src/stactools/landsat/fragments/mss/sr-eo-bands.json index 2f7195a..3f0ba06 100644 --- a/src/stactools/landsat/fragments/mss/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-eo-bands.json @@ -2,24 +2,28 @@ "green": { "name": "B1", "common_name": "green", + "description": "Landsat 4-5 Band B1", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, "red": { "name": "B2", "common_name": "red", + "description": "Landsat 4-5 Band B2", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, "nir08": { "name": "B3", "common_name": "nir08", + "description": "Landsat 4-5 Band B3", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, "nir09": { "name": "B4", "common_name": "nir09", + "description": "Landsat 4-5 Band B4", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/src/stactools/landsat/fragments/mss/sr-raster-bands.json b/src/stactools/landsat/fragments/mss/sr-raster-bands.json index 8bee8d1..424fa7f 100644 --- a/src/stactools/landsat/fragments/mss/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-raster-bands.json @@ -2,32 +2,36 @@ "qa_pixel": { "spatial_resolution": 60, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "qa_radsat": { "spatial_resolution": 60, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "green": { + "temp_name": "B1", "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" }, "red": { + "temp_name": "B2", "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" }, "nir08": { + "temp_name": "B3", "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, "unit": "watt/steradian/square_meter/micrometer" }, "nir09": { + "temp_name": "B4", "spatial_resolution": 60, "data_type": "uint8", "nodata": 0, diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json index 9bd39e9..d96e202 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json @@ -1,42 +1,42 @@ { "coastal": { - "name": "SR_B1", + "name": "OLI_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 }, "blue": { - "name": "SR_B2", + "name": "OLI_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 }, "green": { - "name": "SR_B3", + "name": "OLI_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 }, "red": { - "name": "SR_B4", + "name": "OLI_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 }, "nir08": { - "name": "SR_B5", + "name": "OLI_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 }, "swir16": { - "name": "SR_B6", + "name": "OLI_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 }, "swir22": { - "name": "SR_B7", + "name": "OLI_B7", "common_name": "swir22", "center_wavelength": 2.20, "full_width_half_max": 0.19 diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index c188f87..dacd595 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -2,12 +2,12 @@ "qa_pixel": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "qa_radsat": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "coastal": { "spatial_resolution": 30, @@ -62,6 +62,6 @@ "spatial_resolution": 30, "data_type": "uint8", "nodata": 1, - "unit": "bit index" + "unit": "bit_index" } } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json index 1017a36..60ef8b9 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json @@ -1,6 +1,6 @@ { "lwir11": { - "name": "ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", "center_wavelength": 10.90, "full_width_half_max": 0.59 diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json index 9b1acd8..86d6ac6 100644 --- a/src/stactools/landsat/fragments/tm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -1,36 +1,36 @@ { "blue": { - "name": "SR_B1", + "name": "TM_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 - }, + }, "green": { - "name": "SR_B2", + "name": "TM_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, "red": { - "name": "SR_B3", + "name": "TM_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, "nir08": { - "name": "SR_B4", + "name": "TM_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 }, "swir16": { - "name": "SR_B5", + "name": "TM_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.20 }, "swir22": { - "name": "SR_B7", + "name": "TM_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index ea47438..bb20363 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -2,12 +2,12 @@ "qa_pixel": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "qa_radsat": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit index" + "unit": "bit_index" }, "blue": { "spatial_resolution": 30, @@ -60,6 +60,6 @@ "cloud_qa": { "spatial_resolution": 30, "data_type": "uint8", - "unit": "bit index" + "unit": "bit_index" } } diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json index 9c54abc..cf3434d 100644 --- a/src/stactools/landsat/fragments/tm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -1,6 +1,6 @@ { "lwir": { - "name": "ST_B6", + "name": "TM_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.10 diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index 8429e46..d53bc9f 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -224,3 +224,18 @@ def test_southern_hemisphere_epsg() -> None: # northern hemisphere UTM zone for southern hemisphere scene assert item_dict["properties"]["proj:epsg"] == 32617 + + +def test_mss_scale_offset() -> None: + mtl_path = test_data.get_path( + "data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_MTL.xml") + item = create_stac_item(mtl_path, legacy_l8=False, use_usgs_geometry=True) + item_dict = item.to_dict() + + # MSS should grab scale and offset values (to convert DN to TOA radiance) + # for the optical data bands from the MTL metadata + asset_keys = ["green", "red", "nir08", "nir09"] + for key in asset_keys: + raster_bands = item_dict["assets"][key]["raster:bands"][0] + assert "scale" in raster_bands + assert "offset" in raster_bands From 45b338b73997a2bcbda58d9d4fa52c3755c68c42 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Sun, 13 Mar 2022 08:23:31 -0400 Subject: [PATCH 30/47] correct swir16 asset description in TM and ETM fragments --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 4 ++-- .../LT04_L2SP_002026_19830110_02_T1.json | 4 ++-- .../LT05_L2SP_010067_19860424_02_T2.json | 4 ++-- src/stactools/landsat/fragments/etm/sr-assets.json | 2 +- src/stactools/landsat/fragments/tm/sr-assets.json | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 6b6687b..52b1a2f 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-11T19:39:19.938262Z", + "created": "2022-03-13T12:21:48.323056Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 22ada34..03a4583 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-11T19:39:19.940815Z", + "created": "2022-03-13T12:21:48.325841Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index d091398..00be99d 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-11T19:39:19.942492Z", + "created": "2022-03-13T12:21:48.327697Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 5766e86..826465c 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-11T19:39:20.908990Z", + "created": "2022-03-13T12:21:49.535069Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 935c574..ac32e15 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-11T19:39:20.916818Z", + "created": "2022-03-13T12:21:49.543572Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index 5bc2e90..b470c72 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-11T19:48:15.843274Z", + "created": "2022-03-13T12:20:46.566172Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 3c88f35..6bbff07 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-11T19:48:16.914436Z", + "created": "2022-03-13T12:20:47.751196Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 84804c3..8e72eee 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm+" ], - "created": "2022-03-11T19:48:15.840472Z", + "created": "2022-03-13T12:20:46.563409Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -298,7 +298,7 @@ "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", "eo:bands": [ { "name": "ETM+_B5", diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 27da492..f459a51 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-11T19:48:15.834995Z", + "created": "2022-03-13T12:20:46.558135Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -298,7 +298,7 @@ "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", "eo:bands": [ { "name": "TM_B5", diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 77275e5..a6e25d0 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-11T19:48:15.838399Z", + "created": "2022-03-13T12:20:46.561430Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -298,7 +298,7 @@ "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", "eo:bands": [ { "name": "TM_B5", diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json index 1db6874..5419635 100644 --- a/src/stactools/landsat/fragments/etm/sr-assets.json +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -35,7 +35,7 @@ }, "swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json index 1db6874..5419635 100644 --- a/src/stactools/landsat/fragments/tm/sr-assets.json +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -35,7 +35,7 @@ }, "swir16": { "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, From 1ad6f86032d59d67126758db301b3affa2b69ffe Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 14 Mar 2022 08:41:15 -0400 Subject: [PATCH 31/47] sundry fragment edits --- .../LM01_L1GS_001010_19720908_02_T2.json | 19 +- .../LM02_L1GS_001004_19750411_02_T2.json | 19 +- .../LM03_L1GS_001001_19780510_02_T2.json | 19 +- .../LM04_L1GS_001001_19830527_02_T2.json | 19 +- .../LM05_L1GS_001001_19850524_02_T2.json | 19 +- examples/landsat-c2-l1/collection.json | 5 +- .../LC08_L2SP_047027_20201204_02_T1.json | 79 +- .../LC09_L2SP_010065_20220129_02_T1.json | 79 +- .../LE07_L2SP_021030_20100109_02_T1.json | 75 +- .../LT04_L2SP_002026_19830110_02_T1.json | 75 +- .../LT05_L2SP_010067_19860424_02_T2.json | 75 +- examples/landsat-c2-l2/collection.json | 53 +- .../LC08_L2SP_005009_20150710_02_T2.json | 1108 +++++++------- .../fragments/collections/landsat-c2-l1.json | 527 +++---- .../fragments/collections/landsat-c2-l2.json | 1281 +++++++++-------- .../landsat/fragments/etm/sr-assets.json | 32 +- .../landsat/fragments/etm/sr-eo-bands.json | 12 +- .../fragments/etm/sr-raster-bands.json | 127 +- .../landsat/fragments/etm/st-assets.json | 20 +- .../landsat/fragments/etm/st-eo-bands.json | 2 +- .../landsat/fragments/mss/sr-assets.json | 12 +- .../fragments/mss/sr-raster-bands.json | 5 +- .../landsat/fragments/oli_tirs/sr-assets.json | 34 +- .../fragments/oli_tirs/sr-eo-bands.json | 14 +- .../fragments/oli_tirs/sr-raster-bands.json | 131 +- .../landsat/fragments/oli_tirs/st-assets.json | 20 +- .../fragments/oli_tirs/st-eo-bands.json | 2 +- .../landsat/fragments/tm/sr-assets.json | 32 +- .../landsat/fragments/tm/sr-eo-bands.json | 12 +- .../landsat/fragments/tm/sr-raster-bands.json | 7 +- .../landsat/fragments/tm/st-assets.json | 20 +- .../landsat/fragments/tm/st-eo-bands.json | 2 +- 32 files changed, 2001 insertions(+), 1935 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 52b1a2f..e329743 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-13T12:21:48.323056Z", + "created": "2022-03-14T12:33:46.003718Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, @@ -143,13 +143,14 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -159,13 +160,13 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -176,7 +177,7 @@ "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", @@ -204,7 +205,7 @@ "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B5", @@ -232,7 +233,7 @@ "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B6", @@ -260,7 +261,7 @@ "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B7", diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 03a4583..8bf36a2 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-13T12:21:48.325841Z", + "created": "2022-03-14T12:33:46.006092Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, @@ -143,13 +143,14 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -159,13 +160,13 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -176,7 +177,7 @@ "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", @@ -204,7 +205,7 @@ "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B5", @@ -232,7 +233,7 @@ "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B6", @@ -260,7 +261,7 @@ "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B7", diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 00be99d..9d439c6 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-13T12:21:48.327697Z", + "created": "2022-03-14T12:33:46.007805Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, @@ -143,13 +143,14 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -159,13 +160,13 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -176,7 +177,7 @@ "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", @@ -204,7 +205,7 @@ "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B5", @@ -232,7 +233,7 @@ "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B6) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B6", @@ -260,7 +261,7 @@ "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B7", diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 826465c..4e9542d 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-13T12:21:49.535069Z", + "created": "2022-03-14T12:33:46.920547Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, @@ -143,13 +143,14 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -159,13 +160,13 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -176,7 +177,7 @@ "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B1)", - "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B1", @@ -204,7 +205,7 @@ "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B2)", - "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B2", @@ -232,7 +233,7 @@ "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B3)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B3", @@ -260,7 +261,7 @@ "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B4)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index ac32e15..a21ffbb 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-13T12:21:49.543572Z", + "created": "2022-03-14T12:33:46.928372Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, @@ -143,13 +143,14 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -159,13 +160,13 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -176,7 +177,7 @@ "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Green Band (B1)", - "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B1", @@ -204,7 +205,7 @@ "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Red Band (B2)", - "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "eo:bands": [ { "name": "B2", @@ -232,7 +233,7 @@ "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8 (B3)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B3", @@ -260,7 +261,7 @@ "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.9 (B4)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 2d33cc4..e8e8415 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -94,9 +94,10 @@ "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -111,7 +112,7 @@ { "data_type": "uint16", "spatial_resolution": 60, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index b470c72..f139ce8 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-13T12:20:46.566172Z", + "created": "2022-03-14T12:33:40.843471Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -159,13 +159,14 @@ "qa_pixel": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -178,13 +179,13 @@ "qa_radsat": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -194,11 +195,11 @@ "coastal": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "title": "Coastal/Aerosol Band (SR_B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B1", + "name": "OLI-SR_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 @@ -220,11 +221,11 @@ "blue": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "title": "Blue Band (SR_B2)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B2", + "name": "OLI-SR_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 @@ -246,11 +247,11 @@ "green": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "title": "Green Band (SR_B3)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B3", + "name": "OLI-SR_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 @@ -272,11 +273,11 @@ "red": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "title": "Red Band (SR_B4)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B4", + "name": "OLI-SR_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 @@ -298,11 +299,11 @@ "nir08": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "name": "OLI_B5", + "name": "OLI-SR_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 @@ -324,11 +325,11 @@ "swir16": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "name": "OLI_B6", + "name": "OLI-SR_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 @@ -350,11 +351,11 @@ "swir22": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "name": "OLI_B7", + "name": "OLI-SR_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.19 @@ -376,14 +377,14 @@ "qa_aerosol": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", + "title": "Aerosol Quality Assessment Band (SR_QA_AEROSOL)", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -394,11 +395,11 @@ "lwir11": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "title": "Surface Temperature Band (ST_B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "name": "TIRS_B10", + "name": "TIRS-ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, "full_width_half_max": 0.59 @@ -422,7 +423,7 @@ "atran": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "raster:bands": [ { @@ -439,7 +440,7 @@ "cdist": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "raster:bands": [ { @@ -457,7 +458,7 @@ "drad": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -475,7 +476,7 @@ "urad": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -493,7 +494,7 @@ "trad": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -511,7 +512,7 @@ "emis": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "raster:bands": [ { @@ -529,7 +530,7 @@ "emsd": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "raster:bands": [ { @@ -547,7 +548,7 @@ "qa": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "raster:bands": [ { diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 6bbff07..e9b88b6 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-13T12:20:47.751196Z", + "created": "2022-03-14T12:33:41.855111Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -159,13 +159,14 @@ "qa_pixel": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -178,13 +179,13 @@ "qa_radsat": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -194,11 +195,11 @@ "coastal": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "title": "Coastal/Aerosol Band (SR_B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B1", + "name": "OLI-SR_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 @@ -220,11 +221,11 @@ "blue": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "title": "Blue Band (SR_B2)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B2", + "name": "OLI-SR_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 @@ -246,11 +247,11 @@ "green": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "title": "Green Band (SR_B3)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B3", + "name": "OLI-SR_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 @@ -272,11 +273,11 @@ "red": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "title": "Red Band (SR_B4)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "name": "OLI_B4", + "name": "OLI-SR_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 @@ -298,11 +299,11 @@ "nir08": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "name": "OLI_B5", + "name": "OLI-SR_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 @@ -324,11 +325,11 @@ "swir16": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "name": "OLI_B6", + "name": "OLI-SR_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 @@ -350,11 +351,11 @@ "swir22": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "name": "OLI_B7", + "name": "OLI-SR_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.19 @@ -376,14 +377,14 @@ "qa_aerosol": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", + "title": "Aerosol Quality Assessment Band (SR_QA_AEROSOL)", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -394,11 +395,11 @@ "lwir11": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "title": "Surface Temperature Band (ST_B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "name": "TIRS_B10", + "name": "TIRS-ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, "full_width_half_max": 0.59 @@ -422,7 +423,7 @@ "atran": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "raster:bands": [ { @@ -439,7 +440,7 @@ "cdist": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "raster:bands": [ { @@ -457,7 +458,7 @@ "drad": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -475,7 +476,7 @@ "urad": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -493,7 +494,7 @@ "trad": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -511,7 +512,7 @@ "emis": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "raster:bands": [ { @@ -529,7 +530,7 @@ "emsd": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "raster:bands": [ { @@ -547,7 +548,7 @@ "qa": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "raster:bands": [ { diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 8e72eee..be3e8b8 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm+" ], - "created": "2022-03-13T12:20:46.563409Z", + "created": "2022-03-14T12:33:40.840684Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -158,13 +158,14 @@ "qa_pixel": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -177,13 +178,13 @@ "qa_radsat": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -193,11 +194,11 @@ "blue": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B1)", - "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "title": "Blue Band (SR_B1)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "name": "ETM+_B1", + "name": "ETM-SR_B1", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 @@ -219,11 +220,11 @@ "green": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B2)", - "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "title": "Green Band (SR_B2)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "name": "ETM+_B2", + "name": "ETM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 @@ -245,11 +246,11 @@ "red": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B3)", - "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "title": "Red Band (SR_B3)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "name": "ETM+_B3", + "name": "ETM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 @@ -271,11 +272,11 @@ "nir08": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "name": "ETM+_B4", + "name": "ETM-SR_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 @@ -297,11 +298,11 @@ "swir16": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "name": "ETM+_B5", + "name": "ETM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 @@ -323,11 +324,11 @@ "swir22": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "name": "ETM+_B7", + "name": "ETM-SR_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.28 @@ -349,7 +350,7 @@ "atmos_opacity": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", + "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "raster:bands": [ { @@ -366,13 +367,13 @@ "cloud_qa": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", + "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -385,11 +386,11 @@ "lwir": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "title": "Surface Temperature Band (ST_B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "name": "ETM+_B6", + "name": "ETM-ST_B6", "common_name": "lwir", "center_wavelength": 11.34, "full_width_half_max": 2.05 @@ -413,7 +414,7 @@ "atran": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "raster:bands": [ { @@ -430,7 +431,7 @@ "cdist": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "raster:bands": [ { @@ -448,7 +449,7 @@ "drad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -466,7 +467,7 @@ "urad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -484,7 +485,7 @@ "trad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -502,7 +503,7 @@ "emis": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "raster:bands": [ { @@ -520,7 +521,7 @@ "emsd": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "raster:bands": [ { @@ -538,7 +539,7 @@ "qa": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "raster:bands": [ { diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index f459a51..3886de1 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-13T12:20:46.558135Z", + "created": "2022-03-14T12:33:40.835599Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -158,13 +158,14 @@ "qa_pixel": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -177,13 +178,13 @@ "qa_radsat": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -193,11 +194,11 @@ "blue": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B1)", - "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "title": "Blue Band (SR_B1)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "name": "TM_B1", + "name": "TM-SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 @@ -219,11 +220,11 @@ "green": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B2)", - "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "title": "Green Band (SR_B2)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "name": "TM_B2", + "name": "TM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 @@ -245,11 +246,11 @@ "red": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B3)", - "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "title": "Red Band (SR_B3)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "name": "TM_B3", + "name": "TM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 @@ -271,11 +272,11 @@ "nir08": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "name": "TM_B4", + "name": "TM-SR_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 @@ -297,11 +298,11 @@ "swir16": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "name": "TM_B5", + "name": "TM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 @@ -323,11 +324,11 @@ "swir22": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "name": "TM_B7", + "name": "TM-SR_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 @@ -349,7 +350,7 @@ "atmos_opacity": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", + "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "raster:bands": [ { @@ -366,13 +367,13 @@ "cloud_qa": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", + "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -385,11 +386,11 @@ "lwir": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "title": "Surface Temperature Band (ST_B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "name": "TM_B6", + "name": "TM-ST_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.1 @@ -413,7 +414,7 @@ "atran": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "raster:bands": [ { @@ -430,7 +431,7 @@ "cdist": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "raster:bands": [ { @@ -448,7 +449,7 @@ "drad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -466,7 +467,7 @@ "urad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -484,7 +485,7 @@ "trad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -502,7 +503,7 @@ "emis": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "raster:bands": [ { @@ -520,7 +521,7 @@ "emsd": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "raster:bands": [ { @@ -538,7 +539,7 @@ "qa": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "raster:bands": [ { diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index a6e25d0..1a913ca 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-13T12:20:46.561430Z", + "created": "2022-03-14T12:33:40.838711Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -158,13 +158,14 @@ "qa_pixel": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -177,13 +178,13 @@ "qa_radsat": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "raster:bands": [ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -193,11 +194,11 @@ "blue": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B1)", - "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "title": "Blue Band (SR_B1)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "eo:bands": [ { - "name": "TM_B1", + "name": "TM-SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 @@ -219,11 +220,11 @@ "green": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B2)", - "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "title": "Green Band (SR_B2)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "eo:bands": [ { - "name": "TM_B2", + "name": "TM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 @@ -245,11 +246,11 @@ "red": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B3)", - "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "title": "Red Band (SR_B3)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "eo:bands": [ { - "name": "TM_B3", + "name": "TM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 @@ -271,11 +272,11 @@ "nir08": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "eo:bands": [ { - "name": "TM_B4", + "name": "TM-SR_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 @@ -297,11 +298,11 @@ "swir16": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "eo:bands": [ { - "name": "TM_B5", + "name": "TM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 @@ -323,11 +324,11 @@ "swir22": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "eo:bands": [ { - "name": "TM_B7", + "name": "TM-SR_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 @@ -349,7 +350,7 @@ "atmos_opacity": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", + "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "raster:bands": [ { @@ -366,13 +367,13 @@ "cloud_qa": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", + "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -385,11 +386,11 @@ "lwir": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "title": "Surface Temperature Band (ST_B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "eo:bands": [ { - "name": "TM_B6", + "name": "TM-ST_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.1 @@ -413,7 +414,7 @@ "atran": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "raster:bands": [ { @@ -430,7 +431,7 @@ "cdist": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "raster:bands": [ { @@ -448,7 +449,7 @@ "drad": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -466,7 +467,7 @@ "urad": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -484,7 +485,7 @@ "trad": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "raster:bands": [ { @@ -502,7 +503,7 @@ "emis": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "raster:bands": [ { @@ -520,7 +521,7 @@ "emsd": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "raster:bands": [ { @@ -538,7 +539,7 @@ "qa": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "raster:bands": [ { diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 18b52a0..2449951 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -112,9 +112,10 @@ "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "raster:bands": [ { + "nodata": 1, "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -132,7 +133,7 @@ { "data_type": "uint16", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -282,7 +283,7 @@ { "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -301,7 +302,7 @@ "nodata": 1, "data_type": "uint8", "spatial_resolution": 30, - "unit": "bit_index" + "unit": "bit index" } ], "roles": [ @@ -566,133 +567,133 @@ ], "eo:bands": [ { - "name": "TM_B1", + "name": "TM-SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, { - "name": "TM_B2", + "name": "TM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, { - "name": "TM_B3", + "name": "TM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, { - "name": "TM_B4", + "name": "TM-SR_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 }, { - "name": "TM_B5", + "name": "TM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 }, { - "name": "TM_B6", + "name": "TM-ST_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.1 }, { - "name": "TM_B7", + "name": "TM-SR_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 }, { - "name": "ETM+_B1", + "name": "ETM-SR_B1", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 }, { - "name": "ETM+_B2", + "name": "ETM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, { - "name": "ETM+_B3", + "name": "ETM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, { - "name": "ETM+_B4", + "name": "ETM-SR_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 }, { - "name": "ETM+_B5", + "name": "ETM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.2 }, { - "name": "ETM+_B6", + "name": "ETM-ST_B6", "common_name": "lwir", "center_wavelength": 11.34, "full_width_half_max": 2.05 }, { - "name": "ETM+_B7", + "name": "ETM-SR_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.28 }, { - "name": "OLI_B1", + "name": "OLI-SR_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 }, { - "name": "OLI_B2", + "name": "OLI-SR_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 }, { - "name": "OLI_B3", + "name": "OLI-SR_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 }, { - "name": "OLI_B4", + "name": "OLI-SR_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 }, { - "name": "OLI_B5", + "name": "OLI-SR_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 }, { - "name": "OLI_B6", + "name": "OLI-SR_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 }, { - "name": "OLI_B7", + "name": "OLI-SR_B7", "common_name": "swir22", "center_wavelength": 2.2, "full_width_half_max": 0.19 }, { - "name": "TIRS_B10", + "name": "TIRS-ST_B10", "common_name": "lwir11", "center_wavelength": 10.9, "full_width_half_max": 0.59 diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json index 1d4949f..aa3db21 100644 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json +++ b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json @@ -1,567 +1,567 @@ { - "type": "Feature", - "stac_version": "1.0.0", - "id": "LC08_L2SP_005009_20150710_02_T2", - "properties": { - "platform": "landsat-8", - "instruments": [ - "oli", - "tirs" - ], - "created": "2022-03-11T19:59:40.967667Z", - "gsd": 30, - "description": "Landsat Collection 2 Level-2", - "eo:cloud_cover": 54.65, - "view:off_nadir": 0, - "view:sun_elevation": 40.0015903, - "view:sun_azimuth": 177.8846007, - "proj:epsg": 32624, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ], - "landsat:cloud_cover_land": 54.67, - "landsat:wrs_type": "2", - "landsat:wrs_path": "005", - "landsat:wrs_row": "009", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:correction": "L2SP", - "landsat:scene_id": "LC80050092015191LGN01", - "sci:doi": "10.5066/P9OGBGM6", - "datetime": "2015-07-10T14:34:35.978399Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -40.207494643258215, - 73.37663856483091 + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC08_L2SP_005009_20150710_02_T2", + "properties": { + "platform": "landsat-8", + "instruments": [ + "oli", + "tirs" ], - [ - -35.24761728197594, - 72.53787734153468 + "created": "2022-03-11T19:59:40.967667Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2", + "eo:cloud_cover": 54.65, + "view:off_nadir": 0, + "view:sun_elevation": 40.0015903, + "view:sun_azimuth": 177.8846007, + "proj:epsg": 32624, + "proj:shape": [ + 8821, + 8791 ], - [ - -38.14743429756088, - 71.03398759793903 + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 ], - [ - -42.81076871497076, - 71.81441016731796 - ], - [ - -40.207494643258215, - 73.37663856483091 - ] - ] - ] - }, - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, - { - "rel": "via", - "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR", - "type": "application/json", - "title": "USGS STAC Item" - }, - { - "rel": "via", - "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST", - "type": "application/json", - "title": "USGS STAC Item" - }, - { - "rel": "self", - "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", - "type": "application/json" - } - ], - "assets": { - "thumbnail": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B5", - "common_name": "nir08", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] + "landsat:cloud_cover_land": 54.67, + "landsat:wrs_type": "2", + "landsat:wrs_path": "005", + "landsat:wrs_row": "009", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:correction": "L2SP", + "landsat:scene_id": "LC80050092015191LGN01", + "sci:doi": "10.5066/P9OGBGM6", + "datetime": "2015-07-10T14:34:35.978399Z" }, - "swir16": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B6", - "common_name": "swir16", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B7", - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "qa_aerosol": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", - "eo:bands": [ - { - "name": "TIRS_B10", - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "gsd": 100, - "roles": [ - "temperature" - ] - }, - "atran": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -40.207494643258215, + 73.37663856483091 + ], + [ + -35.24761728197594, + 72.53787734153468 + ], + [ + -38.14743429756088, + 71.03398759793903 + ], + [ + -42.81076871497076, + 71.81441016731796 + ], + [ + -40.207494643258215, + 73.37663856483091 + ] + ] + ] }, - "drad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ + "links": [ { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "emis": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST", + "type": "application/json", + "title": "USGS STAC Item" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 + "rel": "self", + "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", + "type": "application/json" } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 + ], + "assets": { + "thumbnail": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B5", + "common_name": "nir08", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B6", + "common_name": "swir16", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "qa_aerosol": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band (B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "eo:bands": [ + { + "name": "TIRS_B10", + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "atran": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] } - ], - "roles": [ - "data" - ] }, - "qa": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - } - }, - "bbox": [ - -43.20190248750403, - 70.9793158649215, - -34.95084086107732, - 73.3491841350785 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/raster/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" - ] -} \ No newline at end of file + "bbox": [ + -43.20190248750403, + 70.9793158649215, + -34.95084086107732, + 73.3491841350785 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" + ] +} diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index ad6fe47..c4eaf23 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -1,265 +1,286 @@ { - "id": "landsat-c2-l1", - "title": "Landsat Collection 2 Level-1", - "description": "Global Landsat Collection 2 Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", - "license": "proprietary", - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9AF14YV", - "title": "Landsat 1-5 MSS Collection 2 Level-1" - }, - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery"], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1972-07-25T00:00:00Z", - "2013-01-07T23:23:59Z" - ] - ] - } - }, - "summaries": { - "platform": ["landsat-1", "landsat-2", "landsat-3", "landsat-4", "landsat-5"], - "instruments": ["mss"], - "gsd": [79], - "view:off_nadir": [0], - "sci_doi": ["10.5066/P9AF14YV"], - "eo:bands": [ - { - "name": "B4", - "common_name": "green", - "description": "Landsat 1-3 Band B4", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - }, - { - "name": "B5", - "common_name": "red", - "description": "Landsat 1-3 Band B5", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - }, - { - "name": "B6", - "common_name": "nir08", - "description": "Landsat 1-3 Band B6", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - }, - { - "name": "B7", - "common_name": "nir09", - "description": "Landsat 1-3 Band B7", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - }, - { - "name": "B1", - "common_name": "green", - "description": "Landsat 4-5 Band B1", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - }, - { - "name": "B2", - "common_name": "red", - "description": "Landsat 4-5 Band B2", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - }, - { - "name": "B3", - "common_name": "nir08", - "description": "Landsat 4-5 Band B3", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - }, - { - "name": "B4", - "common_name": "nir09", - "description": "Landsat 4-5 Band B4", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - } - ] - }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-1 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ + "id": "landsat-c2-l1", + "title": "Landsat Collection 2 Level-1", + "description": "Global Landsat Collection 2 Level-1 data from the Multispectral Scanner System (MSS) onboard Landsat 1 through Landsat 5.", + "license": "proprietary", + "links": [ { - "data_type": "uint16", - "spatial_resolution": 60, - "unit": "bit_index" - } - ], - "roles": [ - "cloud" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9AF14YV", + "title": "Landsat 1-5 MSS Collection 2 Level-1" + }, { - "data_type": "uint16", - "spatial_resolution": 60, - "unit": "bit_index" + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" } - ], - "roles": [ - "saturation" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", - "raster:bands": [ + ], + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery" + ], + "providers": [ { - "nodata": 0, - "data_type": "uint8", - "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" - } - ], - "roles": [ - "data" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", - "raster:bands": [ + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, { - "nodata": 0, - "data_type": "uint8", - "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" - } - ], - "roles": [ - "data" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", - "raster:bands": [ + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-1-data" + }, { - "nodata": 0, - "data_type": "uint8", - "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1972-07-25T00:00:00Z", + "2013-01-07T23:23:59Z" + ] + ] } - ], - "roles": [ - "data" - ] }, - "nir09": { - "type": "COG", - "title": "Near Infrared Band 0.9", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint8", - "spatial_resolution": 60, - "unit": "watt/steradian/square_meter/micrometer" + "summaries": { + "platform": [ + "landsat-1", + "landsat-2", + "landsat-3", + "landsat-4", + "landsat-5" + ], + "instruments": [ + "mss" + ], + "gsd": [ + 79 + ], + "view:off_nadir": [ + 0 + ], + "sci_doi": [ + "10.5066/P9AF14YV" + ], + "eo:bands": [ + { + "name": "B4", + "common_name": "green", + "description": "Landsat 1-3 Band B4", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B5", + "common_name": "red", + "description": "Landsat 1-3 Band B5", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B6", + "common_name": "nir08", + "description": "Landsat 1-3 Band B6", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B7", + "common_name": "nir09", + "description": "Landsat 1-3 Band B7", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + }, + { + "name": "B1", + "common_name": "green", + "description": "Landsat 4-5 Band B1", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B2", + "common_name": "red", + "description": "Landsat 4-5 Band B2", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B3", + "common_name": "nir08", + "description": "Landsat 4-5 Band B3", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B4", + "common_name": "nir09", + "description": "Landsat 4-5 Band B4", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + } + ] + }, + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-1 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-1 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 60, + "unit": "bit index" + } + ], + "roles": [ + "cloud" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 60, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], + "roles": [ + "data" + ] + }, + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], + "roles": [ + "data" + ] + }, + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], + "roles": [ + "data" + ] + }, + "nir09": { + "type": "COG", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint8", + "spatial_resolution": 60, + "unit": "watt/steradian/square_meter/micrometer" + } + ], + "roles": [ + "data" + ] } - ], - "roles": [ - "data" - ] } - } } - diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index b680941..65bb5fa 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,642 +1,671 @@ { - "id": "landsat-c2-l2", - "title": "Landsat Collection 2 Level-2", - "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "license": "proprietary", - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - } - ], - "keywords": ["Landsat", "USGS", "NASA", "Satellite", "Global", "Imagery", "Reflectance", "Temperature"], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] - } - }, - "summaries": { - "platform": ["landsat-4", "landsat-5", "landsat-7", "landsat-8", "landsat-9"], - "instruments": ["tm", "etm+", "oli", "tirs"], - "gsd": [30, 60, 100, 120], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 - }, - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ], - "eo:bands": [ - { - "name": "TM_B1", - "common_name": "blue", - "center_wavelength": 0.49, - "full_width_half_max": 0.07 - }, - { - "name": "TM_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "TM_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "TM_B4", - "common_name": "nir08", - "center_wavelength": 0.83, - "full_width_half_max": 0.14 - }, - { - "name": "TM_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.20 - }, - { - "name": "TM_B6", - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.10 - }, - { - "name": "TM_B7", - "common_name": "swir22", - "center_wavelength": 2.22, - "full_width_half_max": 0.27 - }, - { - "name": "ETM+_B1", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.07 - }, - { - "name": "ETM+_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "ETM+_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "ETM+_B4", - "common_name": "nir08", - "center_wavelength": 0.84, - "full_width_half_max": 0.13 - }, - { - "name": "ETM+_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.20 - }, - { - "name": "ETM+_B6", - "common_name": "lwir", - "center_wavelength": 11.34, - "full_width_half_max": 2.05 - }, - { - "name": "ETM+_B7", - "common_name": "swir22", - "center_wavelength": 2.20, - "full_width_half_max": 0.28 - }, - { - "name": "OLI_B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "OLI_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "OLI_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - { - "name": "OLI_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, - { - "name": "OLI_B5", - "common_name": "nir08", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - }, - { - "name": "OLI_B6", - "common_name": "swir16", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - }, - { - "name": "OLI_B7", - "common_name": "swir22", - "center_wavelength": 2.20, - "full_width_half_max": 0.19 - }, - { - "name": "TIRS_B10", - "common_name": "lwir11", - "center_wavelength": 10.90, - "full_width_half_max": 0.59 - } - ] - }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "TEXT", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "cloud", "cloud-shadow", "snow-ice", "water-mask" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "COG", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "COG", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "COG", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "COG", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "COG", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "COG", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "COG", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit_index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "COG", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "type": "COG", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "type": "COG", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ + ], + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "type": "COG", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "type": "COG", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" } - ], - "roles": [ - "data" - ] - }, - "emis": { - "type": "COG", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] } - ], - "roles": [ - "data" - ] }, - "emsd": { - "type": "COG", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm+", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + }, + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM-SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM-SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM-SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM-SR_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM-SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.20 + }, + { + "name": "TM-ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.10 + }, + { + "name": "TM-SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM-SR_B1", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM-SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM-SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM-SR_B4", + "common_name": "nir08", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM-SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.20 + }, + { + "name": "ETM-ST_B6", + "common_name": "lwir", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM-SR_B7", + "common_name": "swir22", + "center_wavelength": 2.20, + "full_width_half_max": 0.28 + }, + { + "name": "OLI-SR_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI-SR_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI-SR_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI-SR_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI-SR_B5", + "common_name": "nir08", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI-SR_B6", + "common_name": "swir16", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI-SR_B7", + "common_name": "swir22", + "center_wavelength": 2.20, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS-ST_B10", + "common_name": "lwir11", + "center_wavelength": 10.90, + "full_width_half_max": 0.59 + } + ] }, - "qa": { - "type": "COG", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] } - ], - "roles": [ - "data" - ] } - } } diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json index 5419635..290b04c 100644 --- a/src/stactools/landsat/fragments/etm/sr-assets.json +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -1,58 +1,58 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, "blue": { - "title": "Blue Band (B1)", - "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "title": "Blue Band (SR_B1)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, "green": { - "title": "Green Band (B2)", - "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "title": "Green Band (SR_B2)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, "red": { - "title": "Red Band (B3)", - "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "title": "Red Band (SR_B3)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, "swir16": { - "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, "swir22": { - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, "atmos_opacity": { - "title": "Atmospheric Opacity Band", + "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": ["data"], "href_suffix": "SR_ATMOS_OPACITY.TIF" }, "cloud_qa": { - "title": "Cloud Quality Assessment Band", + "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"], "href_suffix": "SR_CLOUD_QA.TIF" diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json index 9c23a1c..415315f 100644 --- a/src/stactools/landsat/fragments/etm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -1,36 +1,36 @@ { "blue": { - "name": "ETM+_B1", + "name": "ETM-SR_B1", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 }, "green": { - "name": "ETM+_B2", + "name": "ETM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, "red": { - "name": "ETM+_B3", + "name": "ETM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, "nir08": { - "name": "ETM+_B4", + "name": "ETM-SR_B4", "common_name": "nir08", "center_wavelength": 0.84, "full_width_half_max": 0.13 }, "swir16": { - "name": "ETM+_B5", + "name": "ETM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.20 }, "swir22": { - "name": "ETM+_B7", + "name": "ETM-SR_B7", "common_name": "swir22", "center_wavelength": 2.20, "full_width_half_max": 0.28 diff --git a/src/stactools/landsat/fragments/etm/sr-raster-bands.json b/src/stactools/landsat/fragments/etm/sr-raster-bands.json index bb20363..072d02b 100644 --- a/src/stactools/landsat/fragments/etm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-raster-bands.json @@ -1,65 +1,66 @@ { - "qa_pixel": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit_index" - }, - "qa_radsat": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit_index" - }, - "blue": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "green": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "red": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "nir08": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir16": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir22": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "atmos_opacity": { - "spatial_resolution": 30, - "data_type": "int16", - "nodata": -9999, - "scale": 0.001 - }, - "cloud_qa": { - "spatial_resolution": 30, - "data_type": "uint8", - "unit": "bit_index" - } + "qa_pixel": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 1, + "unit": "bit index" + }, + "qa_radsat": { + "spatial_resolution": 30, + "data_type": "uint16", + "unit": "bit index" + }, + "blue": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "green": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "red": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "nir08": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir16": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir22": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "atmos_opacity": { + "spatial_resolution": 30, + "data_type": "int16", + "nodata": -9999, + "scale": 0.001 + }, + "cloud_qa": { + "spatial_resolution": 30, + "data_type": "uint8", + "unit": "bit index" + } } diff --git a/src/stactools/landsat/fragments/etm/st-assets.json b/src/stactools/landsat/fragments/etm/st-assets.json index afa9e8f..0a5ae44 100644 --- a/src/stactools/landsat/fragments/etm/st-assets.json +++ b/src/stactools/landsat/fragments/etm/st-assets.json @@ -1,54 +1,54 @@ { "lwir": { - "title": "Surface Temperature Band (B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "title": "Surface Temperature Band (ST_B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "roles": ["temperature"], "href_suffix": "ST_B6.TIF" }, "atran": { - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_ATRAN.TIF" }, "cdist": { - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_CDIST.TIF" }, "drad": { - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_DRAD.TIF" }, "urad": { - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_URAD.TIF" }, "trad": { - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_TRAD.TIF" }, "emis": { - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMIS.TIF" }, "emsd": { - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMSD.TIF" }, "qa": { - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_QA.TIF" diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json index ff7c4d0..4f3db55 100644 --- a/src/stactools/landsat/fragments/etm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -1,6 +1,6 @@ { "lwir": { - "name": "ETM+_B6", + "name": "ETM-ST_B6", "common_name": "lwir", "center_wavelength": 11.34, "full_width_half_max": 2.05 diff --git a/src/stactools/landsat/fragments/mss/sr-assets.json b/src/stactools/landsat/fragments/mss/sr-assets.json index eb03ae0..ba23499 100644 --- a/src/stactools/landsat/fragments/mss/sr-assets.json +++ b/src/stactools/landsat/fragments/mss/sr-assets.json @@ -1,35 +1,35 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud"] }, "qa_radsat": { - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, "green": { "title": "Green Band (B1)", - "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B1.TIF" }, "red": { "title": "Red Band (B2)", - "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B2.TIF" }, "nir08": { "title": "Near Infrared Band 0.8 (B3)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 (B3) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B3.TIF" }, "nir09": { "title": "Near Infrared Band 0.9 (B4)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B4.TIF" } diff --git a/src/stactools/landsat/fragments/mss/sr-raster-bands.json b/src/stactools/landsat/fragments/mss/sr-raster-bands.json index 424fa7f..9ec674e 100644 --- a/src/stactools/landsat/fragments/mss/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-raster-bands.json @@ -2,12 +2,13 @@ "qa_pixel": { "spatial_resolution": 60, "data_type": "uint16", - "unit": "bit_index" + "nodata": 1, + "unit": "bit index" }, "qa_radsat": { "spatial_resolution": 60, "data_type": "uint16", - "unit": "bit_index" + "unit": "bit index" }, "green": { "temp_name": "B1", diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json index 507d30d..f96aa44 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json @@ -1,58 +1,58 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", "roles": ["saturation"] }, "coastal": { - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "title": "Coastal/Aerosol Band (SR_B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, "blue": { - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "title": "Blue Band (SR_B2)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, "green": { - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "title": "Green Band (SR_B3)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, "red": { - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "title": "Red Band (SR_B4)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, "swir16": { - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B6.TIF" }, "swir22": { - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, "qa_aerosol": { - "title": "Aerosol Quality Assessment Band", + "title": "Aerosol Quality Assessment Band (SR_QA_AEROSOL)", "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", "roles": ["data-mask", "water-mask"], "href_suffix": "SR_QA_AEROSOL.TIF" diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json index d96e202..bff6c59 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json @@ -1,42 +1,42 @@ { "coastal": { - "name": "OLI_B1", + "name": "OLI-SR_B1", "common_name": "coastal", "center_wavelength": 0.44, "full_width_half_max": 0.02 }, "blue": { - "name": "OLI_B2", + "name": "OLI-SR_B2", "common_name": "blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 }, "green": { - "name": "OLI_B3", + "name": "OLI-SR_B3", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.06 }, "red": { - "name": "OLI_B4", + "name": "OLI-SR_B4", "common_name": "red", "center_wavelength": 0.65, "full_width_half_max": 0.04 }, "nir08": { - "name": "OLI_B5", + "name": "OLI-SR_B5", "common_name": "nir08", "center_wavelength": 0.87, "full_width_half_max": 0.03 }, "swir16": { - "name": "OLI_B6", + "name": "OLI-SR_B6", "common_name": "swir16", "center_wavelength": 1.61, "full_width_half_max": 0.09 }, "swir22": { - "name": "OLI_B7", + "name": "OLI-SR_B7", "common_name": "swir22", "center_wavelength": 2.20, "full_width_half_max": 0.19 diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json index dacd595..46c3e09 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-raster-bands.json @@ -1,67 +1,68 @@ { - "qa_pixel": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit_index" - }, - "qa_radsat": { - "spatial_resolution": 30, - "data_type": "uint16", - "unit": "bit_index" - }, - "coastal": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "blue": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "green": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "red": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "nir08": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir16": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "swir22": { - "spatial_resolution": 30, - "data_type": "uint16", - "nodata": 0, - "scale": 0.0000275, - "offset": -0.2 - }, - "qa_aerosol": { - "spatial_resolution": 30, - "data_type": "uint8", - "nodata": 1, - "unit": "bit_index" - } + "qa_pixel": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 1, + "unit": "bit index" + }, + "qa_radsat": { + "spatial_resolution": 30, + "data_type": "uint16", + "unit": "bit index" + }, + "coastal": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "blue": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "green": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "red": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "nir08": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir16": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "swir22": { + "spatial_resolution": 30, + "data_type": "uint16", + "nodata": 0, + "scale": 0.0000275, + "offset": -0.2 + }, + "qa_aerosol": { + "spatial_resolution": 30, + "data_type": "uint8", + "nodata": 1, + "unit": "bit index" + } } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-assets.json b/src/stactools/landsat/fragments/oli_tirs/st-assets.json index 5d578e0..b286691 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-assets.json @@ -1,54 +1,54 @@ { "lwir11": { - "title": "Surface Temperature Band (B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", + "title": "Surface Temperature Band (ST_B10)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "roles": ["temperature"], "href_suffix": "ST_B10.TIF" }, "atran": { - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_ATRAN.TIF" }, "cdist": { - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_CDIST.TIF" }, "drad": { - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_DRAD.TIF" }, "urad": { - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_URAD.TIF" }, "trad": { - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_TRAD.TIF" }, "emis": { - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMIS.TIF" }, "emsd": { - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMSD.TIF" }, "qa": { - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_QA.TIF" diff --git a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json index 60ef8b9..92dfac9 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json @@ -1,6 +1,6 @@ { "lwir11": { - "name": "TIRS_B10", + "name": "TIRS-ST_B10", "common_name": "lwir11", "center_wavelength": 10.90, "full_width_half_max": 0.59 diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json index 5419635..290b04c 100644 --- a/src/stactools/landsat/fragments/tm/sr-assets.json +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -1,58 +1,58 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band (QA_PIXEL)", "description": "Collection 2 Level-1 Pixel Quality Assessment Band", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", "roles": ["saturation"] }, "blue": { - "title": "Blue Band (B1)", - "description": "Collection 2 Level-2 Blue Band (B1) Surface Reflectance", + "title": "Blue Band (SR_B1)", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, "green": { - "title": "Green Band (B2)", - "description": "Collection 2 Level-2 Green Band (B2) Surface Reflectance", + "title": "Green Band (SR_B2)", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, "red": { - "title": "Red Band (B3)", - "description": "Collection 2 Level-2 Red Band (B3) Surface Reflectance", + "title": "Red Band (SR_B3)", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B4) Surface Reflectance", + "title": "Near Infrared Band 0.8 (SR_B4)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, "swir16": { - "title": "Short-wave Infrared Band 1.6 (B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B5) Surface Reflectance", + "title": "Short-wave Infrared Band 1.6 (SR_B5)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, "swir22": { - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "title": "Short-wave Infrared Band 2.2 (SR_B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, "atmos_opacity": { - "title": "Atmospheric Opacity Band", + "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", "roles": ["data"], "href_suffix": "SR_ATMOS_OPACITY.TIF" }, "cloud_qa": { - "title": "Cloud Quality Assessment Band", + "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"], "href_suffix": "SR_CLOUD_QA.TIF" diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json index 86d6ac6..78574dc 100644 --- a/src/stactools/landsat/fragments/tm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -1,36 +1,36 @@ { "blue": { - "name": "TM_B1", + "name": "TM-SR_B1", "common_name": "blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, "green": { - "name": "TM_B2", + "name": "TM-SR_B2", "common_name": "green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, "red": { - "name": "TM_B3", + "name": "TM-SR_B3", "common_name": "red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, "nir08": { - "name": "TM_B4", + "name": "TM-SR_B4", "common_name": "nir08", "center_wavelength": 0.83, "full_width_half_max": 0.14 }, "swir16": { - "name": "TM_B5", + "name": "TM-SR_B5", "common_name": "swir16", "center_wavelength": 1.65, "full_width_half_max": 0.20 }, "swir22": { - "name": "TM_B7", + "name": "TM-SR_B7", "common_name": "swir22", "center_wavelength": 2.22, "full_width_half_max": 0.27 diff --git a/src/stactools/landsat/fragments/tm/sr-raster-bands.json b/src/stactools/landsat/fragments/tm/sr-raster-bands.json index bb20363..f135d18 100644 --- a/src/stactools/landsat/fragments/tm/sr-raster-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-raster-bands.json @@ -2,12 +2,13 @@ "qa_pixel": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit_index" + "nodata": 1, + "unit": "bit index" }, "qa_radsat": { "spatial_resolution": 30, "data_type": "uint16", - "unit": "bit_index" + "unit": "bit index" }, "blue": { "spatial_resolution": 30, @@ -60,6 +61,6 @@ "cloud_qa": { "spatial_resolution": 30, "data_type": "uint8", - "unit": "bit_index" + "unit": "bit index" } } diff --git a/src/stactools/landsat/fragments/tm/st-assets.json b/src/stactools/landsat/fragments/tm/st-assets.json index afa9e8f..0a5ae44 100644 --- a/src/stactools/landsat/fragments/tm/st-assets.json +++ b/src/stactools/landsat/fragments/tm/st-assets.json @@ -1,54 +1,54 @@ { "lwir": { - "title": "Surface Temperature Band (B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B6) Surface Temperature", + "title": "Surface Temperature Band (ST_B6)", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", "roles": ["temperature"], "href_suffix": "ST_B6.TIF" }, "atran": { - "title": "Atmospheric Transmittance Band", + "title": "Atmospheric Transmittance Band (ST_ATRAN)", "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_ATRAN.TIF" }, "cdist": { - "title": "Cloud Distance Band", + "title": "Cloud Distance Band (ST_CDIST)", "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_CDIST.TIF" }, "drad": { - "title": "Downwelled Radiance Band", + "title": "Downwelled Radiance Band (ST_DRAD)", "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_DRAD.TIF" }, "urad": { - "title": "Upwelled Radiance Band", + "title": "Upwelled Radiance Band (ST_URAD)", "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_URAD.TIF" }, "trad": { - "title": "Thermal Radiance Band", + "title": "Thermal Radiance Band (ST_TRAD)", "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_TRAD.TIF" }, "emis": { - "title": "Emissivity Band", + "title": "Emissivity Band (ST_EMIS)", "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMIS.TIF" }, "emsd": { - "title": "Emissivity Standard Deviation Band", + "title": "Emissivity Standard Deviation Band (ST_EMSD)", "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMSD.TIF" }, "qa": { - "title": "Surface Temperature Quality Assessment Band", + "title": "Surface Temperature Quality Assessment Band (ST_QA)", "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_QA.TIF" diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json index cf3434d..4b134fb 100644 --- a/src/stactools/landsat/fragments/tm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -1,6 +1,6 @@ { "lwir": { - "name": "TM_B6", + "name": "TM-ST_B6", "common_name": "lwir", "center_wavelength": 11.45, "full_width_half_max": 2.10 From a1eaf817a793d822009a520e0ac9785286642f65 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 15 Mar 2022 10:30:29 -0400 Subject: [PATCH 32/47] condense MSS eo:bands summary, move band designation to description --- .../LM01_L1GS_001010_19720908_02_T2.json | 34 +- .../LM02_L1GS_001004_19750411_02_T2.json | 34 +- .../LM03_L1GS_001001_19780510_02_T2.json | 34 +- .../LM04_L1GS_001001_19830527_02_T2.json | 34 +- .../LM05_L1GS_001001_19850524_02_T2.json | 34 +- examples/landsat-c2-l1/collection.json | 44 +- examples/landsat-c2-l2/collection.json | 1370 ++++++++--------- .../fragments/collections/landsat-c2-l1.json | 44 +- .../landsat/fragments/mss/sr-assets.json | 24 +- .../landsat/fragments/mss/sr-eo-bands.json | 8 +- 10 files changed, 802 insertions(+), 858 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index e329743..2f1fc45 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-14T12:33:46.003718Z", + "created": "2022-03-15T14:28:12.000268Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, @@ -143,8 +143,8 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -160,8 +160,8 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -176,13 +176,13 @@ "green": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", "common_name": "green", - "description": "Landsat 1-3 Band B4", + "description": "Visible green", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -204,13 +204,13 @@ "red": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B5", "common_name": "red", - "description": "Landsat 1-3 Band B5", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -232,13 +232,13 @@ "nir08": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 (B6) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B6", "common_name": "nir08", - "description": "Landsat 1-3 Band B6", + "description": "Near infrared 0.8", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -260,13 +260,13 @@ "nir09": { "href": "../../../tests/data-files/mss/LM01_L1GS_001010_19720908_20200909_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B7", "common_name": "nir09", - "description": "Landsat 1-3 Band B7", + "description": "Near infrared 0.9", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 8bf36a2..cadabc3 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-14T12:33:46.006092Z", + "created": "2022-03-15T14:28:12.002895Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, @@ -143,8 +143,8 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -160,8 +160,8 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -176,13 +176,13 @@ "green": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", "common_name": "green", - "description": "Landsat 1-3 Band B4", + "description": "Visible green", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -204,13 +204,13 @@ "red": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B5", "common_name": "red", - "description": "Landsat 1-3 Band B5", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -232,13 +232,13 @@ "nir08": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 (B6) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B6", "common_name": "nir08", - "description": "Landsat 1-3 Band B6", + "description": "Near infrared 0.8", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -260,13 +260,13 @@ "nir09": { "href": "../../../tests/data-files/mss/LM02_L1GS_001004_19750411_20200908_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B7", "common_name": "nir09", - "description": "Landsat 1-3 Band B7", + "description": "Near infrared 0.9", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 9d439c6..5cb77a6 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-14T12:33:46.007805Z", + "created": "2022-03-15T14:28:12.004573Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, @@ -143,8 +143,8 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -160,8 +160,8 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -176,13 +176,13 @@ "green": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B4)", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band (B4) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", "common_name": "green", - "description": "Landsat 1-3 Band B4", + "description": "Visible green", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -204,13 +204,13 @@ "red": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B5)", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band (B5) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B5", "common_name": "red", - "description": "Landsat 1-3 Band B5", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -232,13 +232,13 @@ "nir08": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B6)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 (B6) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B6", "common_name": "nir08", - "description": "Landsat 1-3 Band B6", + "description": "Near infrared 0.8", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -260,13 +260,13 @@ "nir09": { "href": "../../../tests/data-files/mss/LM03_L1GS_001001_19780510_20200907_02_T2_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B7)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B7) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B7", "common_name": "nir09", - "description": "Landsat 1-3 Band B7", + "description": "Near infrared 0.9", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 4e9542d..00ffb76 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-14T12:33:46.920547Z", + "created": "2022-03-15T14:28:12.970942Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, @@ -143,8 +143,8 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -160,8 +160,8 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -176,13 +176,13 @@ "green": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B1)", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B1", "common_name": "green", - "description": "Landsat 4-5 Band B1", + "description": "Visible green", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -204,13 +204,13 @@ "red": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B2)", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B2", "common_name": "red", - "description": "Landsat 4-5 Band B2", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -232,13 +232,13 @@ "nir08": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B3)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 (B3) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B3", "common_name": "nir08", - "description": "Landsat 4-5 Band B3", + "description": "Near infrared 0.8", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -260,13 +260,13 @@ "nir09": { "href": "../../../tests/data-files/mss/LM04_L1GS_001001_19830527_20210902_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B4)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", "common_name": "nir09", - "description": "Landsat 4-5 Band B4", + "description": "Near infrared 0.9", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index a21ffbb..bc12f34 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-14T12:33:46.928372Z", + "created": "2022-03-15T14:28:12.978991Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, @@ -143,8 +143,8 @@ "qa_pixel": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -160,8 +160,8 @@ "qa_radsat": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -176,13 +176,13 @@ "green": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B1)", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B1", "common_name": "green", - "description": "Landsat 4-5 Band B1", + "description": "Visible green", "center_wavelength": 0.55, "full_width_half_max": 0.1 } @@ -204,13 +204,13 @@ "red": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B2)", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B2", "common_name": "red", - "description": "Landsat 4-5 Band B2", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.1 } @@ -232,13 +232,13 @@ "nir08": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B3)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 (B3) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B3", "common_name": "nir08", - "description": "Landsat 4-5 Band B3", + "description": "Near infrared 0.8", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -260,13 +260,13 @@ "nir09": { "href": "../../../tests/data-files/mss/LM05_L1GS_001001_19850524_20210918_02_T2_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.9 (B4)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", "eo:bands": [ { "name": "B4", "common_name": "nir09", - "description": "Landsat 4-5 Band B4", + "description": "Near infrared 0.9", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index e8e8415..666612d 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -262,58 +262,30 @@ ], "eo:bands": [ { - "name": "B4", + "name": "B1 or B4", "common_name": "green", - "description": "Landsat 1-3 Band B4", + "description": "Visible green (Landsat 4-5 Band B1; Landsat 1-3 Band B4)", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, { - "name": "B5", + "name": "B2 or B5", "common_name": "red", - "description": "Landsat 1-3 Band B5", + "description": "Visible red (Landsat 4-5 Band B2; Landsat 1-3 Band B5)", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, { - "name": "B6", + "name": "B3 or B6", "common_name": "nir08", - "description": "Landsat 1-3 Band B6", + "description": "Near infrared 0.8 (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, { - "name": "B7", + "name": "B4 or B7", "common_name": "nir09", - "description": "Landsat 1-3 Band B7", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - }, - { - "name": "B1", - "common_name": "green", - "description": "Landsat 4-5 Band B1", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - }, - { - "name": "B2", - "common_name": "red", - "description": "Landsat 4-5 Band B2", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - }, - { - "name": "B3", - "common_name": "nir08", - "description": "Landsat 4-5 Band B3", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - }, - { - "name": "B4", - "common_name": "nir09", - "description": "Landsat 4-5 Band B4", + "description": "Near infrared 0.9 (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 2449951..7287fcc 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -1,707 +1,707 @@ { - "type": "Collection", - "id": "landsat-c2-l2", - "stac_version": "1.0.0", - "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "links": [ - { - "rel": "root", - "href": "./collection.json", - "type": "application/json", - "title": "Landsat Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - }, - { - "rel": "item", - "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", - "type": "application/json" - } - ], - "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" - ], - "item_assets": { - "thumbnail": { - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "raster:bands": [ + "type": "Collection", + "id": "landsat-c2-l2", + "stac_version": "1.0.0", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "links": [ { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "raster:bands": [ + "rel": "root", + "href": "./collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, { - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ + "rel": "item", + "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", + "type": "application/json" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ + "rel": "item", + "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", + "type": "application/json" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ + "rel": "item", + "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", + "type": "application/json" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ + "rel": "item", + "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", + "type": "application/json" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + "rel": "item", + "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", + "type": "application/json" } - ], - "roles": [ - "data" - ] - }, - "urad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + ], + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_aerosol": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] } - ], - "roles": [ - "data" - ] }, - "trad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + "title": "Landsat Collection 2 Level-2", + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] } - ], - "roles": [ - "data" - ] }, - "emis": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ + "license": "proprietary", + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" } - ], - "roles": [ - "data" - ] - } - }, - "title": "Landsat Collection 2 Level-2", - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] - } - }, - "license": "proprietary", - "keywords": [ - "Landsat", - "USGS", - "NASA", - "Satellite", - "Global", - "Imagery", - "Reflectance", - "Temperature" - ], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "summaries": { - "platform": [ - "landsat-4", - "landsat-5", - "landsat-7", - "landsat-8", - "landsat-9" - ], - "instruments": [ - "tm", - "etm+", - "oli", - "tirs" ], - "gsd": [ - 30, - 60, - 100, - 120 - ], - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ], - "eo:bands": [ - { - "name": "TM-SR_B1", - "common_name": "blue", - "center_wavelength": 0.49, - "full_width_half_max": 0.07 - }, - { - "name": "TM-SR_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "TM-SR_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "TM-SR_B4", - "common_name": "nir08", - "center_wavelength": 0.83, - "full_width_half_max": 0.14 - }, - { - "name": "TM-SR_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "TM-ST_B6", - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 - }, - { - "name": "TM-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.22, - "full_width_half_max": 0.27 - }, - { - "name": "ETM-SR_B1", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.07 - }, - { - "name": "ETM-SR_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "ETM-SR_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "ETM-SR_B4", - "common_name": "nir08", - "center_wavelength": 0.84, - "full_width_half_max": 0.13 - }, - { - "name": "ETM-SR_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "ETM-ST_B6", - "common_name": "lwir", - "center_wavelength": 11.34, - "full_width_half_max": 2.05 - }, - { - "name": "ETM-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.28 - }, - { - "name": "OLI-SR_B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "OLI-SR_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "OLI-SR_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - { - "name": "OLI-SR_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, - { - "name": "OLI-SR_B5", - "common_name": "nir08", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - }, - { - "name": "OLI-SR_B6", - "common_name": "swir16", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - }, - { - "name": "OLI-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - }, - { - "name": "TIRS-ST_B10", - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm+", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM-SR_B1", + "common_name": "blue", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM-SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM-SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM-SR_B4", + "common_name": "nir08", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM-SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "TM-ST_B6", + "common_name": "lwir", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + }, + { + "name": "TM-SR_B7", + "common_name": "swir22", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM-SR_B1", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM-SR_B2", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM-SR_B3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM-SR_B4", + "common_name": "nir08", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM-SR_B5", + "common_name": "swir16", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "ETM-ST_B6", + "common_name": "lwir", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM-SR_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.28 + }, + { + "name": "OLI-SR_B1", + "common_name": "coastal", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI-SR_B2", + "common_name": "blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI-SR_B3", + "common_name": "green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI-SR_B4", + "common_name": "red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI-SR_B5", + "common_name": "nir08", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI-SR_B6", + "common_name": "swir16", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI-SR_B7", + "common_name": "swir22", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS-ST_B10", + "common_name": "lwir11", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + } } - } -} \ No newline at end of file +} diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index c4eaf23..1ccd8a7 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -91,58 +91,30 @@ ], "eo:bands": [ { - "name": "B4", + "name": "B1 or B4", "common_name": "green", - "description": "Landsat 1-3 Band B4", + "description": "Visible green (Landsat 4-5 Band B1; Landsat 1-3 Band B4)", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, { - "name": "B5", + "name": "B2 or B5", "common_name": "red", - "description": "Landsat 1-3 Band B5", + "description": "Visible red (Landsat 4-5 Band B2; Landsat 1-3 Band B5)", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, { - "name": "B6", + "name": "B3 or B6", "common_name": "nir08", - "description": "Landsat 1-3 Band B6", + "description": "Near infrared 0.8 (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, { - "name": "B7", + "name": "B4 or B7", "common_name": "nir09", - "description": "Landsat 1-3 Band B7", - "center_wavelength": 0.95, - "full_width_half_max": 0.3 - }, - { - "name": "B1", - "common_name": "green", - "description": "Landsat 4-5 Band B1", - "center_wavelength": 0.55, - "full_width_half_max": 0.1 - }, - { - "name": "B2", - "common_name": "red", - "description": "Landsat 4-5 Band B2", - "center_wavelength": 0.65, - "full_width_half_max": 0.1 - }, - { - "name": "B3", - "common_name": "nir08", - "description": "Landsat 4-5 Band B3", - "center_wavelength": 0.75, - "full_width_half_max": 0.1 - }, - { - "name": "B4", - "common_name": "nir09", - "description": "Landsat 4-5 Band B4", + "description": "Near infrared 0.9 (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/src/stactools/landsat/fragments/mss/sr-assets.json b/src/stactools/landsat/fragments/mss/sr-assets.json index ba23499..5125f1d 100644 --- a/src/stactools/landsat/fragments/mss/sr-assets.json +++ b/src/stactools/landsat/fragments/mss/sr-assets.json @@ -1,35 +1,35 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "roles": ["cloud"] }, "qa_radsat": { - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "roles": ["saturation"] }, "green": { - "title": "Green Band (B1)", - "description": "Collection 2 Level-1 Green Band Top of Atmosphere Radiance", + "title": "Green Band", + "description": "Collection 2 Level-1 Green Band (B1) Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B1.TIF" }, "red": { - "title": "Red Band (B2)", - "description": "Collection 2 Level-1 Red Band Top of Atmosphere Radiance", + "title": "Red Band", + "description": "Collection 2 Level-1 Red Band (B2) Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B2.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (B3)", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 (B3) Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B3.TIF" }, "nir09": { - "title": "Near Infrared Band 0.9 (B4)", - "description": "Collection 2 Level-1 Near Infrared Band 0.9 Top of Atmosphere Radiance", + "title": "Near Infrared Band 0.9", + "description": "Collection 2 Level-1 Near Infrared Band 0.9 (B4) Top of Atmosphere Radiance", "roles": ["data"], "href_suffix": "B4.TIF" } diff --git a/src/stactools/landsat/fragments/mss/sr-eo-bands.json b/src/stactools/landsat/fragments/mss/sr-eo-bands.json index 3f0ba06..7889f94 100644 --- a/src/stactools/landsat/fragments/mss/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-eo-bands.json @@ -2,28 +2,28 @@ "green": { "name": "B1", "common_name": "green", - "description": "Landsat 4-5 Band B1", + "description": "Visible green", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, "red": { "name": "B2", "common_name": "red", - "description": "Landsat 4-5 Band B2", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, "nir08": { "name": "B3", "common_name": "nir08", - "description": "Landsat 4-5 Band B3", + "description": "Near infrared 0.8", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, "nir09": { "name": "B4", "common_name": "nir09", - "description": "Landsat 4-5 Band B4", + "description": "Near infrared 0.9", "center_wavelength": 0.95, "full_width_half_max": 0.3 } From 56bdfbb2afe3d627fa84b2f8643be4397c4e7d54 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 15 Mar 2022 12:20:05 -0400 Subject: [PATCH 33/47] attempt to better standardize and explain eo and asset information --- .../LM01_L1GS_001010_19720908_02_T2.json | 6 +- .../LM02_L1GS_001004_19750411_02_T2.json | 6 +- .../LM03_L1GS_001001_19780510_02_T2.json | 6 +- .../LM04_L1GS_001001_19830527_02_T2.json | 6 +- .../LM05_L1GS_001001_19850524_02_T2.json | 6 +- examples/landsat-c2-l1/collection.json | 6 +- .../LC08_L2SP_047027_20201204_02_T1.json | 102 +- .../LC09_L2SP_010065_20220129_02_T1.json | 102 +- .../LE07_L2SP_021030_20100109_02_T1.json | 99 +- .../LT04_L2SP_002026_19830110_02_T1.json | 99 +- .../LT05_L2SP_010067_19860424_02_T2.json | 99 +- examples/landsat-c2-l2/collection.json | 1392 +++++++++-------- .../fragments/collections/landsat-c2-l1.json | 6 +- .../fragments/collections/landsat-c2-l2.json | 1332 ++++++++-------- .../landsat/fragments/etm/sr-assets.json | 40 +- .../landsat/fragments/etm/sr-eo-bands.json | 18 +- .../landsat/fragments/etm/st-assets.json | 36 +- .../landsat/fragments/etm/st-eo-bands.json | 3 +- .../landsat/fragments/mss/sr-eo-bands.json | 4 +- .../landsat/fragments/oli_tirs/sr-assets.json | 40 +- .../fragments/oli_tirs/sr-eo-bands.json | 21 +- .../landsat/fragments/oli_tirs/st-assets.json | 36 +- .../fragments/oli_tirs/st-eo-bands.json | 3 +- .../landsat/fragments/tm/sr-assets.json | 40 +- .../landsat/fragments/tm/sr-eo-bands.json | 18 +- .../landsat/fragments/tm/st-assets.json | 36 +- .../landsat/fragments/tm/st-eo-bands.json | 3 +- 27 files changed, 1834 insertions(+), 1731 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 2f1fc45..71ae28b 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T14:28:12.000268Z", + "created": "2022-03-15T16:15:37.065280Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, @@ -238,7 +238,7 @@ { "name": "B6", "common_name": "nir08", - "description": "Near infrared 0.8", + "description": "Near infrared", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -266,7 +266,7 @@ { "name": "B7", "common_name": "nir09", - "description": "Near infrared 0.9", + "description": "Near infrared", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index cadabc3..adbd161 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T14:28:12.002895Z", + "created": "2022-03-15T16:15:37.067926Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, @@ -238,7 +238,7 @@ { "name": "B6", "common_name": "nir08", - "description": "Near infrared 0.8", + "description": "Near infrared", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -266,7 +266,7 @@ { "name": "B7", "common_name": "nir09", - "description": "Near infrared 0.9", + "description": "Near infrared", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 5cb77a6..c9d7fa9 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T14:28:12.004573Z", + "created": "2022-03-15T16:15:37.069701Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, @@ -238,7 +238,7 @@ { "name": "B6", "common_name": "nir08", - "description": "Near infrared 0.8", + "description": "Near infrared", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -266,7 +266,7 @@ { "name": "B7", "common_name": "nir09", - "description": "Near infrared 0.9", + "description": "Near infrared", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 00ffb76..b516d87 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T14:28:12.970942Z", + "created": "2022-03-15T16:15:38.420585Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, @@ -238,7 +238,7 @@ { "name": "B3", "common_name": "nir08", - "description": "Near infrared 0.8", + "description": "Near infrared", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -266,7 +266,7 @@ { "name": "B4", "common_name": "nir09", - "description": "Near infrared 0.9", + "description": "Near infrared", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index bc12f34..477f186 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T14:28:12.978991Z", + "created": "2022-03-15T16:15:38.428608Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, @@ -238,7 +238,7 @@ { "name": "B3", "common_name": "nir08", - "description": "Near infrared 0.8", + "description": "Near infrared", "center_wavelength": 0.75, "full_width_half_max": 0.1 } @@ -266,7 +266,7 @@ { "name": "B4", "common_name": "nir09", - "description": "Near infrared 0.9", + "description": "Near infrared", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 666612d..bb9c02b 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -154,7 +154,7 @@ "nir08": { "type": "image/tiff; application=geotiff; profile=cloud-optimized", "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 Top of Atmosphere Radiance", "raster:bands": [ { "nodata": 0, @@ -278,14 +278,14 @@ { "name": "B3 or B6", "common_name": "nir08", - "description": "Near infrared 0.8 (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", + "description": "Near infrared (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, { "name": "B4 or B7", "common_name": "nir09", - "description": "Near infrared 0.9 (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", + "description": "Near infrared (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index f139ce8..abdca83 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-14T12:33:40.843471Z", + "created": "2022-03-15T16:17:31.553226Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, @@ -159,8 +159,8 @@ "qa_pixel": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -179,8 +179,8 @@ "qa_radsat": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -195,12 +195,13 @@ "coastal": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (SR_B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (SR_B1) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B1", + "name": "OLI_B1", "common_name": "coastal", + "description": "Coastal/Aerosol", "center_wavelength": 0.44, "full_width_half_max": 0.02 } @@ -221,12 +222,13 @@ "blue": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (SR_B2)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B2) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B2", + "name": "OLI_B2", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 } @@ -247,12 +249,13 @@ "green": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (SR_B3)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B3) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B3", + "name": "OLI_B3", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.06 } @@ -273,12 +276,13 @@ "red": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (SR_B4)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B4) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B4", + "name": "OLI_B4", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.04 } @@ -299,12 +303,13 @@ "nir08": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (SR_B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B5) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B5", + "name": "OLI_B5", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.87, "full_width_half_max": 0.03 } @@ -325,12 +330,13 @@ "swir16": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (SR_B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B6) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B6", + "name": "OLI_B6", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.61, "full_width_half_max": 0.09 } @@ -351,12 +357,13 @@ "swir22": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B7", + "name": "OLI_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.2, "full_width_half_max": 0.19 } @@ -377,8 +384,8 @@ "qa_aerosol": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band (SR_QA_AEROSOL)", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band (SR_QA_AEROSOL) Surface Reflectance Product", "raster:bands": [ { "nodata": 1, @@ -395,12 +402,13 @@ "lwir11": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (ST_B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B10) Surface Temperature", "eo:bands": [ { - "name": "TIRS-ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", + "description": "Long-wave infrared", "center_wavelength": 10.9, "full_width_half_max": 0.59 } @@ -423,8 +431,8 @@ "atran": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -440,8 +448,8 @@ "cdist": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -458,8 +466,8 @@ "drad": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -476,8 +484,8 @@ "urad": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -494,8 +502,8 @@ "trad": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -512,8 +520,8 @@ "emis": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -530,8 +538,8 @@ "emsd": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -548,8 +556,8 @@ "qa": { "href": "../../../tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index e9b88b6..52bfc53 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-14T12:33:41.855111Z", + "created": "2022-03-15T16:17:32.495104Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, @@ -159,8 +159,8 @@ "qa_pixel": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -179,8 +179,8 @@ "qa_radsat": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -195,12 +195,13 @@ "coastal": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (SR_B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (SR_B1) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B1", + "name": "OLI_B1", "common_name": "coastal", + "description": "Coastal/Aerosol", "center_wavelength": 0.44, "full_width_half_max": 0.02 } @@ -221,12 +222,13 @@ "blue": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (SR_B2)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B2) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B2", + "name": "OLI_B2", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 } @@ -247,12 +249,13 @@ "green": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (SR_B3)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B3) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B3", + "name": "OLI_B3", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.06 } @@ -273,12 +276,13 @@ "red": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (SR_B4)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B4) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B4", + "name": "OLI_B4", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.04 } @@ -299,12 +303,13 @@ "nir08": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (SR_B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B5) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B5", + "name": "OLI_B5", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.87, "full_width_half_max": 0.03 } @@ -325,12 +330,13 @@ "swir16": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (SR_B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B6) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B6", + "name": "OLI_B6", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.61, "full_width_half_max": 0.09 } @@ -351,12 +357,13 @@ "swir22": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "eo:bands": [ { - "name": "OLI-SR_B7", + "name": "OLI_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.2, "full_width_half_max": 0.19 } @@ -377,8 +384,8 @@ "qa_aerosol": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_SR_QA_AEROSOL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band (SR_QA_AEROSOL)", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band (SR_QA_AEROSOL) Surface Reflectance Product", "raster:bands": [ { "nodata": 1, @@ -395,12 +402,13 @@ "lwir11": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_B10.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (ST_B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B10) Surface Temperature", "eo:bands": [ { - "name": "TIRS-ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", + "description": "Long-wave infrared", "center_wavelength": 10.9, "full_width_half_max": 0.59 } @@ -423,8 +431,8 @@ "atran": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -440,8 +448,8 @@ "cdist": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -458,8 +466,8 @@ "drad": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -476,8 +484,8 @@ "urad": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -494,8 +502,8 @@ "trad": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -512,8 +520,8 @@ "emis": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -530,8 +538,8 @@ "emsd": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -548,8 +556,8 @@ "qa": { "href": "../../../tests/data-files/oli-tirs/LC09_L2SP_010065_20220129_20220131_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index be3e8b8..3b6d4dc 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm+" ], - "created": "2022-03-14T12:33:40.840684Z", + "created": "2022-03-15T16:17:31.550345Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, @@ -158,8 +158,8 @@ "qa_pixel": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -178,8 +178,8 @@ "qa_radsat": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -194,12 +194,13 @@ "blue": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (SR_B1)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B1) Surface Reflectance", "eo:bands": [ { - "name": "ETM-SR_B1", + "name": "ETM_B1", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 } @@ -220,12 +221,13 @@ "green": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (SR_B2)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B2) Surface Reflectance", "eo:bands": [ { - "name": "ETM-SR_B2", + "name": "ETM_B2", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.08 } @@ -246,12 +248,13 @@ "red": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (SR_B3)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B3) Surface Reflectance", "eo:bands": [ { - "name": "ETM-SR_B3", + "name": "ETM_B3", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.66, "full_width_half_max": 0.06 } @@ -272,12 +275,13 @@ "nir08": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (SR_B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B4) Surface Reflectance", "eo:bands": [ { - "name": "ETM-SR_B4", + "name": "ETM_B4", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.84, "full_width_half_max": 0.13 } @@ -298,12 +302,13 @@ "swir16": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (SR_B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B5) Surface Reflectance", "eo:bands": [ { - "name": "ETM-SR_B5", + "name": "ETM_B5", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.65, "full_width_half_max": 0.2 } @@ -324,12 +329,13 @@ "swir22": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "eo:bands": [ { - "name": "ETM-SR_B7", + "name": "ETM_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.2, "full_width_half_max": 0.28 } @@ -350,8 +356,8 @@ "atmos_opacity": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band (SR_ATMOS_OPACITY) Surface Reflectance Product", "raster:bands": [ { "nodata": -9999, @@ -367,8 +373,8 @@ "cloud_qa": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band (SR_CLOUD_QA) Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", @@ -386,12 +392,13 @@ "lwir": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (ST_B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B6) Surface Temperature", "eo:bands": [ { - "name": "ETM-ST_B6", + "name": "ETM_B6", "common_name": "lwir", + "description": "Long-wave infrared", "center_wavelength": 11.34, "full_width_half_max": 2.05 } @@ -414,8 +421,8 @@ "atran": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -431,8 +438,8 @@ "cdist": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -449,8 +456,8 @@ "drad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -467,8 +474,8 @@ "urad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -485,8 +492,8 @@ "trad": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -503,8 +510,8 @@ "emis": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -521,8 +528,8 @@ "emsd": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -539,8 +546,8 @@ "qa": { "href": "../../../tests/data-files/etm/LE07_L2SP_021030_20100109_20200911_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 3886de1..892039d 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-14T12:33:40.835599Z", + "created": "2022-03-15T16:17:31.544968Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, @@ -158,8 +158,8 @@ "qa_pixel": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -178,8 +178,8 @@ "qa_radsat": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -194,12 +194,13 @@ "blue": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (SR_B1)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B1) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B1", + "name": "TM_B1", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 } @@ -220,12 +221,13 @@ "green": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (SR_B2)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B2) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B2", + "name": "TM_B2", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.08 } @@ -246,12 +248,13 @@ "red": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (SR_B3)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B3) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B3", + "name": "TM_B3", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.66, "full_width_half_max": 0.06 } @@ -272,12 +275,13 @@ "nir08": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (SR_B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B4) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B4", + "name": "TM_B4", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.83, "full_width_half_max": 0.14 } @@ -298,12 +302,13 @@ "swir16": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (SR_B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B5) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B5", + "name": "TM_B5", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.65, "full_width_half_max": 0.2 } @@ -324,12 +329,13 @@ "swir22": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B7", + "name": "TM_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.22, "full_width_half_max": 0.27 } @@ -350,8 +356,8 @@ "atmos_opacity": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band (SR_ATMOS_OPACITY) Surface Reflectance Product", "raster:bands": [ { "nodata": -9999, @@ -367,8 +373,8 @@ "cloud_qa": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band (SR_CLOUD_QA) Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", @@ -386,12 +392,13 @@ "lwir": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (ST_B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B6) Surface Temperature", "eo:bands": [ { - "name": "TM-ST_B6", + "name": "TM_B6", "common_name": "lwir", + "description": "Long-wave infrared", "center_wavelength": 11.45, "full_width_half_max": 2.1 } @@ -414,8 +421,8 @@ "atran": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -431,8 +438,8 @@ "cdist": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -449,8 +456,8 @@ "drad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -467,8 +474,8 @@ "urad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -485,8 +492,8 @@ "trad": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -503,8 +510,8 @@ "emis": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -521,8 +528,8 @@ "emsd": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -539,8 +546,8 @@ "qa": { "href": "../../../tests/data-files/tm/LT04_L2SP_002026_19830110_20200918_02_T1_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 1a913ca..7858360 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-14T12:33:40.838711Z", + "created": "2022-03-15T16:17:31.548368Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, @@ -158,8 +158,8 @@ "qa_pixel": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_PIXEL.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "raster:bands": [ { "nodata": 1, @@ -178,8 +178,8 @@ "qa_radsat": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_QA_RADSAT.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "raster:bands": [ { "data_type": "uint16", @@ -194,12 +194,13 @@ "blue": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B1.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (SR_B1)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B1) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B1", + "name": "TM_B1", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 } @@ -220,12 +221,13 @@ "green": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B2.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (SR_B2)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B2) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B2", + "name": "TM_B2", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.08 } @@ -246,12 +248,13 @@ "red": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B3.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (SR_B3)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B3) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B3", + "name": "TM_B3", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.66, "full_width_half_max": 0.06 } @@ -272,12 +275,13 @@ "nir08": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B4.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (SR_B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B4) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B4", + "name": "TM_B4", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.83, "full_width_half_max": 0.14 } @@ -298,12 +302,13 @@ "swir16": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B5.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (SR_B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B5) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B5", + "name": "TM_B5", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.65, "full_width_half_max": 0.2 } @@ -324,12 +329,13 @@ "swir22": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_B7.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "eo:bands": [ { - "name": "TM-SR_B7", + "name": "TM_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.22, "full_width_half_max": 0.27 } @@ -350,8 +356,8 @@ "atmos_opacity": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_ATMOS_OPACITY.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band (SR_ATMOS_OPACITY) Surface Reflectance Product", "raster:bands": [ { "nodata": -9999, @@ -367,8 +373,8 @@ "cloud_qa": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_SR_CLOUD_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band (SR_CLOUD_QA) Surface Reflectance Product", "raster:bands": [ { "data_type": "uint8", @@ -386,12 +392,13 @@ "lwir": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_B6.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (ST_B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B6) Surface Temperature", "eo:bands": [ { - "name": "TM-ST_B6", + "name": "TM_B6", "common_name": "lwir", + "description": "Long-wave infrared", "center_wavelength": 11.45, "full_width_half_max": 2.1 } @@ -414,8 +421,8 @@ "atran": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_ATRAN.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -431,8 +438,8 @@ "cdist": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_CDIST.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -449,8 +456,8 @@ "drad": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_DRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -467,8 +474,8 @@ "urad": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_URAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -485,8 +492,8 @@ "trad": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_TRAD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -503,8 +510,8 @@ "emis": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMIS.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -521,8 +528,8 @@ "emsd": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_EMSD.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, @@ -539,8 +546,8 @@ "qa": { "href": "../../../tests/data-files/tm/LT05_L2SP_010067_19860424_20200918_02_T2_ST_QA.TIF", "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "raster:bands": [ { "nodata": -9999, diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 7287fcc..0458e58 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -1,707 +1,729 @@ { - "type": "Collection", - "id": "landsat-c2-l2", - "stac_version": "1.0.0", - "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "links": [ + "type": "Collection", + "id": "landsat-c2-l2", + "stac_version": "1.0.0", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "links": [ + { + "rel": "root", + "href": "./collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + }, + { + "rel": "item", + "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", + "type": "application/json" + } + ], + "stac_extensions": [ + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + ], + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ { - "rel": "root", - "href": "./collection.json", - "type": "application/json", - "title": "Landsat Collection 2 Level-2" - }, + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "raster:bands": [ { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ { - "rel": "item", - "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", - "type": "application/json" + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 } - ], - "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" - ], - "item_assets": { - "thumbnail": { - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "emis": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] }, - "title": "Landsat Collection 2 Level-2", - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] + "qa_aerosol": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" } + ], + "roles": [ + "data-mask", + "water-mask" + ] }, - "license": "proprietary", - "keywords": [ - "Landsat", - "USGS", - "NASA", - "Satellite", - "Global", - "Imagery", - "Reflectance", - "Temperature" - ], - "providers": [ + "lwir11": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" - }, + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 } - ], - "summaries": { - "platform": [ - "landsat-4", - "landsat-5", - "landsat-7", - "landsat-8", - "landsat-9" - ], - "instruments": [ - "tm", - "etm+", - "oli", - "tirs" - ], - "gsd": [ - 30, - 60, - 100, - 120 - ], - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ], - "eo:bands": [ - { - "name": "TM-SR_B1", - "common_name": "blue", - "center_wavelength": 0.49, - "full_width_half_max": 0.07 - }, - { - "name": "TM-SR_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "TM-SR_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "TM-SR_B4", - "common_name": "nir08", - "center_wavelength": 0.83, - "full_width_half_max": 0.14 - }, - { - "name": "TM-SR_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "TM-ST_B6", - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 - }, - { - "name": "TM-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.22, - "full_width_half_max": 0.27 - }, - { - "name": "ETM-SR_B1", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.07 - }, - { - "name": "ETM-SR_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "ETM-SR_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "ETM-SR_B4", - "common_name": "nir08", - "center_wavelength": 0.84, - "full_width_half_max": 0.13 - }, - { - "name": "ETM-SR_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "ETM-ST_B6", - "common_name": "lwir", - "center_wavelength": 11.34, - "full_width_half_max": 2.05 - }, - { - "name": "ETM-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.28 - }, - { - "name": "OLI-SR_B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "OLI-SR_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "OLI-SR_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - { - "name": "OLI-SR_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, - { - "name": "OLI-SR_B5", - "common_name": "nir08", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - }, - { - "name": "OLI-SR_B6", - "common_name": "swir16", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - }, - { - "name": "OLI-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - }, - { - "name": "TIRS-ST_B10", - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "title": "Landsat Collection 2 Level-2", + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "license": "proprietary", + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm+", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM_B1", + "common_name": "blue", + "description": "Visible blue (Thematic Mapper)", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM_B2", + "common_name": "green", + "description": "Visible green (Thematic Mapper)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM_B3", + "common_name": "red", + "description": "Visible red (Thematic Mapper)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM_B4", + "common_name": "nir08", + "description": "Near infrared (Thematic Mapper)", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "TM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Thematic Mapper)", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + }, + { + "name": "TM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM_B1", + "common_name": "blue", + "description": "Visible blue (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM_B2", + "common_name": "green", + "description": "Visible green (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM_B3", + "common_name": "red", + "description": "Visible red (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM_B4", + "common_name": "nir08", + "description": "Near infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "ETM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 2.2, + "full_width_half_max": 0.28 + }, + { + "name": "OLI_B1", + "common_name": "coastal", + "description": "Coastal/Aerosol (Operational Land Imager)", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI_B2", + "common_name": "blue", + "description": "Visible blue (Operational Land Imager)", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B3", + "common_name": "green", + "description": "Visible green (Operational Land Imager)", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B4", + "common_name": "red", + "description": "Visible red (Operational Land Imager)", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI_B5", + "common_name": "nir08", + "description": "Near infrared (Operational Land Imager)", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI_B6", + "common_name": "swir16", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS_B10", + "common_name": "lwir11", + "description": "Long-wave infrared (Thermal Infrared Sensor)", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 } -} + } +} \ No newline at end of file diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index 1ccd8a7..875f71a 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -107,14 +107,14 @@ { "name": "B3 or B6", "common_name": "nir08", - "description": "Near infrared 0.8 (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", + "description": "Near infrared (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, { "name": "B4 or B7", "common_name": "nir09", - "description": "Near infrared 0.9 (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", + "description": "Near infrared (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", "center_wavelength": 0.95, "full_width_half_max": 0.3 } @@ -225,7 +225,7 @@ "nir08": { "type": "COG", "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-1 Near Infrared Band 0.7 Top of Atmosphere Radiance", + "description": "Collection 2 Level-1 Near Infrared Band 0.8 Top of Atmosphere Radiance", "raster:bands": [ { "nodata": 0, diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json index 65bb5fa..96096d2 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l2.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l2.json @@ -1,671 +1,693 @@ { - "id": "landsat-c2-l2", - "title": "Landsat Collection 2 Level-2", - "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "license": "proprietary", - "links": [ + "id": "landsat-c2-l2", + "title": "Landsat Collection 2 Level-2", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "license": "proprietary", + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + } + ], + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm+", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + }, + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM_B1", + "common_name": "blue", + "description": "Visible blue (Thematic Mapper)", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM_B2", + "common_name": "green", + "description": "Visible green (Thematic Mapper)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM_B3", + "common_name": "red", + "description": "Visible red (Thematic Mapper)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM_B4", + "common_name": "nir08", + "description": "Near infrared (Thematic Mapper)", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 1.65, + "full_width_half_max": 0.20 + }, + { + "name": "TM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Thematic Mapper)", + "center_wavelength": 11.45, + "full_width_half_max": 2.10 + }, + { + "name": "TM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM_B1", + "common_name": "blue", + "description": "Visible blue (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM_B2", + "common_name": "green", + "description": "Visible green (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM_B3", + "common_name": "red", + "description": "Visible red (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM_B4", + "common_name": "nir08", + "description": "Near infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 1.65, + "full_width_half_max": 0.20 + }, + { + "name": "ETM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 2.20, + "full_width_half_max": 0.28 + }, + { + "name": "OLI_B1", + "common_name": "coastal", + "description": "Coastal/Aerosol (Operational Land Imager)", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI_B2", + "common_name": "blue", + "description": "Visible blue (Operational Land Imager)", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B3", + "common_name": "green", + "description": "Visible green (Operational Land Imager)", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B4", + "common_name": "red", + "description": "Visible red (Operational Land Imager)", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI_B5", + "common_name": "nir08", + "description": "Near infrared (Operational Land Imager)", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI_B6", + "common_name": "swir16", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 2.20, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS_B10", + "common_name": "lwir11", + "description": "Long-wave infrared (Thermal Infrared Sensor)", + "center_wavelength": 10.90, + "full_width_half_max": 0.59 + } + ] + }, + "item_assets": { + "thumbnail": { + "type": "JPEG", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "JPEG", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "JSON", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "TEXT", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "XML", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "TEXT", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "COG", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "COG", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "COG", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "COG", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "raster:bands": [ { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } - ], - "keywords": [ - "Landsat", - "USGS", - "NASA", - "Satellite", - "Global", - "Imagery", - "Reflectance", - "Temperature" - ], - "providers": [ + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "COG", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "raster:bands": [ { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "COG", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "raster:bands": [ { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "COG", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "raster:bands": [ { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } - ], - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "COG", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } + ], + "roles": [ + "reflectance" + ] }, - "summaries": { - "platform": [ - "landsat-4", - "landsat-5", - "landsat-7", - "landsat-8", - "landsat-9" - ], - "instruments": [ - "tm", - "etm+", - "oli", - "tirs" - ], - "gsd": [ - 30, - 60, - 100, - 120 - ], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 - }, - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ], - "eo:bands": [ - { - "name": "TM-SR_B1", - "common_name": "blue", - "center_wavelength": 0.49, - "full_width_half_max": 0.07 - }, - { - "name": "TM-SR_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "TM-SR_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "TM-SR_B4", - "common_name": "nir08", - "center_wavelength": 0.83, - "full_width_half_max": 0.14 - }, - { - "name": "TM-SR_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.20 - }, - { - "name": "TM-ST_B6", - "common_name": "lwir", - "center_wavelength": 11.45, - "full_width_half_max": 2.10 - }, - { - "name": "TM-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.22, - "full_width_half_max": 0.27 - }, - { - "name": "ETM-SR_B1", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.07 - }, - { - "name": "ETM-SR_B2", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "ETM-SR_B3", - "common_name": "red", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "ETM-SR_B4", - "common_name": "nir08", - "center_wavelength": 0.84, - "full_width_half_max": 0.13 - }, - { - "name": "ETM-SR_B5", - "common_name": "swir16", - "center_wavelength": 1.65, - "full_width_half_max": 0.20 - }, - { - "name": "ETM-ST_B6", - "common_name": "lwir", - "center_wavelength": 11.34, - "full_width_half_max": 2.05 - }, - { - "name": "ETM-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.20, - "full_width_half_max": 0.28 - }, - { - "name": "OLI-SR_B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "OLI-SR_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "OLI-SR_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - { - "name": "OLI-SR_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, - { - "name": "OLI-SR_B5", - "common_name": "nir08", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - }, - { - "name": "OLI-SR_B6", - "common_name": "swir16", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - }, - { - "name": "OLI-SR_B7", - "common_name": "swir22", - "center_wavelength": 2.20, - "full_width_half_max": 0.19 - }, - { - "name": "TIRS-ST_B10", - "common_name": "lwir11", - "center_wavelength": 10.90, - "full_width_half_max": 0.59 - } - ] + "swir22": { + "type": "COG", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "COG", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "COG", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_aerosol": { + "type": "COG", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "COG", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "COG", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] }, - "item_assets": { - "thumbnail": { - "type": "JPEG", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "JPEG", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "JSON", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "TEXT", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "XML", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "TEXT", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "COG", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "type": "COG", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "COG", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "COG", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "COG", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "COG", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "COG", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "COG", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "COG", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "COG", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "COG", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "COG", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "COG", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "COG", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "type": "COG", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "type": "COG", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "type": "COG", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "type": "COG", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "emis": { - "type": "COG", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "type": "COG", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "type": "COG", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] + "cdist": { + "type": "COG", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "COG", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "COG", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "COG", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "COG", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "COG", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "COG", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 } + ], + "roles": [ + "data" + ] } + } } diff --git a/src/stactools/landsat/fragments/etm/sr-assets.json b/src/stactools/landsat/fragments/etm/sr-assets.json index 290b04c..6c2bf52 100644 --- a/src/stactools/landsat/fragments/etm/sr-assets.json +++ b/src/stactools/landsat/fragments/etm/sr-assets.json @@ -1,59 +1,59 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "roles": ["saturation"] }, "blue": { - "title": "Blue Band (SR_B1)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B1) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, "green": { - "title": "Green Band (SR_B2)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B2) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, "red": { - "title": "Red Band (SR_B3)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B3) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (SR_B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B4) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, "swir16": { - "title": "Short-wave Infrared Band 1.6 (SR_B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B5) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, "swir22": { - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, "atmos_opacity": { - "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band (SR_ATMOS_OPACITY) Surface Reflectance Product", "roles": ["data"], "href_suffix": "SR_ATMOS_OPACITY.TIF" }, "cloud_qa": { - "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band (SR_CLOUD_QA) Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"], "href_suffix": "SR_CLOUD_QA.TIF" } diff --git a/src/stactools/landsat/fragments/etm/sr-eo-bands.json b/src/stactools/landsat/fragments/etm/sr-eo-bands.json index 415315f..85ded95 100644 --- a/src/stactools/landsat/fragments/etm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/sr-eo-bands.json @@ -1,37 +1,43 @@ { "blue": { - "name": "ETM-SR_B1", + "name": "ETM_B1", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.48, "full_width_half_max": 0.07 }, "green": { - "name": "ETM-SR_B2", + "name": "ETM_B2", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, "red": { - "name": "ETM-SR_B3", + "name": "ETM_B3", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, "nir08": { - "name": "ETM-SR_B4", + "name": "ETM_B4", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.84, "full_width_half_max": 0.13 }, "swir16": { - "name": "ETM-SR_B5", + "name": "ETM_B5", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.65, "full_width_half_max": 0.20 }, "swir22": { - "name": "ETM-SR_B7", + "name": "ETM_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.20, "full_width_half_max": 0.28 } diff --git a/src/stactools/landsat/fragments/etm/st-assets.json b/src/stactools/landsat/fragments/etm/st-assets.json index 0a5ae44..07d04a6 100644 --- a/src/stactools/landsat/fragments/etm/st-assets.json +++ b/src/stactools/landsat/fragments/etm/st-assets.json @@ -1,55 +1,55 @@ { "lwir": { - "title": "Surface Temperature Band (ST_B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B6) Surface Temperature", "roles": ["temperature"], "href_suffix": "ST_B6.TIF" }, "atran": { - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_ATRAN.TIF" }, "cdist": { - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_CDIST.TIF" }, "drad": { - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_DRAD.TIF" }, "urad": { - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_URAD.TIF" }, "trad": { - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_TRAD.TIF" }, "emis": { - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMIS.TIF" }, "emsd": { - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMSD.TIF" }, "qa": { - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_QA.TIF" } diff --git a/src/stactools/landsat/fragments/etm/st-eo-bands.json b/src/stactools/landsat/fragments/etm/st-eo-bands.json index 4f3db55..c024c8d 100644 --- a/src/stactools/landsat/fragments/etm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/etm/st-eo-bands.json @@ -1,7 +1,8 @@ { "lwir": { - "name": "ETM-ST_B6", + "name": "ETM_B6", "common_name": "lwir", + "description": "Long-wave infrared", "center_wavelength": 11.34, "full_width_half_max": 2.05 } diff --git a/src/stactools/landsat/fragments/mss/sr-eo-bands.json b/src/stactools/landsat/fragments/mss/sr-eo-bands.json index 7889f94..9ddd753 100644 --- a/src/stactools/landsat/fragments/mss/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/mss/sr-eo-bands.json @@ -16,14 +16,14 @@ "nir08": { "name": "B3", "common_name": "nir08", - "description": "Near infrared 0.8", + "description": "Near infrared", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, "nir09": { "name": "B4", "common_name": "nir09", - "description": "Near infrared 0.9", + "description": "Near infrared", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json index f96aa44..be2e451 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-assets.json @@ -1,59 +1,59 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", "roles": ["saturation"] }, "coastal": { - "title": "Coastal/Aerosol Band (SR_B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (SR_B1) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, "blue": { - "title": "Blue Band (SR_B2)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B2) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, "green": { - "title": "Green Band (SR_B3)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B3) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, "red": { - "title": "Red Band (SR_B4)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B4) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (SR_B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B5) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, "swir16": { - "title": "Short-wave Infrared Band 1.6 (SR_B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B6) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B6.TIF" }, "swir22": { - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, "qa_aerosol": { - "title": "Aerosol Quality Assessment Band (SR_QA_AEROSOL)", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band (SR_QA_AEROSOL) Surface Reflectance Product", "roles": ["data-mask", "water-mask"], "href_suffix": "SR_QA_AEROSOL.TIF" } diff --git a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json index bff6c59..c191340 100644 --- a/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/sr-eo-bands.json @@ -1,43 +1,50 @@ { "coastal": { - "name": "OLI-SR_B1", + "name": "OLI_B1", "common_name": "coastal", + "description": "Coastal/Aerosol", "center_wavelength": 0.44, "full_width_half_max": 0.02 }, "blue": { - "name": "OLI-SR_B2", + "name": "OLI_B2", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.48, "full_width_half_max": 0.06 }, "green": { - "name": "OLI-SR_B3", + "name": "OLI_B3", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.06 }, "red": { - "name": "OLI-SR_B4", + "name": "OLI_B4", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.65, "full_width_half_max": 0.04 }, "nir08": { - "name": "OLI-SR_B5", + "name": "OLI_B5", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.87, "full_width_half_max": 0.03 }, "swir16": { - "name": "OLI-SR_B6", + "name": "OLI_B6", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.61, "full_width_half_max": 0.09 }, "swir22": { - "name": "OLI-SR_B7", + "name": "OLI_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.20, "full_width_half_max": 0.19 } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-assets.json b/src/stactools/landsat/fragments/oli_tirs/st-assets.json index b286691..6e7dd5c 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-assets.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-assets.json @@ -1,55 +1,55 @@ { "lwir11": { - "title": "Surface Temperature Band (ST_B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B10) Surface Temperature", "roles": ["temperature"], "href_suffix": "ST_B10.TIF" }, "atran": { - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_ATRAN.TIF" }, "cdist": { - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_CDIST.TIF" }, "drad": { - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_DRAD.TIF" }, "urad": { - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_URAD.TIF" }, "trad": { - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_TRAD.TIF" }, "emis": { - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMIS.TIF" }, "emsd": { - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMSD.TIF" }, "qa": { - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_QA.TIF" } diff --git a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json index 92dfac9..c3668cd 100644 --- a/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json +++ b/src/stactools/landsat/fragments/oli_tirs/st-eo-bands.json @@ -1,7 +1,8 @@ { "lwir11": { - "name": "TIRS-ST_B10", + "name": "TIRS_B10", "common_name": "lwir11", + "description": "Long-wave infrared", "center_wavelength": 10.90, "full_width_half_max": 0.59 } diff --git a/src/stactools/landsat/fragments/tm/sr-assets.json b/src/stactools/landsat/fragments/tm/sr-assets.json index 290b04c..6c2bf52 100644 --- a/src/stactools/landsat/fragments/tm/sr-assets.json +++ b/src/stactools/landsat/fragments/tm/sr-assets.json @@ -1,59 +1,59 @@ { "qa_pixel": { - "title": "Pixel Quality Assessment Band (QA_PIXEL)", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"] }, "qa_radsat": { - "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", - "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "title": "Radiometric Saturation and Dropped Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Dropped Pixel Quality Assessment Band (QA_RADSAT)", "roles": ["saturation"] }, "blue": { - "title": "Blue Band (SR_B1)", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B1) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B1.TIF" }, "green": { - "title": "Green Band (SR_B2)", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B2) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B2.TIF" }, "red": { - "title": "Red Band (SR_B3)", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B3) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B3.TIF" }, "nir08": { - "title": "Near Infrared Band 0.8 (SR_B4)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B4) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B4.TIF" }, "swir16": { - "title": "Short-wave Infrared Band 1.6 (SR_B5)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B5) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B5.TIF" }, "swir22": { - "title": "Short-wave Infrared Band 2.2 (SR_B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", "roles": ["reflectance"], "href_suffix": "SR_B7.TIF" }, "atmos_opacity": { - "title": "Atmospheric Opacity Band (SR_ATMOS_OPACITY)", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band (SR_ATMOS_OPACITY) Surface Reflectance Product", "roles": ["data"], "href_suffix": "SR_ATMOS_OPACITY.TIF" }, "cloud_qa": { - "title": "Cloud Quality Assessment Band (SR_CLOUD_QA)", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band (SR_CLOUD_QA) Surface Reflectance Product", "roles": ["cloud", "cloud-shadow", "snow-ice", "water-mask"], "href_suffix": "SR_CLOUD_QA.TIF" } diff --git a/src/stactools/landsat/fragments/tm/sr-eo-bands.json b/src/stactools/landsat/fragments/tm/sr-eo-bands.json index 78574dc..4d3e8ab 100644 --- a/src/stactools/landsat/fragments/tm/sr-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/sr-eo-bands.json @@ -1,37 +1,43 @@ { "blue": { - "name": "TM-SR_B1", + "name": "TM_B1", "common_name": "blue", + "description": "Visible blue", "center_wavelength": 0.49, "full_width_half_max": 0.07 }, "green": { - "name": "TM-SR_B2", + "name": "TM_B2", "common_name": "green", + "description": "Visible green", "center_wavelength": 0.56, "full_width_half_max": 0.08 }, "red": { - "name": "TM-SR_B3", + "name": "TM_B3", "common_name": "red", + "description": "Visible red", "center_wavelength": 0.66, "full_width_half_max": 0.06 }, "nir08": { - "name": "TM-SR_B4", + "name": "TM_B4", "common_name": "nir08", + "description": "Near infrared", "center_wavelength": 0.83, "full_width_half_max": 0.14 }, "swir16": { - "name": "TM-SR_B5", + "name": "TM_B5", "common_name": "swir16", + "description": "Short-wave infrared", "center_wavelength": 1.65, "full_width_half_max": 0.20 }, "swir22": { - "name": "TM-SR_B7", + "name": "TM_B7", "common_name": "swir22", + "description": "Short-wave infrared", "center_wavelength": 2.22, "full_width_half_max": 0.27 } diff --git a/src/stactools/landsat/fragments/tm/st-assets.json b/src/stactools/landsat/fragments/tm/st-assets.json index 0a5ae44..07d04a6 100644 --- a/src/stactools/landsat/fragments/tm/st-assets.json +++ b/src/stactools/landsat/fragments/tm/st-assets.json @@ -1,55 +1,55 @@ { "lwir": { - "title": "Surface Temperature Band (ST_B6)", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B6) Surface Temperature", "roles": ["temperature"], "href_suffix": "ST_B6.TIF" }, "atran": { - "title": "Atmospheric Transmittance Band (ST_ATRAN)", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_ATRAN.TIF" }, "cdist": { - "title": "Cloud Distance Band (ST_CDIST)", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_CDIST.TIF" }, "drad": { - "title": "Downwelled Radiance Band (ST_DRAD)", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_DRAD.TIF" }, "urad": { - "title": "Upwelled Radiance Band (ST_URAD)", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_URAD.TIF" }, "trad": { - "title": "Thermal Radiance Band (ST_TRAD)", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_TRAD.TIF" }, "emis": { - "title": "Emissivity Band (ST_EMIS)", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMIS.TIF" }, "emsd": { - "title": "Emissivity Standard Deviation Band (ST_EMSD)", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_EMSD.TIF" }, "qa": { - "title": "Surface Temperature Quality Assessment Band (ST_QA)", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", "roles": ["data"], "href_suffix": "ST_QA.TIF" } diff --git a/src/stactools/landsat/fragments/tm/st-eo-bands.json b/src/stactools/landsat/fragments/tm/st-eo-bands.json index 4b134fb..3118761 100644 --- a/src/stactools/landsat/fragments/tm/st-eo-bands.json +++ b/src/stactools/landsat/fragments/tm/st-eo-bands.json @@ -1,7 +1,8 @@ { "lwir": { - "name": "TM-ST_B6", + "name": "TM_B6", "common_name": "lwir", + "description": "Long-wave infrared", "center_wavelength": 11.45, "full_width_half_max": 2.10 } From cea29794516bc6726b1e6cdbb664305a2c72788e Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Tue, 15 Mar 2022 14:30:46 -0400 Subject: [PATCH 34/47] move back to repeated bands in eo:bands summary --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 44 +- examples/landsat-c2-l2/collection.json | 1414 ++++++++--------- .../fragments/collections/landsat-c2-l1.json | 44 +- 8 files changed, 784 insertions(+), 728 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 71ae28b..3f22714 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T16:15:37.065280Z", + "created": "2022-03-15T18:26:24.428176Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index adbd161..e5fd3b5 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T16:15:37.067926Z", + "created": "2022-03-15T18:26:24.430855Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index c9d7fa9..43dd0dc 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T16:15:37.069701Z", + "created": "2022-03-15T18:26:24.432562Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index b516d87..ff3dae8 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T16:15:38.420585Z", + "created": "2022-03-15T18:26:25.602127Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 477f186..8a2bbe3 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T16:15:38.428608Z", + "created": "2022-03-15T18:26:25.609032Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index bb9c02b..64e72cd 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -262,30 +262,58 @@ ], "eo:bands": [ { - "name": "B1 or B4", + "name": "B4", "common_name": "green", - "description": "Visible green (Landsat 4-5 Band B1; Landsat 1-3 Band B4)", + "description": "Visible green (Landsat 1-3 Band B4)", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, { - "name": "B2 or B5", + "name": "B5", "common_name": "red", - "description": "Visible red (Landsat 4-5 Band B2; Landsat 1-3 Band B5)", + "description": "Visible red (Landsat 1-3 Band B5)", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, { - "name": "B3 or B6", + "name": "B6", "common_name": "nir08", - "description": "Near infrared (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", + "description": "Near infrared (Landsat 1-3 Band B6)", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, { - "name": "B4 or B7", + "name": "B7", "common_name": "nir09", - "description": "Near infrared (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", + "description": "Near infrared (Landsat 1-3 Band B7)", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + }, + { + "name": "B1", + "common_name": "green", + "description": "Visible green (Landsat 4-5 Band B1)", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B2", + "common_name": "red", + "description": "Visible red (Landsat 4-5 Band B2)", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B3", + "common_name": "nir08", + "description": "Near infrared (Landsat 4-5 Band B3)", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B4", + "common_name": "nir09", + "description": "Near infrared (Landsat 4-5 Band B4)", "center_wavelength": 0.95, "full_width_half_max": 0.3 } diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 0458e58..0073ff1 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -1,729 +1,729 @@ { - "type": "Collection", - "id": "landsat-c2-l2", - "stac_version": "1.0.0", - "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "links": [ - { - "rel": "root", - "href": "./collection.json", - "type": "application/json", - "title": "Landsat Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, - { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - }, - { - "rel": "item", - "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", - "type": "application/json" - }, - { - "rel": "item", - "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", - "type": "application/json" - } - ], - "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" - ], - "item_assets": { - "thumbnail": { - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "raster:bands": [ + "type": "Collection", + "id": "landsat-c2-l2", + "stac_version": "1.0.0", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "links": [ { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "raster:bands": [ + "rel": "root", + "href": "./collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, { - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ + "rel": "item", + "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", + "type": "application/json" + }, { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ + "rel": "item", + "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", + "type": "application/json" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ + "rel": "item", + "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", + "type": "application/json" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ + "rel": "item", + "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", + "type": "application/json" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + "rel": "item", + "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", + "type": "application/json" } - ], - "roles": [ - "data" - ] - }, - "urad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + ], + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ + { + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_aerosol": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] } - ], - "roles": [ - "data" - ] }, - "trad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 + "title": "Landsat Collection 2 Level-2", + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] } - ], - "roles": [ - "data" - ] }, - "emis": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ + "license": "proprietary", + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" + }, { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" } - ], - "roles": [ - "data" - ] - } - }, - "title": "Landsat Collection 2 Level-2", - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] - } - }, - "license": "proprietary", - "keywords": [ - "Landsat", - "USGS", - "NASA", - "Satellite", - "Global", - "Imagery", - "Reflectance", - "Temperature" - ], - "providers": [ - { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, - { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" - }, - { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" - } - ], - "summaries": { - "platform": [ - "landsat-4", - "landsat-5", - "landsat-7", - "landsat-8", - "landsat-9" - ], - "instruments": [ - "tm", - "etm+", - "oli", - "tirs" ], - "gsd": [ - 30, - 60, - 100, - 120 - ], - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ], - "eo:bands": [ - { - "name": "TM_B1", - "common_name": "blue", - "description": "Visible blue (Thematic Mapper)", - "center_wavelength": 0.49, - "full_width_half_max": 0.07 - }, - { - "name": "TM_B2", - "common_name": "green", - "description": "Visible green (Thematic Mapper)", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "TM_B3", - "common_name": "red", - "description": "Visible red (Thematic Mapper)", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "TM_B4", - "common_name": "nir08", - "description": "Near infrared (Thematic Mapper)", - "center_wavelength": 0.83, - "full_width_half_max": 0.14 - }, - { - "name": "TM_B5", - "common_name": "swir16", - "description": "Short-wave infrared (Thematic Mapper)", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "TM_B6", - "common_name": "lwir", - "description": "Long-wave infrared (Thematic Mapper)", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 - }, - { - "name": "TM_B7", - "common_name": "swir22", - "description": "Short-wave infrared (Thematic Mapper)", - "center_wavelength": 2.22, - "full_width_half_max": 0.27 - }, - { - "name": "ETM_B1", - "common_name": "blue", - "description": "Visible blue (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.48, - "full_width_half_max": 0.07 - }, - { - "name": "ETM_B2", - "common_name": "green", - "description": "Visible green (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "ETM_B3", - "common_name": "red", - "description": "Visible red (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "ETM_B4", - "common_name": "nir08", - "description": "Near infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.84, - "full_width_half_max": 0.13 - }, - { - "name": "ETM_B5", - "common_name": "swir16", - "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "ETM_B6", - "common_name": "lwir", - "description": "Long-wave infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 11.34, - "full_width_half_max": 2.05 - }, - { - "name": "ETM_B7", - "common_name": "swir22", - "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 2.2, - "full_width_half_max": 0.28 - }, - { - "name": "OLI_B1", - "common_name": "coastal", - "description": "Coastal/Aerosol (Operational Land Imager)", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "OLI_B2", - "common_name": "blue", - "description": "Visible blue (Operational Land Imager)", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "OLI_B3", - "common_name": "green", - "description": "Visible green (Operational Land Imager)", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - { - "name": "OLI_B4", - "common_name": "red", - "description": "Visible red (Operational Land Imager)", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, - { - "name": "OLI_B5", - "common_name": "nir08", - "description": "Near infrared (Operational Land Imager)", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - }, - { - "name": "OLI_B6", - "common_name": "swir16", - "description": "Short-wave infrared (Operational Land Imager)", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - }, - { - "name": "OLI_B7", - "common_name": "swir22", - "description": "Short-wave infrared (Operational Land Imager)", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - }, - { - "name": "TIRS_B10", - "common_name": "lwir11", - "description": "Long-wave infrared (Thermal Infrared Sensor)", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm+", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM_B1", + "common_name": "blue", + "description": "Visible blue (Thematic Mapper)", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM_B2", + "common_name": "green", + "description": "Visible green (Thematic Mapper)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM_B3", + "common_name": "red", + "description": "Visible red (Thematic Mapper)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM_B4", + "common_name": "nir08", + "description": "Near infrared (Thematic Mapper)", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "TM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Thematic Mapper)", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + }, + { + "name": "TM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM_B1", + "common_name": "blue", + "description": "Visible blue (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM_B2", + "common_name": "green", + "description": "Visible green (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM_B3", + "common_name": "red", + "description": "Visible red (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM_B4", + "common_name": "nir08", + "description": "Near infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "ETM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 2.2, + "full_width_half_max": 0.28 + }, + { + "name": "OLI_B1", + "common_name": "coastal", + "description": "Coastal/Aerosol (Operational Land Imager)", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI_B2", + "common_name": "blue", + "description": "Visible blue (Operational Land Imager)", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B3", + "common_name": "green", + "description": "Visible green (Operational Land Imager)", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B4", + "common_name": "red", + "description": "Visible red (Operational Land Imager)", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI_B5", + "common_name": "nir08", + "description": "Near infrared (Operational Land Imager)", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI_B6", + "common_name": "swir16", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS_B10", + "common_name": "lwir11", + "description": "Long-wave infrared (Thermal Infrared Sensor)", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 + } } - } -} \ No newline at end of file +} diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index 875f71a..d1edc3a 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -91,30 +91,58 @@ ], "eo:bands": [ { - "name": "B1 or B4", + "name": "B4", "common_name": "green", - "description": "Visible green (Landsat 4-5 Band B1; Landsat 1-3 Band B4)", + "description": "Visible green (Landsat 1-3 Band B4)", "center_wavelength": 0.55, "full_width_half_max": 0.1 }, { - "name": "B2 or B5", + "name": "B5", "common_name": "red", - "description": "Visible red (Landsat 4-5 Band B2; Landsat 1-3 Band B5)", + "description": "Visible red (Landsat 1-3 Band B5)", "center_wavelength": 0.65, "full_width_half_max": 0.1 }, { - "name": "B3 or B6", + "name": "B6", "common_name": "nir08", - "description": "Near infrared (Landsat 4-5 Band B3; Landsat 1-3 Band B6)", + "description": "Near infrared (Landsat 1-3 Band B6)", "center_wavelength": 0.75, "full_width_half_max": 0.1 }, { - "name": "B4 or B7", + "name": "B7", "common_name": "nir09", - "description": "Near infrared (Landsat 4-5 Band B4; Landsat 1-3 Band B7)", + "description": "Near infrared (Landsat 1-3 Band B7)", + "center_wavelength": 0.95, + "full_width_half_max": 0.3 + }, + { + "name": "B1", + "common_name": "green", + "description": "Visible green (Landsat 4-5 Band B1)", + "center_wavelength": 0.55, + "full_width_half_max": 0.1 + }, + { + "name": "B2", + "common_name": "red", + "description": "Visible red (Landsat 4-5 Band B2)", + "center_wavelength": 0.65, + "full_width_half_max": 0.1 + }, + { + "name": "B3", + "common_name": "nir08", + "description": "Near infrared (Landsat 4-5 Band B3)", + "center_wavelength": 0.75, + "full_width_half_max": 0.1 + }, + { + "name": "B4", + "common_name": "nir09", + "description": "Near infrared (Landsat 4-5 Band B4)", "center_wavelength": 0.95, "full_width_half_max": 0.3 } From 17a73816fdf14526f8942459c4169c7723dca6b5 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 17 Mar 2022 10:22:42 -0400 Subject: [PATCH 35/47] fix doi colon error --- src/stactools/landsat/fragments/collections/landsat-c2-l1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json index d1edc3a..69cc299 100644 --- a/src/stactools/landsat/fragments/collections/landsat-c2-l1.json +++ b/src/stactools/landsat/fragments/collections/landsat-c2-l1.json @@ -86,7 +86,7 @@ "view:off_nadir": [ 0 ], - "sci_doi": [ + "sci:doi": [ "10.5066/P9AF14YV" ], "eo:bands": [ From 540bd2b07a7e5175874060380bca2b6913f5c521 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 17 Mar 2022 10:26:59 -0400 Subject: [PATCH 36/47] update c2-l1 examples --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 3f22714..ede97b4 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T18:26:24.428176Z", + "created": "2022-03-17T14:26:39.253571Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index e5fd3b5..cfa04e2 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T18:26:24.430855Z", + "created": "2022-03-17T14:26:39.255936Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 43dd0dc..4920aaf 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T18:26:24.432562Z", + "created": "2022-03-17T14:26:39.257535Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index ff3dae8..efe0b78 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T18:26:25.602127Z", + "created": "2022-03-17T14:26:40.285100Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 8a2bbe3..3c5323b 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-15T18:26:25.609032Z", + "created": "2022-03-17T14:26:40.293614Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 64e72cd..7938e40 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -257,7 +257,7 @@ "view:off_nadir": [ 0 ], - "sci_doi": [ + "sci:doi": [ "10.5066/P9AF14YV" ], "eo:bands": [ From b6e9c0e07d8fc409d114f717ea2e7de781248eca Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Thu, 17 Mar 2022 19:13:59 -0400 Subject: [PATCH 37/47] add new stactools antimeridian check --- .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- examples/landsat-c2-l2/collection.json | 1414 +++++++-------- setup.cfg | 2 +- src/stactools/landsat/constants.py | 7 +- src/stactools/landsat/stac.py | 17 +- ...2SR_084024_20160111_20201016_02_T1_ANG.txt | 1509 +++++++++++++++++ ...2SR_084024_20160111_20201016_02_T1_MTL.xml | 323 ++++ ...84024_20160111_20201016_02_T1_SR_stac.json | 244 +++ tests/data.py | 5 +- tests/test_geometry.py | 28 + 19 files changed, 2848 insertions(+), 721 deletions(-) create mode 100644 tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_ANG.txt create mode 100644 tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml create mode 100644 tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_SR_stac.json diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index ede97b4..9059457 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T14:26:39.253571Z", + "created": "2022-03-17T23:11:33.190177Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index cfa04e2..3cdd961 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T14:26:39.255936Z", + "created": "2022-03-17T23:11:33.192655Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 4920aaf..5780ef1 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T14:26:39.257535Z", + "created": "2022-03-17T23:11:33.194339Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index efe0b78..9fdf1c2 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T14:26:40.285100Z", + "created": "2022-03-17T23:11:35.565951Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 3c5323b..65fdf59 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T14:26:40.293614Z", + "created": "2022-03-17T23:11:35.575409Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index abdca83..ef97740 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-15T16:17:31.553226Z", + "created": "2022-03-17T23:11:12.586263Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 52bfc53..8db8663 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-15T16:17:32.495104Z", + "created": "2022-03-17T23:11:13.511157Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 3b6d4dc..50b35c3 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm+" ], - "created": "2022-03-15T16:17:31.550345Z", + "created": "2022-03-17T23:11:12.583542Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 892039d..53abdd9 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-15T16:17:31.544968Z", + "created": "2022-03-17T23:11:12.579278Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index 7858360..c8555fc 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-15T16:17:31.548368Z", + "created": "2022-03-17T23:11:12.581415Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 0073ff1..0458e58 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -1,729 +1,729 @@ { - "type": "Collection", - "id": "landsat-c2-l2", - "stac_version": "1.0.0", - "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", - "links": [ + "type": "Collection", + "id": "landsat-c2-l2", + "stac_version": "1.0.0", + "description": "Atmospherically corrected global Landsat Collection 2 Level-2 data from the Thematic Mapper (TM) onboard Landsat 4 and 5, the Enhanced Thematic Mapper Plus (ETM+) onboard Landsat 7, and the Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) onboard Landsat 8 and 9.", + "links": [ + { + "rel": "root", + "href": "./collection.json", + "type": "application/json", + "title": "Landsat Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9IAXOVV", + "title": "Landsat 4-5 TM Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9C7I13B", + "title": "Landsat 7 ETM+ Collection 2 Level-2" + }, + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, + { + "rel": "license", + "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", + "title": "Public Domain" + }, + { + "rel": "item", + "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", + "type": "application/json" + }, + { + "rel": "item", + "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", + "type": "application/json" + } + ], + "stac_extensions": [ + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + ], + "item_assets": { + "thumbnail": { + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] + }, + "mtl.txt": { + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band", + "raster:bands": [ { - "rel": "root", - "href": "./collection.json", - "type": "application/json", - "title": "Landsat Collection 2 Level-2" - }, + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9IAXOVV", - "title": "Landsat 4-5 TM Collection 2 Level-2" - }, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9C7I13B", - "title": "Landsat 7 ETM+ Collection 2 Level-2" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band Surface Reflectance", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "green": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band Surface Reflectance", + "raster:bands": [ { - "rel": "license", - "href": "https://www.usgs.gov/core-science-systems/hdds/data-policy", - "title": "Public Domain" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", + "raster:bands": [ { - "rel": "item", - "href": "./LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json", - "type": "application/json" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "atmos_opacity": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Opacity Band", + "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", + "raster:bands": [ { - "rel": "item", - "href": "./LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json", - "type": "application/json" + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.001 } - ], - "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" - ], - "item_assets": { - "thumbnail": { - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 Surface Reflectance", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "atmos_opacity": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Opacity Band", - "description": "Collection 2 Level-2 Atmospheric Opacity Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "cloud_qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Quality Assessment Band", - "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_aerosol": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "lwir": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "roles": [ - "temperature" - ] - }, - "atran": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "emis": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] + ], + "roles": [ + "data" + ] + }, + "cloud_qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Quality Assessment Band", + "description": "Collection 2 Level-2 Cloud Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] }, - "title": "Landsat Collection 2 Level-2", - "extent": { - "spatial": { - "bbox": [ - [ - -180.0, - -90.0, - 180.0, - 90.0 - ] - ] - }, - "temporal": { - "interval": [ - [ - "1982-08-22T00:00:00Z", - null - ] - ] + "qa_aerosol": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" } + ], + "roles": [ + "data-mask", + "water-mask" + ] }, - "license": "proprietary", - "keywords": [ - "Landsat", - "USGS", - "NASA", - "Satellite", - "Global", - "Imagery", - "Reflectance", - "Temperature" - ], - "providers": [ + "lwir11": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "lwir": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band Surface Temperature", + "raster:bands": [ { - "name": "NASA", - "roles": [ - "producer", - "licensor" - ], - "url": "https://landsat.gsfc.nasa.gov/" - }, + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "roles": [ + "temperature" + ] + }, + "atran": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", + "raster:bands": [ { - "name": "USGS", - "roles": [ - "producer", - "processor", - "licensor" - ], - "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" - }, + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", + "raster:bands": [ { - "name": "Microsoft", - "roles": [ - "host" - ], - "url": "https://planetarycomputer.microsoft.com" + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 } - ], - "summaries": { - "platform": [ - "landsat-4", - "landsat-5", - "landsat-7", - "landsat-8", - "landsat-9" - ], - "instruments": [ - "tm", - "etm+", - "oli", - "tirs" - ], - "gsd": [ - 30, - 60, - 100, - 120 - ], - "sci:doi": [ - "10.5066/P9IAXOVV", - "10.5066/P9C7I13B", - "10.5066/P9OGBGM6" - ], - "eo:bands": [ - { - "name": "TM_B1", - "common_name": "blue", - "description": "Visible blue (Thematic Mapper)", - "center_wavelength": 0.49, - "full_width_half_max": 0.07 - }, - { - "name": "TM_B2", - "common_name": "green", - "description": "Visible green (Thematic Mapper)", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "TM_B3", - "common_name": "red", - "description": "Visible red (Thematic Mapper)", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "TM_B4", - "common_name": "nir08", - "description": "Near infrared (Thematic Mapper)", - "center_wavelength": 0.83, - "full_width_half_max": 0.14 - }, - { - "name": "TM_B5", - "common_name": "swir16", - "description": "Short-wave infrared (Thematic Mapper)", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "TM_B6", - "common_name": "lwir", - "description": "Long-wave infrared (Thematic Mapper)", - "center_wavelength": 11.45, - "full_width_half_max": 2.1 - }, - { - "name": "TM_B7", - "common_name": "swir22", - "description": "Short-wave infrared (Thematic Mapper)", - "center_wavelength": 2.22, - "full_width_half_max": 0.27 - }, - { - "name": "ETM_B1", - "common_name": "blue", - "description": "Visible blue (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.48, - "full_width_half_max": 0.07 - }, - { - "name": "ETM_B2", - "common_name": "green", - "description": "Visible green (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.56, - "full_width_half_max": 0.08 - }, - { - "name": "ETM_B3", - "common_name": "red", - "description": "Visible red (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.66, - "full_width_half_max": 0.06 - }, - { - "name": "ETM_B4", - "common_name": "nir08", - "description": "Near infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 0.84, - "full_width_half_max": 0.13 - }, - { - "name": "ETM_B5", - "common_name": "swir16", - "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 1.65, - "full_width_half_max": 0.2 - }, - { - "name": "ETM_B6", - "common_name": "lwir", - "description": "Long-wave infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 11.34, - "full_width_half_max": 2.05 - }, - { - "name": "ETM_B7", - "common_name": "swir22", - "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", - "center_wavelength": 2.2, - "full_width_half_max": 0.28 - }, - { - "name": "OLI_B1", - "common_name": "coastal", - "description": "Coastal/Aerosol (Operational Land Imager)", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "OLI_B2", - "common_name": "blue", - "description": "Visible blue (Operational Land Imager)", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "OLI_B3", - "common_name": "green", - "description": "Visible green (Operational Land Imager)", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - { - "name": "OLI_B4", - "common_name": "red", - "description": "Visible red (Operational Land Imager)", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - }, - { - "name": "OLI_B5", - "common_name": "nir08", - "description": "Near infrared (Operational Land Imager)", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - }, - { - "name": "OLI_B6", - "common_name": "swir16", - "description": "Short-wave infrared (Operational Land Imager)", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - }, - { - "name": "OLI_B7", - "common_name": "swir22", - "description": "Short-wave infrared (Operational Land Imager)", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - }, - { - "name": "TIRS_B10", - "common_name": "lwir11", - "description": "Long-wave infrared (Thermal Infrared Sensor)", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "view:off_nadir": { - "minimum": 0, - "maximum": 15 + ], + "roles": [ + "data" + ] + }, + "drad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 } + ], + "roles": [ + "data" + ] + }, + "qa": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "title": "Landsat Collection 2 Level-2", + "extent": { + "spatial": { + "bbox": [ + [ + -180.0, + -90.0, + 180.0, + 90.0 + ] + ] + }, + "temporal": { + "interval": [ + [ + "1982-08-22T00:00:00Z", + null + ] + ] + } + }, + "license": "proprietary", + "keywords": [ + "Landsat", + "USGS", + "NASA", + "Satellite", + "Global", + "Imagery", + "Reflectance", + "Temperature" + ], + "providers": [ + { + "name": "NASA", + "roles": [ + "producer", + "licensor" + ], + "url": "https://landsat.gsfc.nasa.gov/" + }, + { + "name": "USGS", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "https://www.usgs.gov/landsat-missions/landsat-collection-2-level-2-science-products" + }, + { + "name": "Microsoft", + "roles": [ + "host" + ], + "url": "https://planetarycomputer.microsoft.com" + } + ], + "summaries": { + "platform": [ + "landsat-4", + "landsat-5", + "landsat-7", + "landsat-8", + "landsat-9" + ], + "instruments": [ + "tm", + "etm+", + "oli", + "tirs" + ], + "gsd": [ + 30, + 60, + 100, + 120 + ], + "sci:doi": [ + "10.5066/P9IAXOVV", + "10.5066/P9C7I13B", + "10.5066/P9OGBGM6" + ], + "eo:bands": [ + { + "name": "TM_B1", + "common_name": "blue", + "description": "Visible blue (Thematic Mapper)", + "center_wavelength": 0.49, + "full_width_half_max": 0.07 + }, + { + "name": "TM_B2", + "common_name": "green", + "description": "Visible green (Thematic Mapper)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "TM_B3", + "common_name": "red", + "description": "Visible red (Thematic Mapper)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "TM_B4", + "common_name": "nir08", + "description": "Near infrared (Thematic Mapper)", + "center_wavelength": 0.83, + "full_width_half_max": 0.14 + }, + { + "name": "TM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "TM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Thematic Mapper)", + "center_wavelength": 11.45, + "full_width_half_max": 2.1 + }, + { + "name": "TM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Thematic Mapper)", + "center_wavelength": 2.22, + "full_width_half_max": 0.27 + }, + { + "name": "ETM_B1", + "common_name": "blue", + "description": "Visible blue (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.48, + "full_width_half_max": 0.07 + }, + { + "name": "ETM_B2", + "common_name": "green", + "description": "Visible green (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.56, + "full_width_half_max": 0.08 + }, + { + "name": "ETM_B3", + "common_name": "red", + "description": "Visible red (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.66, + "full_width_half_max": 0.06 + }, + { + "name": "ETM_B4", + "common_name": "nir08", + "description": "Near infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 0.84, + "full_width_half_max": 0.13 + }, + { + "name": "ETM_B5", + "common_name": "swir16", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 1.65, + "full_width_half_max": 0.2 + }, + { + "name": "ETM_B6", + "common_name": "lwir", + "description": "Long-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 11.34, + "full_width_half_max": 2.05 + }, + { + "name": "ETM_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Enhanced Thematic Mapper Plus)", + "center_wavelength": 2.2, + "full_width_half_max": 0.28 + }, + { + "name": "OLI_B1", + "common_name": "coastal", + "description": "Coastal/Aerosol (Operational Land Imager)", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + }, + { + "name": "OLI_B2", + "common_name": "blue", + "description": "Visible blue (Operational Land Imager)", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B3", + "common_name": "green", + "description": "Visible green (Operational Land Imager)", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + }, + { + "name": "OLI_B4", + "common_name": "red", + "description": "Visible red (Operational Land Imager)", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + }, + { + "name": "OLI_B5", + "common_name": "nir08", + "description": "Near infrared (Operational Land Imager)", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + }, + { + "name": "OLI_B6", + "common_name": "swir16", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + }, + { + "name": "OLI_B7", + "common_name": "swir22", + "description": "Short-wave infrared (Operational Land Imager)", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + }, + { + "name": "TIRS_B10", + "common_name": "lwir11", + "description": "Long-wave infrared (Thermal Infrared Sensor)", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], + "view:off_nadir": { + "minimum": 0, + "maximum": 15 } -} + } +} \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index efbb64d..7e5607c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ packages = stactools.landsat stactools.landsat.fragments install_requires = - stactools >= 0.2.6 + stactools @ git+https://github.com/stac-utils/stactools@antimeridian pystac_client >= 0.3.2 [options.packages.find] diff --git a/src/stactools/landsat/constants.py b/src/stactools/landsat/constants.py index 5078b9d..ccb404a 100644 --- a/src/stactools/landsat/constants.py +++ b/src/stactools/landsat/constants.py @@ -1,4 +1,4 @@ -from enum import Enum +from enum import Enum, auto from typing import Any, Dict from pystac.extensions.eo import Band @@ -11,6 +11,11 @@ class Sensor(Enum): OLI_TIRS = "C" +class Antimeridian(Enum): + NORMALIZE = auto() + SPLIT = auto() + + LANDSAT_EXTENSION_SCHEMA = "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json" USGS_API = "https://landsatlook.usgs.gov/stac-server" USGS_BROWSER_C2 = "https://landsatlook.usgs.gov/stac-browser/collection02" diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index e9f36c7..860551d 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -2,6 +2,7 @@ from datetime import datetime, timezone from typing import Optional +import shapely from pystac import Collection, Item, Link, MediaType from pystac.extensions.eo import Band, EOExtension from pystac.extensions.item_assets import ItemAssetsExtension @@ -11,6 +12,7 @@ from pystac.extensions.view import ViewExtension from shapely.geometry import box, mapping from stactools.core.io import ReadHrefModifier +from stactools.core.utils import antimeridian from stactools.landsat.ang_metadata import AngMetadata from stactools.landsat.assets import (ANG_ASSET_DEF, COMMON_ASSET_DEFS, @@ -20,7 +22,7 @@ L8_PLATFORM, LANDSAT_EXTENSION_SCHEMA, SENSORS, USGS_API, USGS_BROWSER_C2, USGS_C2L1, USGS_C2L2_SR, USGS_C2L2_ST, - Sensor) + Antimeridian, Sensor) from stactools.landsat.fragments import CollectionFragments, Fragments from stactools.landsat.mtl_metadata import MtlMetadata from stactools.landsat.utils import get_usgs_geometry @@ -32,6 +34,7 @@ def create_stac_item( mtl_xml_href: str, legacy_l8: bool = True, use_usgs_geometry: bool = False, + antimeridian_strategy: Antimeridian = Antimeridian.NORMALIZE, read_href_modifier: Optional[ReadHrefModifier] = None) -> Item: """Creates a STAC Item for Landsat 1-5 Collection 2 Level-1 or Landsat 4-5, 7-9 Collection 2 Level-2 scene data. @@ -42,6 +45,9 @@ def create_stac_item( use_usgs_geometry (bool): Use the geometry from a USGS STAC file that is stored alongside the XML metadata file or pulled from the USGS STAC API. + antimeridian_strategy (AntimeridianStrategy): Either split on -180 or + normalize geometries so all longitudes are either positive or + negative. read_href_modifier (Callable[[str], str]): An optional function to modify the MTL and USGS STAC hrefs (e.g. to add a token to a url). Returns: @@ -75,6 +81,15 @@ def create_stac_item( logger.warning( f"Using bbox for geometry for {mtl_metadata.product_id}.") + geometry_shape = shapely.geometry.shape(geometry) + if antimeridian_strategy == Antimeridian.SPLIT: + split = antimeridian.split(geometry_shape) + if split: + geometry = shapely.geometry.mapping(split) + elif antimeridian_strategy == Antimeridian.NORMALIZE: + geometry = shapely.geometry.mapping( + antimeridian.normalize(geometry_shape)) + item = Item(id=mtl_metadata.item_id, bbox=mtl_metadata.bbox, geometry=geometry, diff --git a/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_ANG.txt b/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_ANG.txt new file mode 100644 index 0000000..23e518d --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_ANG.txt @@ -0,0 +1,1509 @@ +GROUP = FILE_HEADER + LANDSAT_SCENE_ID = "LC80840242016011LGN01" + SPACECRAFT_ID = "LANDSAT_8" + NUMBER_OF_BANDS = 11 + BAND_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) +END_GROUP = FILE_HEADER +GROUP = PROJECTION + ELLIPSOID_AXES = (6378137.000000, 6356752.314200) + MAP_PROJECTION = "UTM" + PROJECTION_UNITS = "METERS" + DATUM = "WGS84" + ELLIPSOID = "WGS84" + UTM_ZONE = 1 + PROJECTION_PARAMETERS = (0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, + 0.000000, 0.000000, 0.000000, 0.000000, 0.000000) + UL_CORNER = ( 257400.000, 5849700.000) + UR_CORNER = ( 498300.000, 5849700.000) + LL_CORNER = ( 257400.000, 5606100.000) + LR_CORNER = ( 498300.000, 5606100.000) +END_GROUP = PROJECTION +GROUP = EPHEMERIS + EPHEMERIS_EPOCH_YEAR = 2016 + EPHEMERIS_EPOCH_DAY = 011 + EPHEMERIS_EPOCH_SECONDS = 82136.716062 + NUMBER_OF_POINTS = 54 + EPHEMERIS_TIME = ( 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, + 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, + 10.000000, 11.000000, 12.000000, 13.000000, 14.000000, + 15.000000, 16.000000, 17.000000, 18.000000, 19.000000, + 20.000000, 21.000000, 22.000000, 23.000000, 24.000000, + 25.000000, 26.000000, 27.000000, 28.000000, 29.000000, + 30.000000, 31.000000, 32.000000, 33.000000, 34.000000, + 35.000000, 36.000000, 37.000000, 38.000000, 39.000000, + 40.000000, 41.000000, 42.000000, 43.000000, 44.000000, + 45.000000, 46.000000, 47.000000, 48.000000, 49.000000, + 50.000000, 51.000000, 52.000000, 53.000000) + EPHEMERIS_ECEF_X = (-4250701.474877, -4256597.748663, -4262489.168145, -4268375.480852, -4274256.860440, + -4280133.139313, -4286004.350261, -4291870.520299, -4297731.561976, -4303587.502156, + -4309438.409988, -4315284.142611, -4321124.941270, -4326960.653348, -4332791.078721, + -4338616.388735, -4344436.586079, -4350251.696741, -4356061.644038, -4361866.448736, + -4367666.183832, -4373460.767651, -4379250.219552, -4385034.503362, -4390813.392683, + -4396587.257004, -4402355.843718, -4408119.279662, -4413877.579700, -4419630.624308, + -4425378.350928, -4431121.019093, -4436858.415687, -4442590.366913, -4448317.269284, + -4454038.765464, -4459755.120531, -4465466.181351, -4471172.003284, -4476872.579412, + -4482567.918274, -4488257.850358, -4493942.545431, -4499621.870771, -4505295.858494, + -4510964.544835, -4516627.986350, -4522286.064230, -4527938.850535, -4533586.280676, + -4539228.256415, -4544864.883002, -4550496.208222, -4556122.158976) + EPHEMERIS_ECEF_Y = ( -143582.920263, -141687.686488, -139791.348757, -137893.999972, -135995.582310, + -134096.248647, -132195.950887, -130294.530848, -128392.074496, -126488.860470, + -124584.472216, -122679.106015, -120772.661565, -118865.293842, -116957.025648, + -115047.771901, -113137.507680, -111226.271782, -109314.019716, -107400.845115, + -105486.758879, -103571.670182, -101655.466213, -99738.375238, -97820.517623, + -95901.519097, -93981.708480, -92060.801069, -90139.053814, -88216.225189, + -86292.477210, -84367.861893, -82442.243359, -80515.845351, -78588.447439, + -76660.327144, -74731.133595, -72801.029043, -70869.960566, -68937.949344, + -67005.132504, -65071.297195, -63136.537326, -61200.942704, -59264.471076, + -57327.173308, -55388.883544, -53449.734581, -51509.727162, -49568.836294, + -47627.072542, -45684.447790, -43740.985671, -41796.664369) + EPHEMERIS_ECEF_Z = ( 5653473.477395, 5649093.068087, 5644706.576303, 5640313.637189, 5635914.521827, + 5631508.964023, 5627097.040156, 5622678.859216, 5618254.283873, 5613823.274053, + 5609386.080983, 5604942.459198, 5600492.778519, 5596036.796498, 5591574.259974, + 5587105.435986, 5582630.347432, 5578149.038756, 5573661.437042, 5569167.550435, + 5564667.481965, 5560161.175135, 5555648.707363, 5551129.963247, 5546604.633794, + 5542073.331949, 5537535.634855, 5532991.819169, 5528441.826946, 5523885.607576, + 5519323.035705, 5514754.441748, 5510179.616052, 5505598.277283, 5501011.012245, + 5496417.292734, 5491817.584736, 5487211.655330, 5482599.601423, 5477981.431404, + 5473357.117250, 5468726.539350, 5464089.887063, 5459446.979692, 5454797.888247, + 5450142.647642, 5445481.406691, 5440813.985230, 5436140.484213, 5431460.847220, + 5426774.966828, 5422082.979058, 5417384.947227, 5412680.802204) +END_GROUP = EPHEMERIS +GROUP = SOLAR_VECTOR + SOLAR_EPOCH_YEAR = 2016 + SOLAR_EPOCH_DAY = 011 + SOLAR_EPOCH_SECONDS = 82136.716062 + EARTH_SUN_DISTANCE = 0.98347885 + NUMBER_OF_POINTS = 54 + SAMPLE_TIME = ( 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, + 5.000000, 6.000000, 7.000000, 8.000000, 9.000000, + 10.000000, 11.000000, 12.000000, 13.000000, 14.000000, + 15.000000, 16.000000, 17.000000, 18.000000, 19.000000, + 20.000000, 21.000000, 22.000000, 23.000000, 24.000000, + 25.000000, 26.000000, 27.000000, 28.000000, 29.000000, + 30.000000, 31.000000, 32.000000, 33.000000, 34.000000, + 35.000000, 36.000000, 37.000000, 38.000000, 39.000000, + 40.000000, 41.000000, 42.000000, 43.000000, 44.000000, + 45.000000, 46.000000, 47.000000, 48.000000, 49.000000, + 50.000000, 51.000000, 52.000000, 53.000000) + SOLAR_ECEF_X = (-8.74109968e-01, -8.74132777e-01, -8.74155581e-01, -8.74178380e-01, -8.74201175e-01, + -8.74223965e-01, -8.74246750e-01, -8.74269531e-01, -8.74292308e-01, -8.74315079e-01, + -8.74337846e-01, -8.74360608e-01, -8.74383366e-01, -8.74406119e-01, -8.74428867e-01, + -8.74451611e-01, -8.74474351e-01, -8.74497085e-01, -8.74519815e-01, -8.74542540e-01, + -8.74565261e-01, -8.74587977e-01, -8.74610688e-01, -8.74633396e-01, -8.74656098e-01, + -8.74678796e-01, -8.74701489e-01, -8.74724177e-01, -8.74746861e-01, -8.74769540e-01, + -8.74792215e-01, -8.74814885e-01, -8.74837550e-01, -8.74860210e-01, -8.74882866e-01, + -8.74905518e-01, -8.74928164e-01, -8.74950806e-01, -8.74973445e-01, -8.74996077e-01, + -8.75018706e-01, -8.75041329e-01, -8.75063948e-01, -8.75086562e-01, -8.75109172e-01, + -8.75131778e-01, -8.75154378e-01, -8.75176974e-01, -8.75199565e-01, -8.75222152e-01, + -8.75244734e-01, -8.75267311e-01, -8.75289884e-01, -8.75312453e-01) + SOLAR_ECEF_Y = (-3.13604671e-01, -3.13541122e-01, -3.13477574e-01, -3.13414025e-01, -3.13350474e-01, + -3.13286921e-01, -3.13223367e-01, -3.13159811e-01, -3.13096250e-01, -3.13032691e-01, + -3.12969130e-01, -3.12905567e-01, -3.12842003e-01, -3.12778437e-01, -3.12714869e-01, + -3.12651300e-01, -3.12587726e-01, -3.12524154e-01, -3.12460579e-01, -3.12397004e-01, + -3.12333426e-01, -3.12269847e-01, -3.12206266e-01, -3.12142681e-01, -3.12079097e-01, + -3.12015511e-01, -3.11951923e-01, -3.11888334e-01, -3.11824743e-01, -3.11761151e-01, + -3.11697554e-01, -3.11633958e-01, -3.11570361e-01, -3.11506762e-01, -3.11443161e-01, + -3.11379559e-01, -3.11315955e-01, -3.11252349e-01, -3.11188740e-01, -3.11125131e-01, + -3.11061520e-01, -3.10997908e-01, -3.10934294e-01, -3.10870678e-01, -3.10807061e-01, + -3.10743440e-01, -3.10679820e-01, -3.10616197e-01, -3.10552574e-01, -3.10488948e-01, + -3.10425321e-01, -3.10361693e-01, -3.10298062e-01, -3.10234428e-01) + SOLAR_ECEF_Z = (-3.70923004e-01, -3.70922974e-01, -3.70922944e-01, -3.70922915e-01, -3.70922885e-01, + -3.70922856e-01, -3.70922826e-01, -3.70922796e-01, -3.70922767e-01, -3.70922737e-01, + -3.70922707e-01, -3.70922678e-01, -3.70922648e-01, -3.70922619e-01, -3.70922589e-01, + -3.70922559e-01, -3.70922530e-01, -3.70922500e-01, -3.70922470e-01, -3.70922441e-01, + -3.70922411e-01, -3.70922382e-01, -3.70922352e-01, -3.70922322e-01, -3.70922293e-01, + -3.70922263e-01, -3.70922233e-01, -3.70922204e-01, -3.70922174e-01, -3.70922145e-01, + -3.70922115e-01, -3.70922085e-01, -3.70922056e-01, -3.70922026e-01, -3.70921997e-01, + -3.70921967e-01, -3.70921937e-01, -3.70921908e-01, -3.70921878e-01, -3.70921848e-01, + -3.70921819e-01, -3.70921789e-01, -3.70921760e-01, -3.70921730e-01, -3.70921700e-01, + -3.70921671e-01, -3.70921641e-01, -3.70921611e-01, -3.70921582e-01, -3.70921552e-01, + -3.70921523e-01, -3.70921493e-01, -3.70921463e-01, -3.70921434e-01) +END_GROUP = SOLAR_VECTOR +GROUP = RPC_BAND01 + BAND01_NUMBER_OF_SCAS = 14 + BAND01_NUM_L1T_LINES = 8121 + BAND01_NUM_L1T_SAMPS = 8031 + BAND01_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND01_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND01_NUM_L1R_LINES = 7501 + BAND01_NUM_L1R_SAMPS = 494 + BAND01_PIXEL_SIZE = 30.000 + BAND01_START_TIME = 10.325639 + BAND01_LINE_TIME = 0.004236000 + BAND01_MEAN_HEIGHT = 750.000 + BAND01_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND01_MEAN_L1T_LINE_SAMP = (4064.091, 4027.082) + BAND01_MEAN_SAT_VECTOR = (-0.002222373, -0.003683737, 0.996293905) + BAND01_SAT_X_NUM_COEF = (-1.993361e-04, -1.134266e-06, -4.702773e-05, -3.753186e-09, -1.221597e-05, + -6.894501e-11, -1.927487e-10, -7.298670e-12, 6.783062e-16, 1.956444e-17) + BAND01_SAT_X_DEN_COEF = ( 1.076833e-05, 0.000000e+00, -1.401277e-06, -6.219753e-06, 6.852199e-11, + 5.580071e-10, 9.315402e-10, 5.319873e-16, -1.764152e-17) + BAND01_SAT_Y_NUM_COEF = (-8.898669e-04, 4.699759e-05, -1.116522e-06, -5.124654e-09, -4.362541e-05, + 5.163401e-12, 9.412607e-11, 2.740360e-10, -3.172509e-16, -4.089602e-17) + BAND01_SAT_Y_DEN_COEF = ( 1.673996e-06, 6.463597e-07, -1.401364e-06, -1.710595e-06, 5.590954e-11, + 7.786741e-10, 8.919994e-10, 2.448150e-15, -3.134339e-17) + BAND01_SAT_Z_NUM_COEF = ( 3.670765e-03, 2.115368e-07, -1.188971e-07, -1.037765e-08, -2.287798e-07, + -9.426968e-11, -6.157876e-10, -1.005684e-09, -3.870104e-16, -5.530528e-20) + BAND01_SAT_Z_DEN_COEF = (-4.011152e-06, 1.209785e-06, -2.817664e-06, 3.962701e-06, 1.246178e-10, + 8.121282e-10, 1.339018e-09, 7.592062e-17, 3.971591e-17) + BAND01_MEAN_SUN_VECTOR = ( 0.292921073, -0.921295116, 0.255263954) + BAND01_SUN_X_NUM_COEF = ( 4.015732e-05, -1.609450e-07, -6.671781e-06, -2.377442e-14, -2.714615e-07, + 1.246580e-12, 3.897280e-11, -9.652687e-12, 5.333348e-18, 9.892311e-18) + BAND01_SUN_X_DEN_COEF = ( 3.128150e-08, 0.000000e+00, -6.207889e-12, -1.035762e-07, -4.624974e-11, + 1.942748e-11, 2.439635e-11, 2.305647e-16, 3.151167e-17) + BAND01_SUN_Y_NUM_COEF = (-1.192439e-04, 1.158511e-06, -1.769020e-06, 1.796572e-13, -7.100630e-08, + 2.051190e-11, 6.975974e-13, 2.744718e-11, 4.765259e-17, 2.036138e-17) + BAND01_SUN_Y_DEN_COEF = ( 7.951424e-06, -2.648892e-06, -1.102275e-10, 7.522999e-07, -4.923442e-11, + -6.079265e-11, 0.000000e+00, -3.205025e-16, -8.480254e-16) + BAND01_SUN_Z_NUM_COEF = ( 1.878476e-05, 4.368824e-06, 1.270315e-06, -1.521064e-13, 5.616718e-08, + -2.626287e-12, -9.280717e-13, -2.356184e-12, 8.011795e-18, -1.653494e-17) + BAND01_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -9.854330e-11, -2.170679e-08, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 2.623607e-16, -4.128238e-16) + BAND01_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND01_SCA01_MEAN_HEIGHT = 750.000 + BAND01_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA01_MEAN_L1T_LINE_SAMP = (3345.170, 1164.396) + BAND01_SCA01_LINE_NUM_COEF = ( 1.575465e-01, 1.003507e+00, -2.717258e-01, -8.743381e-05, -6.459952e-06) + BAND01_SCA01_LINE_DEN_COEF = ( 2.872792e-07, -5.093930e-06, 3.671062e-10, 3.474515e-12) + BAND01_SCA01_SAMP_NUM_COEF = (-1.138395e+00, 2.976031e-01, 9.726338e-01, -4.663536e-03, -7.674662e-07) + BAND01_SCA01_SAMP_DEN_COEF = (-2.970539e-06, -7.443496e-06, -1.536909e-06, 2.480419e-12) + BAND01_SCA02_MEAN_HEIGHT = 750.000 + BAND01_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA02_MEAN_L1T_LINE_SAMP = (3203.425, 1687.014) + BAND01_SCA02_LINE_NUM_COEF = ( 1.492793e-01, 1.000815e+00, -2.797885e-01, -5.001969e-04, -5.339358e-06) + BAND01_SCA02_LINE_DEN_COEF = ( 2.662114e-07, -4.131110e-06, 9.139630e-10, 3.596385e-12) + BAND01_SCA02_SAMP_NUM_COEF = (-1.118698e+00, 3.000591e-01, 9.810231e-01, -3.965053e-03, -7.768030e-07) + BAND01_SCA02_SAMP_DEN_COEF = (-2.619516e-06, -6.279961e-06, -1.545672e-06, 1.457923e-12) + BAND01_SCA03_MEAN_HEIGHT = 750.000 + BAND01_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA03_MEAN_L1T_LINE_SAMP = (3605.118, 2042.002) + BAND01_SCA03_LINE_NUM_COEF = ( 1.484024e-01, 1.000117e+00, -2.814414e-01, -1.970333e-05, -6.099943e-06) + BAND01_SCA03_LINE_DEN_COEF = ( 2.821370e-07, -4.776208e-06, 2.517596e-10, 3.666196e-12) + BAND01_SCA03_SAMP_NUM_COEF = (-1.095326e+00, 3.012534e-01, 9.844473e-01, -3.240634e-03, -7.733811e-07) + BAND01_SCA03_SAMP_DEN_COEF = (-2.384805e-06, -5.519587e-06, -1.551610e-06, 8.076497e-13) + BAND01_SCA04_MEAN_HEIGHT = 750.000 + BAND01_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA04_MEAN_L1T_LINE_SAMP = (3464.451, 2559.249) + BAND01_SCA04_LINE_NUM_COEF = ( 1.440246e-01, 9.976747e-01, -2.886963e-01, -4.496552e-04, -5.720728e-06) + BAND01_SCA04_LINE_DEN_COEF = ( 2.765130e-07, -4.444595e-06, 8.887550e-10, 3.773037e-12) + BAND01_SCA04_SAMP_NUM_COEF = (-1.070954e+00, 3.030745e-01, 9.907510e-01, -2.524360e-03, -7.810571e-07) + BAND01_SCA04_SAMP_DEN_COEF = (-1.989381e-06, -4.210397e-06, -1.557963e-06, -3.192177e-13) + BAND01_SCA05_MEAN_HEIGHT = 750.000 + BAND01_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA05_MEAN_L1T_LINE_SAMP = (3865.365, 2910.045) + BAND01_SCA05_LINE_NUM_COEF = ( 1.622817e-01, 9.966293e-01, -2.914937e-01, 2.377013e-05, -9.306240e-06) + BAND01_SCA05_LINE_DEN_COEF = ( 3.592897e-07, -7.473969e-06, 1.628306e-10, 3.826528e-12) + BAND01_SCA05_SAMP_NUM_COEF = (-1.046937e+00, 3.036864e-01, 9.922600e-01, -1.791758e-03, -7.760835e-07) + BAND01_SCA05_SAMP_DEN_COEF = (-1.763147e-06, -3.478766e-06, -1.561585e-06, -9.485426e-13) + BAND01_SCA06_MEAN_HEIGHT = 750.000 + BAND01_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA06_MEAN_L1T_LINE_SAMP = (3726.308, 3423.903) + BAND01_SCA06_LINE_NUM_COEF = ( 1.425667e-01, 9.946009e-01, -2.974015e-01, -4.216170e-04, -6.671218e-06) + BAND01_SCA06_LINE_DEN_COEF = ( 3.007360e-07, -5.236983e-06, 9.513669e-10, 3.941212e-12) + BAND01_SCA06_SAMP_NUM_COEF = (-1.014329e+00, 3.047959e-01, 9.962261e-01, -1.063083e-03, -7.818969e-07) + BAND01_SCA06_SAMP_DEN_COEF = (-1.286580e-06, -1.903888e-06, -1.565184e-06, -2.265146e-12) + BAND01_SCA07_MEAN_HEIGHT = 750.000 + BAND01_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA07_MEAN_L1T_LINE_SAMP = (4127.256, 3772.397) + BAND01_SCA07_LINE_NUM_COEF = ( 1.453125e-01, 9.931557e-01, -3.015120e-01, 4.232544e-05, -7.499706e-06) + BAND01_SCA07_LINE_DEN_COEF = ( 3.215577e-07, -5.931101e-06, 1.376241e-10, 4.023466e-12) + BAND01_SCA07_SAMP_NUM_COEF = (-9.773328e-01, 3.046989e-01, 9.954084e-01, -3.273742e-04, -7.750797e-07) + BAND01_SCA07_SAMP_DEN_COEF = (-9.266701e-07, -7.367509e-07, -1.566587e-06, -3.236613e-12) + BAND01_SCA08_MEAN_HEIGHT = 750.000 + BAND01_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA08_MEAN_L1T_LINE_SAMP = (3989.495, 4285.205) + BAND01_SCA08_LINE_NUM_COEF = ( 1.245899e-01, 9.914736e-01, -3.062896e-01, -4.161723e-04, -4.951860e-06) + BAND01_SCA08_LINE_DEN_COEF = ( 2.614983e-07, -3.777335e-06, 7.563800e-10, 4.124464e-12) + BAND01_SCA08_SAMP_NUM_COEF = (-9.329549e-01, 3.051654e-01, 9.972614e-01, 4.072749e-04, -7.792165e-07) + BAND01_SCA08_SAMP_DEN_COEF = (-3.275901e-07, 1.239134e-06, -1.566101e-06, -4.851909e-12) + BAND01_SCA09_MEAN_HEIGHT = 750.000 + BAND01_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA09_MEAN_L1T_LINE_SAMP = (4392.070, 4632.845) + BAND01_SCA09_LINE_NUM_COEF = ( 1.399997e-01, 9.896235e-01, -3.117272e-01, 3.612515e-05, -7.464259e-06) + BAND01_SCA09_LINE_DEN_COEF = ( 3.249735e-07, -5.884920e-06, 1.497005e-10, 4.204370e-12) + BAND01_SCA09_SAMP_NUM_COEF = (-9.070137e-01, 3.043940e-01, 9.942310e-01, 1.139524e-03, -7.706632e-07) + BAND01_SCA09_SAMP_DEN_COEF = (-1.297253e-07, 1.875196e-06, -1.564501e-06, -5.407976e-12) + BAND01_SCA10_MEAN_HEIGHT = 750.000 + BAND01_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA10_MEAN_L1T_LINE_SAMP = (4255.688, 5146.475) + BAND01_SCA10_LINE_NUM_COEF = ( 1.338534e-01, 9.882949e-01, -3.153486e-01, -4.331419e-04, -7.332411e-06) + BAND01_SCA10_LINE_DEN_COEF = ( 3.227446e-07, -5.767583e-06, 1.046410e-09, 4.284386e-12) + BAND01_SCA10_SAMP_NUM_COEF = (-8.820845e-01, 3.041944e-01, 9.938945e-01, 1.873993e-03, -7.730671e-07) + BAND01_SCA10_SAMP_DEN_COEF = ( 2.052862e-07, 2.988745e-06, -1.561219e-06, -6.335057e-12) + BAND01_SCA11_MEAN_HEIGHT = 750.000 + BAND01_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA11_MEAN_L1T_LINE_SAMP = (4660.631, 5495.183) + BAND01_SCA11_LINE_NUM_COEF = ( 1.310991e-01, 9.860977e-01, -3.219204e-01, 4.333508e-06, -6.868428e-06) + BAND01_SCA11_LINE_DEN_COEF = ( 3.139640e-07, -5.369100e-06, 2.118147e-10, 4.384296e-12) + BAND01_SCA11_SAMP_NUM_COEF = (-8.386855e-01, 3.027817e-01, 9.887620e-01, 2.596984e-03, -7.628963e-07) + BAND01_SCA11_SAMP_DEN_COEF = ( 5.855896e-07, 4.219551e-06, -1.556249e-06, -7.354087e-12) + BAND01_SCA12_MEAN_HEIGHT = 750.000 + BAND01_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA12_MEAN_L1T_LINE_SAMP = (4525.941, 6012.004) + BAND01_SCA12_LINE_NUM_COEF = ( 1.088862e-01, 9.852466e-01, -3.239774e-01, -4.716742e-04, -4.667200e-06) + BAND01_SCA12_LINE_DEN_COEF = ( 2.568970e-07, -3.521368e-06, 7.931630e-10, 4.457238e-12) + BAND01_SCA12_SAMP_NUM_COEF = (-8.265153e-01, 3.019311e-01, 9.862853e-01, 3.325983e-03, -7.636069e-07) + BAND01_SCA12_SAMP_DEN_COEF = ( 7.358299e-07, 4.730026e-06, -1.552021e-06, -7.792704e-12) + BAND01_SCA13_MEAN_HEIGHT = 750.000 + BAND01_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA13_MEAN_L1T_LINE_SAMP = (4934.513, 6363.466) + BAND01_SCA13_LINE_NUM_COEF = ( 1.395184e-01, 9.826108e-01, -3.319789e-01, -5.241020e-05, -8.697799e-06) + BAND01_SCA13_LINE_DEN_COEF = ( 3.661014e-07, -6.883116e-06, 3.378150e-10, 4.555333e-12) + BAND01_SCA13_SAMP_NUM_COEF = (-7.465435e-01, 2.998694e-01, 9.790273e-01, 4.033722e-03, -7.518246e-07) + BAND01_SCA13_SAMP_DEN_COEF = ( 1.520772e-06, 7.280685e-06, -1.538897e-06, -9.831930e-12) + BAND01_SCA14_MEAN_HEIGHT = 750.000 + BAND01_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND01_SCA14_MEAN_L1T_LINE_SAMP = (4801.845, 6884.968) + BAND01_SCA14_LINE_NUM_COEF = ( 1.204181e-01, 9.821674e-01, -3.326975e-01, -5.320672e-04, -7.179886e-06) + BAND01_SCA14_LINE_DEN_COEF = ( 3.246757e-07, -5.613240e-06, 1.214798e-09, 4.619229e-12) + BAND01_SCA14_SAMP_NUM_COEF = (-7.432936e-01, 2.983726e-01, 9.744251e-01, 4.750484e-03, -7.508541e-07) + BAND01_SCA14_SAMP_DEN_COEF = ( 1.530628e-06, 7.333479e-06, -1.534236e-06, -9.903227e-12) +END_GROUP = RPC_BAND01 +GROUP = RPC_BAND02 + BAND02_NUMBER_OF_SCAS = 14 + BAND02_NUM_L1T_LINES = 8121 + BAND02_NUM_L1T_SAMPS = 8031 + BAND02_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND02_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND02_NUM_L1R_LINES = 7501 + BAND02_NUM_L1R_SAMPS = 494 + BAND02_PIXEL_SIZE = 30.000 + BAND02_START_TIME = 10.325639 + BAND02_LINE_TIME = 0.004236000 + BAND02_MEAN_HEIGHT = 750.000 + BAND02_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND02_MEAN_L1T_LINE_SAMP = (4064.064, 4027.090) + BAND02_MEAN_SAT_VECTOR = (-0.002220681, -0.003686174, 0.996301906) + BAND02_SAT_X_NUM_COEF = (-2.010454e-04, -1.135948e-06, -4.702717e-05, -3.199952e-09, -1.221425e-05, + -5.872752e-11, -1.264969e-10, 1.000840e-10, 5.888274e-16, 1.967336e-17) + BAND02_SAT_X_DEN_COEF = ( 9.317844e-06, -2.294049e-06, -1.401106e-06, -5.541080e-06, 7.116526e-11, + 5.552485e-10, 9.280940e-10, 5.276625e-16, -2.165792e-17) + BAND02_SAT_Y_NUM_COEF = (-8.893914e-04, 4.699807e-05, -1.116509e-06, -5.126972e-09, -4.362559e-05, + 5.161655e-12, 9.406927e-11, 2.738621e-10, -3.273940e-16, -4.088886e-17) + BAND02_SAT_Y_DEN_COEF = ( 1.721053e-06, 6.167074e-07, -1.401187e-06, -1.758855e-06, 5.671165e-11, + 7.821108e-10, 8.917375e-10, 2.493863e-15, -3.180600e-17) + BAND02_SAT_Z_NUM_COEF = ( 3.670858e-03, 2.115928e-07, -1.189060e-07, -1.038048e-08, -2.288397e-07, + -9.426995e-11, -6.157841e-10, -1.005683e-09, -3.870450e-16, -5.509161e-20) + BAND02_SAT_Z_DEN_COEF = (-4.015274e-06, 1.210066e-06, -2.817746e-06, 3.962731e-06, 1.245286e-10, + 8.107097e-10, 1.336848e-09, 8.703575e-17, 4.037507e-17) + BAND02_MEAN_SUN_VECTOR = ( 0.292921362, -0.921295159, 0.255263868) + BAND02_SUN_X_NUM_COEF = ( 3.982296e-05, -1.609463e-07, -6.671782e-06, -2.360921e-14, -2.714605e-07, + 1.250576e-12, 3.903374e-11, -9.652866e-12, 5.672234e-18, 9.830567e-18) + BAND02_SUN_X_DEN_COEF = ( 2.209041e-08, 0.000000e+00, -6.630887e-12, -1.036310e-07, -4.635081e-11, + 1.947598e-11, 2.438900e-11, 2.308212e-16, 3.122108e-17) + BAND02_SUN_Y_NUM_COEF = (-1.192478e-04, 1.158525e-06, -1.769028e-06, 1.484993e-13, -7.102415e-08, + 2.049142e-11, 6.984284e-13, 2.749752e-11, 4.717710e-17, 2.137350e-17) + BAND02_SUN_Y_DEN_COEF = ( 7.932068e-06, -2.679939e-06, -1.077600e-10, 7.492223e-07, -4.839059e-11, + -6.079988e-11, 0.000000e+00, -2.723765e-16, -6.678944e-16) + BAND02_SUN_Z_NUM_COEF = ( 1.873943e-05, 4.368856e-06, 1.270306e-06, -1.433624e-13, 5.613580e-08, + -2.653362e-12, -9.322202e-13, -2.347645e-12, 7.933202e-18, -1.652522e-17) + BAND02_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -9.955587e-11, -2.958301e-08, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 1.696625e-16, -2.616768e-16) + BAND02_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND02_SCA01_MEAN_HEIGHT = 750.000 + BAND02_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA01_MEAN_L1T_LINE_SAMP = (3317.231, 1172.926) + BAND02_SCA01_LINE_NUM_COEF = ( 1.585488e-01, 1.003445e+00, -2.719221e-01, -1.341217e-04, -6.611957e-06) + BAND02_SCA01_LINE_DEN_COEF = ( 2.907016e-07, -5.222664e-06, 4.506175e-10, 3.473671e-12) + BAND02_SCA01_SAMP_NUM_COEF = (-1.139603e+00, 2.976459e-01, 9.728161e-01, -4.664418e-03, -7.680603e-07) + BAND02_SCA01_SAMP_DEN_COEF = (-2.977337e-06, -7.464582e-06, -1.536804e-06, 2.496970e-12) + BAND02_SCA02_MEAN_HEIGHT = 750.000 + BAND02_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA02_MEAN_L1T_LINE_SAMP = (3231.237, 1678.469) + BAND02_SCA02_LINE_NUM_COEF = ( 1.506488e-01, 1.000855e+00, -2.796631e-01, -4.533005e-04, -5.560900e-06) + BAND02_SCA02_LINE_DEN_COEF = ( 2.710345e-07, -4.319276e-06, 8.750089e-10, 3.593700e-12) + BAND02_SCA02_SAMP_NUM_COEF = (-1.119240e+00, 3.000156e-01, 9.808378e-01, -3.964377e-03, -7.762043e-07) + BAND02_SCA02_SAMP_DEN_COEF = (-2.633755e-06, -6.327690e-06, -1.545480e-06, 1.495265e-12) + BAND02_SCA03_MEAN_HEIGHT = 750.000 + BAND02_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA03_MEAN_L1T_LINE_SAMP = (3577.293, 2050.511) + BAND02_SCA03_LINE_NUM_COEF = ( 1.473615e-01, 1.000075e+00, -2.815724e-01, -6.666012e-05, -5.930109e-06) + BAND02_SCA03_LINE_DEN_COEF = ( 2.784407e-07, -4.631931e-06, 3.231950e-10, 3.668093e-12) + BAND02_SCA03_SAMP_NUM_COEF = (-1.094778e+00, 3.012945e-01, 9.846243e-01, -3.241215e-03, -7.739736e-07) + BAND02_SCA03_SAMP_DEN_COEF = (-2.370465e-06, -5.471514e-06, -1.551765e-06, 7.698549e-13) + BAND02_SCA04_MEAN_HEIGHT = 750.000 + BAND02_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA04_MEAN_L1T_LINE_SAMP = (3492.163, 2550.733) + BAND02_SCA04_LINE_NUM_COEF = ( 1.431927e-01, 9.977063e-01, -2.885983e-01, -4.027050e-04, -5.582721e-06) + BAND02_SCA04_LINE_DEN_COEF = ( 2.732785e-07, -4.328119e-06, 8.045968e-10, 3.773880e-12) + BAND02_SCA04_SAMP_NUM_COEF = (-1.071416e+00, 3.030288e-01, 9.905586e-01, -2.523939e-03, -7.804509e-07) + BAND02_SCA04_SAMP_DEN_COEF = (-2.003015e-06, -4.256227e-06, -1.557847e-06, -2.829874e-13) + BAND02_SCA05_MEAN_HEIGHT = 750.000 + BAND02_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA05_MEAN_L1T_LINE_SAMP = (3837.631, 2918.538) + BAND02_SCA05_LINE_NUM_COEF = ( 1.614611e-01, 9.965974e-01, -2.915924e-01, -2.325400e-05, -9.179459e-06) + BAND02_SCA05_LINE_DEN_COEF = ( 3.564509e-07, -7.366467e-06, 2.757553e-10, 3.827762e-12) + BAND02_SCA05_SAMP_NUM_COEF = (-1.047944e+00, 3.037320e-01, 9.924516e-01, -1.792090e-03, -7.766885e-07) + BAND02_SCA05_SAMP_DEN_COEF = (-1.767266e-06, -3.490934e-06, -1.561560e-06, -9.395307e-13) + BAND02_SCA06_MEAN_HEIGHT = 750.000 + BAND02_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA06_MEAN_L1T_LINE_SAMP = (3753.964, 3415.421) + BAND02_SCA06_LINE_NUM_COEF = ( 1.447666e-01, 9.946079e-01, -2.973840e-01, -3.745810e-04, -7.000904e-06) + BAND02_SCA06_LINE_DEN_COEF = ( 3.084995e-07, -5.515376e-06, 9.018893e-10, 3.938922e-12) + BAND02_SCA06_SAMP_NUM_COEF = (-1.014372e+00, 3.047447e-01, 9.960156e-01, -1.062895e-03, -7.812762e-07) + BAND02_SCA06_SAMP_DEN_COEF = (-1.295521e-06, -1.934464e-06, -1.565153e-06, -2.241138e-12) + BAND02_SCA07_MEAN_HEIGHT = 750.000 + BAND02_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA07_MEAN_L1T_LINE_SAMP = (4099.563, 3780.887) + BAND02_SCA07_LINE_NUM_COEF = ( 1.467185e-01, 9.931374e-01, -3.015661e-01, -4.773978e-06, -7.729679e-06) + BAND02_SCA07_LINE_DEN_COEF = ( 3.271244e-07, -6.124730e-06, 2.297616e-10, 4.021992e-12) + BAND02_SCA07_SAMP_NUM_COEF = (-9.757126e-01, 3.047414e-01, 9.955899e-01, -3.274201e-04, -7.756766e-07) + BAND02_SCA07_SAMP_DEN_COEF = (-8.988163e-07, -6.443479e-07, -1.566614e-06, -3.309687e-12) + BAND02_SCA08_MEAN_HEIGHT = 750.000 + BAND02_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA08_MEAN_L1T_LINE_SAMP = (4017.130, 4276.731) + BAND02_SCA08_LINE_NUM_COEF = ( 1.252305e-01, 9.914604e-01, -3.063386e-01, -3.691896e-04, -5.023893e-06) + BAND02_SCA08_LINE_DEN_COEF = ( 2.632669e-07, -3.838058e-06, 7.027788e-10, 4.124537e-12) + BAND02_SCA08_SAMP_NUM_COEF = (-9.312575e-01, 3.051215e-01, 9.970750e-01, 4.071691e-04, -7.786156e-07) + BAND02_SCA08_SAMP_DEN_COEF = (-3.152050e-07, 1.278120e-06, -1.566086e-06, -4.881900e-12) + BAND02_SCA09_MEAN_HEIGHT = 750.000 + BAND02_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA09_MEAN_L1T_LINE_SAMP = (4364.358, 4641.356) + BAND02_SCA09_LINE_NUM_COEF = ( 1.398278e-01, 9.896266e-01, -3.117115e-01, -1.099093e-05, -7.459993e-06) + BAND02_SCA09_LINE_DEN_COEF = ( 3.248662e-07, -5.881242e-06, 2.412384e-10, 4.204066e-12) + BAND02_SCA09_SAMP_NUM_COEF = (-9.075578e-01, 3.044418e-01, 9.944297e-01, 1.139784e-03, -7.712721e-07) + BAND02_SCA09_SAMP_DEN_COEF = (-1.278924e-07, 1.882696e-06, -1.564488e-06, -5.415054e-12) + BAND02_SCA10_MEAN_HEIGHT = 750.000 + BAND02_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA10_MEAN_L1T_LINE_SAMP = (4283.368, 5137.985) + BAND02_SCA10_LINE_NUM_COEF = ( 1.346301e-01, 9.882739e-01, -3.154231e-01, -3.862165e-04, -7.417559e-06) + BAND02_SCA10_LINE_DEN_COEF = ( 3.249289e-07, -5.839074e-06, 9.654281e-10, 4.284533e-12) + BAND02_SCA10_SAMP_NUM_COEF = (-8.822613e-01, 3.041482e-01, 9.937009e-01, 1.873603e-03, -7.724625e-07) + BAND02_SCA10_SAMP_DEN_COEF = ( 1.947139e-07, 2.952644e-06, -1.561289e-06, -6.306092e-12) + BAND02_SCA11_MEAN_HEIGHT = 750.000 + BAND02_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA11_MEAN_L1T_LINE_SAMP = (4632.880, 5503.718) + BAND02_SCA11_LINE_NUM_COEF = ( 1.308980e-01, 9.861130e-01, -3.218647e-01, -4.271803e-05, -6.865316e-06) + BAND02_SCA11_LINE_DEN_COEF = ( 3.138559e-07, -5.366463e-06, 2.959942e-10, 4.383779e-12) + BAND02_SCA11_SAMP_NUM_COEF = (-8.390513e-01, 3.028254e-01, 9.889469e-01, 2.597512e-03, -7.634916e-07) + BAND02_SCA11_SAMP_DEN_COEF = ( 5.894758e-07, 4.233854e-06, -1.556207e-06, -7.366880e-12) + BAND02_SCA12_MEAN_HEIGHT = 750.000 + BAND02_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA12_MEAN_L1T_LINE_SAMP = (4553.705, 6003.497) + BAND02_SCA12_LINE_NUM_COEF = ( 1.108645e-01, 9.852057e-01, -3.241170e-01, -4.249481e-04, -4.913285e-06) + BAND02_SCA12_LINE_DEN_COEF = ( 2.633148e-07, -3.727510e-06, 7.635715e-10, 4.457693e-12) + BAND02_SCA12_SAMP_NUM_COEF = (-8.247748e-01, 3.018830e-01, 9.860861e-01, 3.325305e-03, -7.630011e-07) + BAND02_SCA12_SAMP_DEN_COEF = ( 7.483286e-07, 4.769219e-06, -1.551891e-06, -7.822321e-12) + BAND02_SCA13_MEAN_HEIGHT = 750.000 + BAND02_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA13_MEAN_L1T_LINE_SAMP = (4906.669, 6372.045) + BAND02_SCA13_LINE_NUM_COEF = ( 1.404027e-01, 9.826459e-01, -3.318583e-01, -9.928260e-05, -8.855240e-06) + BAND02_SCA13_LINE_DEN_COEF = ( 3.701728e-07, -7.014863e-06, 4.481739e-10, 4.554340e-12) + BAND02_SCA13_SAMP_NUM_COEF = (-7.481423e-01, 2.999140e-01, 9.792147e-01, 4.034553e-03, -7.524178e-07) + BAND02_SCA13_SAMP_DEN_COEF = ( 1.509979e-06, 7.247191e-06, -1.539030e-06, -9.808340e-12) + BAND02_SCA14_MEAN_HEIGHT = 750.000 + BAND02_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND02_SCA14_MEAN_L1T_LINE_SAMP = (4829.706, 6876.440) + BAND02_SCA14_LINE_NUM_COEF = ( 1.216843e-01, 9.821025e-01, -3.329157e-01, -4.857665e-04, -7.304191e-06) + BAND02_SCA14_LINE_DEN_COEF = ( 3.281316e-07, -5.716849e-06, 1.143900e-09, 4.620444e-12) + BAND02_SCA14_SAMP_NUM_COEF = (-7.444480e-01, 2.983269e-01, 9.742344e-01, 4.749573e-03, -7.502599e-07) + BAND02_SCA14_SAMP_DEN_COEF = ( 1.508534e-06, 7.259583e-06, -1.534599e-06, -9.845499e-12) +END_GROUP = RPC_BAND02 +GROUP = RPC_BAND03 + BAND03_NUMBER_OF_SCAS = 14 + BAND03_NUM_L1T_LINES = 8121 + BAND03_NUM_L1T_SAMPS = 8031 + BAND03_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND03_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND03_NUM_L1R_LINES = 7501 + BAND03_NUM_L1R_SAMPS = 494 + BAND03_PIXEL_SIZE = 30.000 + BAND03_START_TIME = 10.325639 + BAND03_LINE_TIME = 0.004236000 + BAND03_MEAN_HEIGHT = 750.000 + BAND03_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND03_MEAN_L1T_LINE_SAMP = (4064.439, 4026.978) + BAND03_MEAN_SAT_VECTOR = (-0.002224588, -0.003663483, 0.996258599) + BAND03_SAT_X_NUM_COEF = (-1.901511e-04, -1.134385e-06, -4.702590e-05, -3.747668e-09, -1.221537e-05, + -6.919532e-11, -1.936424e-10, -7.544424e-12, 7.077464e-16, 1.942752e-17) + BAND03_SAT_X_DEN_COEF = ( 1.080350e-05, 0.000000e+00, -1.401273e-06, -6.236206e-06, 6.779175e-11, + 5.582255e-10, 9.308417e-10, 5.324182e-16, -1.734149e-17) + BAND03_SAT_Y_NUM_COEF = (-8.903034e-04, 4.699578e-05, -1.116669e-06, -5.106848e-09, -4.362492e-05, + 5.093481e-12, 9.377161e-11, 2.736168e-10, -2.521569e-16, -4.094201e-17) + BAND03_SAT_Y_DEN_COEF = ( 1.784590e-06, 5.757247e-07, -1.402028e-06, -1.838560e-06, 5.401767e-11, + 7.583180e-10, 8.948473e-10, 2.162801e-15, -2.092944e-17) + BAND03_SAT_Z_NUM_COEF = ( 3.670704e-03, 2.107628e-07, -1.186860e-07, -1.036614e-08, -2.279894e-07, + -9.426717e-11, -6.157933e-10, -1.005672e-09, -3.868871e-16, -5.561224e-20) + BAND03_SAT_Z_DEN_COEF = (-4.002272e-06, 1.210237e-06, -2.817331e-06, 3.966155e-06, 1.248343e-10, + 8.164710e-10, 1.344859e-09, 3.450518e-17, 3.696145e-17) + BAND03_MEAN_SUN_VECTOR = ( 0.292920598, -0.921294460, 0.255265240) + BAND03_SUN_X_NUM_COEF = ( 4.126836e-05, -1.609462e-07, -6.671766e-06, -2.474051e-14, -2.714621e-07, + 1.240365e-12, 3.887797e-11, -9.652316e-12, 4.909609e-18, 9.945627e-18) + BAND03_SUN_X_DEN_COEF = ( 4.556165e-08, 0.000000e+00, -5.675562e-12, -1.035055e-07, -4.612562e-11, + 1.935604e-11, 2.440884e-11, 2.298150e-16, 3.189670e-17) + BAND03_SUN_Y_NUM_COEF = (-1.192989e-04, 1.158496e-06, -1.769000e-06, 2.838565e-13, -7.097629e-08, + 2.061253e-11, 6.735043e-13, 2.722177e-11, 4.851006e-17, 1.903134e-17) + BAND03_SUN_Y_DEN_COEF = ( 8.047128e-06, -2.512852e-06, -1.201932e-10, 7.643549e-07, -5.068926e-11, + -6.127402e-11, 0.000000e+00, -4.981940e-16, -1.578711e-15) + BAND03_SUN_Z_NUM_COEF = ( 1.896313e-05, 4.369005e-06, 1.270404e-06, -1.403163e-13, 5.612535e-08, + -2.571596e-12, -9.059449e-13, -2.379764e-12, 1.018670e-17, -3.798944e-18) + BAND03_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 1.078995e-11, -1.991688e-09, 3.707116e-12, + 1.741345e-12, 9.175836e-12, 6.508595e-16, -1.052387e-15) + BAND03_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND03_SCA01_MEAN_HEIGHT = 750.000 + BAND03_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA01_MEAN_L1T_LINE_SAMP = (3429.260, 1138.606) + BAND03_SCA01_LINE_NUM_COEF = ( 1.654974e-01, 1.003678e+00, -2.711824e-01, 5.332771e-05, -7.787988e-06) + BAND03_SCA01_LINE_DEN_COEF = ( 3.154307e-07, -6.223973e-06, 1.128415e-10, 3.459106e-12) + BAND03_SCA01_SAMP_NUM_COEF = (-1.134552e+00, 2.974651e-01, 9.720544e-01, -4.660914e-03, -7.656549e-07) + BAND03_SCA01_SAMP_DEN_COEF = (-2.947886e-06, -7.372884e-06, -1.537261e-06, 2.424481e-12) + BAND03_SCA02_MEAN_HEIGHT = 750.000 + BAND03_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA02_MEAN_L1T_LINE_SAMP = (3120.206, 1712.474) + BAND03_SCA02_LINE_NUM_COEF = ( 1.466341e-01, 1.000671e+00, -2.802443e-01, -6.401500e-04, -4.897149e-06) + BAND03_SCA02_LINE_DEN_COEF = ( 2.567044e-07, -3.755172e-06, 1.034520e-09, 3.602787e-12) + BAND03_SCA02_SAMP_NUM_COEF = (-1.122239e+00, 3.001825e-01, 9.815551e-01, -3.967140e-03, -7.785778e-07) + BAND03_SCA02_SAMP_DEN_COEF = (-2.638985e-06, -6.340100e-06, -1.545426e-06, 1.505557e-12) + BAND03_SCA03_MEAN_HEIGHT = 750.000 + BAND03_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA03_MEAN_L1T_LINE_SAMP = (3688.831, 2016.328) + BAND03_SCA03_LINE_NUM_COEF = ( 1.483745e-01, 1.000237e+00, -2.810638e-01, 1.216672e-04, -6.093961e-06) + BAND03_SCA03_LINE_DEN_COEF = ( 2.817193e-07, -4.772100e-06, 2.802947e-11, 3.665325e-12) + BAND03_SCA03_SAMP_NUM_COEF = (-1.094074e+00, 3.011065e-01, 9.838385e-01, -3.238750e-03, -7.715396e-07) + BAND03_SCA03_SAMP_DEN_COEF = (-2.393781e-06, -5.552556e-06, -1.551514e-06, 8.333018e-13) + BAND03_SCA04_MEAN_HEIGHT = 750.000 + BAND03_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA04_MEAN_L1T_LINE_SAMP = (3381.554, 2584.655) + BAND03_SCA04_LINE_NUM_COEF = ( 1.435736e-01, 9.975886e-01, -2.889615e-01, -5.901302e-04, -5.665382e-06) + BAND03_SCA04_LINE_DEN_COEF = ( 2.754496e-07, -4.397005e-06, 1.088935e-09, 3.774450e-12) + BAND03_SCA04_SAMP_NUM_COEF = (-1.075184e+00, 3.031948e-01, 9.912732e-01, -2.525576e-03, -7.828292e-07) + BAND03_SCA04_SAMP_DEN_COEF = (-2.017088e-06, -4.297210e-06, -1.557739e-06, -2.507417e-13) + BAND03_SCA05_MEAN_HEIGHT = 750.000 + BAND03_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA05_MEAN_L1T_LINE_SAMP = (3948.857, 2884.440) + BAND03_SCA05_LINE_NUM_COEF = ( 1.626897e-01, 9.966911e-01, -2.913083e-01, 1.655596e-04, -9.337006e-06) + BAND03_SCA05_LINE_DEN_COEF = ( 3.598130e-07, -7.500738e-06, -1.813155e-10, 3.826239e-12) + BAND03_SCA05_SAMP_NUM_COEF = (-1.043101e+00, 3.035354e-01, 9.916377e-01, -1.790728e-03, -7.742277e-07) + BAND03_SCA05_SAMP_DEN_COEF = (-1.741444e-06, -3.411753e-06, -1.561719e-06, -1.001030e-12) + BAND03_SCA06_MEAN_HEIGHT = 750.000 + BAND03_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA06_MEAN_L1T_LINE_SAMP = (3643.566, 3449.265) + BAND03_SCA06_LINE_NUM_COEF = ( 1.401259e-01, 9.945531e-01, -2.975410e-01, -5.622555e-04, -6.322147e-06) + BAND03_SCA06_LINE_DEN_COEF = ( 2.926221e-07, -4.941779e-06, 1.144169e-09, 3.944061e-12) + BAND03_SCA06_SAMP_NUM_COEF = (-1.014676e+00, 3.049205e-01, 9.967620e-01, -1.063560e-03, -7.836817e-07) + BAND03_SCA06_SAMP_DEN_COEF = (-1.266649e-06, -1.834678e-06, -1.565255e-06, -2.320922e-12) + BAND03_SCA07_MEAN_HEIGHT = 750.000 + BAND03_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA07_MEAN_L1T_LINE_SAMP = (4210.659, 3746.824) + BAND03_SCA07_LINE_NUM_COEF = ( 1.462152e-01, 9.931693e-01, -3.014846e-01, 1.842050e-04, -7.582714e-06) + BAND03_SCA07_LINE_DEN_COEF = ( 3.234972e-07, -6.001488e-06, -1.431192e-10, 4.023721e-12) + BAND03_SCA07_SAMP_NUM_COEF = (-9.743982e-01, 3.045421e-01, 9.947676e-01, -3.272187e-04, -7.732101e-07) + BAND03_SCA07_SAMP_DEN_COEF = (-9.165391e-07, -7.078869e-07, -1.566610e-06, -3.257780e-12) + BAND03_SCA08_MEAN_HEIGHT = 750.000 + BAND03_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA08_MEAN_L1T_LINE_SAMP = (3906.800, 4310.565) + BAND03_SCA08_LINE_NUM_COEF = ( 1.218849e-01, 9.914793e-01, -3.062540e-01, -5.568046e-04, -4.595498e-06) + BAND03_SCA08_LINE_DEN_COEF = ( 2.528469e-07, -3.476927e-06, 8.859391e-10, 4.125737e-12) + BAND03_SCA08_SAMP_NUM_COEF = (-9.393816e-01, 3.052775e-01, 9.977559e-01, 4.075807e-04, -7.809663e-07) + BAND03_SCA08_SAMP_DEN_COEF = (-3.818492e-07, 1.066244e-06, -1.566168e-06, -4.719630e-12) + BAND03_SCA09_MEAN_HEIGHT = 750.000 + BAND03_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA09_MEAN_L1T_LINE_SAMP = (4475.490, 4607.258) + BAND03_SCA09_LINE_NUM_COEF = ( 1.440206e-01, 9.895925e-01, -3.118458e-01, 1.778483e-04, -7.992676e-06) + BAND03_SCA09_LINE_DEN_COEF = ( 3.381541e-07, -6.329192e-06, -1.501993e-10, 4.203186e-12) + BAND03_SCA09_SAMP_NUM_COEF = (-9.055848e-01, 3.042484e-01, 9.936275e-01, 1.138795e-03, -7.688273e-07) + BAND03_SCA09_SAMP_DEN_COEF = (-1.378274e-07, 1.844182e-06, -1.564550e-06, -5.381238e-12) + BAND03_SCA10_MEAN_HEIGHT = 750.000 + BAND03_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA10_MEAN_L1T_LINE_SAMP = (4172.897, 5171.902) + BAND03_SCA10_LINE_NUM_COEF = ( 1.308055e-01, 9.883533e-01, -3.151402e-01, -5.735389e-04, -6.965973e-06) + BAND03_SCA10_LINE_DEN_COEF = ( 3.134277e-07, -5.459840e-06, 1.259596e-09, 4.284476e-12) + BAND03_SCA10_SAMP_NUM_COEF = (-8.867109e-01, 3.043175e-01, 9.944243e-01, 1.875132e-03, -7.748384e-07) + BAND03_SCA10_SAMP_DEN_COEF = ( 1.736716e-07, 2.890104e-06, -1.561400e-06, -6.261050e-12) + BAND03_SCA11_MEAN_HEIGHT = 750.000 + BAND03_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA11_MEAN_L1T_LINE_SAMP = (4744.214, 5469.538) + BAND03_SCA11_LINE_NUM_COEF = ( 1.330757e-01, 9.860120e-01, -3.222179e-01, 1.456739e-04, -7.054946e-06) + BAND03_SCA11_LINE_DEN_COEF = ( 3.189356e-07, -5.525274e-06, -4.829031e-11, 4.386074e-12) + BAND03_SCA11_SAMP_NUM_COEF = (-8.378400e-01, 3.026323e-01, 9.881473e-01, 2.595348e-03, -7.610601e-07) + BAND03_SCA11_SAMP_DEN_COEF = ( 5.700701e-07, 4.164027e-06, -1.556409e-06, -7.307996e-12) + BAND03_SCA12_MEAN_HEIGHT = 750.000 + BAND03_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA12_MEAN_L1T_LINE_SAMP = (4442.938, 6037.516) + BAND03_SCA12_LINE_NUM_COEF = ( 1.084557e-01, 9.853449e-01, -3.236379e-01, -6.116867e-04, -4.704292e-06) + BAND03_SCA12_LINE_DEN_COEF = ( 2.577129e-07, -3.552415e-06, 9.692423e-10, 4.455031e-12) + BAND03_SCA12_SAMP_NUM_COEF = (-8.266819e-01, 3.020536e-01, 9.868119e-01, 3.327904e-03, -7.653656e-07) + BAND03_SCA12_SAMP_DEN_COEF = ( 7.583149e-07, 4.808374e-06, -1.551752e-06, -7.856833e-12) + BAND03_SCA13_MEAN_HEIGHT = 750.000 + BAND03_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA13_MEAN_L1T_LINE_SAMP = (5018.389, 6337.715) + BAND03_SCA13_LINE_NUM_COEF = ( 1.438117e-01, 9.824810e-01, -3.324207e-01, 8.839236e-05, -9.170177e-06) + BAND03_SCA13_LINE_DEN_COEF = ( 3.789931e-07, -7.277207e-06, 7.484614e-12, 4.557333e-12) + BAND03_SCA13_SAMP_NUM_COEF = (-7.497565e-01, 2.997188e-01, 9.784101e-01, 4.031169e-03, -7.499987e-07) + BAND03_SCA13_SAMP_DEN_COEF = ( 1.456451e-06, 7.065470e-06, -1.539800e-06, -9.661330e-12) + BAND03_SCA14_MEAN_HEIGHT = 750.000 + BAND03_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND03_SCA14_MEAN_L1T_LINE_SAMP = (4718.477, 6910.612) + BAND03_SCA14_LINE_NUM_COEF = ( 1.192420e-01, 9.823169e-01, -3.321901e-01, -6.713985e-04, -7.141469e-06) + BAND03_SCA14_LINE_DEN_COEF = ( 3.233081e-07, -5.581682e-06, 1.468706e-09, 4.616627e-12) + BAND03_SCA14_SAMP_NUM_COEF = (-7.475642e-01, 2.984866e-01, 9.749225e-01, 4.753071e-03, -7.525767e-07) + BAND03_SCA14_SAMP_DEN_COEF = ( 1.503701e-06, 7.250759e-06, -1.534633e-06, -9.843723e-12) +END_GROUP = RPC_BAND03 +GROUP = RPC_BAND04 + BAND04_NUMBER_OF_SCAS = 14 + BAND04_NUM_L1T_LINES = 8121 + BAND04_NUM_L1T_SAMPS = 8031 + BAND04_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND04_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND04_NUM_L1R_LINES = 7501 + BAND04_NUM_L1R_SAMPS = 494 + BAND04_PIXEL_SIZE = 30.000 + BAND04_START_TIME = 10.325639 + BAND04_LINE_TIME = 0.004236000 + BAND04_MEAN_HEIGHT = 750.000 + BAND04_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND04_MEAN_L1T_LINE_SAMP = (4064.370, 4026.999) + BAND04_MEAN_SAT_VECTOR = (-0.002223107, -0.003668037, 0.996272184) + BAND04_SAT_X_NUM_COEF = (-1.934509e-04, -1.134373e-06, -4.702657e-05, -3.748767e-09, -1.221557e-05, + -6.916627e-11, -1.935300e-10, -7.486908e-12, 7.024671e-16, 1.944162e-17) + BAND04_SAT_X_DEN_COEF = ( 1.079772e-05, 0.000000e+00, -1.401274e-06, -6.232561e-06, 6.792495e-11, + 5.582180e-10, 9.310657e-10, 5.319571e-16, -1.738826e-17) + BAND04_SAT_Y_NUM_COEF = (-8.903793e-04, 4.699644e-05, -1.116613e-06, -5.108535e-09, -4.362508e-05, + 5.127529e-12, 9.396138e-11, 2.738791e-10, -2.795504e-16, -4.092097e-17) + BAND04_SAT_Y_DEN_COEF = ( 1.713966e-06, 6.207818e-07, -1.401789e-06, -1.759064e-06, 5.450751e-11, + 7.666261e-10, 8.936204e-10, 2.278809e-15, -2.576268e-17) + BAND04_SAT_Z_NUM_COEF = ( 3.670773e-03, 2.109186e-07, -1.187247e-07, -1.037066e-08, -2.281498e-07, + -9.426827e-11, -6.157921e-10, -1.005678e-09, -3.869354e-16, -5.549689e-20) + BAND04_SAT_Z_DEN_COEF = (-4.004279e-06, 1.209725e-06, -2.817457e-06, 3.964031e-06, 1.247724e-10, + 8.150160e-10, 1.343018e-09, 4.946264e-17, 3.800505e-17) + BAND04_MEAN_SUN_VECTOR = ( 0.292920864, -0.921294608, 0.255265006) + BAND04_SUN_X_NUM_COEF = ( 4.087984e-05, -1.609461e-07, -6.671769e-06, -2.435253e-14, -2.714621e-07, + 1.241877e-12, 3.890092e-11, -9.652426e-12, 5.004547e-18, 9.937911e-18) + BAND04_SUN_X_DEN_COEF = ( 4.210273e-08, 0.000000e+00, -5.792600e-12, -1.035199e-07, -4.615125e-11, + 1.937404e-11, 2.440547e-11, 2.300746e-16, 3.180215e-17) + BAND04_SUN_Y_NUM_COEF = (-1.192714e-04, 1.158499e-06, -1.769006e-06, 2.475004e-13, -7.098475e-08, + 2.057645e-11, 6.789746e-13, 2.730890e-11, 4.834206e-17, 1.936204e-17) + BAND04_SUN_Y_DEN_COEF = ( 8.012580e-06, -2.565102e-06, -1.165255e-10, 7.599452e-07, -5.025857e-11, + -6.100955e-11, 0.000000e+00, -4.342441e-16, -1.306249e-15) + BAND04_SUN_Z_NUM_COEF = ( 1.890380e-05, 4.368787e-06, 1.270327e-06, -1.497560e-13, 5.620212e-08, + -2.556259e-12, -9.134585e-13, -2.374593e-12, 8.163948e-18, -1.655808e-17) + BAND04_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 5.192319e-16, -9.134423e-16) + BAND04_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND04_SCA01_MEAN_HEIGHT = 750.000 + BAND04_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA01_MEAN_L1T_LINE_SAMP = (3401.277, 1147.171) + BAND04_SCA01_LINE_NUM_COEF = ( 1.651073e-01, 1.003623e+00, -2.713586e-01, 6.462379e-06, -7.716078e-06) + BAND04_SCA01_LINE_DEN_COEF = ( 3.140314e-07, -6.162393e-06, 2.076312e-10, 3.460397e-12) + BAND04_SCA01_SAMP_NUM_COEF = (-1.134944e+00, 2.975144e-01, 9.722583e-01, -4.661869e-03, -7.662662e-07) + BAND04_SCA01_SAMP_DEN_COEF = (-2.944781e-06, -7.361597e-06, -1.537310e-06, 2.415782e-12) + BAND04_SCA02_MEAN_HEIGHT = 750.000 + BAND04_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA02_MEAN_L1T_LINE_SAMP = (3147.982, 1703.963) + BAND04_SCA02_LINE_NUM_COEF = ( 1.461081e-01, 1.000709e+00, -2.801248e-01, -5.932950e-04, -4.810794e-06) + BAND04_SCA02_LINE_DEN_COEF = ( 2.547067e-07, -3.682235e-06, 9.617035e-10, 3.603178e-12) + BAND04_SCA02_SAMP_NUM_COEF = (-1.121266e+00, 3.001399e-01, 9.813729e-01, -3.966445e-03, -7.779815e-07) + BAND04_SCA02_SAMP_DEN_COEF = (-2.635037e-06, -6.328365e-06, -1.545474e-06, 1.495734e-12) + BAND04_SCA03_MEAN_HEIGHT = 750.000 + BAND04_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA03_MEAN_L1T_LINE_SAMP = (3660.976, 2024.858) + BAND04_SCA03_LINE_NUM_COEF = ( 1.457789e-01, 1.000194e+00, -2.812002e-01, 7.467687e-05, -5.671124e-06) + BAND04_SCA03_LINE_DEN_COEF = ( 2.723843e-07, -4.413343e-06, 1.105893e-10, 3.669519e-12) + BAND04_SCA03_SAMP_NUM_COEF = (-1.095644e+00, 3.011524e-01, 9.840311e-01, -3.239364e-03, -7.721443e-07) + BAND04_SCA03_SAMP_DEN_COEF = (-2.404768e-06, -5.587249e-06, -1.551395e-06, 8.603917e-13) + BAND04_SCA04_MEAN_HEIGHT = 750.000 + BAND04_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA04_MEAN_L1T_LINE_SAMP = (3409.212, 2576.167) + BAND04_SCA04_LINE_NUM_COEF = ( 1.433864e-01, 9.976127e-01, -2.888881e-01, -5.432165e-04, -5.626965e-06) + BAND04_SCA04_LINE_DEN_COEF = ( 2.745108e-07, -4.364745e-06, 1.014522e-09, 3.774542e-12) + BAND04_SCA04_SAMP_NUM_COEF = (-1.073509e+00, 3.031547e-01, 9.910991e-01, -2.525189e-03, -7.822378e-07) + BAND04_SCA04_SAMP_DEN_COEF = (-2.004654e-06, -4.257815e-06, -1.557840e-06, -2.820736e-13) + BAND04_SCA05_MEAN_HEIGHT = 750.000 + BAND04_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA05_MEAN_L1T_LINE_SAMP = (3921.082, 2892.952) + BAND04_SCA05_LINE_NUM_COEF = ( 1.608963e-01, 9.966637e-01, -2.913922e-01, 1.184391e-04, -9.057903e-06) + BAND04_SCA05_LINE_DEN_COEF = ( 3.534357e-07, -7.264509e-06, -5.840380e-11, 3.828539e-12) + BAND04_SCA05_SAMP_NUM_COEF = (-1.042416e+00, 3.035821e-01, 9.918331e-01, -1.791063e-03, -7.748358e-07) + BAND04_SCA05_SAMP_DEN_COEF = (-1.725014e-06, -3.356779e-06, -1.561814e-06, -1.044276e-12) + BAND04_SCA06_MEAN_HEIGHT = 750.000 + BAND04_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA06_MEAN_L1T_LINE_SAMP = (3671.186, 3440.795) + BAND04_SCA06_LINE_NUM_COEF = ( 1.408131e-01, 9.945646e-01, -2.975088e-01, -5.152912e-04, -6.416005e-06) + BAND04_SCA06_LINE_DEN_COEF = ( 2.948058e-07, -5.021169e-06, 1.079590e-09, 3.943338e-12) + BAND04_SCA06_SAMP_NUM_COEF = (-1.011954e+00, 3.048778e-01, 9.965794e-01, -1.063408e-03, -7.830828e-07) + BAND04_SCA06_SAMP_DEN_COEF = (-1.241627e-06, -1.754243e-06, -1.565342e-06, -2.383840e-12) + BAND04_SCA07_MEAN_HEIGHT = 750.000 + BAND04_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA07_MEAN_L1T_LINE_SAMP = (4182.910, 3755.333) + BAND04_SCA07_LINE_NUM_COEF = ( 1.485172e-01, 9.931614e-01, -3.015046e-01, 1.369942e-04, -7.957997e-06) + BAND04_SCA07_LINE_DEN_COEF = ( 3.325213e-07, -6.317666e-06, -6.337790e-11, 4.021034e-12) + BAND04_SCA07_SAMP_NUM_COEF = (-9.727782e-01, 3.045865e-01, 9.949554e-01, -3.272665e-04, -7.738122e-07) + BAND04_SCA07_SAMP_DEN_COEF = (-8.886240e-07, -6.152918e-07, -1.566636e-06, -3.330364e-12) + BAND04_SCA08_MEAN_HEIGHT = 750.000 + BAND04_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA08_MEAN_L1T_LINE_SAMP = (3934.404, 4302.101) + BAND04_SCA08_LINE_NUM_COEF = ( 1.216228e-01, 9.914725e-01, -3.062820e-01, -5.098639e-04, -4.532106e-06) + BAND04_SCA08_LINE_DEN_COEF = ( 2.513037e-07, -3.423667e-06, 8.214471e-10, 4.126383e-12) + BAND04_SCA08_SAMP_NUM_COEF = (-9.412237e-01, 3.052373e-01, 9.975817e-01, 4.074827e-04, -7.803749e-07) + BAND04_SCA08_SAMP_DEN_COEF = (-4.124479e-07, 9.647628e-07, -1.566210e-06, -4.639542e-12) + BAND04_SCA09_MEAN_HEIGHT = 750.000 + BAND04_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA09_MEAN_L1T_LINE_SAMP = (4447.742, 4615.776) + BAND04_SCA09_LINE_NUM_COEF = ( 1.418305e-01, 9.896027e-01, -3.118066e-01, 1.307054e-04, -7.688763e-06) + BAND04_SCA09_LINE_DEN_COEF = ( 3.305872e-07, -6.073712e-06, -4.174356e-11, 4.204231e-12) + BAND04_SCA09_SAMP_NUM_COEF = (-9.056022e-01, 3.042995e-01, 9.938369e-01, 1.139055e-03, -7.694445e-07) + BAND04_SCA09_SAMP_DEN_COEF = (-1.294653e-07, 1.873006e-06, -1.564512e-06, -5.404467e-12) + BAND04_SCA10_MEAN_HEIGHT = 750.000 + BAND04_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA10_MEAN_L1T_LINE_SAMP = (4200.542, 5163.420) + BAND04_SCA10_LINE_NUM_COEF = ( 1.317725e-01, 9.883345e-01, -3.152075e-01, -5.266578e-04, -7.081342e-06) + BAND04_SCA10_LINE_DEN_COEF = ( 3.163598e-07, -5.556740e-06, 1.190435e-09, 4.284451e-12) + BAND04_SCA10_SAMP_NUM_COEF = (-8.873238e-01, 3.042776e-01, 9.942512e-01, 1.874773e-03, -7.742497e-07) + BAND04_SCA10_SAMP_DEN_COEF = ( 1.580580e-07, 2.837531e-06, -1.561501e-06, -6.219139e-12) + BAND04_SCA11_MEAN_HEIGHT = 750.000 + BAND04_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA11_MEAN_L1T_LINE_SAMP = (4716.420, 5478.075) + BAND04_SCA11_LINE_NUM_COEF = ( 1.328487e-01, 9.860296e-01, -3.221546e-01, 9.857378e-05, -7.049433e-06) + BAND04_SCA11_LINE_DEN_COEF = ( 3.187591e-07, -5.520642e-06, 3.846379e-11, 4.385470e-12) + BAND04_SCA11_SAMP_NUM_COEF = (-8.370959e-01, 3.026779e-01, 9.883385e-01, 2.595868e-03, -7.616603e-07) + BAND04_SCA11_SAMP_DEN_COEF = ( 5.874488e-07, 4.222384e-06, -1.556251e-06, -7.354606e-12) + BAND04_SCA12_MEAN_HEIGHT = 750.000 + BAND04_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA12_MEAN_L1T_LINE_SAMP = (4470.652, 6029.009) + BAND04_SCA12_LINE_NUM_COEF = ( 1.097922e-01, 9.853087e-01, -3.237624e-01, -5.649838e-04, -4.861231e-06) + BAND04_SCA12_LINE_DEN_COEF = ( 2.618147e-07, -3.683907e-06, 9.351095e-10, 4.455527e-12) + BAND04_SCA12_SAMP_NUM_COEF = (-8.251156e-01, 3.020111e-01, 9.866307e-01, 3.327259e-03, -7.647741e-07) + BAND04_SCA12_SAMP_DEN_COEF = ( 7.689535e-07, 4.841493e-06, -1.551642e-06, -7.881538e-12) + BAND04_SCA13_MEAN_HEIGHT = 750.000 + BAND04_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA13_MEAN_L1T_LINE_SAMP = (4990.483, 6346.294) + BAND04_SCA13_LINE_NUM_COEF = ( 1.429419e-01, 9.825227e-01, -3.322787e-01, 4.151841e-05, -9.089370e-06) + BAND04_SCA13_LINE_DEN_COEF = ( 3.767287e-07, -7.209902e-06, 1.204772e-10, 4.556560e-12) + BAND04_SCA13_SAMP_NUM_COEF = (-7.493221e-01, 2.997672e-01, 9.786097e-01, 4.032012e-03, -7.506015e-07) + BAND04_SCA13_SAMP_DEN_COEF = ( 1.470166e-06, 7.111978e-06, -1.539603e-06, -9.698823e-12) + BAND04_SCA14_MEAN_HEIGHT = 750.000 + BAND04_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND04_SCA14_MEAN_L1T_LINE_SAMP = (4746.315, 6902.064) + BAND04_SCA14_LINE_NUM_COEF = ( 1.216306e-01, 9.822607e-01, -3.323800e-01, -6.249880e-04, -7.423939e-06) + BAND04_SCA14_LINE_DEN_COEF = ( 3.309288e-07, -5.817573e-06, 1.428341e-09, 4.617737e-12) + BAND04_SCA14_SAMP_NUM_COEF = (-7.503341e-01, 2.984479e-01, 9.747544e-01, 4.752225e-03, -7.519998e-07) + BAND04_SCA14_SAMP_DEN_COEF = ( 1.462656e-06, 7.114959e-06, -1.535297e-06, -9.737684e-12) +END_GROUP = RPC_BAND04 +GROUP = RPC_BAND05 + BAND05_NUMBER_OF_SCAS = 14 + BAND05_NUM_L1T_LINES = 8121 + BAND05_NUM_L1T_SAMPS = 8031 + BAND05_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND05_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND05_NUM_L1R_LINES = 7501 + BAND05_NUM_L1R_SAMPS = 494 + BAND05_PIXEL_SIZE = 30.000 + BAND05_START_TIME = 10.325639 + BAND05_LINE_TIME = 0.004236000 + BAND05_MEAN_HEIGHT = 750.000 + BAND05_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND05_MEAN_L1T_LINE_SAMP = (4064.334, 4027.007) + BAND05_MEAN_SAT_VECTOR = (-0.002221235, -0.003671013, 0.996283876) + BAND05_SAT_X_NUM_COEF = (-1.965158e-04, -1.134342e-06, -4.702716e-05, -3.749136e-09, -1.221576e-05, + -6.909801e-11, -1.932842e-10, -7.412926e-12, 6.936090e-16, 1.947849e-17) + BAND05_SAT_X_DEN_COEF = ( 1.078766e-05, 0.000000e+00, -1.401275e-06, -6.227601e-06, 6.814585e-11, + 5.581610e-10, 9.312965e-10, 5.317813e-16, -1.747545e-17) + BAND05_SAT_Y_NUM_COEF = (-8.902276e-04, 4.699704e-05, -1.116578e-06, -5.109131e-09, -4.362524e-05, + 5.151456e-12, 9.408399e-11, 2.740275e-10, -3.014494e-16, -4.090589e-17) + BAND05_SAT_Y_DEN_COEF = ( 1.673926e-06, 6.463739e-07, -1.401566e-06, -1.712987e-06, 5.514454e-11, + 7.734768e-10, 8.926428e-10, 2.376414e-15, -2.933830e-17) + BAND05_SAT_Z_NUM_COEF = ( 3.670895e-03, 2.109991e-07, -1.187373e-07, -1.037473e-08, -2.282334e-07, + -9.426904e-11, -6.157898e-10, -1.005681e-09, -3.869809e-16, -5.533423e-20) + BAND05_SAT_Z_DEN_COEF = (-4.012084e-06, 1.210786e-06, -2.817568e-06, 3.967683e-06, 1.246850e-10, + 8.134938e-10, 1.340980e-09, 6.309628e-17, 3.891068e-17) + BAND05_MEAN_SUN_VECTOR = ( 0.292921183, -0.921294686, 0.255264891) + BAND05_SUN_X_NUM_COEF = ( 4.050907e-05, -1.609464e-07, -6.671770e-06, -2.402811e-14, -2.714619e-07, + 1.243865e-12, 3.893111e-11, -9.652550e-12, 5.135596e-18, 9.922426e-18) + BAND05_SUN_X_DEN_COEF = ( 3.754811e-08, 0.000000e+00, -5.957728e-12, -1.035421e-07, -4.618963e-11, + 1.939656e-11, 2.440142e-11, 2.303282e-16, 3.168366e-17) + BAND05_SUN_Y_NUM_COEF = (-1.192556e-04, 1.158505e-06, -1.769013e-06, 2.126894e-13, -7.099429e-08, + 2.054223e-11, 6.880212e-13, 2.738415e-11, 4.805823e-17, 1.977308e-17) + BAND05_SUN_Y_DEN_COEF = ( 7.980037e-06, -2.610536e-06, -1.131935e-10, 7.559154e-07, -4.979624e-11, + -6.084896e-11, 0.000000e+00, -3.746293e-16, -1.061534e-15) + BAND05_SUN_Z_NUM_COEF = ( 1.883786e-05, 4.368802e-06, 1.270322e-06, -1.581232e-13, 5.618772e-08, + -2.609426e-12, -9.222310e-13, -2.363964e-12, 8.096224e-18, -1.653893e-17) + BAND05_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -9.798946e-11, -1.579880e-08, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 3.748145e-16, -5.957594e-16) + BAND05_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND05_SCA01_MEAN_HEIGHT = 750.000 + BAND05_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA01_MEAN_L1T_LINE_SAMP = (3373.304, 1155.702) + BAND05_SCA01_LINE_NUM_COEF = ( 1.630709e-01, 1.003569e+00, -2.715298e-01, -4.039051e-05, -7.375244e-06) + BAND05_SCA01_LINE_DEN_COEF = ( 3.068376e-07, -5.872271e-06, 2.978363e-10, 3.464415e-12) + BAND05_SCA01_SAMP_NUM_COEF = (-1.135783e+00, 2.975574e-01, 9.724415e-01, -4.662769e-03, -7.668611e-07) + BAND05_SCA01_SAMP_DEN_COEF = (-2.947190e-06, -7.368333e-06, -1.537273e-06, 2.421325e-12) + BAND05_SCA02_MEAN_HEIGHT = 750.000 + BAND05_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA02_MEAN_L1T_LINE_SAMP = (3175.807, 1695.410) + BAND05_SCA02_LINE_NUM_COEF = ( 1.477171e-01, 1.000757e+00, -2.799744e-01, -5.464769e-04, -5.075113e-06) + BAND05_SCA02_LINE_DEN_COEF = ( 2.604736e-07, -3.906673e-06, 9.406757e-10, 3.599846e-12) + BAND05_SCA02_SAMP_NUM_COEF = (-1.121631e+00, 3.000881e-01, 9.811607e-01, -3.965668e-03, -7.773609e-07) + BAND05_SCA02_SAMP_DEN_COEF = (-2.647422e-06, -6.370035e-06, -1.545306e-06, 1.528683e-12) + BAND05_SCA03_MEAN_HEIGHT = 750.000 + BAND05_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA03_MEAN_L1T_LINE_SAMP = (3633.118, 2033.370) + BAND05_SCA03_LINE_NUM_COEF = ( 1.443532e-01, 1.000151e+00, -2.813335e-01, 2.767652e-05, -5.438445e-06) + BAND05_SCA03_LINE_DEN_COEF = ( 2.672853e-07, -4.215796e-06, 1.814818e-10, 3.671959e-12) + BAND05_SCA03_SAMP_NUM_COEF = (-1.096862e+00, 3.011915e-01, 9.842019e-01, -3.239933e-03, -7.727321e-07) + BAND05_SCA03_SAMP_DEN_COEF = (-2.411727e-06, -5.608781e-06, -1.551320e-06, 8.772442e-13) + BAND05_SCA04_MEAN_HEIGHT = 750.000 + BAND05_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA04_MEAN_L1T_LINE_SAMP = (3436.940, 2567.642) + BAND05_SCA04_LINE_NUM_COEF = ( 1.435827e-01, 9.976539e-01, -2.887588e-01, -4.963209e-04, -5.659469e-06) + BAND05_SCA04_LINE_DEN_COEF = ( 2.751614e-07, -4.392554e-06, 9.501843e-10, 3.773674e-12) + BAND05_SCA04_SAMP_NUM_COEF = (-1.075610e+00, 3.031065e-01, 9.908983e-01, -2.524752e-03, -7.816244e-07) + BAND05_SCA04_SAMP_DEN_COEF = (-2.038218e-06, -4.368803e-06, -1.557558e-06, -1.939697e-13) + BAND05_SCA05_MEAN_HEIGHT = 750.000 + BAND05_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA05_MEAN_L1T_LINE_SAMP = (3893.325, 2901.450) + BAND05_SCA05_LINE_NUM_COEF = ( 1.570324e-01, 9.966390e-01, -2.914675e-01, 7.134400e-05, -8.449612e-06) + BAND05_SCA05_LINE_DEN_COEF = ( 3.394262e-07, -6.750052e-06, 6.372690e-11, 3.833381e-12) + BAND05_SCA05_SAMP_NUM_COEF = (-1.042304e+00, 3.036268e-01, 9.920220e-01, -1.791398e-03, -7.754386e-07) + BAND05_SCA05_SAMP_DEN_COEF = (-1.715592e-06, -3.324696e-06, -1.561868e-06, -1.069578e-12) + BAND05_SCA06_MEAN_HEIGHT = 750.000 + BAND05_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA06_MEAN_L1T_LINE_SAMP = (3698.857, 3432.304) + BAND05_SCA06_LINE_NUM_COEF = ( 1.391999e-01, 9.945861e-01, -2.974443e-01, -4.682649e-04, -6.151604e-06) + BAND05_SCA06_LINE_DEN_COEF = ( 2.885041e-07, -4.798261e-06, 9.690718e-10, 3.944960e-12) + BAND05_SCA06_SAMP_NUM_COEF = (-1.012949e+00, 3.048308e-01, 9.963827e-01, -1.063242e-03, -7.824723e-07) + BAND05_SCA06_SAMP_DEN_COEF = (-1.262012e-06, -1.822238e-06, -1.565270e-06, -2.329682e-12) + BAND05_SCA07_MEAN_HEIGHT = 750.000 + BAND05_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA07_MEAN_L1T_LINE_SAMP = (4155.179, 3763.834) + BAND05_SCA07_LINE_NUM_COEF = ( 1.470461e-01, 9.931544e-01, -3.015219e-01, 8.982821e-05, -7.746402e-06) + BAND05_SCA07_LINE_DEN_COEF = ( 3.274710e-07, -6.139153e-06, 3.919686e-11, 4.022183e-12) + BAND05_SCA07_SAMP_NUM_COEF = (-9.742031e-01, 3.046316e-01, 9.951455e-01, -3.273126e-04, -7.744159e-07) + BAND05_SCA07_SAMP_DEN_COEF = (-8.977151e-07, -6.435788e-07, -1.566622e-06, -3.308966e-12) + BAND05_SCA08_MEAN_HEIGHT = 750.000 + BAND05_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA08_MEAN_L1T_LINE_SAMP = (3962.056, 4293.629) + BAND05_SCA08_LINE_NUM_COEF = ( 1.204814e-01, 9.914652e-01, -3.063115e-01, -4.628423e-04, -4.332731e-06) + BAND05_SCA08_LINE_DEN_COEF = ( 2.464494e-07, -3.255924e-06, 7.420516e-10, 4.127788e-12) + BAND05_SCA08_SAMP_NUM_COEF = (-9.400281e-01, 3.051894e-01, 9.973823e-01, 4.073796e-04, -7.797631e-07) + BAND05_SCA08_SAMP_DEN_COEF = (-4.063290e-07, 9.832845e-07, -1.566203e-06, -4.653411e-12) + BAND05_SCA09_MEAN_HEIGHT = 750.000 + BAND05_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA09_MEAN_L1T_LINE_SAMP = (4419.987, 4624.298) + BAND05_SCA09_LINE_NUM_COEF = ( 1.412277e-01, 9.896159e-01, -3.117579e-01, 8.355667e-05, -7.625142e-06) + BAND05_SCA09_LINE_DEN_COEF = ( 3.289795e-07, -6.020211e-06, 5.402400e-11, 4.203997e-12) + BAND05_SCA09_SAMP_NUM_COEF = (-9.070989e-01, 3.043461e-01, 9.940317e-01, 1.139306e-03, -7.700506e-07) + BAND05_SCA09_SAMP_DEN_COEF = (-1.392548e-07, 1.842547e-06, -1.564543e-06, -5.381626e-12) + BAND05_SCA10_MEAN_HEIGHT = 750.000 + BAND05_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA10_MEAN_L1T_LINE_SAMP = (4228.220, 5154.930) + BAND05_SCA10_LINE_NUM_COEF = ( 1.335773e-01, 9.883140e-01, -3.152805e-01, -4.797352e-04, -7.320451e-06) + BAND05_SCA10_LINE_DEN_COEF = ( 3.224027e-07, -5.757544e-06, 1.133806e-09, 4.284007e-12) + BAND05_SCA10_SAMP_NUM_COEF = (-8.906123e-01, 3.042346e-01, 9.940683e-01, 1.874405e-03, -7.736530e-07) + BAND05_SCA10_SAMP_DEN_COEF = ( 1.098154e-07, 2.678347e-06, -1.561802e-06, -6.094348e-12) + BAND05_SCA11_MEAN_HEIGHT = 750.000 + BAND05_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA11_MEAN_L1T_LINE_SAMP = (4688.614, 5486.628) + BAND05_SCA11_LINE_NUM_COEF = ( 1.312127e-01, 9.860544e-01, -3.220680e-01, 5.151332e-05, -6.843757e-06) + BAND05_SCA11_LINE_DEN_COEF = ( 3.134269e-07, -5.348296e-06, 1.276992e-10, 4.385439e-12) + BAND05_SCA11_SAMP_NUM_COEF = (-8.376383e-01, 3.027226e-01, 9.885266e-01, 2.596403e-03, -7.622585e-07) + BAND05_SCA11_SAMP_DEN_COEF = ( 5.892475e-07, 4.229872e-06, -1.556226e-06, -7.361677e-12) + BAND05_SCA12_MEAN_HEIGHT = 750.000 + BAND05_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA12_MEAN_L1T_LINE_SAMP = (4498.426, 6020.503) + BAND05_SCA12_LINE_NUM_COEF = ( 1.082955e-01, 9.852821e-01, -3.238555e-01, -5.180754e-04, -4.616665e-06) + BAND05_SCA12_LINE_DEN_COEF = ( 2.555410e-07, -3.479027e-06, 8.427530e-10, 4.456528e-12) + BAND05_SCA12_SAMP_NUM_COEF = (-8.262502e-01, 3.019677e-01, 9.864466e-01, 3.326638e-03, -7.641795e-07) + BAND05_SCA12_SAMP_DEN_COEF = ( 7.469708e-07, 4.768042e-06, -1.551891e-06, -7.823137e-12) + BAND05_SCA13_MEAN_HEIGHT = 750.000 + BAND05_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA13_MEAN_L1T_LINE_SAMP = (4962.627, 6354.878) + BAND05_SCA13_LINE_NUM_COEF = ( 1.385752e-01, 9.825481e-01, -3.321897e-01, -5.489265e-06, -8.517800e-06) + BAND05_SCA13_LINE_DEN_COEF = ( 3.615072e-07, -6.732335e-06, 2.311562e-10, 4.556875e-12) + BAND05_SCA13_SAMP_NUM_COEF = (-7.497544e-01, 2.998104e-01, 9.787926e-01, 4.032821e-03, -7.511910e-07) + BAND05_SCA13_SAMP_DEN_COEF = ( 1.473273e-06, 7.123860e-06, -1.539548e-06, -9.710573e-12) + BAND05_SCA14_MEAN_HEIGHT = 750.000 + BAND05_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND05_SCA14_MEAN_L1T_LINE_SAMP = (4774.214, 6893.522) + BAND05_SCA14_LINE_NUM_COEF = ( 1.252292e-01, 9.822166e-01, -3.325303e-01, -5.782957e-04, -7.876516e-06) + BAND05_SCA14_LINE_DEN_COEF = ( 3.430390e-07, -6.195689e-06, 1.406176e-09, 4.618661e-12) + BAND05_SCA14_SAMP_NUM_COEF = (-7.489470e-01, 2.983965e-01, 9.745447e-01, 4.751209e-03, -7.513899e-07) + BAND05_SCA14_SAMP_DEN_COEF = ( 1.470581e-06, 7.139103e-06, -1.535181e-06, -9.754617e-12) +END_GROUP = RPC_BAND05 +GROUP = RPC_BAND06 + BAND06_NUMBER_OF_SCAS = 14 + BAND06_NUM_L1T_LINES = 8121 + BAND06_NUM_L1T_SAMPS = 8031 + BAND06_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND06_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND06_NUM_L1R_LINES = 7501 + BAND06_NUM_L1R_SAMPS = 494 + BAND06_PIXEL_SIZE = 30.000 + BAND06_START_TIME = 10.325639 + BAND06_LINE_TIME = 0.004236000 + BAND06_MEAN_HEIGHT = 750.000 + BAND06_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND06_MEAN_L1T_LINE_SAMP = (4064.934, 4026.859) + BAND06_MEAN_SAT_VECTOR = (-0.002225730, -0.003636620, 0.996217561) + BAND06_SAT_X_NUM_COEF = (-1.810577e-04, -1.134373e-06, -4.702384e-05, -3.741403e-09, -1.221484e-05, + -6.920364e-11, -1.937030e-10, -7.654588e-12, 7.133054e-16, 1.942903e-17) + BAND06_SAT_X_DEN_COEF = ( 1.081050e-05, 0.000000e+00, -1.401270e-06, -6.242691e-06, 6.764980e-11, + 5.581550e-10, 9.303011e-10, 5.340444e-16, -1.730044e-17) + BAND06_SAT_Y_NUM_COEF = (-8.886778e-04, 4.699395e-05, -1.116904e-06, -5.085557e-09, -4.362451e-05, + 4.974807e-12, 9.307213e-11, 2.725824e-10, -1.668087e-16, -4.101807e-17) + BAND06_SAT_Y_DEN_COEF = ( 2.060161e-06, 4.000469e-07, -1.402653e-06, -2.145675e-06, 5.350415e-11, + 7.334124e-10, 8.986096e-10, 1.835257e-15, -6.140159e-18) + BAND06_SAT_Z_NUM_COEF = ( 3.670510e-03, 2.096456e-07, -1.184258e-07, -1.035234e-08, -2.268722e-07, + -9.426175e-11, -6.157808e-10, -1.005626e-09, -3.867525e-16, -5.575554e-20) + BAND06_SAT_Z_DEN_COEF = (-3.998468e-06, 1.210437e-06, -2.816975e-06, 3.972052e-06, 1.248244e-10, + 8.189839e-10, 1.346865e-09, -5.324861e-18, 3.383653e-17) + BAND06_MEAN_SUN_VECTOR = ( 0.292920293, -0.921293539, 0.255267140) + BAND06_SUN_X_NUM_COEF = ( 4.229328e-05, -1.609487e-07, -6.671743e-06, -2.594149e-14, -2.714619e-07, + 1.237838e-12, 3.883937e-11, -9.652058e-12, 4.752221e-18, 9.948552e-18) + BAND06_SUN_X_DEN_COEF = ( 5.134899e-08, 0.000000e+00, -5.500668e-12, -1.034901e-07, -4.609210e-11, + 1.932064e-11, 2.441516e-11, 2.290838e-16, 3.208379e-17) + BAND06_SUN_Y_NUM_COEF = (-1.194114e-04, 1.158496e-06, -1.768980e-06, 3.786341e-13, -7.095708e-08, + 2.070350e-11, 6.813693e-13, 2.696226e-11, 4.848885e-17, 1.832370e-17) + BAND06_SUN_Y_DEN_COEF = ( 8.135343e-06, -2.358600e-06, -1.304586e-10, 7.763427e-07, -5.176564e-11, + -6.232063e-11, 0.000000e+00, -6.653384e-16, -2.340806e-15) + BAND06_SUN_Z_NUM_COEF = ( 1.915201e-05, 4.369013e-06, 1.270410e-06, -1.182609e-13, 5.611569e-08, + -2.556060e-12, -8.792479e-13, -2.396976e-12, 7.631478e-18, -3.055297e-18) + BAND06_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 1.049203e-11, 9.387414e-09, 3.688469e-12, + 1.145243e-12, 9.910658e-12, 1.079201e-15, -1.746642e-15) + BAND06_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND06_SCA01_MEAN_HEIGHT = 750.000 + BAND06_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA01_MEAN_L1T_LINE_SAMP = (3497.988, 1117.480) + BAND06_SCA01_LINE_NUM_COEF = ( 1.627801e-01, 1.003850e+00, -2.706346e-01, 1.679326e-04, -7.383505e-06) + BAND06_SCA01_LINE_DEN_COEF = ( 3.062935e-07, -5.881476e-06, -1.010688e-10, 3.461268e-12) + BAND06_SCA01_SAMP_NUM_COEF = (-1.132332e+00, 2.973452e-01, 9.715580e-01, -4.658729e-03, -7.641579e-07) + BAND06_SCA01_SAMP_DEN_COEF = (-2.940517e-06, -7.351601e-06, -1.537375e-06, 2.408995e-12) + BAND06_SCA02_MEAN_HEIGHT = 750.000 + BAND06_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA02_MEAN_L1T_LINE_SAMP = (3052.591, 1733.245) + BAND06_SCA02_LINE_NUM_COEF = ( 1.441226e-01, 1.000539e+00, -2.806641e-01, -7.536977e-04, -4.470301e-06) + BAND06_SCA02_LINE_DEN_COEF = ( 2.474848e-07, -3.392464e-06, 1.095472e-09, 3.609042e-12) + BAND06_SCA02_SAMP_NUM_COEF = (-1.118839e+00, 3.002575e-01, 9.819049e-01, -3.968376e-03, -7.799556e-07) + BAND06_SCA02_SAMP_DEN_COEF = (-2.580358e-06, -6.145517e-06, -1.546213e-06, 1.350407e-12) + BAND06_SCA03_MEAN_HEIGHT = 750.000 + BAND06_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA03_MEAN_L1T_LINE_SAMP = (3757.233, 1995.316) + BAND06_SCA03_LINE_NUM_COEF = ( 1.477409e-01, 1.000312e+00, -2.808329e-01, 2.374548e-04, -5.974885e-06) + BAND06_SCA03_LINE_DEN_COEF = ( 2.788851e-07, -4.671829e-06, -1.478790e-10, 3.666183e-12) + BAND06_SCA03_SAMP_NUM_COEF = (-1.096678e+00, 3.009601e-01, 9.832551e-01, -3.236971e-03, -7.699691e-07) + BAND06_SCA03_SAMP_DEN_COEF = (-2.445528e-06, -5.724592e-06, -1.550959e-06, 9.665404e-13) + BAND06_SCA04_MEAN_HEIGHT = 750.000 + BAND06_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA04_MEAN_L1T_LINE_SAMP = (3314.142, 2605.297) + BAND06_SCA04_LINE_NUM_COEF = ( 1.390701e-01, 9.974784e-01, -2.893089e-01, -7.040081e-04, -4.932815e-06) + BAND06_SCA04_LINE_DEN_COEF = ( 2.588932e-07, -3.776580e-06, 1.122712e-09, 3.782429e-12) + BAND06_SCA04_SAMP_NUM_COEF = (-1.073911e+00, 3.032871e-01, 9.916799e-01, -2.526549e-03, -7.842573e-07) + BAND06_SCA04_SAMP_DEN_COEF = (-1.982744e-06, -4.181854e-06, -1.558033e-06, -3.439052e-13) + BAND06_SCA05_MEAN_HEIGHT = 750.000 + BAND06_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA05_MEAN_L1T_LINE_SAMP = (4017.189, 2863.475) + BAND06_SCA05_LINE_NUM_COEF = ( 1.581162e-01, 9.967404e-01, -2.911607e-01, 2.816343e-04, -8.576879e-06) + BAND06_SCA05_LINE_DEN_COEF = ( 3.420752e-07, -6.858798e-06, -4.073227e-10, 3.832287e-12) + BAND06_SCA05_SAMP_NUM_COEF = (-1.036182e+00, 3.033830e-01, 9.910345e-01, -1.789728e-03, -7.726372e-07) + BAND06_SCA05_SAMP_DEN_COEF = (-1.678908e-06, -3.210660e-06, -1.562095e-06, -1.157931e-12) + BAND06_SCA06_MEAN_HEIGHT = 750.000 + BAND06_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA06_MEAN_L1T_LINE_SAMP = (3576.117, 3470.079) + BAND06_SCA06_LINE_NUM_COEF = ( 1.360663e-01, 9.944874e-01, -2.977420e-01, -6.768661e-04, -5.694243e-06) + BAND06_SCA06_LINE_DEN_COEF = ( 2.779478e-07, -4.411262e-06, 1.222099e-09, 3.949370e-12) + BAND06_SCA06_SAMP_NUM_COEF = (-1.009418e+00, 3.049965e-01, 9.971156e-01, -1.063644e-03, -7.850725e-07) + BAND06_SCA06_SAMP_DEN_COEF = (-1.183831e-06, -1.560605e-06, -1.565548e-06, -2.539213e-12) + BAND06_SCA07_MEAN_HEIGHT = 750.000 + BAND06_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA07_MEAN_L1T_LINE_SAMP = (4278.971, 3725.929) + BAND06_SCA07_LINE_NUM_COEF = ( 1.457678e-01, 9.931672e-01, -3.015051e-01, 3.004082e-04, -7.458542e-06) + BAND06_SCA07_LINE_DEN_COEF = ( 3.205116e-07, -5.897084e-06, -3.626545e-10, 4.025571e-12) + BAND06_SCA07_SAMP_NUM_COEF = (-9.690069e-01, 3.044093e-01, 9.942288e-01, -3.270046e-04, -7.716695e-07) + BAND06_SCA07_SAMP_DEN_COEF = (-8.720722e-07, -5.661182e-07, -1.566669e-06, -3.367399e-12) + BAND06_SCA08_MEAN_HEIGHT = 750.000 + BAND06_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA08_MEAN_L1T_LINE_SAMP = (3839.599, 4331.267) + BAND06_SCA08_LINE_NUM_COEF = ( 1.237087e-01, 9.914412e-01, -3.063644e-01, -6.712026e-04, -4.903408e-06) + BAND06_SCA08_LINE_DEN_COEF = ( 2.604429e-07, -3.735694e-06, 1.076341e-09, 4.124502e-12) + BAND06_SCA08_SAMP_NUM_COEF = (-9.455130e-01, 3.053525e-01, 9.981055e-01, 4.079646e-04, -7.823486e-07) + BAND06_SCA08_SAMP_DEN_COEF = (-4.376679e-07, 8.873882e-07, -1.566239e-06, -4.583793e-12) + BAND06_SCA09_MEAN_HEIGHT = 750.000 + BAND06_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA09_MEAN_L1T_LINE_SAMP = (4543.880, 4586.372) + BAND06_SCA09_LINE_NUM_COEF = ( 1.472637e-01, 9.895699e-01, -3.119334e-01, 2.940051e-04, -8.417827e-06) + BAND06_SCA09_LINE_DEN_COEF = ( 3.487628e-07, -6.686625e-06, -4.244983e-10, 4.202244e-12) + BAND06_SCA09_SAMP_NUM_COEF = (-9.014716e-01, 3.041164e-01, 9.930918e-01, 1.138295e-03, -7.672920e-07) + BAND06_SCA09_SAMP_DEN_COEF = (-1.092200e-07, 1.933873e-06, -1.564460e-06, -5.448208e-12) + BAND06_SCA10_MEAN_HEIGHT = 750.000 + BAND06_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA10_MEAN_L1T_LINE_SAMP = (4105.568, 5192.722) + BAND06_SCA10_LINE_NUM_COEF = ( 1.332131e-01, 9.884251e-01, -3.148908e-01, -6.876503e-04, -7.410736e-06) + BAND06_SCA10_LINE_DEN_COEF = ( 3.244114e-07, -5.833557e-06, 1.545826e-09, 4.281543e-12) + BAND06_SCA10_SAMP_NUM_COEF = (-8.943813e-01, 3.044044e-01, 9.948120e-01, 1.876215e-03, -7.762466e-07) + BAND06_SCA10_SAMP_DEN_COEF = ( 9.990692e-08, 2.652827e-06, -1.561846e-06, -6.076809e-12) + BAND06_SCA11_MEAN_HEIGHT = 750.000 + BAND06_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA11_MEAN_L1T_LINE_SAMP = (4812.644, 5448.739) + BAND06_SCA11_LINE_NUM_COEF = ( 1.336173e-01, 9.859270e-01, -3.225096e-01, 2.611681e-04, -7.043859e-06) + BAND06_SCA11_LINE_DEN_COEF = ( 3.188390e-07, -5.515773e-06, -2.599525e-10, 4.388485e-12) + BAND06_SCA11_SAMP_NUM_COEF = (-8.333028e-01, 3.024904e-01, 9.875802e-01, 2.594151e-03, -7.595093e-07) + BAND06_SCA11_SAMP_DEN_COEF = ( 6.030254e-07, 4.267662e-06, -1.556150e-06, -7.385852e-12) + BAND06_SCA12_MEAN_HEIGHT = 750.000 + BAND06_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA12_MEAN_L1T_LINE_SAMP = (4375.529, 6058.145) + BAND06_SCA12_LINE_NUM_COEF = ( 1.052483e-01, 9.854167e-01, -3.233887e-01, -7.254304e-04, -4.319264e-06) + BAND06_SCA12_LINE_DEN_COEF = ( 2.476956e-07, -3.229708e-06, 1.035865e-09, 4.454140e-12) + BAND06_SCA12_SAMP_NUM_COEF = (-8.231830e-01, 3.021411e-01, 9.872003e-01, 3.329198e-03, -7.667646e-07) + BAND06_SCA12_SAMP_DEN_COEF = ( 8.199371e-07, 5.013694e-06, -1.551058e-06, -8.019639e-12) + BAND06_SCA13_MEAN_HEIGHT = 750.000 + BAND06_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA13_MEAN_L1T_LINE_SAMP = (5086.984, 6316.605) + BAND06_SCA13_LINE_NUM_COEF = ( 1.469773e-01, 9.823984e-01, -3.327054e-01, 2.038882e-04, -9.518161e-06) + BAND06_SCA13_LINE_DEN_COEF = ( 3.884734e-07, -7.567560e-06, -2.873247e-10, 4.558609e-12) + BAND06_SCA13_SAMP_NUM_COEF = (-7.488151e-01, 2.995787e-01, 9.778502e-01, 4.028781e-03, -7.484645e-07) + BAND06_SCA13_SAMP_DEN_COEF = ( 1.445863e-06, 7.026645e-06, -1.539975e-06, -9.626227e-12) + BAND06_SCA14_MEAN_HEIGHT = 750.000 + BAND06_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND06_SCA14_MEAN_L1T_LINE_SAMP = (4650.645, 6931.349) + BAND06_SCA14_LINE_NUM_COEF = ( 1.274540e-01, 9.824442e-01, -3.317590e-01, -7.846364e-04, -8.367717e-06) + BAND06_SCA14_LINE_DEN_COEF = ( 3.554521e-07, -6.607392e-06, 1.929852e-09, 4.615375e-12) + BAND06_SCA14_SAMP_NUM_COEF = (-7.521040e-01, 2.985550e-01, 9.752476e-01, 4.754607e-03, -7.539177e-07) + BAND06_SCA14_SAMP_DEN_COEF = ( 1.467998e-06, 7.138379e-06, -1.535178e-06, -9.759897e-12) +END_GROUP = RPC_BAND06 +GROUP = RPC_BAND07 + BAND07_NUMBER_OF_SCAS = 14 + BAND07_NUM_L1T_LINES = 8121 + BAND07_NUM_L1T_SAMPS = 8031 + BAND07_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND07_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND07_NUM_L1R_LINES = 7501 + BAND07_NUM_L1R_SAMPS = 494 + BAND07_PIXEL_SIZE = 30.000 + BAND07_START_TIME = 10.325639 + BAND07_LINE_TIME = 0.004236000 + BAND07_MEAN_HEIGHT = 750.000 + BAND07_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND07_MEAN_L1T_LINE_SAMP = (4064.914, 4026.864) + BAND07_MEAN_SAT_VECTOR = (-0.002223343, -0.003639034, 0.996235618) + BAND07_SAT_X_NUM_COEF = (-1.849429e-04, -1.134390e-06, -4.702469e-05, -3.741328e-09, -1.221506e-05, + -6.920696e-11, -1.937040e-10, -7.620623e-12, 7.118540e-16, 1.942498e-17) + BAND07_SAT_X_DEN_COEF = ( 1.080892e-05, 0.000000e+00, -1.401270e-06, -6.240828e-06, 6.768691e-11, + 5.581918e-10, 9.305220e-10, 5.331555e-16, -1.730921e-17) + BAND07_SAT_Y_NUM_COEF = (-8.896071e-04, 4.699474e-05, -1.116821e-06, -5.081372e-09, -4.362470e-05, + 5.027445e-12, 9.338590e-11, 2.730509e-10, -2.042727e-16, -4.098281e-17) + BAND07_SAT_Y_DEN_COEF = ( 1.933061e-06, 4.812281e-07, -1.402394e-06, -2.004251e-06, 5.360132e-11, + 7.442054e-10, 8.969581e-10, 1.973380e-15, -1.244196e-17) + BAND07_SAT_Z_NUM_COEF = ( 3.670673e-03, 2.096969e-07, -1.184343e-07, -1.035851e-08, -2.269278e-07, + -9.426354e-11, -6.157823e-10, -1.005639e-09, -3.868156e-16, -5.557701e-20) + BAND07_SAT_Z_DEN_COEF = (-4.002728e-06, 1.210378e-06, -2.817135e-06, 3.972144e-06, 1.247688e-10, + 8.174902e-10, 1.345306e-09, 1.202773e-17, 3.517779e-17) + BAND07_MEAN_SUN_VECTOR = ( 0.292920693, -0.921293633, 0.255267108) + BAND07_SUN_X_NUM_COEF = ( 4.186038e-05, -1.609489e-07, -6.671744e-06, -2.541063e-14, -2.714620e-07, + 1.238732e-12, 3.885276e-11, -9.652160e-12, 4.808634e-18, 9.949008e-18) + BAND07_SUN_X_DEN_COEF = ( 4.932478e-08, 0.000000e+00, -5.559037e-12, -1.034941e-07, -4.610211e-11, + 1.933428e-11, 2.441274e-11, 2.293943e-16, 3.200901e-17) + BAND07_SUN_Y_NUM_COEF = (-1.193601e-04, 1.158498e-06, -1.768987e-06, 3.390235e-13, -7.096474e-08, + 2.066636e-11, 6.740750e-13, 2.707559e-11, 4.857711e-17, 1.860421e-17) + BAND07_SUN_Y_DEN_COEF = ( 8.099123e-06, -2.425828e-06, -1.260809e-10, 7.712415e-07, -5.131611e-11, + -6.182335e-11, 0.000000e+00, -5.961550e-16, -2.015154e-15) + BAND07_SUN_Z_NUM_COEF = ( 1.907075e-05, 4.369009e-06, 1.270408e-06, -1.311437e-13, 5.611954e-08, + -2.562799e-12, -8.910009e-13, -2.389931e-12, 8.592224e-18, -3.338492e-18) + BAND07_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 1.059366e-11, 4.462822e-09, 3.694741e-12, + 1.370114e-12, 9.634112e-12, 8.937994e-16, -1.446333e-15) + BAND07_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND07_SCA01_MEAN_HEIGHT = 750.000 + BAND07_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA01_MEAN_L1T_LINE_SAMP = (3470.037, 1126.007) + BAND07_SCA01_LINE_NUM_COEF = ( 1.650374e-01, 1.003786e+00, -2.708370e-01, 1.212489e-04, -7.740034e-06) + BAND07_SCA01_LINE_DEN_COEF = ( 3.141142e-07, -6.184050e-06, -2.286272e-11, 3.458265e-12) + BAND07_SCA01_SAMP_NUM_COEF = (-1.128617e+00, 2.973855e-01, 9.717322e-01, -4.659591e-03, -7.647447e-07) + BAND07_SCA01_SAMP_DEN_COEF = (-2.888938e-06, -7.181926e-06, -1.538183e-06, 2.275400e-12) + BAND07_SCA02_MEAN_HEIGHT = 750.000 + BAND07_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA02_MEAN_L1T_LINE_SAMP = (3080.428, 1724.691) + BAND07_SCA02_LINE_NUM_COEF = ( 1.469308e-01, 1.000582e+00, -2.805263e-01, -7.068139e-04, -4.926582e-06) + BAND07_SCA02_LINE_DEN_COEF = ( 2.575386e-07, -3.779593e-06, 1.124640e-09, 3.603821e-12) + BAND07_SCA02_SAMP_NUM_COEF = (-1.123078e+00, 3.002136e-01, 9.817184e-01, -3.967695e-03, -7.793545e-07) + BAND07_SCA02_SAMP_DEN_COEF = (-2.638952e-06, -6.338309e-06, -1.545433e-06, 1.503204e-12) + BAND07_SCA03_MEAN_HEIGHT = 750.000 + BAND07_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA03_MEAN_L1T_LINE_SAMP = (3729.402, 2003.822) + BAND07_SCA03_LINE_NUM_COEF = ( 1.461125e-01, 1.000268e+00, -2.809709e-01, 1.905146e-04, -5.708807e-06) + BAND07_SCA03_LINE_DEN_COEF = ( 2.730523e-07, -4.445939e-06, -6.188220e-11, 3.668916e-12) + BAND07_SCA03_SAMP_NUM_COEF = (-1.099547e+00, 3.010052e-01, 9.834451e-01, -3.237600e-03, -7.705708e-07) + BAND07_SCA03_SAMP_DEN_COEF = (-2.472166e-06, -5.810422e-06, -1.550671e-06, 1.033690e-12) + BAND07_SCA04_MEAN_HEIGHT = 750.000 + BAND07_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA04_MEAN_L1T_LINE_SAMP = (3341.863, 2596.777) + BAND07_SCA04_LINE_NUM_COEF = ( 1.401371e-01, 9.975006e-01, -2.892416e-01, -6.569682e-04, -5.094441e-06) + BAND07_SCA04_LINE_DEN_COEF = ( 2.625490e-07, -3.913508e-06, 1.090003e-09, 3.780773e-12) + BAND07_SCA04_SAMP_NUM_COEF = (-1.070320e+00, 3.032379e-01, 9.914758e-01, -2.526112e-03, -7.836408e-07) + BAND07_SCA04_SAMP_DEN_COEF = (-1.947433e-06, -4.067664e-06, -1.558324e-06, -4.343951e-13) + BAND07_SCA05_MEAN_HEIGHT = 750.000 + BAND07_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA05_MEAN_L1T_LINE_SAMP = (3989.441, 2871.974) + BAND07_SCA05_LINE_NUM_COEF = ( 1.581475e-01, 9.967098e-01, -2.912552e-01, 2.345746e-04, -8.587095e-06) + BAND07_SCA05_LINE_DEN_COEF = ( 3.424009e-07, -6.867116e-06, -3.030479e-10, 3.832323e-12) + BAND07_SCA05_SAMP_NUM_COEF = (-1.037186e+00, 3.034311e-01, 9.912344e-01, -1.790078e-03, -7.732477e-07) + BAND07_SCA05_SAMP_DEN_COEF = (-1.682897e-06, -3.222388e-06, -1.562068e-06, -1.149341e-12) + BAND07_SCA06_MEAN_HEIGHT = 750.000 + BAND07_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA06_MEAN_L1T_LINE_SAMP = (3603.789, 3461.585) + BAND07_SCA06_LINE_NUM_COEF = ( 1.362105e-01, 9.944957e-01, -2.977204e-01, -6.297961e-04, -5.700668e-06) + BAND07_SCA06_LINE_DEN_COEF = ( 2.780734e-07, -4.416849e-06, 1.153530e-09, 3.949300e-12) + BAND07_SCA06_SAMP_NUM_COEF = (-1.007340e+00, 3.049559e-01, 9.969397e-01, -1.063514e-03, -7.844776e-07) + BAND07_SCA06_SAMP_DEN_COEF = (-1.166585e-06, -1.505600e-06, -1.565606e-06, -2.582256e-12) + BAND07_SCA07_MEAN_HEIGHT = 750.000 + BAND07_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA07_MEAN_L1T_LINE_SAMP = (4251.262, 3734.424) + BAND07_SCA07_LINE_NUM_COEF = ( 1.429379e-01, 9.931495e-01, -3.015571e-01, 2.532944e-04, -7.029927e-06) + BAND07_SCA07_LINE_DEN_COEF = ( 3.102812e-07, -5.535587e-06, -2.429950e-10, 4.028302e-12) + BAND07_SCA07_SAMP_NUM_COEF = (-9.713593e-01, 3.044557e-01, 9.944230e-01, -3.270547e-04, -7.722753e-07) + BAND07_SCA07_SAMP_DEN_COEF = (-8.923985e-07, -6.310972e-07, -1.566642e-06, -3.318109e-12) + BAND07_SCA08_MEAN_HEIGHT = 750.000 + BAND07_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA08_MEAN_L1T_LINE_SAMP = (3867.265, 4322.778) + BAND07_SCA08_LINE_NUM_COEF = ( 1.256975e-01, 9.914370e-01, -3.063841e-01, -6.241562e-04, -5.188299e-06) + BAND07_SCA08_LINE_DEN_COEF = ( 2.673768e-07, -3.975662e-06, 1.062555e-09, 4.123143e-12) + BAND07_SCA08_SAMP_NUM_COEF = (-9.440357e-01, 3.053060e-01, 9.979106e-01, 4.078396e-04, -7.817395e-07) + BAND07_SCA08_SAMP_DEN_COEF = (-4.280664e-07, 9.172976e-07, -1.566227e-06, -4.606466e-12) + BAND07_SCA09_MEAN_HEIGHT = 750.000 + BAND07_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA09_MEAN_L1T_LINE_SAMP = (4516.160, 4594.883) + BAND07_SCA09_LINE_NUM_COEF = ( 1.479277e-01, 9.895763e-01, -3.119069e-01, 2.468851e-04, -8.541587e-06) + BAND07_SCA09_LINE_DEN_COEF = ( 3.518229e-07, -6.790583e-06, -3.291663e-10, 4.201139e-12) + BAND07_SCA09_SAMP_NUM_COEF = (-9.027140e-01, 3.041646e-01, 9.932915e-01, 1.138546e-03, -7.679007e-07) + BAND07_SCA09_SAMP_DEN_COEF = (-1.158673e-07, 1.913680e-06, -1.564478e-06, -5.433705e-12) + BAND07_SCA10_MEAN_HEIGHT = 750.000 + BAND07_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA10_MEAN_L1T_LINE_SAMP = (4133.268, 5184.235) + BAND07_SCA10_LINE_NUM_COEF = ( 1.365465e-01, 9.883951e-01, -3.149950e-01, -6.407583e-04, -7.873300e-06) + BAND07_SCA10_LINE_DEN_COEF = ( 3.360745e-07, -6.222005e-06, 1.532497e-09, 4.280441e-12) + BAND07_SCA10_SAMP_NUM_COEF = (-8.928956e-01, 3.043589e-01, 9.946207e-01, 1.875833e-03, -7.756424e-07) + BAND07_SCA10_SAMP_DEN_COEF = ( 1.095610e-07, 2.682828e-06, -1.561789e-06, -6.099901e-12) + BAND07_SCA11_MEAN_HEIGHT = 750.000 + BAND07_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA11_MEAN_L1T_LINE_SAMP = (4784.887, 5457.281) + BAND07_SCA11_LINE_NUM_COEF = ( 1.340265e-01, 9.859450e-01, -3.224451e-01, 2.141242e-04, -7.130483e-06) + BAND07_SCA11_LINE_DEN_COEF = ( 3.210297e-07, -5.588352e-06, -1.783933e-10, 4.387500e-12) + BAND07_SCA11_SAMP_NUM_COEF = (-8.328216e-01, 3.025386e-01, 9.877796e-01, 2.594714e-03, -7.601146e-07) + BAND07_SCA11_SAMP_DEN_COEF = ( 6.173170e-07, 4.315936e-06, -1.556017e-06, -7.424651e-12) + BAND07_SCA12_MEAN_HEIGHT = 750.000 + BAND07_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA12_MEAN_L1T_LINE_SAMP = (4403.311, 6049.635) + BAND07_SCA12_LINE_NUM_COEF = ( 1.094610e-01, 9.853776e-01, -3.235224e-01, -6.786609e-04, -4.888197e-06) + BAND07_SCA12_LINE_DEN_COEF = ( 2.624115e-07, -3.706452e-06, 1.083754e-09, 4.454014e-12) + BAND07_SCA12_SAMP_NUM_COEF = (-8.241816e-01, 3.020939e-01, 9.870038e-01, 3.328528e-03, -7.661596e-07) + BAND07_SCA12_SAMP_DEN_COEF = ( 7.994068e-07, 4.944968e-06, -1.551290e-06, -7.965274e-12) + BAND07_SCA13_MEAN_HEIGHT = 750.000 + BAND07_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA13_MEAN_L1T_LINE_SAMP = (5059.140, 6325.190) + BAND07_SCA13_LINE_NUM_COEF = ( 1.471455e-01, 9.824309e-01, -3.325932e-01, 1.569798e-04, -9.575921e-06) + BAND07_SCA13_LINE_DEN_COEF = ( 3.899086e-07, -7.615991e-06, -1.732234e-10, 4.557736e-12) + BAND07_SCA13_SAMP_NUM_COEF = (-7.517960e-01, 2.996280e-01, 9.780526e-01, 4.029675e-03, -7.490680e-07) + BAND07_SCA13_SAMP_DEN_COEF = ( 1.418723e-06, 6.939784e-06, -1.540327e-06, -9.561819e-12) + BAND07_SCA14_MEAN_HEIGHT = 750.000 + BAND07_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND07_SCA14_MEAN_L1T_LINE_SAMP = (4678.539, 6922.815) + BAND07_SCA14_LINE_NUM_COEF = ( 1.297272e-01, 9.823736e-01, -3.319960e-01, -7.383739e-04, -8.626507e-06) + BAND07_SCA14_LINE_DEN_COEF = ( 3.624975e-07, -6.823351e-06, 1.878807e-09, 4.616652e-12) + BAND07_SCA14_SAMP_NUM_COEF = (-7.525539e-01, 2.985147e-01, 9.750741e-01, 4.753774e-03, -7.533354e-07) + BAND07_SCA14_SAMP_DEN_COEF = ( 1.454520e-06, 7.092611e-06, -1.535402e-06, -9.724104e-12) +END_GROUP = RPC_BAND07 +GROUP = RPC_BAND08 + BAND08_NUMBER_OF_SCAS = 14 + BAND08_NUM_L1T_LINES = 16241 + BAND08_NUM_L1T_SAMPS = 16061 + BAND08_L1T_IMAGE_CORNER_LINES = ( 8.192120, 3721.151648, 16235.317140, 12462.161512) + BAND08_L1T_IMAGE_CORNER_SAMPS = ( 3831.655841, 16059.084874, 12228.146772, 19.423510) + BAND08_NUM_L1R_LINES = 15002 + BAND08_NUM_L1R_SAMPS = 988 + BAND08_PIXEL_SIZE = 15.000 + BAND08_START_TIME = 10.325639 + BAND08_LINE_TIME = 0.002118000 + BAND08_MEAN_HEIGHT = 750.000 + BAND08_MEAN_L1R_LINE_SAMP = (7528.774, 6937.357) + BAND08_MEAN_L1T_LINE_SAMP = (8130.794, 8053.798) + BAND08_MEAN_SAT_VECTOR = (-0.002217345, -0.003646283, 0.996308203) + BAND08_SAT_X_NUM_COEF = (-2.033843e-04, -5.678804e-07, -2.351364e-05, -3.185962e-09, -6.107257e-06, + -1.444854e-11, -3.071868e-11, 2.548840e-11, 6.522002e-17, 2.516458e-18) + BAND08_SAT_X_DEN_COEF = ( 4.615513e-06, -1.166068e-06, -1.401104e-06, -2.762416e-06, 1.819415e-11, + 1.385426e-10, 2.320611e-10, 6.622889e-17, -2.810916e-18) + BAND08_SAT_Y_NUM_COEF = (-8.886558e-04, 2.349924e-05, -5.582724e-07, -5.071441e-09, -2.181290e-05, + 1.285398e-12, 2.346590e-11, 6.834797e-11, -4.172064e-17, -5.109700e-18) + BAND08_SAT_Y_DEN_COEF = ( 9.192215e-07, 2.718760e-07, -1.401046e-06, -9.408567e-07, 1.433774e-11, + 1.959573e-10, 2.230021e-10, 3.144436e-16, -3.918339e-18) + BAND08_SAT_Z_NUM_COEF = ( 3.671003e-03, 1.048315e-07, -5.939372e-08, -1.038231e-08, -1.135170e-07, + -2.356756e-11, -1.539453e-10, -2.514203e-10, -4.838427e-17, -6.695036e-21) + BAND08_SAT_Z_DEN_COEF = (-2.009310e-06, 6.055252e-07, -2.817814e-06, 1.981114e-06, 3.111313e-11, + 2.023640e-10, 3.337033e-10, 1.214645e-17, 5.162662e-18) + BAND08_MEAN_SUN_VECTOR = ( 0.292922603, -0.921293297, 0.255269495) + BAND08_SUN_X_NUM_COEF = ( 3.950531e-05, -8.047669e-08, -3.335863e-06, -2.359079e-14, -1.357291e-07, + 3.142460e-13, 9.782601e-12, -2.413260e-12, 7.967541e-19, 1.210632e-18) + BAND08_SUN_X_DEN_COEF = ( 3.692676e-09, 0.000000e+00, -7.490052e-12, -5.186310e-08, -1.163612e-11, + 4.891969e-12, 6.093931e-12, 2.888907e-17, 3.825145e-18) + BAND08_SUN_Y_NUM_COEF = (-1.192622e-04, 5.792894e-07, -8.845122e-07, 1.190528e-13, -3.552891e-08, + 5.124636e-12, 1.656332e-13, 6.883622e-12, 5.853991e-18, 2.940578e-18) + BAND08_SUN_Y_DEN_COEF = ( 3.968960e-06, -1.351717e-06, -1.062602e-10, 3.734180e-07, -1.168129e-11, + -1.517789e-11, 0.000000e+00, -2.861312e-17, -6.511693e-17) + BAND08_SUN_Z_NUM_COEF = ( 1.870221e-05, 2.184451e-06, 6.351453e-07, -1.341856e-13, 2.804161e-08, + -6.770472e-13, -2.335699e-13, -5.842380e-13, 9.836076e-19, -2.062639e-18) + BAND08_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -1.016590e-10, -2.169629e-08, 0.000000e+00, + 0.000000e+00, 0.000000e+00, 1.217623e-17, -1.794657e-17) + BAND08_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND08_SCA01_MEAN_HEIGHT = 750.000 + BAND08_SCA01_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA01_MEAN_L1T_LINE_SAMP = (6581.239, 2362.506) + BAND08_SCA01_LINE_NUM_COEF = ( 3.172177e-01, 1.003406e+00, -2.720445e-01, -3.606245e-04, -3.310483e-06) + BAND08_SCA01_LINE_DEN_COEF = ( 1.454928e-07, -2.614999e-06, 5.302425e-10, 8.678994e-13) + BAND08_SCA01_SAMP_NUM_COEF = (-2.273920e+00, 2.976921e-01, 9.730077e-01, -9.330078e-03, -3.843236e-07) + BAND08_SCA01_SAMP_DEN_COEF = (-1.468388e-06, -3.665454e-06, -1.537444e-06, 5.980827e-13) + BAND08_SCA02_MEAN_HEIGHT = 750.000 + BAND08_SCA02_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA02_MEAN_L1T_LINE_SAMP = (6520.821, 3339.438) + BAND08_SCA02_LINE_NUM_COEF = ( 2.980975e-01, 1.000899e+00, -2.795238e-01, -8.110983e-04, -2.651138e-06) + BAND08_SCA02_LINE_DEN_COEF = ( 1.326002e-07, -2.050145e-06, 7.789218e-10, 8.983704e-13) + BAND08_SCA02_SAMP_NUM_COEF = (-2.238714e+00, 2.999726e-01, 9.806526e-01, -7.926756e-03, -3.877952e-07) + BAND08_SCA02_SAMP_DEN_COEF = (-1.320810e-06, -3.177308e-06, -1.545374e-06, 3.790372e-13) + BAND08_SCA03_MEAN_HEIGHT = 750.000 + BAND08_SCA03_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA03_MEAN_L1T_LINE_SAMP = (7101.603, 4117.628) + BAND08_SCA03_LINE_NUM_COEF = ( 2.910942e-01, 1.000044e+00, -2.816680e-01, -2.257470e-04, -2.819565e-06) + BAND08_SCA03_LINE_DEN_COEF = ( 1.360030e-07, -2.192521e-06, 3.858290e-10, 9.171489e-13) + BAND08_SCA03_SAMP_NUM_COEF = (-2.193031e+00, 3.013329e-01, 9.847907e-01, -6.482890e-03, -3.872715e-07) + BAND08_SCA03_SAMP_DEN_COEF = (-1.191321e-06, -2.755066e-06, -1.551636e-06, 2.001395e-13) + BAND08_SCA04_MEAN_HEIGHT = 750.000 + BAND08_SCA04_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA04_MEAN_L1T_LINE_SAMP = (7042.501, 5084.009) + BAND08_SCA04_LINE_NUM_COEF = ( 2.880464e-01, 9.977468e-01, -2.884709e-01, -7.098279e-04, -2.857527e-06) + BAND08_SCA04_LINE_DEN_COEF = ( 1.381049e-07, -2.220194e-06, 7.474822e-10, 9.424895e-13) + BAND08_SCA04_SAMP_NUM_COEF = (-2.144910e+00, 3.029855e-01, 9.903720e-01, -5.046415e-03, -3.899168e-07) + BAND08_SCA04_SAMP_DEN_COEF = (-1.011373e-06, -2.161011e-06, -1.557682e-06, -5.767606e-14) + BAND08_SCA05_MEAN_HEIGHT = 750.000 + BAND08_SCA05_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA05_MEAN_L1T_LINE_SAMP = (7622.455, 5853.663) + BAND08_SCA05_LINE_NUM_COEF = ( 3.167735e-01, 9.965797e-01, -2.916443e-01, -1.390201e-04, -4.348458e-06) + BAND08_SCA05_LINE_DEN_COEF = ( 1.726612e-07, -3.479186e-06, 3.773673e-10, 9.573192e-13) + BAND08_SCA05_SAMP_NUM_COEF = (-2.092105e+00, 3.037732e-01, 9.926271e-01, -3.584150e-03, -3.886330e-07) + BAND08_SCA05_SAMP_DEN_COEF = (-8.679012e-07, -1.693435e-06, -1.561745e-06, -2.552101e-13) + BAND08_SCA06_MEAN_HEIGHT = 750.000 + BAND08_SCA06_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA06_MEAN_L1T_LINE_SAMP = (7565.985, 6813.457) + BAND08_SCA06_LINE_NUM_COEF = ( 2.906287e-01, 9.946262e-01, -2.973294e-01, -6.533310e-04, -3.536725e-06) + BAND08_SCA06_LINE_DEN_COEF = ( 1.550783e-07, -2.788414e-06, 8.208774e-10, 9.840061e-13) + BAND08_SCA06_SAMP_NUM_COEF = (-2.024323e+00, 3.047018e-01, 9.958305e-01, -2.124818e-03, -3.903298e-07) + BAND08_SCA06_SAMP_DEN_COEF = (-6.382512e-07, -9.368535e-07, -1.565220e-06, -5.720504e-13) + BAND08_SCA07_MEAN_HEIGHT = 750.000 + BAND08_SCA07_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA07_MEAN_L1T_LINE_SAMP = (8146.389, 7578.372) + BAND08_SCA07_LINE_NUM_COEF = ( 2.921763e-01, 9.931398e-01, -3.015524e-01, -1.021225e-04, -3.825317e-06) + BAND08_SCA07_LINE_DEN_COEF = ( 1.626112e-07, -3.029007e-06, 3.217508e-10, 1.004973e-12) + BAND08_SCA07_SAMP_NUM_COEF = (-1.955945e+00, 3.047815e-01, 9.957618e-01, -6.542388e-04, -3.881255e-07) + BAND08_SCA07_SAMP_DEN_COEF = (-4.591411e-07, -3.532910e-07, -1.566590e-06, -8.153163e-13) + BAND08_SCA08_MEAN_HEIGHT = 750.000 + BAND08_SCA08_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA08_MEAN_L1T_LINE_SAMP = (8092.326, 8536.098) + BAND08_SCA08_LINE_NUM_COEF = ( 2.574266e-01, 9.914641e-01, -3.063320e-01, -6.424930e-04, -2.770175e-06) + BAND08_SCA08_LINE_DEN_COEF = ( 1.379113e-07, -2.136502e-06, 6.832154e-10, 1.029876e-12) + BAND08_SCA08_SAMP_NUM_COEF = (-1.872596e+00, 3.050623e-01, 9.968367e-01, 8.147958e-04, -3.889789e-07) + BAND08_SCA08_SAMP_DEN_COEF = (-1.929706e-07, 5.227190e-07, -1.566183e-06, -1.174713e-12) + BAND08_SCA09_MEAN_HEIGHT = 750.000 + BAND08_SCA09_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA09_MEAN_L1T_LINE_SAMP = (8675.983, 9299.348) + BAND08_SCA09_LINE_NUM_COEF = ( 2.806837e-01, 9.896465e-01, -3.116402e-01, -1.143751e-04, -3.782481e-06) + BAND08_SCA09_LINE_DEN_COEF = ( 1.637096e-07, -2.984748e-06, 3.324909e-10, 1.050166e-12) + BAND08_SCA09_SAMP_NUM_COEF = (-1.814824e+00, 3.044843e-01, 9.946091e-01, 2.280731e-03, -3.859254e-07) + BAND08_SCA09_SAMP_DEN_COEF = (-5.924829e-08, 9.574257e-07, -1.564447e-06, -1.360080e-12) + BAND08_SCA10_MEAN_HEIGHT = 750.000 + BAND08_SCA10_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA10_MEAN_L1T_LINE_SAMP = (8624.839, 10258.611) + BAND08_SCA10_LINE_NUM_COEF = ( 2.701868e-01, 9.882639e-01, -3.154616e-01, -6.766555e-04, -3.729303e-06) + BAND08_SCA10_LINE_DEN_COEF = ( 1.629866e-07, -2.936799e-06, 8.765960e-10, 1.070603e-12) + BAND08_SCA10_SAMP_NUM_COEF = (-1.764867e+00, 3.041021e-01, 9.935059e-01, 3.747145e-03, -3.859205e-07) + BAND08_SCA10_SAMP_DEN_COEF = ( 9.168300e-08, 1.456979e-06, -1.561363e-06, -1.568618e-12) + BAND08_SCA11_MEAN_HEIGHT = 750.000 + BAND08_SCA11_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA11_MEAN_L1T_LINE_SAMP = (9212.958, 11024.137) + BAND08_SCA11_LINE_NUM_COEF = ( 2.647385e-01, 9.861406e-01, -3.217684e-01, -1.776240e-04, -3.553872e-06) + BAND08_SCA11_LINE_DEN_COEF = ( 1.600039e-07, -2.784856e-06, 3.840304e-10, 1.094992e-12) + BAND08_SCA11_SAMP_NUM_COEF = (-1.679013e+00, 3.028640e-01, 9.891132e-01, 5.196696e-03, -3.820287e-07) + BAND08_SCA11_SAMP_DEN_COEF = ( 2.954670e-07, 2.120087e-06, -1.556185e-06, -1.843178e-12) + BAND08_SCA12_MEAN_HEIGHT = 750.000 + BAND08_SCA12_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA12_MEAN_L1T_LINE_SAMP = (9165.693, 11989.597) + BAND08_SCA12_LINE_NUM_COEF = ( 2.297211e-01, 9.851726e-01, -3.242312e-01, -7.544803e-04, -2.724832e-06) + BAND08_SCA12_LINE_DEN_COEF = ( 1.386095e-07, -2.088427e-06, 7.551571e-10, 1.113798e-12) + BAND08_SCA12_SAMP_NUM_COEF = (-1.645070e+00, 3.018392e-01, 9.858987e-01, 6.650051e-03, -3.811944e-07) + BAND08_SCA12_SAMP_DEN_COEF = ( 3.828761e-07, 2.412218e-06, -1.551706e-06, -1.965926e-12) + BAND08_SCA13_MEAN_HEIGHT = 750.000 + BAND08_SCA13_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA13_MEAN_L1T_LINE_SAMP = (9760.344, 12760.887) + BAND08_SCA13_LINE_NUM_COEF = ( 2.794026e-01, 9.826901e-01, -3.317074e-01, -2.903581e-04, -4.396919e-06) + BAND08_SCA13_LINE_DEN_COEF = ( 1.842086e-07, -3.481888e-06, 5.518179e-10, 1.137827e-12) + BAND08_SCA13_SAMP_NUM_COEF = (-1.505412e+00, 2.999554e-01, 9.793897e-01, 8.071395e-03, -3.764932e-07) + BAND08_SCA13_SAMP_DEN_COEF = ( 7.308785e-07, 3.545710e-06, -1.539665e-06, -2.422476e-12) + BAND08_SCA14_MEAN_HEIGHT = 750.000 + BAND08_SCA14_MEAN_L1R_LINE_SAMP = (7528.774, 515.357) + BAND08_SCA14_MEAN_L1T_LINE_SAMP = (9717.975, 13735.417) + BAND08_SCA14_LINE_NUM_COEF = ( 2.504578e-01, 9.820579e-01, -3.330673e-01, -8.763519e-04, -3.872640e-06) + BAND08_SCA14_LINE_DEN_COEF = ( 1.699763e-07, -3.042651e-06, 1.103623e-09, 1.154790e-12) + BAND08_SCA14_SAMP_NUM_COEF = (-1.494519e+00, 2.982894e-01, 9.740681e-01, 9.498282e-03, -3.748343e-07) + BAND08_SCA14_SAMP_DEN_COEF = ( 7.326413e-07, 3.558268e-06, -1.535297e-06, -2.433315e-12) +END_GROUP = RPC_BAND08 +GROUP = RPC_BAND09 + BAND09_NUMBER_OF_SCAS = 14 + BAND09_NUM_L1T_LINES = 8121 + BAND09_NUM_L1T_SAMPS = 8031 + BAND09_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND09_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND09_NUM_L1R_LINES = 7501 + BAND09_NUM_L1R_SAMPS = 494 + BAND09_PIXEL_SIZE = 30.000 + BAND09_START_TIME = 10.325639 + BAND09_LINE_TIME = 0.004236000 + BAND09_MEAN_HEIGHT = 750.000 + BAND09_MEAN_L1R_LINE_SAMP = (3763.889, 3468.214) + BAND09_MEAN_L1T_LINE_SAMP = (4065.065, 4026.846) + BAND09_MEAN_SAT_VECTOR = (-0.002227983, -0.003628977, 0.996197564) + BAND09_SAT_X_NUM_COEF = (-1.769483e-04, -1.134346e-06, -4.702288e-05, -3.741325e-09, -1.221461e-05, + -6.919646e-11, -1.936883e-10, -7.684834e-12, 7.140009e-16, 1.943511e-17) + BAND09_SAT_X_DEN_COEF = ( 1.081169e-05, 0.000000e+00, -1.401269e-06, -6.244437e-06, 6.763328e-11, + 5.581148e-10, 9.300831e-10, 5.350797e-16, -1.729759e-17) + BAND09_SAT_Y_NUM_COEF = (-8.873082e-04, 4.699311e-05, -1.117003e-06, -5.083570e-09, -4.362429e-05, + 4.917187e-12, 9.272318e-11, 2.720556e-10, -1.269628e-16, -4.105831e-17) + BAND09_SAT_Y_DEN_COEF = ( 2.201934e-06, 3.095421e-07, -1.402915e-06, -2.303185e-06, 5.354754e-11, + 7.220740e-10, 9.003420e-10, 1.699530e-15, 9.766606e-20) + BAND09_SAT_Z_NUM_COEF = ( 3.670449e-03, 2.093429e-07, -1.183989e-07, -1.034580e-08, -2.265798e-07, + -9.425985e-11, -6.157789e-10, -1.005610e-09, -3.866927e-16, -5.585518e-20) + BAND09_SAT_Z_DEN_COEF = (-3.998999e-06, 1.210817e-06, -2.816801e-06, 3.976463e-06, 1.248646e-10, + 8.203840e-10, 1.348084e-09, -2.302649e-17, 3.243014e-17) + BAND09_MEAN_SUN_VECTOR = ( 0.292919908, -0.921293290, 0.255267637) + BAND09_SUN_X_NUM_COEF = ( 4.274405e-05, -1.609486e-07, -6.671738e-06, -2.652872e-14, -2.714618e-07, + 1.237091e-12, 3.882819e-11, -9.651947e-12, 4.702771e-18, 9.946645e-18) + BAND09_SUN_X_DEN_COEF = ( 5.303047e-08, 0.000000e+00, -5.455638e-12, -1.034885e-07, -4.608544e-11, + 1.930756e-11, 2.441727e-11, 2.287525e-16, 3.215765e-17) + BAND09_SUN_Y_NUM_COEF = (-1.194986e-04, 1.158662e-06, -1.769238e-06, 3.722391e-13, -7.093931e-08, + 1.916012e-11, 5.763660e-12, 2.280054e-11, 4.653219e-17, 1.759945e-17) + BAND09_SUN_Y_DEN_COEF = ( 6.807193e-06, 0.000000e+00, -1.376858e-10, 6.887149e-07, -3.834591e-11, + -3.944467e-11, 2.912755e-11, -3.543462e-16, -2.505627e-15) + BAND09_SUN_Z_NUM_COEF = ( 1.923940e-05, 4.369016e-06, 1.270411e-06, -1.002397e-13, 5.611198e-08, + -2.548879e-12, -8.664406e-13, -2.404026e-12, 6.789406e-18, -2.800709e-18) + BAND09_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, 1.042206e-11, 1.464586e-08, 3.684336e-12, + 9.469605e-13, 1.015389e-11, 1.277107e-15, -2.067127e-15) + BAND09_SCA_LIST = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) + BAND09_SCA01_MEAN_HEIGHT = 750.000 + BAND09_SCA01_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA01_MEAN_L1T_LINE_SAMP = (3526.050, 1108.896) + BAND09_SCA01_LINE_NUM_COEF = ( 1.564941e-01, 1.003912e+00, -2.704361e-01, 2.148484e-04, -6.364640e-06) + BAND09_SCA01_LINE_DEN_COEF = ( 2.842792e-07, -5.015786e-06, -1.341795e-10, 3.471029e-12) + BAND09_SCA01_SAMP_NUM_COEF = (-1.151705e+00, 2.972876e-01, 9.713271e-01, -4.657604e-03, -7.635248e-07) + BAND09_SCA01_SAMP_DEN_COEF = (-3.178482e-06, -8.130248e-06, -1.533645e-06, 3.020491e-12) + BAND09_SCA02_MEAN_HEIGHT = 750.000 + BAND09_SCA02_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA02_MEAN_L1T_LINE_SAMP = (3024.877, 1741.760) + BAND09_SCA02_LINE_NUM_COEF = ( 1.623600e-01, 1.000433e+00, -2.810063e-01, -7.996212e-04, -7.382397e-06) + BAND09_SCA02_LINE_DEN_COEF = ( 3.125074e-07, -5.860533e-06, 1.752054e-09, 3.581771e-12) + BAND09_SCA02_SAMP_NUM_COEF = (-1.114917e+00, 3.003141e-01, 9.821332e-01, -3.969226e-03, -7.805882e-07) + BAND09_SCA02_SAMP_DEN_COEF = (-2.525155e-06, -5.963805e-06, -1.546948e-06, 1.203370e-12) + BAND09_SCA03_MEAN_HEIGHT = 750.000 + BAND09_SCA03_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA03_MEAN_L1T_LINE_SAMP = (3785.148, 1986.773) + BAND09_SCA03_LINE_NUM_COEF = ( 1.473112e-01, 1.000369e+00, -2.806512e-01, 2.844076e-04, -5.914715e-06) + BAND09_SCA03_LINE_DEN_COEF = ( 2.774136e-07, -4.621218e-06, -2.163045e-10, 3.666186e-12) + BAND09_SCA03_SAMP_NUM_COEF = (-1.089959e+00, 3.009173e-01, 9.830726e-01, -3.236389e-03, -7.693722e-07) + BAND09_SCA03_SAMP_DEN_COEF = (-2.372585e-06, -5.487497e-06, -1.551746e-06, 7.818091e-13) + BAND09_SCA04_MEAN_HEIGHT = 750.000 + BAND09_SCA04_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA04_MEAN_L1T_LINE_SAMP = (3286.488, 2613.805) + BAND09_SCA04_LINE_NUM_COEF = ( 1.332521e-01, 9.973619e-01, -2.896842e-01, -7.501327e-04, -3.955516e-06) + BAND09_SCA04_LINE_DEN_COEF = ( 2.366755e-07, -2.949469e-06, 9.917489e-10, 3.793053e-12) + BAND09_SCA04_SAMP_NUM_COEF = (-1.071777e+00, 3.033193e-01, 9.918281e-01, -2.526840e-03, -7.848287e-07) + BAND09_SCA04_SAMP_DEN_COEF = (-1.949308e-06, -4.071263e-06, -1.558316e-06, -4.358165e-13) + BAND09_SCA05_MEAN_HEIGHT = 750.000 + BAND09_SCA05_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA05_MEAN_L1T_LINE_SAMP = (4045.051, 2854.944) + BAND09_SCA05_LINE_NUM_COEF = ( 1.737328e-01, 9.968013e-01, -2.909674e-01, 3.286565e-04, -1.107990e-05) + BAND09_SCA05_LINE_DEN_COEF = ( 3.997769e-07, -8.975311e-06, -7.258828e-10, 3.811891e-12) + BAND09_SCA05_SAMP_NUM_COEF = (-1.028492e+00, 3.033257e-01, 9.908045e-01, -1.789329e-03, -7.720015e-07) + BAND09_SCA05_SAMP_DEN_COEF = (-1.594268e-06, -2.935494e-06, -1.562598e-06, -1.370057e-12) + BAND09_SCA06_MEAN_HEIGHT = 750.000 + BAND09_SCA06_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA06_MEAN_L1T_LINE_SAMP = (3548.535, 3478.558) + BAND09_SCA06_LINE_NUM_COEF = ( 1.391229e-01, 9.944493e-01, -2.978609e-01, -7.236961e-04, -6.177178e-06) + BAND09_SCA06_LINE_DEN_COEF = ( 2.894554e-07, -4.818499e-06, 1.382074e-09, 3.946621e-12) + BAND09_SCA06_SAMP_NUM_COEF = (-1.004637e+00, 3.050348e-01, 9.972839e-01, -1.063756e-03, -7.856601e-07) + BAND09_SCA06_SAMP_DEN_COEF = (-1.117633e-06, -1.342810e-06, -1.565780e-06, -2.712436e-12) + BAND09_SCA07_MEAN_HEIGHT = 750.000 + BAND09_SCA07_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA07_MEAN_L1T_LINE_SAMP = (4306.805, 3717.427) + BAND09_SCA07_LINE_NUM_COEF = ( 1.637747e-01, 9.931814e-01, -3.014644e-01, 3.476763e-04, -1.024481e-05) + BAND09_SCA07_LINE_DEN_COEF = ( 3.872912e-07, -8.245851e-06, -7.063092e-10, 4.007367e-12) + BAND09_SCA07_SAMP_NUM_COEF = (-9.823305e-01, 3.043781e-01, 9.940839e-01, -3.268979e-04, -7.711000e-07) + BAND09_SCA07_SAMP_DEN_COEF = (-1.041741e-06, -1.121667e-06, -1.566491e-06, -2.935386e-12) + BAND09_SCA08_MEAN_HEIGHT = 750.000 + BAND09_SCA08_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA08_MEAN_L1T_LINE_SAMP = (3812.039, 4339.732) + BAND09_SCA08_LINE_NUM_COEF = ( 1.239429e-01, 9.914477e-01, -3.063375e-01, -7.180753e-04, -4.962963e-06) + BAND09_SCA08_LINE_DEN_COEF = ( 2.618918e-07, -3.785728e-06, 1.147193e-09, 4.124009e-12) + BAND09_SCA08_SAMP_NUM_COEF = (-9.523337e-01, 3.054074e-01, 9.983280e-01, 4.081235e-04, -7.829777e-07) + BAND09_SCA08_SAMP_DEN_COEF = (-5.121298e-07, 6.454524e-07, -1.566338e-06, -4.394648e-12) + BAND09_SCA09_MEAN_HEIGHT = 750.000 + BAND09_SCA09_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA09_MEAN_L1T_LINE_SAMP = (4571.704, 4577.868) + BAND09_SCA09_LINE_NUM_COEF = ( 1.406708e-01, 9.895464e-01, -3.120157e-01, 3.412383e-04, -7.394310e-06) + BAND09_SCA09_LINE_DEN_COEF = ( 3.233913e-07, -5.826381e-06, -4.371307e-10, 4.208419e-12) + BAND09_SCA09_SAMP_NUM_COEF = (-9.075822e-01, 3.040752e-01, 9.929147e-01, 1.138144e-03, -7.666993e-07) + BAND09_SCA09_SAMP_DEN_COEF = (-1.916029e-07, 1.663343e-06, -1.564776e-06, -5.239031e-12) + BAND09_SCA10_MEAN_HEIGHT = 750.000 + BAND09_SCA10_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA10_MEAN_L1T_LINE_SAMP = (4077.962, 5201.227) + BAND09_SCA10_LINE_NUM_COEF = ( 1.134423e-01, 9.884999e-01, -3.146406e-01, -7.340809e-04, -4.510455e-06) + BAND09_SCA10_LINE_DEN_COEF = ( 2.516306e-07, -3.397566e-06, 1.081823e-09, 4.290144e-12) + BAND09_SCA10_SAMP_NUM_COEF = (-8.969029e-01, 3.044422e-01, 9.949782e-01, 1.876625e-03, -7.768299e-07) + BAND09_SCA10_SAMP_DEN_COEF = ( 7.731805e-08, 2.580547e-06, -1.561982e-06, -6.018614e-12) + BAND09_SCA11_MEAN_HEIGHT = 750.000 + BAND09_SCA11_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA11_MEAN_L1T_LINE_SAMP = (4840.553, 5440.202) + BAND09_SCA11_LINE_NUM_COEF = ( 1.366031e-01, 9.858832e-01, -3.226582e-01, 3.082145e-04, -7.434442e-06) + BAND09_SCA11_LINE_DEN_COEF = ( 3.289863e-07, -5.842905e-06, -3.777299e-10, 4.388294e-12) + BAND09_SCA11_SAMP_NUM_COEF = (-8.359575e-01, 3.024628e-01, 9.874480e-01, 2.593849e-03, -7.589533e-07) + BAND09_SCA11_SAMP_DEN_COEF = ( 5.633180e-07, 4.136410e-06, -1.556501e-06, -7.284510e-12) + BAND09_SCA12_MEAN_HEIGHT = 750.000 + BAND09_SCA12_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA12_MEAN_L1T_LINE_SAMP = (4347.869, 6066.679) + BAND09_SCA12_LINE_NUM_COEF = ( 1.150197e-01, 9.855335e-01, -3.230009e-01, -7.712100e-04, -5.799411e-06) + BAND09_SCA12_LINE_DEN_COEF = ( 2.855803e-07, -4.470499e-06, 1.384295e-09, 4.449608e-12) + BAND09_SCA12_SAMP_NUM_COEF = (-8.278122e-01, 3.021677e-01, 9.873294e-01, 3.329748e-03, -7.673155e-07) + BAND09_SCA12_SAMP_DEN_COEF = ( 7.716453e-07, 4.857546e-06, -1.551584e-06, -7.895173e-12) + BAND09_SCA13_MEAN_HEIGHT = 750.000 + BAND09_SCA13_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA13_MEAN_L1T_LINE_SAMP = (5114.996, 6308.044) + BAND09_SCA13_LINE_NUM_COEF = ( 1.486698e-01, 9.823056e-01, -3.330141e-01, 2.502280e-04, -9.685761e-06) + BAND09_SCA13_LINE_DEN_COEF = ( 3.932143e-07, -7.706938e-06, -4.133464e-10, 4.560186e-12) + BAND09_SCA13_SAMP_NUM_COEF = (-7.269376e-01, 2.995343e-01, 9.776634e-01, 4.028040e-03, -7.478706e-07) + BAND09_SCA13_SAMP_DEN_COEF = ( 1.699227e-06, 7.851875e-06, -1.536582e-06, -1.025903e-11) + BAND09_SCA14_MEAN_HEIGHT = 750.000 + BAND09_SCA14_MEAN_L1R_LINE_SAMP = (3763.889, 257.214) + BAND09_SCA14_MEAN_L1T_LINE_SAMP = (4622.826, 6939.923) + BAND09_SCA14_LINE_NUM_COEF = ( 1.268781e-01, 9.825757e-01, -3.313228e-01, -8.298378e-04, -8.372443e-06) + BAND09_SCA14_LINE_DEN_COEF = ( 3.552100e-07, -6.612158e-06, 2.029304e-09, 4.613212e-12) + BAND09_SCA14_SAMP_NUM_COEF = (-7.623447e-01, 2.986025e-01, 9.754442e-01, 4.755668e-03, -7.545170e-07) + BAND09_SCA14_SAMP_DEN_COEF = ( 1.354296e-06, 6.768689e-06, -1.536980e-06, -9.470959e-12) +END_GROUP = RPC_BAND09 +GROUP = RPC_BAND10 + BAND10_NUMBER_OF_SCAS = 3 + BAND10_NUM_L1T_LINES = 8121 + BAND10_NUM_L1T_SAMPS = 8031 + BAND10_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND10_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND10_NUM_L1R_LINES = 2701 + BAND10_NUM_L1R_SAMPS = 640 + BAND10_PIXEL_SIZE = 30.000 + BAND10_START_TIME = 7.349659 + BAND10_LINE_TIME = 0.014279893 + BAND10_MEAN_HEIGHT = 750.000 + BAND10_MEAN_L1R_LINE_SAMP = (1353.971, 959.024) + BAND10_MEAN_L1T_LINE_SAMP = (3729.490, 4101.019) + BAND10_MEAN_SAT_VECTOR = (-0.006564163, -0.023577873, 0.995133585) + BAND10_SAT_X_NUM_COEF = (-8.626737e-05, -1.075265e-06, -4.710459e-05, -9.894240e-09, -4.134488e-05, + -6.876509e-11, -1.903922e-10, -2.920100e-12, -3.804242e-14, 5.935291e-16) + BAND10_SAT_X_DEN_COEF = ( 1.058203e-05, 0.000000e+00, -1.394831e-06, -2.033204e-05, 6.153263e-11, + 5.580089e-10, 9.246979e-10, -1.586251e-14, -5.249234e-16) + BAND10_SAT_Y_NUM_COEF = (-1.038982e-03, 4.695633e-05, -1.074077e-06, -3.298767e-08, -1.469378e-04, + 5.761134e-12, 1.040030e-10, 2.984376e-10, -2.890758e-14, -1.604194e-15) + BAND10_SAT_Y_DEN_COEF = (-4.072001e-08, 1.495469e-06, -1.402145e-06, 0.000000e+00, 9.953939e-11, + 6.155008e-10, 9.228843e-10, 1.322378e-13, -1.404218e-16) + BAND10_SAT_Z_NUM_COEF = ( 3.523360e-03, 4.250745e-07, -1.263382e-07, -9.887367e-09, -1.442140e-06, + -9.382851e-11, -6.139183e-10, -1.003878e-09, 1.586149e-14, -4.344867e-17) + BAND10_SAT_Z_DEN_COEF = (-3.420903e-07, 3.785642e-07, -2.675865e-06, 9.709208e-07, 1.188842e-10, + 8.130180e-10, 1.301192e-09, -1.596285e-14, -2.563164e-14) + BAND10_MEAN_SUN_VECTOR = ( 0.292423446, -0.921801903, 0.253894410) + BAND10_SUN_X_NUM_COEF = ( 7.087938e-05, -1.588411e-07, -6.686429e-06, -3.480920e-14, -9.153400e-07, + 1.182248e-12, 3.835974e-11, -9.644601e-12, -4.446870e-16, 3.192993e-16) + BAND10_SUN_X_DEN_COEF = ( 1.611120e-07, 0.000000e+00, -2.580510e-11, -3.625690e-07, -4.685835e-11, + 1.946312e-11, 2.472643e-11, 8.038329e-15, -2.722497e-15) + BAND10_SUN_Y_NUM_COEF = (-1.371272e-04, 1.152712e-06, -1.771269e-06, 3.199282e-13, -2.387716e-07, + 1.829722e-11, 6.995579e-12, 2.282387e-11, -3.241522e-15, 3.005493e-16) + BAND10_SUN_Y_DEN_COEF = ( 6.305666e-06, 0.000000e+00, -3.971698e-10, 1.580794e-06, -3.334373e-11, + -4.370998e-12, 4.371371e-11, 5.752390e-14, -7.297517e-14) + BAND10_SUN_Z_NUM_COEF = ( 2.547935e-05, 4.370839e-06, 1.269203e-06, 6.290968e-13, 1.882254e-07, + -2.970756e-12, -7.135497e-13, -2.316864e-12, 3.800171e-15, 1.966683e-16) + BAND10_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -1.631221e-10, -3.455756e-07, -1.520048e-12, + -1.638408e-11, 3.507863e-11, -5.050201e-14, -4.192624e-14) + BAND10_SCA_LIST = (1, 2, 3) + BAND10_SCA01_MEAN_HEIGHT = 750.000 + BAND10_SCA01_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA01_MEAN_L1T_LINE_SAMP = (3676.907, 6268.415) + BAND10_SCA01_LINE_NUM_COEF = (-8.943392e-02, 2.943645e-01, -8.918708e-02, -5.893642e-04, 9.839938e-07) + BAND10_SCA01_LINE_DEN_COEF = ( 5.311243e-08, 3.195769e-06, -1.494496e-09, 2.196665e-13) + BAND10_SCA01_SAMP_NUM_COEF = (-1.241556e-01, -8.667169e-02, -2.834974e-01, -9.542070e-04, 2.228919e-07) + BAND10_SCA01_SAMP_DEN_COEF = ( 5.591650e-07, 4.197062e-06, -1.554118e-06, 1.097681e-13) + BAND10_SCA02_MEAN_HEIGHT = 750.000 + BAND10_SCA02_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA02_MEAN_L1T_LINE_SAMP = (5030.075, 3701.364) + BAND10_SCA02_LINE_NUM_COEF = ( 1.120404e-01, 2.943781e-01, -9.016759e-02, 3.937527e-04, -6.142964e-07) + BAND10_SCA02_LINE_DEN_COEF = ( 1.906671e-07, -1.359198e-06, -4.872369e-10, 7.394453e-13) + BAND10_SCA02_SAMP_NUM_COEF = ( 4.052425e-01, -8.766941e-02, -2.860242e-01, 1.707434e-06, 2.179183e-07) + BAND10_SCA02_SAMP_DEN_COEF = (-7.074927e-07, -6.802486e-08, -1.567046e-06, 3.970553e-13) + BAND10_SCA03_MEAN_HEIGHT = 750.000 + BAND10_SCA03_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND10_SCA03_MEAN_L1T_LINE_SAMP = (2481.490, 2333.279) + BAND10_SCA03_LINE_NUM_COEF = (-5.524774e-02, 2.943039e-01, -9.121174e-02, -5.858676e-04, 9.793316e-07) + BAND10_SCA03_LINE_DEN_COEF = ( 7.164506e-08, 3.175600e-06, -1.445735e-09, 1.958577e-13) + BAND10_SCA03_SAMP_NUM_COEF = ( 9.576577e-01, -8.657634e-02, -2.834160e-01, 9.551925e-04, 2.273396e-07) + BAND10_SCA03_SAMP_DEN_COEF = (-2.030939e-06, -4.319351e-06, -1.555563e-06, 6.963773e-12) +END_GROUP = RPC_BAND10 +GROUP = RPC_BAND11 + BAND11_NUMBER_OF_SCAS = 3 + BAND11_NUM_L1T_LINES = 8121 + BAND11_NUM_L1T_SAMPS = 8031 + BAND11_L1T_IMAGE_CORNER_LINES = ( 4.096060, 1860.575824, 8117.658570, 6231.080756) + BAND11_L1T_IMAGE_CORNER_SAMPS = ( 1915.827920, 8029.542437, 6114.073386, 9.711755) + BAND11_NUM_L1R_LINES = 2701 + BAND11_NUM_L1R_SAMPS = 640 + BAND11_PIXEL_SIZE = 30.000 + BAND11_START_TIME = 7.349659 + BAND11_LINE_TIME = 0.014279893 + BAND11_MEAN_HEIGHT = 750.000 + BAND11_MEAN_L1R_LINE_SAMP = (1353.971, 959.024) + BAND11_MEAN_L1T_LINE_SAMP = (3850.618, 4063.929) + BAND11_MEAN_SAT_VECTOR = (-0.004931896, -0.017945082, 0.995933654) + BAND11_SAT_X_NUM_COEF = (-1.563382e-04, -1.102788e-06, -4.710026e-05, -7.577951e-09, -4.128327e-05, + -6.873471e-11, -1.907711e-10, -4.295933e-12, -4.268343e-14, 5.972370e-16) + BAND11_SAT_X_DEN_COEF = ( 1.054289e-05, 0.000000e+00, -1.397386e-06, -2.026019e-05, 5.917648e-11, + 5.626132e-10, 9.290515e-10, -2.137517e-14, -4.805692e-16) + BAND11_SAT_Y_NUM_COEF = (-9.643072e-04, 4.698578e-05, -1.094191e-06, -2.508767e-08, -1.470301e-04, + 5.256460e-12, 1.010250e-10, 2.923095e-10, -2.448465e-14, -1.575288e-15) + BAND11_SAT_Y_DEN_COEF = (-3.511079e-08, 1.485083e-06, -1.399707e-06, 0.000000e+00, 1.099767e-10, + 6.703968e-10, 9.019193e-10, 2.018221e-13, 2.488517e-15) + BAND11_SAT_Z_NUM_COEF = ( 3.525230e-03, 4.611923e-07, -1.266541e-07, -1.007913e-08, -1.554455e-06, + -9.412376e-11, -6.151355e-10, -1.004864e-09, 1.511738e-14, -3.107915e-17) + BAND11_SAT_Z_DEN_COEF = (-2.639008e-07, -2.254108e-07, -2.728277e-06, 1.885477e-07, 1.384119e-10, + 8.611272e-10, 1.299246e-09, 1.159078e-13, -1.498463e-14) + BAND11_MEAN_SUN_VECTOR = ( 0.292659173, -0.921600866, 0.254378404) + BAND11_SUN_X_NUM_COEF = ( 6.373537e-05, -1.600078e-07, -6.680948e-06, -9.284826e-15, -9.152611e-07, + 1.198789e-12, 3.842677e-11, -9.653503e-12, -4.058882e-16, 3.303108e-16) + BAND11_SUN_X_DEN_COEF = ( 1.378982e-07, 0.000000e+00, -2.037785e-11, -3.592029e-07, -4.663523e-11, + 1.964638e-11, 2.458992e-11, 1.689360e-15, -1.378338e-15) + BAND11_SUN_Y_NUM_COEF = (-1.326370e-04, 1.154353e-06, -1.770567e-06, 1.514215e-13, -2.387986e-07, + 2.029826e-11, 8.113023e-14, 2.885481e-11, -2.972192e-15, 2.080914e-16) + BAND11_SUN_Y_DEN_COEF = ( 7.989692e-06, -3.461565e-06, -3.204481e-10, 1.942098e-06, -5.598924e-11, + -4.286205e-11, 0.000000e+00, 2.501764e-14, -3.448706e-14) + BAND11_SUN_Z_NUM_COEF = ( 2.376206e-05, 4.369683e-06, 1.269489e-06, 1.891388e-13, 1.896144e-07, + -2.942114e-12, -8.996924e-13, -2.278789e-12, -1.159846e-16, -5.528232e-16) + BAND11_SUN_Z_DEN_COEF = ( 0.000000e+00, 0.000000e+00, -1.997201e-10, -3.143813e-07, 0.000000e+00, + -2.018966e-12, 0.000000e+00, -2.733808e-15, -1.497828e-14) + BAND11_SCA_LIST = (1, 2, 3) + BAND11_SCA01_MEAN_HEIGHT = 750.000 + BAND11_SCA01_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA01_MEAN_L1T_LINE_SAMP = (4079.712, 6144.033) + BAND11_SCA01_LINE_NUM_COEF = (-5.302841e-02, 2.942793e-01, -8.949661e-02, -3.871828e-04, 6.711341e-07) + BAND11_SCA01_LINE_DEN_COEF = ( 7.793808e-08, 2.301969e-06, -5.449110e-10, 3.288325e-13) + BAND11_SCA01_SAMP_NUM_COEF = (-1.139928e-01, -8.677906e-02, -2.836706e-01, -9.541662e-04, 2.211380e-07) + BAND11_SCA01_SAMP_DEN_COEF = ( 5.352496e-07, 4.095315e-06, -1.554380e-06, 1.705675e-13) + BAND11_SCA02_MEAN_HEIGHT = 750.000 + BAND11_SCA02_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA02_MEAN_L1T_LINE_SAMP = (4612.075, 3829.325) + BAND11_SCA02_LINE_NUM_COEF = ( 8.428897e-02, 2.943669e-01, -9.017979e-02, 1.828862e-04, -3.732272e-07) + BAND11_SCA02_LINE_DEN_COEF = ( 1.713100e-07, -6.722765e-07, 2.797156e-11, 6.621976e-13) + BAND11_SCA02_SAMP_NUM_COEF = ( 4.137318e-01, -8.763637e-02, -2.860996e-01, 1.828516e-06, 2.199516e-07) + BAND11_SCA02_SAMP_DEN_COEF = (-7.262615e-07, -1.077223e-07, -1.566908e-06, 1.886666e-13) + BAND11_SCA03_MEAN_HEIGHT = 750.000 + BAND11_SCA03_MEAN_L1R_LINE_SAMP = (1353.971, 319.024) + BAND11_SCA03_MEAN_L1T_LINE_SAMP = (2860.067, 2218.427) + BAND11_SCA03_LINE_NUM_COEF = (-8.353270e-03, 2.944203e-01, -9.084748e-02, -3.960473e-04, 5.766739e-07) + BAND11_SCA03_LINE_DEN_COEF = ( 1.042371e-07, 2.031977e-06, -4.325179e-10, 3.036064e-13) + BAND11_SCA03_SAMP_NUM_COEF = ( 9.399752e-01, -8.667913e-02, -2.835824e-01, 9.554766e-04, 2.256910e-07) + BAND11_SCA03_SAMP_DEN_COEF = (-1.990502e-06, -4.204205e-06, -1.555881e-06, 6.313909e-12) +END_GROUP = RPC_BAND11 +END diff --git a/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml b/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml new file mode 100644 index 0000000..928ef18 --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml @@ -0,0 +1,323 @@ + + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9OGBGM6 + LC08_L2SR_084024_20160111_20201016_02_T1 + L2SR + 02 + T1 + GEOTIFF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B1.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B2.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B3.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B4.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B5.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B6.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_B7.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_SR_QA_AEROSOL.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_QA_PIXEL.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_QA_RADSAT.TIF + LC08_L2SR_084024_20160111_20201016_02_T1_ANG.txt + LC08_L2SR_084024_20160111_20201016_02_T1_MTL.txt + LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT16 + UINT8 + UINT16 + UINT16 + + + LANDSAT_8 + OLI_TIRS + 2 + 84 + 24 + NADIR + 84 + 24 + 2016-01-11 + 22:49:22.9309350Z + LGN + 30.41 + -1 + 9 + 9 + N + N + N + N + N + N + N + N + N + -0.001 + 162.36050444 + 14.78250544 + 0.9834788 + UPPER + FINAL + ESTIMATED + + + UTM + WGS84 + WGS84 + 1 + 30.00 + 8121 + 8031 + NORTH_UP + 52.74262 + 179.40576 + 52.79710 + -177.02521 + 50.55640 + 179.57482 + 50.60679 + -177.02402 + 257400.000 + 5849700.000 + 498300.000 + 5849700.000 + 257400.000 + 5606100.000 + 498300.000 + 5606100.000 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P9OGBGM6 + L2 + LC08_L2SR_084024_20160111_20201016_02_T1 + L2SR + GEOTIFF + 2020-10-16T10:24:19Z + LPGS_15.3.1c + LaSRC_1.5.0 + MODIS + Calculated + MODIS + MODIS + + + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 1.602213 + -0.199972 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + 2.75e-05 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + -0.2 + + + Image courtesy of the U.S. Geological Survey + https://doi.org/10.5066/P975CC9B + L2 + LC80840242016011LGN01 + LC08_L1TP_084024_20160111_20201016_02_T1 + L1TP + T1 + GEOTIFF + 2020-10-16T10:19:16Z + LPGS_15.3.1c + LC08_L1TP_084024_20160111_20201016_02_T1_B1.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B2.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B3.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B4.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B5.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B6.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B7.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B8.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B9.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B10.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_B11.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_QA_PIXEL.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_QA_RADSAT.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_ANG.txt + LC08_L1TP_084024_20160111_20201016_02_T1_VAA.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_VZA.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_SAA.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_SZA.TIF + LC08_L1TP_084024_20160111_20201016_02_T1_MTL.txt + LC08_L1TP_084024_20160111_20201016_02_T1_MTL.xml + LC08CPF_20160101_20160331_02.01 + LO8BPF20160111224533_20160111232900.03 + LT8BPF20160110081635_20160124145303.02 + LC08RLUT_20150303_20431231_02_01.h5 + TIRS + GLS2000 + 5 + 37 + 11.360 + 7.645 + 8.403 + + + 785.81323 + -64.89272 + 804.68237 + -66.45093 + 741.50793 + -61.23396 + 625.28125 + -51.63593 + 382.64093 + -31.59861 + 95.15932 + -7.85829 + 32.07378 + -2.64866 + 707.64630 + -58.43766 + 149.54475 + -12.34945 + 22.00180 + 0.10033 + 22.00180 + 0.10033 + + + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + 1.210700 + -0.099980 + + + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + 65535 + 1 + + + 1.2981E-02 + 1.3293E-02 + 1.2249E-02 + 1.0329E-02 + 6.3210E-03 + 1.5720E-03 + 5.2984E-04 + 1.1690E-02 + 2.4704E-03 + 3.3420E-04 + 3.3420E-04 + -64.90569 + -66.46422 + -61.24621 + -51.64626 + -31.60493 + -7.85986 + -2.64919 + -58.44935 + -12.35192 + 0.10000 + 0.10000 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + 2.0000E-05 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + -0.100000 + + + 774.8853 + 1321.0789 + 480.8883 + 1201.1442 + + + UTM + WGS84 + WGS84 + 1 + 15.00 + 30.00 + 30.00 + NORTH_UP + CUBIC_CONVOLUTION + + diff --git a/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_SR_stac.json b/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_SR_stac.json new file mode 100644 index 0000000..dc3003b --- /dev/null +++ b/tests/data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_SR_stac.json @@ -0,0 +1,244 @@ +{ + "stac_version": "0.7.0", + "stac_extensions": [ + "eo", + "https://landsat.usgs.gov/stac/landsat-extension/schema.json" + ], + "id": "LC08_L2SR_084024_20160111_20201016_02_T1", + "type": "Feature", + "bbox": [ + -179.9847165338706, + 50.62805205289558, + 179.96672360880183, + 52.750507455036264 + ], + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -179.70358951407547, + 52.750507455036264 + ], + [ + 179.96672360880183, + 52.00163609753924 + ], + [ + -177.89334479610974, + 50.62805205289558 + ], + [ + -179.9847165338706, + 51.002602948712465 + ], + [ + -179.70358951407547, + 52.750507455036264 + ] + ] + ] + }, + "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", + "properties": { + "datetime": "2016-01-11", + "eo:cloud_cover": 30.41, + "eo:sun_azimuth": 162.36050444, + "eo:sun_elevation": 14.78250544, + "eo:platform": "LANDSAT_8", + "eo:instrument": "OLI_TIRS", + "eo:off_nadir": 0, + "landsat:cloud_cover_land": -1.0, + "landsat:wrs_type": "2", + "landsat:wrs_path": "84", + "landsat:wrs_row": "24", + "landsat:scene_id": "LC80840242016011LGN01", + "landsat:collection_category": "T1", + "landsat:collection_number": "02", + "eo:bands": [ + { + "name": "SR_B1", + "common_name": "coastal", + "gsd": 30, + "center_wavelength": 0.44 + }, + { + "name": "SR_B2", + "common_name": "blue", + "gsd": 30, + "center_wavelength": 0.48 + }, + { + "name": "SR_B3", + "common_name": "green", + "gsd": 30, + "center_wavelength": 0.56 + }, + { + "name": "SR_B4", + "common_name": "red", + "gsd": 30, + "center_wavelength": 0.65 + }, + { + "name": "SR_B5", + "common_name": "nir08", + "gsd": 30, + "center_wavelength": 0.86 + }, + { + "name": "SR_B6", + "common_name": "swir16", + "gsd": 30, + "center_wavelength": 1.6 + }, + { + "name": "SR_B7", + "common_name": "swir22", + "gsd": 30, + "center_wavelength": 2.2 + } + ] + }, + "assets": { + "thumbnail": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_thumb_small.jpeg", + "title": "Thumbnail image", + "type": "image/jpeg" + }, + "reduced_resolution_browse": { + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_thumb_large.jpeg", + "title": "Reduced resolution browse image", + "type": "image/jpeg" + }, + "index": { + "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1", + "title": "HTML index page", + "type": "text/html" + }, + "SR_B1.TIF": { + "title": "Coastal/Aerosol Band (B1)", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 0 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B1.TIF" + }, + "SR_B2.TIF": { + "title": "Blue Band (B2)", + "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 1 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B2.TIF" + }, + "SR_B3.TIF": { + "title": "Green Band (B3)", + "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 2 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B3.TIF" + }, + "SR_B4.TIF": { + "title": "Red Band (B4)", + "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 3 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B4.TIF" + }, + "SR_B5.TIF": { + "title": "Near Infrared Band 0.8 (B5)", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 4 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B5.TIF" + }, + "SR_B6.TIF": { + "title": "Short-wave Infrared Band 1.6 (B6)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 5 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B6.TIF" + }, + "SR_B7.TIF": { + "title": "Short-wave Infrared Band 2.2 (B7)", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "eo:bands": [ + 6 + ], + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_B7.TIF" + }, + "SR_QA_AEROSOL.TIF": { + "title": "Aerosol Quality Analysis Band", + "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_QA_AEROSOL.TIF" + }, + "ANG.txt": { + "title": "Angle Coefficients File", + "description": "Collection 2 Level-2 Angle Coefficients File (ANG) Surface Reflectance", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_ANG.txt" + }, + "MTL.txt": { + "title": "Product Metadata File", + "description": "Collection 2 Level-2 Product Metadata File (MTL) Surface Reflectance", + "type": "text/plain", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.txt" + }, + "MTL.xml": { + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-1 Product Metadata File (xml) Surface Reflectance", + "type": "application/xml", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml" + }, + "MTL.json": { + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json) Surface Reflectance", + "type": "application/json", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.json" + }, + "QA_PIXEL.TIF": { + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-2 Pixel Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_QA_PIXEL.TIF" + }, + "QA_RADSAT.TIF": { + "title": "Radiometric Saturation Quality Assessment Band", + "description": "Collection 2 Level-2 Radiometric Saturation Quality Assessment Band Surface Reflectance", + "type": "image/vnd.stac.geotiff; cloud-optimized=true", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_QA_RADSAT.TIF" + } + }, + "links": [ + { + "rel": "root", + "href": "https://landsatlook.usgs.gov/data/catalog.json" + }, + { + "rel": "parent", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/catalog.json" + }, + { + "rel": "collection", + "href": "https://landsatlook.usgs.gov/data/collection02/landsat-c2l2-sr.json" + }, + { + "rel": "self", + "href": "https://landsatlook.usgs.gov/data/collection02/level-2/standard/oli-tirs/2016/084/024/LC08_L2SR_084024_20160111_20201016_02_T1/LC08_L2SR_084024_20160111_20201016_02_T1_SR_stac.json" + } + ], + "collection": "landsat-c2l2-sr" +} \ No newline at end of file diff --git a/tests/data.py b/tests/data.py index ce5d922..dd7b7ee 100644 --- a/tests/data.py +++ b/tests/data.py @@ -24,5 +24,8 @@ test_data.get_path( "data-files/assets5/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml"), "vcr_cassette": - test_data.get_path("fixtures/usgs_stac_api.yml") + test_data.get_path("fixtures/usgs_stac_api.yml"), + "antimeridian": + test_data.get_path( + "data-files/oli-tirs/LC08_L2SR_084024_20160111_20201016_02_T1_MTL.xml") } diff --git a/tests/test_geometry.py b/tests/test_geometry.py index 5c0df89..e36c750 100644 --- a/tests/test_geometry.py +++ b/tests/test_geometry.py @@ -2,6 +2,7 @@ import vcr +from stactools.landsat.constants import Antimeridian from stactools.landsat.stac import create_stac_item from tests.data import TEST_GEOMETRY_PATHS @@ -75,3 +76,30 @@ def test_ang(self): for e, i in zip(expected_coords, item_coords): self.assertAlmostEqual(e[0], i[0], 7) self.assertAlmostEqual(e[1], i[1], 7) + + def test_antimeridian(self): + """Test that a scene spanning the antimeridian is normalized.""" + mtl_xml_href = TEST_GEOMETRY_PATHS["antimeridian"] + crosssing_geometry = { + "type": + "Polygon", + "coordinates": [[[-179.70358951407547, 52.750507455036264], + [179.96672360880183, 52.00163609753924], + [-177.89334479610974, 50.62805205289558], + [-179.9847165338706, 51.002602948712465], + [-179.70358951407547, 52.750507455036264]]] + } + crossing_coords = crosssing_geometry["coordinates"][0] + crossing_lons = [lon for lon, lat in crossing_coords] + item = create_stac_item(mtl_xml_href, + legacy_l8=False, + use_usgs_geometry=True, + antimeridian_strategy=Antimeridian.NORMALIZE) + item_coords = item.geometry["coordinates"][0] + item_lons = [lon for lon, lat in item_coords] + self.assertFalse( + all(lon >= 0 for lon in crossing_lons) + or all(lon <= 0 for lon in crossing_lons)) + self.assertTrue( + all(lon >= 0 for lon in item_lons) + or all(lon <= 0 for lon in item_lons)) From c874d506ade3edce1f598a6e0aabd05c928a2ecf Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 18 Mar 2022 10:41:19 -0400 Subject: [PATCH 38/47] add all extensions to collection fragments --- README.md | 2 +- examples/{c2l1-file-list.txt => c2-l1-file-list.txt} | 0 examples/{c2l2-file-list.txt => c2-l2-file-list.txt} | 0 .../LM01_L1GS_001010_19720908_02_T2.json | 2 +- .../LM02_L1GS_001004_19750411_02_T2.json | 2 +- .../LM03_L1GS_001001_19780510_02_T2.json | 2 +- .../LM04_L1GS_001001_19830527_02_T2.json | 2 +- .../LM05_L1GS_001001_19850524_02_T2.json | 2 +- examples/landsat-c2-l1/collection.json | 6 +++++- .../LC08_L2SP_047027_20201204_02_T1.json | 2 +- .../LC09_L2SP_010065_20220129_02_T1.json | 2 +- .../LE07_L2SP_021030_20100109_02_T1.json | 2 +- .../LT04_L2SP_002026_19830110_02_T1.json | 2 +- .../LT05_L2SP_010067_19860424_02_T2.json | 2 +- examples/landsat-c2-l2/collection.json | 6 +++++- src/stactools/landsat/stac.py | 4 ++++ 16 files changed, 25 insertions(+), 13 deletions(-) rename examples/{c2l1-file-list.txt => c2-l1-file-list.txt} (100%) rename examples/{c2l2-file-list.txt => c2-l2-file-list.txt} (100%) diff --git a/README.md b/README.md index b9e5c27..49b3a4a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ $ stac landsat create-item --mtl tests/data-files/oli-tirs/LC08_L2SP_047027_2020 To create a STAC `Collection` from a text file containing a list of Landsat scene XML metadata files: ```bash -$ stac landsat create-collection --file_list examples/c2l2-file-list.txt --output examples/landsat-c2-l2 --id landsat-c2-l2 --usgs_geometry +$ stac landsat create-collection --file_list examples/c2-l2-file-list.txt --output examples/landsat-c2-l2 --id landsat-c2-l2 --usgs_geometry ``` The above `create-collection` command is exactly how the contents of the `examples/landsat-c2-l2` directory are generated. diff --git a/examples/c2l1-file-list.txt b/examples/c2-l1-file-list.txt similarity index 100% rename from examples/c2l1-file-list.txt rename to examples/c2-l1-file-list.txt diff --git a/examples/c2l2-file-list.txt b/examples/c2-l2-file-list.txt similarity index 100% rename from examples/c2l2-file-list.txt rename to examples/c2-l2-file-list.txt diff --git a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json index 9059457..c120bd1 100644 --- a/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json +++ b/examples/landsat-c2-l1/LM01_L1GS_001010_19720908_02_T2/LM01_L1GS_001010_19720908_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T23:11:33.190177Z", + "created": "2022-03-18T14:24:01.014211Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 43.0, diff --git a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json index 3cdd961..2821f0b 100644 --- a/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json +++ b/examples/landsat-c2-l1/LM02_L1GS_001004_19750411_02_T2/LM02_L1GS_001004_19750411_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T23:11:33.192655Z", + "created": "2022-03-18T14:24:01.017276Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 100.0, diff --git a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json index 5780ef1..f1e879f 100644 --- a/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json +++ b/examples/landsat-c2-l1/LM03_L1GS_001001_19780510_02_T2/LM03_L1GS_001001_19780510_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T23:11:33.194339Z", + "created": "2022-03-18T14:24:01.019337Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 58.0, diff --git a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json index 9fdf1c2..b8794c3 100644 --- a/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json +++ b/examples/landsat-c2-l1/LM04_L1GS_001001_19830527_02_T2/LM04_L1GS_001001_19830527_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T23:11:35.565951Z", + "created": "2022-03-18T14:24:02.329083Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 32.0, diff --git a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json index 65fdf59..55a093e 100644 --- a/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json +++ b/examples/landsat-c2-l1/LM05_L1GS_001001_19850524_02_T2/LM05_L1GS_001001_19850524_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "mss" ], - "created": "2022-03-17T23:11:35.575409Z", + "created": "2022-03-18T14:24:02.332482Z", "gsd": 79, "description": "Landsat Collection 2 Level-1", "eo:cloud_cover": 29.0, diff --git a/examples/landsat-c2-l1/collection.json b/examples/landsat-c2-l1/collection.json index 7938e40..b0af1ce 100644 --- a/examples/landsat-c2-l1/collection.json +++ b/examples/landsat-c2-l1/collection.json @@ -47,7 +47,11 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json" ], "item_assets": { "thumbnail": { diff --git a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json index ef97740..a9ef7e6 100644 --- a/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json +++ b/examples/landsat-c2-l2/LC08_L2SP_047027_20201204_02_T1/LC08_L2SP_047027_20201204_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-17T23:11:12.586263Z", + "created": "2022-03-18T14:15:28.445062Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 1.55, diff --git a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json index 8db8663..45bb9ca 100644 --- a/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json +++ b/examples/landsat-c2-l2/LC09_L2SP_010065_20220129_02_T1/LC09_L2SP_010065_20220129_02_T1.json @@ -8,7 +8,7 @@ "oli", "tirs" ], - "created": "2022-03-17T23:11:13.511157Z", + "created": "2022-03-18T14:15:29.346416Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 21.12, diff --git a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json index 50b35c3..37ee3eb 100644 --- a/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json +++ b/examples/landsat-c2-l2/LE07_L2SP_021030_20100109_02_T1/LE07_L2SP_021030_20100109_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "etm+" ], - "created": "2022-03-17T23:11:12.583542Z", + "created": "2022-03-18T14:15:28.440965Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 8.0, diff --git a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json index 53abdd9..d2a30b0 100644 --- a/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json +++ b/examples/landsat-c2-l2/LT04_L2SP_002026_19830110_02_T1/LT04_L2SP_002026_19830110_02_T1.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-17T23:11:12.579278Z", + "created": "2022-03-18T14:15:28.435147Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 7.0, diff --git a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json index c8555fc..93e867b 100644 --- a/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json +++ b/examples/landsat-c2-l2/LT05_L2SP_010067_19860424_02_T2/LT05_L2SP_010067_19860424_02_T2.json @@ -7,7 +7,7 @@ "instruments": [ "tm" ], - "created": "2022-03-17T23:11:12.581415Z", + "created": "2022-03-18T14:15:28.438630Z", "gsd": 30, "description": "Landsat Collection 2 Level-2", "eo:cloud_cover": 23.0, diff --git a/examples/landsat-c2-l2/collection.json b/examples/landsat-c2-l2/collection.json index 0458e58..4132374 100644 --- a/examples/landsat-c2-l2/collection.json +++ b/examples/landsat-c2-l2/collection.json @@ -57,7 +57,11 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json" ], "item_assets": { "thumbnail": { diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 860551d..527dba2 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -284,5 +284,9 @@ def create_collection(collection_id: str) -> Collection: item_assets.item_assets = fragment["item_assets"] ItemAssetsExtension.add_to(collection) + ViewExtension.add_to(collection) + ScientificExtension.add_to(collection) + RasterExtension.add_to(collection) + EOExtension.add_to(collection) return collection From 99b8ac93bd09c36ce6c811092f8750243d0d8d17 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 18 Mar 2022 11:40:02 -0400 Subject: [PATCH 39/47] add antimeridian_strategy to commands --- src/stactools/landsat/commands.py | 34 +++++++++++++++++++++++++++---- src/stactools/landsat/stac.py | 2 +- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 7fdb05f..d3bedc4 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -4,6 +4,7 @@ from click import Command, Group from pystac import CatalogType, Item +from stactools.landsat.constants import Antimeridian from stactools.landsat.stac import create_collection, create_stac_item from stactools.landsat.utils import transform_stac_to_stac @@ -39,6 +40,13 @@ def landsat() -> None: "--legacy_l8", is_flag=True, help="Create legacy Landsat 8 STAC Item") + @click.option("-a", + "--antimeridian_strategy", + type=click.Choice(["normalize", "split"], + case_sensitive=False), + default="normalize", + show_default=True, + help="geometry strategy for antimeridian scenes") @click.option("--level", type=click.Choice(['level-1', 'level-2'], case_sensitive=False), @@ -46,7 +54,7 @@ def landsat() -> None: show_default=True, help="Product level to process. Unused.") def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, - legacy_l8) -> None: + legacy_l8: bool, antimeridian_strategy: str) -> None: """\b Creates a STAC Item for a Landsat Collection 2 scene based on metadata from a Landsat MTL xml file. @@ -74,12 +82,17 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, queried from the USGS STAC API. legacy_l8: Flag to use the legacy method for creating a Landsat 8 STAC Item. + antimeridian_strategy (str): Choice of 'normalize' or 'split' to + either split on -180 longitude or normalize geometries so all + longitudes are either positive or negative. level (str): Choice of 'level-1' or 'level-2'. This is not used and has no effect. """ + antimeridian = Antimeridian[antimeridian_strategy.upper()] item = create_stac_item(mtl_xml_href=mtl, use_usgs_geometry=usgs_geometry, - legacy_l8=legacy_l8) + legacy_l8=legacy_l8, + antimeridian_strategy=antimeridian) item.set_self_href(os.path.join(output, f'{item.id}.json')) item.save_object() @@ -107,8 +120,16 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, "--usgs_geometry", is_flag=True, help="Use USGS STAC Item geometry") + @click.option("-a", + "--antimeridian_strategy", + type=click.Choice(["normalize", "split"], + case_sensitive=False), + default="normalize", + show_default=True, + help="geometry strategy for antimeridian scenes") def create_collection_cmd(file_list: str, output: str, id: str, - usgs_geometry: bool) -> None: + usgs_geometry: bool, + antimeridian_strategy: str) -> None: """\b Creates a STAC Collection for Items defined by the hrefs in file_list. @@ -121,7 +142,11 @@ def create_collection_cmd(file_list: str, output: str, id: str, usgs_geometry: Flag to use the geometry from a USGS STAC Item that resides in the same directory as the MTL xml file or can be queried from the USGS STAC API. + antimeridian_strategy (str): Choice of 'normalize' or 'split' to + either split on -180 longitude or normalize geometries so all + longitudes are either positive or negative. """ + antimeridian = Antimeridian[antimeridian_strategy.upper()] with open(file_list) as file: hrefs = [line.strip() for line in file.readlines()] @@ -131,7 +156,8 @@ def create_collection_cmd(file_list: str, output: str, id: str, for href in hrefs: item = create_stac_item(href, use_usgs_geometry=usgs_geometry, - legacy_l8=False) + legacy_l8=False, + antimeridian_strategy=antimeridian) collection.add_item(item) collection.make_all_asset_hrefs_relative() collection.validate_all() diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index 527dba2..d90d149 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -45,7 +45,7 @@ def create_stac_item( use_usgs_geometry (bool): Use the geometry from a USGS STAC file that is stored alongside the XML metadata file or pulled from the USGS STAC API. - antimeridian_strategy (AntimeridianStrategy): Either split on -180 or + antimeridian_strategy (Antimeridian): Either split on -180 or normalize geometries so all longitudes are either positive or negative. read_href_modifier (Callable[[str], str]): An optional function to From 1f082c807eed102df0bcc9bdd4ba7fd84d45bbd1 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 18 Mar 2022 11:44:03 -0400 Subject: [PATCH 40/47] update the example for the legacy comparison --- .../LC08_L2SP_005009_20150710_02_T2.json | 1117 +++++++++-------- 1 file changed, 563 insertions(+), 554 deletions(-) diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json index aa3db21..a7f8c44 100644 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json +++ b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json @@ -1,567 +1,576 @@ { - "type": "Feature", - "stac_version": "1.0.0", - "id": "LC08_L2SP_005009_20150710_02_T2", - "properties": { - "platform": "landsat-8", - "instruments": [ - "oli", - "tirs" + "type": "Feature", + "stac_version": "1.0.0", + "id": "LC08_L2SP_005009_20150710_02_T2", + "properties": { + "platform": "landsat-8", + "instruments": [ + "oli", + "tirs" + ], + "created": "2022-03-18T15:42:00.151199Z", + "gsd": 30, + "description": "Landsat Collection 2 Level-2", + "eo:cloud_cover": 54.65, + "view:off_nadir": 0, + "view:sun_elevation": 40.0015903, + "view:sun_azimuth": 177.8846007, + "proj:epsg": 32624, + "proj:shape": [ + 8821, + 8791 + ], + "proj:transform": [ + 30.0, + 0.0, + 365685.0, + 0.0, + -30.0, + 8143815.0 + ], + "landsat:cloud_cover_land": 54.67, + "landsat:wrs_type": "2", + "landsat:wrs_path": "005", + "landsat:wrs_row": "009", + "landsat:collection_category": "T2", + "landsat:collection_number": "02", + "landsat:correction": "L2SP", + "landsat:scene_id": "LC80050092015191LGN01", + "sci:doi": "10.5066/P9OGBGM6", + "datetime": "2015-07-10T14:34:35.978399Z" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -40.207494643258215, + 73.37663856483091 ], - "created": "2022-03-11T19:59:40.967667Z", - "gsd": 30, - "description": "Landsat Collection 2 Level-2", - "eo:cloud_cover": 54.65, - "view:off_nadir": 0, - "view:sun_elevation": 40.0015903, - "view:sun_azimuth": 177.8846007, - "proj:epsg": 32624, - "proj:shape": [ - 8821, - 8791 + [ + -35.24761728197594, + 72.53787734153468 ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 + [ + -38.14743429756088, + 71.03398759793903 ], - "landsat:cloud_cover_land": 54.67, - "landsat:wrs_type": "2", - "landsat:wrs_path": "005", - "landsat:wrs_row": "009", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:correction": "L2SP", - "landsat:scene_id": "LC80050092015191LGN01", - "sci:doi": "10.5066/P9OGBGM6", - "datetime": "2015-07-10T14:34:35.978399Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -40.207494643258215, - 73.37663856483091 - ], - [ - -35.24761728197594, - 72.53787734153468 - ], - [ - -38.14743429756088, - 71.03398759793903 - ], - [ - -42.81076871497076, - 71.81441016731796 - ], - [ - -40.207494643258215, - 73.37663856483091 - ] - ] + [ + -42.81076871497076, + 71.81441016731796 + ], + [ + -40.207494643258215, + 73.37663856483091 ] + ] + ] + }, + "links": [ + { + "rel": "cite-as", + "href": "https://doi.org/10.5066/P9OGBGM6", + "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "via", + "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST", + "type": "application/json", + "title": "USGS STAC Item" + }, + { + "rel": "self", + "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", + "type": "application/json" + } + ], + "assets": { + "thumbnail": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", + "type": "image/jpeg", + "title": "Thumbnail image", + "roles": [ + "thumbnail" + ] + }, + "reduced_resolution_browse": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", + "type": "image/jpeg", + "title": "Reduced resolution browse image", + "roles": [ + "overview" + ] + }, + "mtl.json": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", + "type": "application/json", + "title": "Product Metadata File (json)", + "description": "Collection 2 Level-2 Product Metadata File (json)", + "roles": [ + "metadata" + ] }, - "links": [ + "mtl.txt": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", + "type": "text/plain", + "title": "Product Metadata File (txt)", + "description": "Collection 2 Level-2 Product Metadata File (txt)", + "roles": [ + "metadata" + ] + }, + "mtl.xml": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", + "type": "application/xml", + "title": "Product Metadata File (xml)", + "description": "Collection 2 Level-2 Product Metadata File (xml)", + "roles": [ + "metadata" + ] + }, + "ang": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", + "type": "text/plain", + "title": "Angle Coefficients File", + "description": "Collection 2 Level-1 Angle Coefficients File", + "roles": [ + "metadata" + ] + }, + "qa_pixel": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Pixel Quality Assessment Band", + "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", + "raster:bands": [ { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, + "nodata": 1, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "cloud", + "cloud-shadow", + "snow-ice", + "water-mask" + ] + }, + "qa_radsat": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", + "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", + "raster:bands": [ { - "rel": "via", - "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR", - "type": "application/json", - "title": "USGS STAC Item" - }, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "saturation" + ] + }, + "coastal": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Coastal/Aerosol Band", + "description": "Collection 2 Level-2 Coastal/Aerosol Band (SR_B1) Surface Reflectance", + "eo:bands": [ { - "rel": "via", - "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST", - "type": "application/json", - "title": "USGS STAC Item" - }, + "name": "OLI_B1", + "common_name": "coastal", + "description": "Coastal/Aerosol", + "center_wavelength": 0.44, + "full_width_half_max": 0.02 + } + ], + "raster:bands": [ { - "rel": "self", - "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", - "type": "application/json" + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } - ], - "assets": { - "thumbnail": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B4", - "common_name": "red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B5", - "common_name": "nir08", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B6", - "common_name": "swir16", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B7", - "common_name": "swir22", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "qa_aerosol": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Collection 2 Level-2 Thermal Infrared Band (B10) Surface Temperature", - "eo:bands": [ - { - "name": "TIRS_B10", - "common_name": "lwir11", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "gsd": 100, - "roles": [ - "temperature" - ] - }, - "atran": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "emis": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] + ], + "roles": [ + "reflectance" + ] + }, + "blue": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Blue Band", + "description": "Collection 2 Level-2 Blue Band (SR_B2) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B2", + "common_name": "blue", + "description": "Visible blue", + "center_wavelength": 0.48, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 } + ], + "roles": [ + "reflectance" + ] }, - "bbox": [ - -43.20190248750403, - 70.9793158649215, - -34.95084086107732, - 73.3491841350785 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/raster/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" - ] -} + "green": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Green Band", + "description": "Collection 2 Level-2 Green Band (SR_B3) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B3", + "common_name": "green", + "description": "Visible green", + "center_wavelength": 0.56, + "full_width_half_max": 0.06 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "red": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Red Band", + "description": "Collection 2 Level-2 Red Band (SR_B4) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B4", + "common_name": "red", + "description": "Visible red", + "center_wavelength": 0.65, + "full_width_half_max": 0.04 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "nir08": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Near Infrared Band 0.8", + "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B5) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B5", + "common_name": "nir08", + "description": "Near infrared", + "center_wavelength": 0.87, + "full_width_half_max": 0.03 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir16": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 1.6", + "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B6) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B6", + "common_name": "swir16", + "description": "Short-wave infrared", + "center_wavelength": 1.61, + "full_width_half_max": 0.09 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "swir22": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Short-wave Infrared Band 2.2", + "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", + "eo:bands": [ + { + "name": "OLI_B7", + "common_name": "swir22", + "description": "Short-wave infrared", + "center_wavelength": 2.2, + "full_width_half_max": 0.19 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "scale": 2.75e-05, + "offset": -0.2 + } + ], + "roles": [ + "reflectance" + ] + }, + "qa_aerosol": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Aerosol Quality Assessment Band", + "description": "Collection 2 Level-2 Aerosol Quality Assessment Band (SR_QA_AEROSOL) Surface Reflectance Product", + "raster:bands": [ + { + "nodata": 1, + "data_type": "uint8", + "spatial_resolution": 30, + "unit": "bit index" + } + ], + "roles": [ + "data-mask", + "water-mask" + ] + }, + "lwir11": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Band", + "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B10) Surface Temperature", + "eo:bands": [ + { + "name": "TIRS_B10", + "common_name": "lwir11", + "description": "Long-wave infrared", + "center_wavelength": 10.9, + "full_width_half_max": 0.59 + } + ], + "raster:bands": [ + { + "nodata": 0, + "data_type": "uint16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.00341802, + "offset": 149.0 + } + ], + "gsd": 100, + "roles": [ + "temperature" + ] + }, + "atran": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Atmospheric Transmittance Band", + "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "cdist": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Cloud Distance Band", + "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kilometer", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + }, + "drad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Downwelled Radiance Band", + "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "urad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Upwelled Radiance Band", + "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "trad": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Thermal Radiance Band", + "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "watt/steradian/square_meter/micrometer", + "scale": 0.001 + } + ], + "roles": [ + "data" + ] + }, + "emis": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Band", + "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "emsd": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Emissivity Standard Deviation Band", + "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "emissivity coefficient", + "scale": 0.0001 + } + ], + "roles": [ + "data" + ] + }, + "qa": { + "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "title": "Surface Temperature Quality Assessment Band", + "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", + "raster:bands": [ + { + "nodata": -9999, + "data_type": "int16", + "spatial_resolution": 30, + "unit": "kelvin", + "scale": 0.01 + } + ], + "roles": [ + "data" + ] + } + }, + "bbox": [ + -43.20190248750403, + 70.9793158649215, + -34.95084086107732, + 73.3491841350785 + ], + "stac_extensions": [ + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", + "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" + ] +} \ No newline at end of file From 3b1e78d05cd9b1efca57a9d2f4ad54af4c1de61e Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Fri, 18 Mar 2022 13:47:45 -0400 Subject: [PATCH 41/47] remove problematic docker job from CI --- .github/workflows/continuous-integration.yml | 84 -------------------- 1 file changed, 84 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 483398b..92f76e6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -56,87 +56,3 @@ jobs: run: conda env update -f environment.yml -n test - name: Execute linters and test suites run: ./scripts/cibuild - docker: - name: docker - needs: - - codecov - - python-matrix - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - steps: - - name: Set up Python 3.x - uses: actions/setup-python@v2 - with: - python-version: "3.x" - - - name: Checkout - uses: actions/checkout@v2 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v1 - with: - registry: ${{ env.DOCKER_REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Run rename script if in the template repo - run: | - if [[ "$GITHUB_REPOSITORY" == */template ]]; then - scripts/rename - fi - - name: Source build args - run: | - source ./docker_env - STACTOOLS_VERSION=$(python scripts/stactools-version.py) - echo "stactools_version=$STACTOOLS_VERSION" >> $GITHUB_ENV - echo "docker_workdir=$DOCKER_WORKDIR" >> $GITHUB_ENV - echo "docker_namespace_package_dir=$DOCKER_NAMESPACE_PACKAGE_DIR" >> $GITHUB_ENV - - - name: Docker meta main - id: meta-main - uses: docker/metadata-action@v3 - with: - images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }} - tags: | - type=ref,event=branch - type=ref,event=pr - - - name: Build and push main - uses: docker/build-push-action@v2 - with: - context: . - file: docker/Dockerfile - build-args: | - STACTOOLS_VERSION=${{ env.stactools_version }} - DOCKER_WORKDIR=${{ env.docker_workdir }} - DOCKER_NAMESPACE_PACKAGE_DIR=${{ env.docker_namespace_package_dir }} - # Don't try to push if the event is a PR from a fork - push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} - tags: ${{ steps.meta-main.outputs.tags }} - labels: ${{ steps.meta-main.outputs.labels }} - - - name: Docker meta dev - id: meta-dev - uses: docker/metadata-action@v3 - with: - images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }} - flavor: | - suffix=-dev - tags: | - type=ref,event=branch - type=ref,event=pr - - - name: Build and push dev - uses: docker/build-push-action@v2 - with: - context: . - file: docker/Dockerfile-dev - build-args: | - STACTOOLS_VERSION=${{ env.stactools_version }} - DOCKER_WORKDIR=${{ env.docker_workdir }} - DOCKER_NAMESPACE_PACKAGE_DIR=${{ env.docker_namespace_package_dir }} - # Don't try to push if the event is a PR from a fork - push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} - tags: ${{ steps.meta-dev.outputs.tags }} - labels: ${{ steps.meta-dev.outputs.labels }} From cc5280564f62d7868967dba175c85f69e3f3ff0d Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 21 Mar 2022 11:21:35 -0400 Subject: [PATCH 42/47] chore: clean up .gitignore --- .gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5771a91..a81c8ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,3 @@ -tests/data-files/external -z-dev - # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] From 8e1b93b2b40c14abf9efea87bfa0064e411f95e0 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 21 Mar 2022 11:50:30 -0400 Subject: [PATCH 43/47] chore: change stactools dependency to point at commit hash rather than branch --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 7e5607c..44738ce 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ packages = stactools.landsat stactools.landsat.fragments install_requires = - stactools @ git+https://github.com/stac-utils/stactools@antimeridian + stactools @ git+https://github.com/stac-utils/stactools@f31524f03308df94b4836c92abb779f194e34567 pystac_client >= 0.3.2 [options.packages.find] From 856f972a983efdf0f1a1267c969cf42e46fcf9cf Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 21 Mar 2022 14:06:46 -0400 Subject: [PATCH 44/47] chore: update docs - update ipynb - remove the legacy l8 item directory from examples directory - update command function documentation --- docs/installation_and_basic_usage.ipynb | 721 +++++++++--------- ...C08_L2SP_005009_20150710_02_T2-legacy.json | 603 --------------- .../LC08_L2SP_005009_20150710_02_T2.json | 576 -------------- src/stactools/landsat/commands.py | 34 +- src/stactools/landsat/stac.py | 2 +- 5 files changed, 366 insertions(+), 1570 deletions(-) delete mode 100644 examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json delete mode 100644 examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json diff --git a/docs/installation_and_basic_usage.ipynb b/docs/installation_and_basic_usage.ipynb index 10214e6..1c1ad38 100644 --- a/docs/installation_and_basic_usage.ipynb +++ b/docs/installation_and_basic_usage.ipynb @@ -121,16 +121,24 @@ " \"oli\",\n", " \"tirs\"\n", " ],\n", - " \"description\": \"Landsat Collection 2 Level-2 Surface Reflectance Product\",\n", + " \"created\": \"2022-03-21T18:01:23.704843Z\",\n", + " \"gsd\": 30,\n", + " \"description\": \"Landsat Collection 2 Level-2\",\n", " \"eo:cloud_cover\": 54.65,\n", " \"view:off_nadir\": 0,\n", " \"view:sun_elevation\": 40.0015903,\n", " \"view:sun_azimuth\": 177.8846007,\n", " \"proj:epsg\": 32624,\n", - " \"proj:bbox\": [\n", + " \"proj:shape\": [\n", + " 8821,\n", + " 8791\n", + " ],\n", + " \"proj:transform\": [\n", + " 30.0,\n", + " 0.0,\n", " 365685.0,\n", - " 7879185.0,\n", - " 629415.0,\n", + " 0.0,\n", + " -30.0,\n", " 8143815.0\n", " ],\n", " \"landsat:cloud_cover_land\": 54.67,\n", @@ -139,8 +147,9 @@ " \"landsat:wrs_row\": \"009\",\n", " \"landsat:collection_category\": \"T2\",\n", " \"landsat:collection_number\": \"02\",\n", - " \"landsat:processing_level\": \"L2SP\",\n", + " \"landsat:correction\": \"L2SP\",\n", " \"landsat:scene_id\": \"LC80050092015191LGN01\",\n", + " \"sci:doi\": \"10.5066/P9OGBGM6\",\n", " \"datetime\": \"2015-07-10T14:34:35.978399Z\"\n", " },\n", " \"geometry\": {\n", @@ -148,551 +157,513 @@ " \"coordinates\": [\n", " [\n", " [\n", - " -40.24668835688223,\n", - " 73.34767227948275\n", + " -40.207494643258215,\n", + " 73.37663856483091\n", " ],\n", " [\n", - " -34.958411161782664,\n", - " 72.5174838111986\n", + " -35.24761728197594,\n", + " 72.53787734153468\n", " ],\n", " [\n", - " -37.92205787926383,\n", - " 70.98117952546042\n", + " -38.14743429756088,\n", + " 71.03398759793903\n", " ],\n", " [\n", - " -43.192625531993365,\n", - " 71.82092278865927\n", + " -42.81076871497076,\n", + " 71.81441016731796\n", " ],\n", " [\n", - " -40.24668835688223,\n", - " 73.34767227948275\n", + " -40.207494643258215,\n", + " 73.37663856483091\n", " ]\n", " ]\n", " ]\n", " },\n", " \"links\": [\n", " {\n", - " \"rel\": \"alternate\",\n", - " \"href\": \"https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2\",\n", - " \"type\": \"text/html\",\n", - " \"title\": \"USGS stac-browser page\"\n", + " \"rel\": \"cite-as\",\n", + " \"href\": \"https://doi.org/10.5066/P9OGBGM6\",\n", + " \"title\": \"Landsat 8-9 OLI/TIRS Collection 2 Level-2\"\n", + " },\n", + " {\n", + " \"rel\": \"via\",\n", + " \"href\": \"https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR\",\n", + " \"type\": \"application/json\",\n", + " \"title\": \"USGS STAC Item\"\n", + " },\n", + " {\n", + " \"rel\": \"via\",\n", + " \"href\": \"https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST\",\n", + " \"type\": \"application/json\",\n", + " \"title\": \"USGS STAC Item\"\n", " }\n", " ],\n", " \"assets\": {\n", " \"thumbnail\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg\",\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg\",\n", " \"type\": \"image/jpeg\",\n", - " \"title\": \"Thumbnail image\"\n", + " \"title\": \"Thumbnail image\",\n", + " \"roles\": [\n", + " \"thumbnail\"\n", + " ]\n", " },\n", " \"reduced_resolution_browse\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg\",\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg\",\n", " \"type\": \"image/jpeg\",\n", - " \"title\": \"Reduced resolution browse image\"\n", + " \"title\": \"Reduced resolution browse image\",\n", + " \"roles\": [\n", + " \"overview\"\n", + " ]\n", " },\n", - " \"ANG\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt\",\n", - " \"type\": \"text/plain\",\n", - " \"title\": \"Angle Coefficients File\",\n", - " \"description\": \"Collection 2 Level-1 Angle Coefficients File (ANG)\"\n", + " \"mtl.json\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json\",\n", + " \"type\": \"application/json\",\n", + " \"title\": \"Product Metadata File (json)\",\n", + " \"description\": \"Collection 2 Level-2 Product Metadata File (json)\",\n", + " \"roles\": [\n", + " \"metadata\"\n", + " ]\n", " },\n", - " \"MTL.txt\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt\",\n", + " \"mtl.txt\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt\",\n", " \"type\": \"text/plain\",\n", - " \"title\": \"Product Metadata File\",\n", - " \"description\": \"Collection 2 Level-1 Product Metadata File (MTL)\"\n", + " \"title\": \"Product Metadata File (txt)\",\n", + " \"description\": \"Collection 2 Level-2 Product Metadata File (txt)\",\n", + " \"roles\": [\n", + " \"metadata\"\n", + " ]\n", " },\n", - " \"MTL.xml\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml\",\n", + " \"mtl.xml\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml\",\n", " \"type\": \"application/xml\",\n", " \"title\": \"Product Metadata File (xml)\",\n", - " \"description\": \"Collection 2 Level-1 Product Metadata File (xml)\"\n", + " \"description\": \"Collection 2 Level-2 Product Metadata File (xml)\",\n", + " \"roles\": [\n", + " \"metadata\"\n", + " ]\n", " },\n", - " \"MTL.json\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json\",\n", - " \"type\": \"application/json\",\n", - " \"title\": \"Product Metadata File (json)\",\n", - " \"description\": \"Collection 2 Level-1 Product Metadata File (json)\"\n", + " \"ang\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt\",\n", + " \"type\": \"text/plain\",\n", + " \"title\": \"Angle Coefficients File\",\n", + " \"description\": \"Collection 2 Level-1 Angle Coefficients File\",\n", + " \"roles\": [\n", + " \"metadata\"\n", + " ]\n", " },\n", - " \"QA_PIXEL\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF\",\n", + " \"qa_pixel\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Pixel Quality Assessment Band\",\n", - " \"description\": \"Collection 2 Level-1 Pixel Quality Assessment Band\",\n", - " \"gsd\": 30.0,\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"description\": \"Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)\",\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 1,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"bit index\"\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"cloud\",\n", + " \"cloud-shadow\",\n", + " \"snow-ice\",\n", + " \"water-mask\"\n", " ]\n", " },\n", - " \"QA_RADSAT\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF\",\n", + " \"qa_radsat\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Radiometric Saturation Quality Assessment Band\",\n", - " \"description\": \"Collection 2 Level-1 Radiometric Saturation Quality Assessment Band\",\n", - " \"gsd\": 30.0,\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"title\": \"Radiometric Saturation and Terrain Occlusion Quality Assessment Band\",\n", + " \"description\": \"Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)\",\n", + " \"raster:bands\": [\n", + " {\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"bit index\"\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"saturation\"\n", " ]\n", " },\n", - " \"SR_B1\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF\",\n", + " \"coastal\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Coastal/Aerosol Band (B1)\",\n", - " \"description\": \"Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Coastal/Aerosol Band\",\n", + " \"description\": \"Collection 2 Level-2 Coastal/Aerosol Band (SR_B1) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B1\",\n", + " \"name\": \"OLI_B1\",\n", " \"common_name\": \"coastal\",\n", - " \"gsd\": 30,\n", + " \"description\": \"Coastal/Aerosol\",\n", " \"center_wavelength\": 0.44,\n", " \"full_width_half_max\": 0.02\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_B2\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF\",\n", + " \"blue\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Blue Band (B2)\",\n", - " \"description\": \"Collection 2 Level-2 Blue Band (B2) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Blue Band\",\n", + " \"description\": \"Collection 2 Level-2 Blue Band (SR_B2) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B2\",\n", + " \"name\": \"OLI_B2\",\n", " \"common_name\": \"blue\",\n", - " \"gsd\": 30,\n", + " \"description\": \"Visible blue\",\n", " \"center_wavelength\": 0.48,\n", " \"full_width_half_max\": 0.06\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_B3\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF\",\n", + " \"green\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Green Band (B3)\",\n", - " \"description\": \"Collection 2 Level-2 Green Band (B3) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Green Band\",\n", + " \"description\": \"Collection 2 Level-2 Green Band (SR_B3) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B3\",\n", + " \"name\": \"OLI_B3\",\n", " \"common_name\": \"green\",\n", - " \"gsd\": 30,\n", + " \"description\": \"Visible green\",\n", " \"center_wavelength\": 0.56,\n", " \"full_width_half_max\": 0.06\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_B4\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF\",\n", + " \"red\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Red Band (B4)\",\n", - " \"description\": \"Collection 2 Level-2 Red Band (B4) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Red Band\",\n", + " \"description\": \"Collection 2 Level-2 Red Band (SR_B4) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B4\",\n", + " \"name\": \"OLI_B4\",\n", " \"common_name\": \"red\",\n", - " \"gsd\": 30,\n", + " \"description\": \"Visible red\",\n", " \"center_wavelength\": 0.65,\n", " \"full_width_half_max\": 0.04\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_B5\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF\",\n", + " \"nir08\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Near Infrared Band 0.8 (B5)\",\n", - " \"description\": \"Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Near Infrared Band 0.8\",\n", + " \"description\": \"Collection 2 Level-2 Near Infrared Band 0.8 (SR_B5) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B5\",\n", + " \"name\": \"OLI_B5\",\n", " \"common_name\": \"nir08\",\n", - " \"gsd\": 30,\n", - " \"center_wavelength\": 0.86,\n", + " \"description\": \"Near infrared\",\n", + " \"center_wavelength\": 0.87,\n", " \"full_width_half_max\": 0.03\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_B6\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF\",\n", + " \"swir16\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Short-wave Infrared Band 1.6 (B6)\",\n", - " \"description\": \"Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Short-wave Infrared Band 1.6\",\n", + " \"description\": \"Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B6) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B6\",\n", + " \"name\": \"OLI_B6\",\n", " \"common_name\": \"swir16\",\n", - " \"gsd\": 30,\n", - " \"center_wavelength\": 1.6,\n", - " \"full_width_half_max\": 0.08\n", + " \"description\": \"Short-wave infrared\",\n", + " \"center_wavelength\": 1.61,\n", + " \"full_width_half_max\": 0.09\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_B7\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF\",\n", + " \"swir22\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Short-wave Infrared Band 2.2 (B7)\",\n", - " \"description\": \"Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", + " \"title\": \"Short-wave Infrared Band 2.2\",\n", + " \"description\": \"Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"SR_B7\",\n", + " \"name\": \"OLI_B7\",\n", " \"common_name\": \"swir22\",\n", - " \"gsd\": 30,\n", + " \"description\": \"Short-wave infrared\",\n", " \"center_wavelength\": 2.2,\n", - " \"full_width_half_max\": 0.2\n", + " \"full_width_half_max\": 0.19\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 2.75e-05,\n", + " \"offset\": -0.2\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"reflectance\"\n", " ]\n", " },\n", - " \"SR_QA_AEROSOL\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF\",\n", + " \"qa_aerosol\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Aerosol Quality Analysis Band\",\n", - " \"description\": \"Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance\",\n", - " \"gsd\": 30.0,\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"title\": \"Aerosol Quality Assessment Band\",\n", + " \"description\": \"Collection 2 Level-2 Aerosol Quality Assessment Band (SR_QA_AEROSOL) Surface Reflectance Product\",\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 1,\n", + " \"data_type\": \"uint8\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"bit index\"\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data-mask\",\n", + " \"water-mask\"\n", " ]\n", " },\n", - " \"ST_B10\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF\",\n", + " \"lwir11\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", - " \"title\": \"Surface Temperature Band (B10)\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product\",\n", - " \"gsd\": 100.0,\n", + " \"title\": \"Surface Temperature Band\",\n", + " \"description\": \"Collection 2 Level-2 Thermal Infrared Band (ST_B10) Surface Temperature\",\n", " \"eo:bands\": [\n", " {\n", - " \"name\": \"ST_B10\",\n", + " \"name\": \"TIRS_B10\",\n", " \"common_name\": \"lwir11\",\n", - " \"gsd\": 100.0,\n", + " \"description\": \"Long-wave infrared\",\n", " \"center_wavelength\": 10.9,\n", - " \"full_width_half_max\": 0.8\n", + " \"full_width_half_max\": 0.59\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": 0,\n", + " \"data_type\": \"uint16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"kelvin\",\n", + " \"scale\": 0.00341802,\n", + " \"offset\": 149.0\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"gsd\": 100,\n", + " \"roles\": [\n", + " \"temperature\"\n", " ]\n", " },\n", - " \"ST_ATRAN\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF\",\n", + " \"atran\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Atmospheric Transmittance Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_ATRAN\",\n", - " \"description\": \"atmospheric transmission\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"scale\": 0.0001\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_CDIST\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF\",\n", + " \"cdist\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Cloud Distance Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_CDIST\",\n", - " \"description\": \"distance to nearest cloud\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"kilometer\",\n", + " \"scale\": 0.01\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_DRAD\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF\",\n", + " \"drad\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Downwelled Radiance Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_DRAD\",\n", - " \"description\": \"downwelled radiance\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"watt/steradian/square_meter/micrometer\",\n", + " \"scale\": 0.001\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_URAD\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF\",\n", + " \"urad\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Upwelled Radiance Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_URAD\",\n", - " \"description\": \"upwelled radiance\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"watt/steradian/square_meter/micrometer\",\n", + " \"scale\": 0.001\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_TRAD\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF\",\n", + " \"trad\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Thermal Radiance Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_TRAD\",\n", - " \"description\": \"thermal radiance\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"watt/steradian/square_meter/micrometer\",\n", + " \"scale\": 0.001\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_EMIS\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF\",\n", + " \"emis\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Emissivity Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_EMIS\",\n", - " \"description\": \"emissivity\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"emissivity coefficient\",\n", + " \"scale\": 0.0001\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_EMSD\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF\",\n", + " \"emsd\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Emissivity Standard Deviation Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"eo:bands\": [\n", + " \"description\": \"Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", " {\n", - " \"name\": \"ST_EMSD\",\n", - " \"description\": \"emissivity standard deviation\",\n", - " \"gsd\": 30\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"emissivity coefficient\",\n", + " \"scale\": 0.0001\n", " }\n", " ],\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", - " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " },\n", - " \"ST_QA\": {\n", - " \"href\": \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF\",\n", + " \"qa\": {\n", + " \"href\": \"/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF\",\n", " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\",\n", " \"title\": \"Surface Temperature Quality Assessment Band\",\n", - " \"description\": \"Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product\",\n", - " \"gsd\": 30.0,\n", - " \"proj:shape\": [\n", - " 8821,\n", - " 8791\n", + " \"description\": \"Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product\",\n", + " \"raster:bands\": [\n", + " {\n", + " \"nodata\": -9999,\n", + " \"data_type\": \"int16\",\n", + " \"spatial_resolution\": 30,\n", + " \"unit\": \"kelvin\",\n", + " \"scale\": 0.01\n", + " }\n", " ],\n", - " \"proj:transform\": [\n", - " 30.0,\n", - " 0.0,\n", - " 365685.0,\n", - " 0.0,\n", - " -30.0,\n", - " 8143815.0\n", + " \"roles\": [\n", + " \"data\"\n", " ]\n", " }\n", " },\n", @@ -703,10 +674,12 @@ " 73.3491841350785\n", " ],\n", " \"stac_extensions\": [\n", + " \"https://stac-extensions.github.io/raster/v1.0.0/schema.json\",\n", " \"https://stac-extensions.github.io/eo/v1.0.0/schema.json\",\n", " \"https://stac-extensions.github.io/view/v1.0.0/schema.json\",\n", " \"https://stac-extensions.github.io/projection/v1.0.0/schema.json\",\n", - " \"https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json\"\n", + " \"https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json\",\n", + " \"https://stac-extensions.github.io/scientific/v1.0.0/schema.json\"\n", " ]\n", "}\n" ] @@ -718,7 +691,7 @@ "from stactools.landsat import stac\n", "\n", "mtl_xml_href = \"../tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml\"\n", - "item = stac.create_stac_item(mtl_xml_href)\n", + "item = stac.create_stac_item(mtl_xml_href, legacy_l8=False, use_usgs_geometry=True)\n", "\n", "print(json.dumps(item.to_dict(), indent=4))" ] diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json deleted file mode 100644 index 6687ed0..0000000 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2-legacy.json +++ /dev/null @@ -1,603 +0,0 @@ -{ - "type": "Feature", - "stac_version": "1.0.0", - "id": "LC08_L2SP_005009_20150710_02_T2", - "properties": { - "platform": "landsat-8", - "instruments": [ - "oli", - "tirs" - ], - "description": "Landsat Collection 2 Level-2 Surface Reflectance Product", - "eo:cloud_cover": 54.65, - "view:off_nadir": 0, - "view:sun_elevation": 40.0015903, - "view:sun_azimuth": 177.8846007, - "proj:epsg": 32624, - "proj:bbox": [ - 365685.0, - 7879185.0, - 629415.0, - 8143815.0 - ], - "landsat:cloud_cover_land": 54.67, - "landsat:wrs_type": "2", - "landsat:wrs_path": "005", - "landsat:wrs_row": "009", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:scene_id": "LC80050092015191LGN01", - "landsat:processing_level": "L2SP", - "datetime": "2015-07-10T14:34:35.978399Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -40.207494643258215, - 73.37663856483091 - ], - [ - -35.24761728197594, - 72.53787734153468 - ], - [ - -38.14743429756088, - 71.03398759793903 - ], - [ - -42.81076871497076, - 71.81441016731796 - ], - [ - -40.207494643258215, - 73.37663856483091 - ] - ] - ] - }, - "links": [ - { - "rel": "alternate", - "href": "https://landsatlook.usgs.gov/stac-browser/collection02/level-2/standard/oli-tirs/2015/005/009/LC08_L2SP_005009_20150710_02_T2", - "type": "text/html", - "title": "USGS stac-browser page" - }, - { - "rel": "self", - "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", - "type": "application/json" - } - ], - "assets": { - "thumbnail": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image" - }, - "reduced_resolution_browse": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image" - }, - "ANG": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File (ANG)" - }, - "MTL.txt": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File", - "description": "Collection 2 Level-1 Product Metadata File (MTL)" - }, - "MTL.xml": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-1 Product Metadata File (xml)" - }, - "MTL.json": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-1 Product Metadata File (json)" - }, - "QA_PIXEL": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "QA_RADSAT": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation Quality Assessment Band", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B1": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band (B1)", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (B1) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B1", - "common_name": "coastal", - "gsd": 30, - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B2": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band (B2)", - "description": "Collection 2 Level-2 Blue Band (B2) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B2", - "common_name": "blue", - "gsd": 30, - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B3": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band (B3)", - "description": "Collection 2 Level-2 Green Band (B3) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B3", - "common_name": "green", - "gsd": 30, - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B4": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band (B4)", - "description": "Collection 2 Level-2 Red Band (B4) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B4", - "common_name": "red", - "gsd": 30, - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B5": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8 (B5)", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (B5) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B5", - "common_name": "nir08", - "gsd": 30, - "center_wavelength": 0.86, - "full_width_half_max": 0.03 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B6": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6 (B6)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (B6) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B6", - "common_name": "swir16", - "gsd": 30, - "center_wavelength": 1.6, - "full_width_half_max": 0.08 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_B7": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2 (B7)", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (B7) Surface Reflectance", - "gsd": 30.0, - "eo:bands": [ - { - "name": "SR_B7", - "common_name": "swir22", - "gsd": 30, - "center_wavelength": 2.2, - "full_width_half_max": 0.2 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "SR_QA_AEROSOL": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Analysis Band", - "description": "Collection 2 Level-2 Aerosol Quality Analysis Band (ANG) Surface Reflectance", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_B10": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band (B10)", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band (B10) Surface Temperature Product", - "gsd": 100.0, - "eo:bands": [ - { - "name": "ST_B10", - "common_name": "lwir11", - "gsd": 100.0, - "center_wavelength": 10.9, - "full_width_half_max": 0.8 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_ATRAN": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Landsat Collection 2 Level-2 Atmospheric Transmittance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_ATRAN", - "description": "atmospheric transmission", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_CDIST": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Landsat Collection 2 Level-2 Cloud Distance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_CDIST", - "description": "distance to nearest cloud", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_DRAD": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Downwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_DRAD", - "description": "downwelled radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_URAD": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Landsat Collection 2 Level-2 Upwelled Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_URAD", - "description": "upwelled radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_TRAD": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Landsat Collection 2 Level-2 Thermal Radiance Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_TRAD", - "description": "thermal radiance", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_EMIS": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Landsat Collection 2 Level-2 Emissivity Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_EMIS", - "description": "emissivity", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_EMSD": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Landsat Collection 2 Level-2 Emissivity Standard Deviation Band Surface Temperature Product", - "gsd": 30.0, - "eo:bands": [ - { - "name": "ST_EMSD", - "description": "emissivity standard deviation", - "gsd": 30 - } - ], - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - }, - "ST_QA": { - "href": "tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Landsat Collection 2 Level-2 Surface Temperature Band Surface Temperature Product", - "gsd": 30.0, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ] - } - }, - "bbox": [ - -43.20190248750403, - 70.9793158649215, - -34.95084086107732, - 73.3491841350785 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.0/schema.json" - ] -} \ No newline at end of file diff --git a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json b/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json deleted file mode 100644 index a7f8c44..0000000 --- a/examples/legacy-landsat-8/LC08_L2SP_005009_20150710_02_T2.json +++ /dev/null @@ -1,576 +0,0 @@ -{ - "type": "Feature", - "stac_version": "1.0.0", - "id": "LC08_L2SP_005009_20150710_02_T2", - "properties": { - "platform": "landsat-8", - "instruments": [ - "oli", - "tirs" - ], - "created": "2022-03-18T15:42:00.151199Z", - "gsd": 30, - "description": "Landsat Collection 2 Level-2", - "eo:cloud_cover": 54.65, - "view:off_nadir": 0, - "view:sun_elevation": 40.0015903, - "view:sun_azimuth": 177.8846007, - "proj:epsg": 32624, - "proj:shape": [ - 8821, - 8791 - ], - "proj:transform": [ - 30.0, - 0.0, - 365685.0, - 0.0, - -30.0, - 8143815.0 - ], - "landsat:cloud_cover_land": 54.67, - "landsat:wrs_type": "2", - "landsat:wrs_path": "005", - "landsat:wrs_row": "009", - "landsat:collection_category": "T2", - "landsat:collection_number": "02", - "landsat:correction": "L2SP", - "landsat:scene_id": "LC80050092015191LGN01", - "sci:doi": "10.5066/P9OGBGM6", - "datetime": "2015-07-10T14:34:35.978399Z" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -40.207494643258215, - 73.37663856483091 - ], - [ - -35.24761728197594, - 72.53787734153468 - ], - [ - -38.14743429756088, - 71.03398759793903 - ], - [ - -42.81076871497076, - 71.81441016731796 - ], - [ - -40.207494643258215, - 73.37663856483091 - ] - ] - ] - }, - "links": [ - { - "rel": "cite-as", - "href": "https://doi.org/10.5066/P9OGBGM6", - "title": "Landsat 8-9 OLI/TIRS Collection 2 Level-2" - }, - { - "rel": "via", - "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC08_L2SP_005009_20150710_20200908_02_T2_SR", - "type": "application/json", - "title": "USGS STAC Item" - }, - { - "rel": "via", - "href": "https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-st/items/LC08_L2SP_005009_20150710_20200908_02_T2_ST", - "type": "application/json", - "title": "USGS STAC Item" - }, - { - "rel": "self", - "href": "/Users/pjh/dev/landsat/examples/LC08_L2SP_005009_20150710_02_T2.json", - "type": "application/json" - } - ], - "assets": { - "thumbnail": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_small.jpeg", - "type": "image/jpeg", - "title": "Thumbnail image", - "roles": [ - "thumbnail" - ] - }, - "reduced_resolution_browse": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_thumb_large.jpeg", - "type": "image/jpeg", - "title": "Reduced resolution browse image", - "roles": [ - "overview" - ] - }, - "mtl.json": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.json", - "type": "application/json", - "title": "Product Metadata File (json)", - "description": "Collection 2 Level-2 Product Metadata File (json)", - "roles": [ - "metadata" - ] - }, - "mtl.txt": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.txt", - "type": "text/plain", - "title": "Product Metadata File (txt)", - "description": "Collection 2 Level-2 Product Metadata File (txt)", - "roles": [ - "metadata" - ] - }, - "mtl.xml": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_MTL.xml", - "type": "application/xml", - "title": "Product Metadata File (xml)", - "description": "Collection 2 Level-2 Product Metadata File (xml)", - "roles": [ - "metadata" - ] - }, - "ang": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ANG.txt", - "type": "text/plain", - "title": "Angle Coefficients File", - "description": "Collection 2 Level-1 Angle Coefficients File", - "roles": [ - "metadata" - ] - }, - "qa_pixel": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_PIXEL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Pixel Quality Assessment Band", - "description": "Collection 2 Level-1 Pixel Quality Assessment Band (QA_PIXEL)", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "cloud", - "cloud-shadow", - "snow-ice", - "water-mask" - ] - }, - "qa_radsat": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_QA_RADSAT.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Radiometric Saturation and Terrain Occlusion Quality Assessment Band", - "description": "Collection 2 Level-1 Radiometric Saturation and Terrain Occlusion Quality Assessment Band (QA_RADSAT)", - "raster:bands": [ - { - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "saturation" - ] - }, - "coastal": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B1.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Coastal/Aerosol Band", - "description": "Collection 2 Level-2 Coastal/Aerosol Band (SR_B1) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B1", - "common_name": "coastal", - "description": "Coastal/Aerosol", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "blue": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B2.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Blue Band", - "description": "Collection 2 Level-2 Blue Band (SR_B2) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B2", - "common_name": "blue", - "description": "Visible blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "green": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B3.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Green Band", - "description": "Collection 2 Level-2 Green Band (SR_B3) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B3", - "common_name": "green", - "description": "Visible green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "red": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B4.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Red Band", - "description": "Collection 2 Level-2 Red Band (SR_B4) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B4", - "common_name": "red", - "description": "Visible red", - "center_wavelength": 0.65, - "full_width_half_max": 0.04 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "nir08": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B5.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Near Infrared Band 0.8", - "description": "Collection 2 Level-2 Near Infrared Band 0.8 (SR_B5) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B5", - "common_name": "nir08", - "description": "Near infrared", - "center_wavelength": 0.87, - "full_width_half_max": 0.03 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir16": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B6.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 1.6", - "description": "Collection 2 Level-2 Short-wave Infrared Band 1.6 (SR_B6) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B6", - "common_name": "swir16", - "description": "Short-wave infrared", - "center_wavelength": 1.61, - "full_width_half_max": 0.09 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "swir22": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_B7.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Short-wave Infrared Band 2.2", - "description": "Collection 2 Level-2 Short-wave Infrared Band 2.2 (SR_B7) Surface Reflectance", - "eo:bands": [ - { - "name": "OLI_B7", - "common_name": "swir22", - "description": "Short-wave infrared", - "center_wavelength": 2.2, - "full_width_half_max": 0.19 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "scale": 2.75e-05, - "offset": -0.2 - } - ], - "roles": [ - "reflectance" - ] - }, - "qa_aerosol": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_SR_QA_AEROSOL.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Aerosol Quality Assessment Band", - "description": "Collection 2 Level-2 Aerosol Quality Assessment Band (SR_QA_AEROSOL) Surface Reflectance Product", - "raster:bands": [ - { - "nodata": 1, - "data_type": "uint8", - "spatial_resolution": 30, - "unit": "bit index" - } - ], - "roles": [ - "data-mask", - "water-mask" - ] - }, - "lwir11": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_B10.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Band", - "description": "Collection 2 Level-2 Thermal Infrared Band (ST_B10) Surface Temperature", - "eo:bands": [ - { - "name": "TIRS_B10", - "common_name": "lwir11", - "description": "Long-wave infrared", - "center_wavelength": 10.9, - "full_width_half_max": 0.59 - } - ], - "raster:bands": [ - { - "nodata": 0, - "data_type": "uint16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.00341802, - "offset": 149.0 - } - ], - "gsd": 100, - "roles": [ - "temperature" - ] - }, - "atran": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_ATRAN.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Atmospheric Transmittance Band", - "description": "Collection 2 Level-2 Atmospheric Transmittance Band (ST_ATRAN) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "cdist": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_CDIST.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Cloud Distance Band", - "description": "Collection 2 Level-2 Cloud Distance Band (ST_CDIST) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kilometer", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - }, - "drad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_DRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Downwelled Radiance Band", - "description": "Collection 2 Level-2 Downwelled Radiance Band (ST_DRAD) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "urad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_URAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Upwelled Radiance Band", - "description": "Collection 2 Level-2 Upwelled Radiance Band (ST_URAD) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "trad": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_TRAD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Thermal Radiance Band", - "description": "Collection 2 Level-2 Thermal Radiance Band (ST_TRAD) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "watt/steradian/square_meter/micrometer", - "scale": 0.001 - } - ], - "roles": [ - "data" - ] - }, - "emis": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMIS.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Band", - "description": "Collection 2 Level-2 Emissivity Band (ST_EMIS) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "emsd": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_EMSD.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Emissivity Standard Deviation Band", - "description": "Collection 2 Level-2 Emissivity Standard Deviation Band (ST_EMSD) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "emissivity coefficient", - "scale": 0.0001 - } - ], - "roles": [ - "data" - ] - }, - "qa": { - "href": "/Users/pjh/dev/landsat/tests/data-files/assets/LC08_L2SP_005009_20150710_20200908_02_T2_ST_QA.TIF", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "title": "Surface Temperature Quality Assessment Band", - "description": "Collection 2 Level-2 Quality Assessment Band (ST_QA) Surface Temperature Product", - "raster:bands": [ - { - "nodata": -9999, - "data_type": "int16", - "spatial_resolution": 30, - "unit": "kelvin", - "scale": 0.01 - } - ], - "roles": [ - "data" - ] - } - }, - "bbox": [ - -43.20190248750403, - 70.9793158649215, - -34.95084086107732, - 73.3491841350785 - ], - "stac_extensions": [ - "https://stac-extensions.github.io/raster/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", - "https://stac-extensions.github.io/view/v1.0.0/schema.json", - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://landsat.usgs.gov/stac/landsat-extension/v1.1.1/schema.json", - "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" - ] -} \ No newline at end of file diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index d3bedc4..2f01683 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -23,7 +23,7 @@ def landsat() -> None: @landsat.command( "create-item", - short_help="Creates a STAC Item from Collection 2 scene metadata.") + short_help="Creates a STAC Item from Landsat Collection 2 scene metadata.") @click.option("-m", "--mtl", required=True, @@ -66,25 +66,26 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, - Landsat 1-5 Multi Spectral Scanner (MSS) Level-2 - Landat 4-5 Thematic Mapper (TM) - - Landsat 7 Enhanced Thematic Mapper (ETM) + - Landsat 7 Enhanced Thematic Mapper Plus (ETM+) - Landsat 8-9 Operational Land Imager - Thermal Infrared Sensor (OLI-TIRS) - All assets (COGs, metadata files) must reside in the same directory / - blob prefix / etc. as the MTL xml metadata file. + All assets (COGs, metadata files) must reside in the same + directory/blob prefix/etc. as the MTL xml metadata file. \b Args: mtl (str): HREF to the source MTL metadata xml file output (str): Directory that will contain the STAC Item - usgs_geometry: Flag to use the geometry from a USGS STAC Item that - resides in the same directory as the MTL xml file or can be + usgs_geometry (bool): Flag to use the geometry from a USGS STAC Item + that resides in the same directory as the MTL xml file or can be queried from the USGS STAC API. - legacy_l8: Flag to use the legacy method for creating a Landsat 8 - STAC Item. + legacy_l8 (bool): Flag to use the legacy method for creating a + Landsat 8 STAC Item. antimeridian_strategy (str): Choice of 'normalize' or 'split' to - either split on -180 longitude or normalize geometries so all - longitudes are either positive or negative. + either split the Item geometry on -180 longitude or normalize + the Item geometry so all longitudes are either positive or + negative. level (str): Choice of 'level-1' or 'level-2'. This is not used and has no effect. """ @@ -98,8 +99,8 @@ def create_item_cmd(level: str, mtl: str, output: str, usgs_geometry: bool, @landsat.command( "create-collection", - short_help="Creates a STAC Collection with contents defined by hrefs " - "in a text file.") + short_help="Creates a STAC Collection with contents defined by a list " + " of metadata file hrefs in a text file.") @click.option("-f", "--file_list", required=True, @@ -139,12 +140,13 @@ def create_collection_cmd(file_list: str, output: str, id: str, should point to XML MTL metadata files. output (str): Directory that will contain the collection. id (str): Choice of 'landsat-c2-l1' or 'landsat-c2-l2'. - usgs_geometry: Flag to use the geometry from a USGS STAC Item that - resides in the same directory as the MTL xml file or can be + usgs_geometry (bool): Flag to use the geometry from a USGS STAC Item + that resides in the same directory as the MTL xml file or can be queried from the USGS STAC API. antimeridian_strategy (str): Choice of 'normalize' or 'split' to - either split on -180 longitude or normalize geometries so all - longitudes are either positive or negative. + either split the Item geometry on -180 longitude or normalize + the Item geometry so all longitudes are either positive or + negative. """ antimeridian = Antimeridian[antimeridian_strategy.upper()] with open(file_list) as file: diff --git a/src/stactools/landsat/stac.py b/src/stactools/landsat/stac.py index d90d149..a6e4ff7 100644 --- a/src/stactools/landsat/stac.py +++ b/src/stactools/landsat/stac.py @@ -53,7 +53,7 @@ def create_stac_item( Returns: pystac.Item: A STAC Item representing the Landsat scene. """ - base_href = '_'.join(mtl_xml_href.split('_')[:-1]) # Remove the _MTL.txt + base_href = '_'.join(mtl_xml_href.split('_')[:-1]) mtl_metadata = MtlMetadata.from_file(mtl_xml_href, read_href_modifier, From 6de9fe1c9ba1082c734d9d0395279dee4b389ae3 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 21 Mar 2022 16:01:03 -0400 Subject: [PATCH 45/47] chore: update changelog --- CHANGELOG.MD | 33 +++++++++++++++++++++++---- src/stactools/landsat/commands.py | 3 ++- src/stactools/landsat/mtl_metadata.py | 2 +- tests/test_create_stac.py | 2 +- 4 files changed, 32 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 0522aa1..2493e7e 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -6,11 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] -### Feature - -- Option to use geometry from the corresponding USGS STAC Item in lieu of computation from the ANG metadata. - -### Update +NOTE: For backwards compatibility, all new features and fixes are ignored for Landsat 8 scenes unless `legacy_l8=False` is passed to the `create_stac_item` function. + +### New Features + +- Create Collection 2 Level-2 and Level-2 Items from additional instruments and platforms: + - Landsat 1-5 Multispectral Scanner System (MSS, Level-1) + - Landsat 4-5 Thematic Mapper (TM, Level-2) + - Landsat 7 Enhanced Thematic Mapper Plus (ETM+, Level-2) + - Landsat 8*-9 Operational Land Imager and Thermal Infrared Sensor (OLI-TIRS, Level-2) +- Decrease Asset verbosity by moving redundant `projection` extension and `gsd` information from the Assets to Item properties. + - Assets having a different `gsd` than specified in the Item properties now override the Item properties `gsd` with their own `gsd` value (i.e., the thermal bands). +- Add links to USGS STAC Items +- Add ability to create STAC Collections +- Add ability to split or normalize Item geometries that cross the antimeridian +- Add instrument-specific DOI links to Items and Collections via the `scientific extension` +- Add `raster extension` +- Update `landsat extension` from `v1.1.0` to `v1.1.1` +- Include non-zero `off_nadir` angles for Landsat 8-9 +- Switch to [common EO band names](https://github.com/stac-extensions/eo#common-band-names) for Asset keys to address existence of different band numbers for the same EO band between instruments or platforms +- Add option to use Item geometry from the corresponding USGS STAC Item in lieu of computation from the ANG.txt metadata file + + +### Fix + +- Correct EPSG code for southern hemisphere scenes to [always use northern hemisphere codes](https://www.usgs.gov/faqs/why-do-landsat-scenes-southern-hemisphere-display-negative-utm-values) +- Remove incorrect link to USGS STAC browser page + +### Chore - Repo brought up to date with the current stactools-packages template contents as of 2022-02-18. diff --git a/src/stactools/landsat/commands.py b/src/stactools/landsat/commands.py index 2f01683..586290d 100644 --- a/src/stactools/landsat/commands.py +++ b/src/stactools/landsat/commands.py @@ -23,7 +23,8 @@ def landsat() -> None: @landsat.command( "create-item", - short_help="Creates a STAC Item from Landsat Collection 2 scene metadata.") + short_help=( + "Creates a STAC Item from Landsat Collection 2 scene metadata.")) @click.option("-m", "--mtl", required=True, diff --git a/src/stactools/landsat/mtl_metadata.py b/src/stactools/landsat/mtl_metadata.py index de3f4f1..caaccb9 100644 --- a/src/stactools/landsat/mtl_metadata.py +++ b/src/stactools/landsat/mtl_metadata.py @@ -117,7 +117,7 @@ def epsg(self) -> int: @property def bbox(self) -> List[float]: - # Might be cleaner to transfrom the proj bbox to WGS84. + # Might be cleaner to just transform the proj bbox to WGS84. lons = [ self._get_float("PROJECTION_ATTRIBUTES/CORNER_UL_LON_PRODUCT"), self._get_float("PROJECTION_ATTRIBUTES/CORNER_UR_LON_PRODUCT"), diff --git a/tests/test_create_stac.py b/tests/test_create_stac.py index d53bc9f..11be1b0 100644 --- a/tests/test_create_stac.py +++ b/tests/test_create_stac.py @@ -222,7 +222,7 @@ def test_southern_hemisphere_epsg() -> None: item = create_stac_item(mtl_path, legacy_l8=False, use_usgs_geometry=True) item_dict = item.to_dict() - # northern hemisphere UTM zone for southern hemisphere scene + # northern hemisphere UTM zone is used for southern hemisphere scene assert item_dict["properties"]["proj:epsg"] == 32617 From 33323af6fe5fc664304b6cecfd75497e801ef942 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 21 Mar 2022 17:58:40 -0400 Subject: [PATCH 46/47] fix: add tests/data-files/external back to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index a81c8ee..94fbcfd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +tests/data-files/external + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] From 605ed1ffca7a4e98604b81211595ad315e42ba32 Mon Sep 17 00:00:00 2001 From: pjhartzell Date: Mon, 21 Mar 2022 18:22:09 -0400 Subject: [PATCH 47/47] chore: clean up changelong --- CHANGELOG.MD | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 2493e7e..42b71af 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -6,36 +6,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] -NOTE: For backwards compatibility, all new features and fixes are ignored for Landsat 8 scenes unless `legacy_l8=False` is passed to the `create_stac_item` function. +NOTE: For backwards compatibility, all items under the Added, Changed, and Fixed headings below are ignored for Landsat 8 scenes unless `legacy_l8=False` is passed to the `create_stac_item` function. -### New Features +### Added -- Create Collection 2 Level-2 and Level-2 Items from additional instruments and platforms: +- Collection 2 Level-1 and Level-2 Items from additional instruments and platforms: - Landsat 1-5 Multispectral Scanner System (MSS, Level-1) - Landsat 4-5 Thematic Mapper (TM, Level-2) - Landsat 7 Enhanced Thematic Mapper Plus (ETM+, Level-2) - Landsat 8*-9 Operational Land Imager and Thermal Infrared Sensor (OLI-TIRS, Level-2) +- Collection 2 Level-1 and Level-2 STAC Collections +- Item links to corresponding USGS STAC Items +- Item and Collection DOI links (`scientific` extension) specific to the instrument +- Option to split or normalize Item geometries that cross the antimeridian +- Option to use Item geometry from the corresponding USGS STAC Item in lieu of computation from the ANG.txt metadata file +- `raster extension` + + +### Changed + - Decrease Asset verbosity by moving redundant `projection` extension and `gsd` information from the Assets to Item properties. - Assets having a different `gsd` than specified in the Item properties now override the Item properties `gsd` with their own `gsd` value (i.e., the thermal bands). -- Add links to USGS STAC Items -- Add ability to create STAC Collections -- Add ability to split or normalize Item geometries that cross the antimeridian -- Add instrument-specific DOI links to Items and Collections via the `scientific extension` -- Add `raster extension` -- Update `landsat extension` from `v1.1.0` to `v1.1.1` +- Update the `landsat` extension from `v1.1.0` to `v1.1.1` - Include non-zero `off_nadir` angles for Landsat 8-9 - Switch to [common EO band names](https://github.com/stac-extensions/eo#common-band-names) for Asset keys to address existence of different band numbers for the same EO band between instruments or platforms -- Add option to use Item geometry from the corresponding USGS STAC Item in lieu of computation from the ANG.txt metadata file +- Update repository to the stactools-packages [template contents](https://github.com/stac-extensions/template/commit/7dfc84fd70c4cf15d6035968323c0baf8da06dd8). -### Fix +### Fixed - Correct EPSG code for southern hemisphere scenes to [always use northern hemisphere codes](https://www.usgs.gov/faqs/why-do-landsat-scenes-southern-hemisphere-display-negative-utm-values) - Remove incorrect link to USGS STAC browser page -### Chore - -- Repo brought up to date with the current stactools-packages template contents as of 2022-02-18. ## [0.2.0] - 2021-07-20