From 8fc9ded0cfabb6c44013ccff168dcd36a9b9e21b Mon Sep 17 00:00:00 2001 From: floeschau Date: Thu, 26 Oct 2023 08:32:43 +0100 Subject: [PATCH 1/2] AMAZONIA-1 metadata extractor and tests --- ...NIA_1_WFI_20210419_029_006_L2_compose.json | 191 ++++++++++++++++ ...NIA_1_WFI_20210422_023_010_L4_compose.json | 191 ++++++++++++++++ ...NIA_1_WFI_20210424_029_006_L2_compose.json | 191 ++++++++++++++++ ...NIA_1_WFI_20210529_029_010_L4_compose.json | 191 ++++++++++++++++ ...NIA_1_WFI_20210802_029_010_L4_compose.json | 191 ++++++++++++++++ ...ONIA_1_WFI_20210529_029_010_L4_compose.tif | 0 ...1_WFI_20210529_029_010_L4_compose-icon.jpg | 0 ...FI_20210529_029_010_L4_compose-preview.jpg | 0 ...i_20210529_029_010_l4_compose-metadata.csv | 2 + ...ONIA_1_WFI_20210802_029_010_L4_compose.tif | 0 ...1_WFI_20210802_029_010_L4_compose-icon.jpg | 0 ...FI_20210802_029_010_L4_compose-preview.jpg | 0 ...i_20210802_029_010_l4_compose-metadata.csv | 2 + ...ONIA_1_WFI_20210422_023_010_L4_compose.tif | 0 ...1_WFI_20210422_023_010_L4_compose-icon.jpg | 0 ...FI_20210422_023_010_L4_compose-preview.jpg | 0 ...i_20210422_023_010_l4_compose-metadata.csv | 2 + ...ONIA_1_WFI_20210419_029_006_L2_compose.tif | 0 ...1_WFI_20210419_029_006_L2_compose-icon.jpg | 0 ...FI_20210419_029_006_L2_compose-preview.jpg | 0 ...i_20210419_029_006_l2_compose-metadata.csv | 2 + ...ONIA_1_WFI_20210424_029_006_L2_compose.tif | 0 ...1_WFI_20210424_029_006_L2_compose-icon.jpg | 0 ...FI_20210424_029_006_L2_compose-preview.jpg | 0 ...i_20210424_029_006_l2_compose-metadata.csv | 2 + ...ERS_4_AWFI_20201031_003_075_L2_BAND13.json | 7 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND14.json | 7 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND15.json | 7 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND16.json | 7 +- ..._4_AWFI_20220731_111_063_L4_B_compose.json | 9 +- ...0221009_105_087_L4_BAND16151413_FIRST.json | 9 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND5.json | 7 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND6.json | 7 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND7.json | 7 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND8.json | 7 +- ...RS_4_PAN10M_20190510_027_076_L2_BAND2.json | 7 +- ...RS_4_PAN10M_20190510_027_076_L2_BAND3.json | 7 +- ...RS_4_PAN10M_20190510_027_076_L2_BAND4.json | 7 +- ...ERS_4_PAN5M_20190510_027_076_L2_BAND1.json | 7 +- ...ERS_4A_WFI_20200801_221_156_L4_BAND13.json | 39 +++- ...ERS_4A_WFI_20200801_221_156_L4_BAND14.json | 39 +++- ...ERS_4A_WFI_20200801_221_156_L4_BAND15.json | 39 +++- ...ERS_4A_WFI_20200801_221_156_L4_BAND16.json | 39 +++- ...RS_4A_WFI_20230214_109_060_L2_compose.json | 9 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND0.json | 7 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND1.json | 7 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND2.json | 7 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND3.json | 7 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND4.json | 7 +- src/Stars.Data.Tests/testsettings.json | 84 +------ .../InpeMetadataExtractor.cs} | 216 ++++++++++++------ .../{Cbers => Inpe}/Schemas/Metadata.cs | 2 +- .../{Cbers => Inpe}/Schemas/MetadataCsv.cs | 9 +- src/Stars.Data/stars-data.json | 4 +- 54 files changed, 1344 insertions(+), 238 deletions(-) create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/AMAZONIA_1_WFI_20210529_029_010_L4_compose.tif create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-icon.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-preview.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210529_029_010_l4_compose-metadata.csv create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/AMAZONIA_1_WFI_20210802_029_010_L4_compose.tif create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-icon.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-preview.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210802_029_010_l4_compose-metadata.csv create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/AMAZONIA_1_WFI_20210422_023_010_L4_compose.tif create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-icon.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-preview.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210422_023_010_l4_compose-metadata.csv create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/AMAZONIA_1_WFI_20210419_029_006_L2_compose.tif create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-icon.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-preview.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210419_029_006_l2_compose-metadata.csv create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/AMAZONIA_1_WFI_20210424_029_006_L2_compose.tif create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-icon.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-preview.jpg create mode 100644 src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210424_029_006_l2_compose-metadata.csv rename src/Stars.Data/Model/Metadata/{Cbers/CbersMetadataExtractor.cs => Inpe/InpeMetadataExtractor.cs} (80%) rename src/Stars.Data/Model/Metadata/{Cbers => Inpe}/Schemas/Metadata.cs (99%) rename src/Stars.Data/Model/Metadata/{Cbers => Inpe}/Schemas/MetadataCsv.cs (96%) diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json new file mode 100644 index 00000000..279cd968 --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json @@ -0,0 +1,191 @@ +{ + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/processing/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/sat/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json" + ], + "type": "Feature", + "id": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -4.661, + 55.783 + ], + [ + -2.673, + 55.892 + ], + [ + -2.957, + 57.722 + ], + [ + -5.043, + 57.606 + ], + [ + -4.661, + 55.783 + ] + ] + ] + }, + "properties": { + "start_datetime": "2021-04-19T11:08:57Z", + "end_datetime": "2021-04-19T11:10:51Z", + "datetime": "2021-04-19T11:09:54Z", + "constellation": "amazonia-1", + "platform": "amazonia-1", + "mission": "amazonia-1", + "instruments": [ + "wfi" + ], + "sensor_type": "optical", + "gsd": 64.0, + "title": "AMAZONIA-1 WFI L2 2021-04-19 11:09:54", + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "cbers:path": 29, + "cbers:row": 6, + "sat:platform_international_designator": "2021-015A", + "proj:epsg": 32631, + "view:off_nadir": 0.0, + "view:sun_azimuth": 162.106, + "view:sun_elevation": 45.7055, + "processing:level": "L2", + "providers": [ + { + "name": "INPE", + "description": "Amazonia-1 is an Earth observation minisatellite mission of the Brazilian Space Agency (AEB), developed at the National Institute for Space Research (INPE) in Brazil. Its main goal is to monitor global deforestation, with a focus on the Brazilian Amazon rainforest.", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "http://www.inpe.br/amazonia1/" + } + ], + "licence": "proprietary" + }, + "bbox": [ + -5.043, + 55.783, + -2.673, + 57.722 + ], + "assets": { + "compose": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "WFI L2 COMPOSE", + "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/AMAZONIA_1_WFI_20210419_029_006_L2_compose.tif", + "filename": "AMAZONIA_1_WFI_20210419_029_006_L2_compose.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "raster:bands": [ + { + "scale": 0.384, + "offset": 0.0 + }, + { + "scale": 0.41, + "offset": 0.0 + }, + { + "scale": 0.343, + "offset": 0.0 + }, + { + "scale": 0.291, + "offset": 0.0 + } + ] + }, + "metadata": { + "type": "text/csv", + "roles": [ + "metadata" + ], + "title": "Metadata file", + "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210419_029_006_l2_compose-metadata.csv", + "filename": "urn_ogc_def_eop_inpe_amazonia_1_wfi_20210419_029_006_l2_compose-metadata.csv", + "file:size": 553 + }, + "thumbnail": { + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-icon.jpg", + "filename": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-icon.jpg", + "file:size": 0 + } + }, + "links": [] +} \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json new file mode 100644 index 00000000..80673217 --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json @@ -0,0 +1,191 @@ +{ + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/processing/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/sat/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json" + ], + "type": "Feature", + "id": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 19.928, + 31.917 + ], + [ + 23.185, + 31.902 + ], + [ + 23.208, + 32.849 + ], + [ + 19.917, + 32.864 + ], + [ + 19.928, + 31.917 + ] + ] + ] + }, + "properties": { + "start_datetime": "2021-04-22T09:15:42Z", + "end_datetime": "2021-04-22T09:17:36Z", + "datetime": "2021-04-22T09:16:39Z", + "constellation": "amazonia-1", + "platform": "amazonia-1", + "mission": "amazonia-1", + "instruments": [ + "wfi" + ], + "sensor_type": "optical", + "gsd": 64.0, + "title": "AMAZONIA-1 WFI L4 2021-04-22 09:16:39", + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "cbers:path": 23, + "cbers:row": 10, + "sat:platform_international_designator": "2021-015A", + "proj:epsg": 32634, + "view:off_nadir": 0.0, + "view:sun_azimuth": 132.496, + "view:sun_elevation": 64.6703, + "processing:level": "L4", + "providers": [ + { + "name": "INPE", + "description": "Amazonia-1 is an Earth observation minisatellite mission of the Brazilian Space Agency (AEB), developed at the National Institute for Space Research (INPE) in Brazil. Its main goal is to monitor global deforestation, with a focus on the Brazilian Amazon rainforest.", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "http://www.inpe.br/amazonia1/" + } + ], + "licence": "proprietary" + }, + "bbox": [ + 19.917, + 31.902, + 23.208, + 32.864 + ], + "assets": { + "compose": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "WFI L4 COMPOSE", + "href": "data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/AMAZONIA_1_WFI_20210422_023_010_L4_compose.tif", + "filename": "AMAZONIA_1_WFI_20210422_023_010_L4_compose.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "raster:bands": [ + { + "scale": 0.384, + "offset": 0.0 + }, + { + "scale": 0.41, + "offset": 0.0 + }, + { + "scale": 0.343, + "offset": 0.0 + }, + { + "scale": 0.291, + "offset": 0.0 + } + ] + }, + "metadata": { + "type": "text/csv", + "roles": [ + "metadata" + ], + "title": "Metadata file", + "href": "data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210422_023_010_l4_compose-metadata.csv", + "filename": "urn_ogc_def_eop_inpe_amazonia_1_wfi_20210422_023_010_l4_compose-metadata.csv", + "file:size": 552 + }, + "thumbnail": { + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-icon.jpg", + "filename": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-icon.jpg", + "file:size": 0 + } + }, + "links": [] +} \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json new file mode 100644 index 00000000..6174bfde --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json @@ -0,0 +1,191 @@ +{ + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/processing/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/sat/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json" + ], + "type": "Feature", + "id": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -4.661, + 55.783 + ], + [ + -2.673, + 55.892 + ], + [ + -2.957, + 57.722 + ], + [ + -5.043, + 57.606 + ], + [ + -4.661, + 55.783 + ] + ] + ] + }, + "properties": { + "start_datetime": "2021-05-29T11:10:13Z", + "end_datetime": "2021-05-29T11:12:07Z", + "datetime": "2021-05-29T11:11:10Z", + "constellation": "amazonia-1", + "platform": "amazonia-1", + "mission": "amazonia-1", + "instruments": [ + "wfi" + ], + "sensor_type": "optical", + "gsd": 64.0, + "title": "AMAZONIA-1 WFI L2 2021-05-29 11:11:10", + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "cbers:path": 29, + "cbers:row": 6, + "sat:platform_international_designator": "2021-015A", + "proj:epsg": 32631, + "view:off_nadir": 0.0, + "view:sun_azimuth": 159.983, + "view:sun_elevation": 56.0884, + "processing:level": "L2", + "providers": [ + { + "name": "INPE", + "description": "Amazonia-1 is an Earth observation minisatellite mission of the Brazilian Space Agency (AEB), developed at the National Institute for Space Research (INPE) in Brazil. Its main goal is to monitor global deforestation, with a focus on the Brazilian Amazon rainforest.", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "http://www.inpe.br/amazonia1/" + } + ], + "licence": "proprietary" + }, + "bbox": [ + -5.043, + 55.783, + -2.673, + 57.722 + ], + "assets": { + "compose": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "WFI L2 COMPOSE", + "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/AMAZONIA_1_WFI_20210424_029_006_L2_compose.tif", + "filename": "AMAZONIA_1_WFI_20210424_029_006_L2_compose.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "raster:bands": [ + { + "scale": 0.384, + "offset": 0.0 + }, + { + "scale": 0.41, + "offset": 0.0 + }, + { + "scale": 0.343, + "offset": 0.0 + }, + { + "scale": 0.291, + "offset": 0.0 + } + ] + }, + "metadata": { + "type": "text/csv", + "roles": [ + "metadata" + ], + "title": "Metadata file", + "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210424_029_006_l2_compose-metadata.csv", + "filename": "urn_ogc_def_eop_inpe_amazonia_1_wfi_20210424_029_006_l2_compose-metadata.csv", + "file:size": 553 + }, + "thumbnail": { + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-icon.jpg", + "filename": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-icon.jpg", + "file:size": 0 + } + }, + "links": [] +} \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json new file mode 100644 index 00000000..62ac57bb --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json @@ -0,0 +1,191 @@ +{ + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/processing/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/sat/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json" + ], + "type": "Feature", + "id": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -9.972, + 30.181 + ], + [ + -6.102, + 30.153 + ], + [ + -5.996, + 33.494 + ], + [ + -10.008, + 33.527 + ], + [ + -9.972, + 30.181 + ] + ] + ] + }, + "properties": { + "start_datetime": "2021-05-29T11:16:51Z", + "end_datetime": "2021-05-29T11:18:46Z", + "datetime": "2021-05-29T11:17:48Z", + "constellation": "amazonia-1", + "platform": "amazonia-1", + "mission": "amazonia-1", + "instruments": [ + "wfi" + ], + "sensor_type": "optical", + "gsd": 64.0, + "title": "AMAZONIA-1 WFI L4 2021-05-29 11:17:48", + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "cbers:path": 29, + "cbers:row": 10, + "sat:platform_international_designator": "2021-015A", + "proj:epsg": 32629, + "view:off_nadir": 0.0, + "view:sun_azimuth": 114.603, + "view:sun_elevation": 71.4315, + "processing:level": "L4", + "providers": [ + { + "name": "INPE", + "description": "Amazonia-1 is an Earth observation minisatellite mission of the Brazilian Space Agency (AEB), developed at the National Institute for Space Research (INPE) in Brazil. Its main goal is to monitor global deforestation, with a focus on the Brazilian Amazon rainforest.", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "http://www.inpe.br/amazonia1/" + } + ], + "licence": "proprietary" + }, + "bbox": [ + -10.008, + 30.153, + -5.996, + 33.527 + ], + "assets": { + "compose": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "WFI L4 COMPOSE", + "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/AMAZONIA_1_WFI_20210529_029_010_L4_compose.tif", + "filename": "AMAZONIA_1_WFI_20210529_029_010_L4_compose.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "raster:bands": [ + { + "scale": 0.384, + "offset": 0.0 + }, + { + "scale": 0.41, + "offset": 0.0 + }, + { + "scale": 0.343, + "offset": 0.0 + }, + { + "scale": 0.291, + "offset": 0.0 + } + ] + }, + "metadata": { + "type": "text/csv", + "roles": [ + "metadata" + ], + "title": "Metadata file", + "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210529_029_010_l4_compose-metadata.csv", + "filename": "urn_ogc_def_eop_inpe_amazonia_1_wfi_20210529_029_010_l4_compose-metadata.csv", + "file:size": 554 + }, + "thumbnail": { + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-icon.jpg", + "filename": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-icon.jpg", + "file:size": 0 + } + }, + "links": [] +} \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json new file mode 100644 index 00000000..a151ca7a --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json @@ -0,0 +1,191 @@ +{ + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/processing/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.0.0/schema.json", + "https://stac-extensions.github.io/raster/v1.0.0/schema.json", + "https://stac-extensions.github.io/sat/v1.0.0/schema.json", + "https://stac-extensions.github.io/view/v1.0.0/schema.json" + ], + "type": "Feature", + "id": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -9.972, + 30.181 + ], + [ + -6.102, + 30.153 + ], + [ + -5.996, + 33.494 + ], + [ + -10.008, + 33.527 + ], + [ + -9.972, + 30.181 + ] + ] + ] + }, + "properties": { + "start_datetime": "2021-08-02T11:18:56Z", + "end_datetime": "2021-08-02T11:20:50Z", + "datetime": "2021-08-02T11:19:53Z", + "constellation": "amazonia-1", + "platform": "amazonia-1", + "mission": "amazonia-1", + "instruments": [ + "wfi" + ], + "sensor_type": "optical", + "gsd": 64.0, + "title": "AMAZONIA-1 WFI L4 2021-08-02 11:19:53", + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "cbers:path": 29, + "cbers:row": 10, + "sat:platform_international_designator": "2021-015A", + "proj:epsg": 32629, + "view:off_nadir": 0.0, + "view:sun_azimuth": 120.738, + "view:sun_elevation": 67.8801, + "processing:level": "L4", + "providers": [ + { + "name": "INPE", + "description": "Amazonia-1 is an Earth observation minisatellite mission of the Brazilian Space Agency (AEB), developed at the National Institute for Space Research (INPE) in Brazil. Its main goal is to monitor global deforestation, with a focus on the Brazilian Amazon rainforest.", + "roles": [ + "producer", + "processor", + "licensor" + ], + "url": "http://www.inpe.br/amazonia1/" + } + ], + "licence": "proprietary" + }, + "bbox": [ + -10.008, + 30.153, + -5.996, + 33.527 + ], + "assets": { + "compose": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "WFI L4 COMPOSE", + "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/AMAZONIA_1_WFI_20210802_029_010_L4_compose.tif", + "filename": "AMAZONIA_1_WFI_20210802_029_010_L4_compose.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-1", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, + { + "name": "band-2", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, + { + "name": "band-3", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, + { + "name": "band-4", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "raster:bands": [ + { + "scale": 0.384, + "offset": 0.0 + }, + { + "scale": 0.41, + "offset": 0.0 + }, + { + "scale": 0.343, + "offset": 0.0 + }, + { + "scale": 0.291, + "offset": 0.0 + } + ] + }, + "metadata": { + "type": "text/csv", + "roles": [ + "metadata" + ], + "title": "Metadata file", + "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210802_029_010_l4_compose-metadata.csv", + "filename": "urn_ogc_def_eop_inpe_amazonia_1_wfi_20210802_029_010_l4_compose-metadata.csv", + "file:size": 554 + }, + "thumbnail": { + "type": "image/jpeg", + "roles": [ + "thumbnail" + ], + "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-icon.jpg", + "filename": "urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-icon.jpg", + "file:size": 0 + } + }, + "links": [] +} \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/AMAZONIA_1_WFI_20210529_029_010_L4_compose.tif b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/AMAZONIA_1_WFI_20210529_029_010_L4_compose.tif new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-icon.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-icon.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-preview.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose-preview.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210529_029_010_l4_compose-metadata.csv b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210529_029_010_l4_compose-metadata.csv new file mode 100644 index 00000000..1cd11d38 --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210529_029_010_l4_compose-metadata.csv @@ -0,0 +1,2 @@ +AGENCY,SATELLITE,INSTRUMENT,MODE,IDENTIFIER,START_DATE,COMPLETE_DATE,FOOTPRINT,PRODUCT_URL,AOI,FORMAT,PROCESSING_LEVEL,PROCESSING_LEVEL_DESCRIPTION,PROJECTION,EPSG,PATH,ROW,OFF_NADIR,SUN_AZIMUTH,SUN_ELEVATION,ABSOLUTE_CALIBRATION_COEFFICIENTS +INPE,AMAZONIA1,WFI,,urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose,2021-05-29T11:16:51+0000,2021-05-29T11:18:46+0000," 33.527 -10.008 33.494 -5.996 30.153 -6.102 30.181 -9.972 33.527 -10.008",,,GeoTiff,L1B,,Geocoded,32629,029,010,0,114.603,71.4315,band0:0.384 band1:0.41 band2:0.343 band3:0.291 \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/AMAZONIA_1_WFI_20210802_029_010_L4_compose.tif b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/AMAZONIA_1_WFI_20210802_029_010_L4_compose.tif new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-icon.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-icon.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-preview.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose-preview.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210802_029_010_l4_compose-metadata.csv b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210802_029_010_l4_compose-metadata.csv new file mode 100644 index 00000000..a372a887 --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210802_029_010_l4_compose-metadata.csv @@ -0,0 +1,2 @@ +AGENCY,SATELLITE,INSTRUMENT,MODE,IDENTIFIER,START_DATE,COMPLETE_DATE,FOOTPRINT,PRODUCT_URL,AOI,FORMAT,PROCESSING_LEVEL,PROCESSING_LEVEL_DESCRIPTION,PROJECTION,EPSG,PATH,ROW,OFF_NADIR,SUN_AZIMUTH,SUN_ELEVATION,ABSOLUTE_CALIBRATION_COEFFICIENTS +INPE,AMAZONIA1,WFI,,urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose,2021-08-02T11:18:56+0000,2021-08-02T11:20:50+0000," 33.527 -10.008 33.494 -5.996 30.153 -6.102 30.181 -9.972 33.527 -10.008",,,GeoTiff,L1B,,Geocoded,32629,029,010,0,120.738,67.8801,band0:0.384 band1:0.41 band2:0.343 band3:0.291 \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/AMAZONIA_1_WFI_20210422_023_010_L4_compose.tif b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/AMAZONIA_1_WFI_20210422_023_010_L4_compose.tif new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-icon.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-icon.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-preview.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose-preview.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210422_023_010_l4_compose-metadata.csv b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210422_023_010_l4_compose-metadata.csv new file mode 100644 index 00000000..507e64a3 --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210422_023_010_l4_compose-metadata.csv @@ -0,0 +1,2 @@ +AGENCY,SATELLITE,INSTRUMENT,MODE,IDENTIFIER,START_DATE,COMPLETE_DATE,FOOTPRINT,PRODUCT_URL,AOI,FORMAT,PROCESSING_LEVEL,PROCESSING_LEVEL_DESCRIPTION,PROJECTION,EPSG,PATH,ROW,OFF_NADIR,SUN_AZIMUTH,SUN_ELEVATION,ABSOLUTE_CALIBRATION_COEFFICIENTS +INPE,AMAZONIA1,WFI,,urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose,2021-04-22T09:15:42+0000,2021-04-22T09:17:36+0000," 32.864 19.917 32.849 23.208 31.902 23.185 31.917 19.928 32.864 19.917",,,GeoTiff,L1B,,Geocoded,32634,023,010,0,132.496,64.6703,band0:0.384 band1:0.41 band2:0.343 band3:0.291 \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/AMAZONIA_1_WFI_20210419_029_006_L2_compose.tif b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/AMAZONIA_1_WFI_20210419_029_006_L2_compose.tif new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-icon.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-icon.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-preview.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose-preview.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210419_029_006_l2_compose-metadata.csv b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210419_029_006_l2_compose-metadata.csv new file mode 100644 index 00000000..25248d4b --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210419_029_006_l2_compose-metadata.csv @@ -0,0 +1,2 @@ +AGENCY,SATELLITE,INSTRUMENT,MODE,IDENTIFIER,START_DATE,COMPLETE_DATE,FOOTPRINT,PRODUCT_URL,AOI,FORMAT,PROCESSING_LEVEL,PROCESSING_LEVEL_DESCRIPTION,PROJECTION,EPSG,PATH,ROW,OFF_NADIR,SUN_AZIMUTH,SUN_ELEVATION,ABSOLUTE_CALIBRATION_COEFFICIENTS +INPE,AMAZONIA1,WFI,,urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose,2021-04-19T11:08:57+0000,2021-04-19T11:10:51+0000," 57.606 -5.043 57.722 -2.957 55.892 -2.673 55.783 -4.661 57.606 -5.043 ",,,GeoTiff,L1B,,Geocoded,32631,029,006,0,162.106,45.7055,band0:0.384 band1:0.41 band2:0.343 band3:0.291 \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/AMAZONIA_1_WFI_20210424_029_006_L2_compose.tif b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/AMAZONIA_1_WFI_20210424_029_006_L2_compose.tif new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-icon.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-icon.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-preview.jpg b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose-preview.jpg new file mode 100644 index 00000000..e69de29b diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210424_029_006_l2_compose-metadata.csv b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210424_029_006_l2_compose-metadata.csv new file mode 100644 index 00000000..81670670 --- /dev/null +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/urn_ogc_def_eop_inpe_amazonia_1_wfi_20210424_029_006_l2_compose-metadata.csv @@ -0,0 +1,2 @@ +AGENCY,SATELLITE,INSTRUMENT,MODE,IDENTIFIER,START_DATE,COMPLETE_DATE,FOOTPRINT,PRODUCT_URL,AOI,FORMAT,PROCESSING_LEVEL,PROCESSING_LEVEL_DESCRIPTION,PROJECTION,EPSG,PATH,ROW,OFF_NADIR,SUN_AZIMUTH,SUN_ELEVATION,ABSOLUTE_CALIBRATION_COEFFICIENTS +INPE,AMAZONIA1,WFI,,urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose,2021-05-29T11:10:13+0000,2021-05-29T11:12:07+0000," 57.606 -5.043 57.722 -2.957 55.892 -2.673 55.783 -4.661 57.606 -5.043 ",,,GeoTiff,L1B,,Geocoded,32631,029,006,0,159.983,56.0884,band0:0.384 band1:0.41 band2:0.343 band3:0.291 \ No newline at end of file diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json index 5f882563..3e00d93c 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 75, - "sat:absolute_orbit": 3075, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.063, "view:sun_elevation": 49.7395, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 104.793931, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json index dadcd828..f99377f4 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 75, - "sat:absolute_orbit": 3075, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.091, "view:sun_elevation": 49.7066, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 104.793931, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json index af8e66a9..2d7cd532 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 75, - "sat:absolute_orbit": 3075, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.12, "view:sun_elevation": 49.6736, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 104.793931, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json index 8d523c37..533a22c0 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 75, - "sat:absolute_orbit": 3075, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.148, "view:sun_elevation": 49.6406, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 104.793931, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json index 57518bd1..d10a7db8 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json @@ -82,7 +82,7 @@ ], "cbers:path": 111, "cbers:row": 63, - "sat:absolute_orbit": 111063, + "sat:platform_international_designator": "2014-079A", "proj:epsg": 32632, "view:off_nadir": 0.0, "view:sun_azimuth": 125.013, @@ -97,9 +97,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 4.651, @@ -113,7 +114,7 @@ "roles": [ "data" ], - "title": "Image file", + "title": "AWFI L4 COMPOSE", "href": "data/956-INPE-CBERS-4-urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose/CBERS_4_AWFI_20220731_111_063_L4_B_compose.tiff", "filename": "CBERS_4_AWFI_20220731_111_063_L4_B_compose.tiff", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json index 228d3e39..40076a0d 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json @@ -82,7 +82,7 @@ ], "cbers:path": 105, "cbers:row": 87, - "sat:absolute_orbit": 105087, + "sat:platform_international_designator": "2014-079A", "proj:epsg": 32632, "view:off_nadir": 0.0, "view:sun_azimuth": 132.472, @@ -97,9 +97,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 47.61, @@ -113,7 +114,7 @@ "roles": [ "data" ], - "title": "Image file", + "title": "AWFI L4 COMPOSE", "href": "data/1086-INPE-CBERS-4-urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST/Call895_AWFI_20221009_105_087_L4_BAND16151413.tiff", "filename": "Call895_AWFI_20221009_105_087_L4_BAND16151413.tiff", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json index e97de536..86bf389a 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 73, - "sat:absolute_orbit": 3073, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.103, "view:sun_elevation": 48.4855, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 109.787418, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json index b56d9329..915cb590 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 73, - "sat:absolute_orbit": 3073, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.11, "view:sun_elevation": 48.4771, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 109.787418, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json index a03121e8..418d21ce 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 73, - "sat:absolute_orbit": 3073, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.117, "view:sun_elevation": 48.4687, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 109.787418, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json index 9f88657e..57e9ac0a 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 3, "cbers:row": 73, - "sat:absolute_orbit": 3073, + "sat:platform_international_designator": "2014-079A", "view:sun_azimuth": 156.124, "view:sun_elevation": 48.4603, "processing:level": "L2", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 109.787418, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json index d65492ec..aab49567 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 27, "cbers:row": 76, - "sat:absolute_orbit": 27076, + "sat:platform_international_designator": "2014-079A", "view:off_nadir": 17.163, "view:sun_azimuth": 95.7233, "view:sun_elevation": 66.525, @@ -76,9 +76,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 86.032584, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json index dbb532d4..21c2a540 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 27, "cbers:row": 76, - "sat:absolute_orbit": 27076, + "sat:platform_international_designator": "2014-079A", "view:off_nadir": 17.163, "view:sun_azimuth": 95.7236, "view:sun_elevation": 66.525, @@ -76,9 +76,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 86.032584, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json index 19d6eed8..7d271ebd 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 27, "cbers:row": 76, - "sat:absolute_orbit": 27076, + "sat:platform_international_designator": "2014-079A", "view:off_nadir": 17.163, "view:sun_azimuth": 95.7233, "view:sun_elevation": 66.525, @@ -76,9 +76,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 86.032584, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json index 48a606fd..1576e93e 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 27, "cbers:row": 76, - "sat:absolute_orbit": 27076, + "sat:platform_international_designator": "2014-079A", "view:off_nadir": 17.163, "view:sun_azimuth": 95.7266, "view:sun_elevation": 66.525, @@ -76,9 +76,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 86.0414, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json index bc1078d4..ffc025c7 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json @@ -51,6 +51,13 @@ "gsd": 55.0, "title": "CBERS-4A WFI L4 2020-08-01 14:32:46", "eo:bands": [ + { + "name": "band-13", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + }, { "name": "band-13-left", "common_name": "blue", @@ -69,7 +76,7 @@ "sat:orbit_state": "descending", "cbers:path": 221, "cbers:row": 156, - "sat:absolute_orbit": 221156, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 31.455, "view:sun_elevation": 32.44, "processing:level": "L4", @@ -82,9 +89,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -68.909668, @@ -93,6 +101,31 @@ -29.808218 ], "assets": { + "band-13": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "Image file", + "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND13/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND13.tif", + "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND13.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-13", + "common_name": "blue", + "center_wavelength": 0.485, + "full_width_half_max": 0.07, + "solar_illumination": 1984.65 + } + ], + "raster:bands": [ + { + "scale": 0.245, + "offset": 0.0 + } + ] + }, "band-13-left": { "type": "image/tiff", "roles": [ diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json index 9e308839..502b5794 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json @@ -51,6 +51,13 @@ "gsd": 55.0, "title": "CBERS-4A WFI L4 2020-08-01 14:32:46", "eo:bands": [ + { + "name": "band-14", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + }, { "name": "band-14-left", "common_name": "green", @@ -69,7 +76,7 @@ "sat:orbit_state": "descending", "cbers:path": 221, "cbers:row": 156, - "sat:absolute_orbit": 221156, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 31.4573, "view:sun_elevation": 32.4705, "processing:level": "L4", @@ -82,9 +89,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -68.909668, @@ -93,6 +101,31 @@ -29.808218 ], "assets": { + "band-14": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "Image file", + "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND14/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND14.tif", + "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND14.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-14", + "common_name": "green", + "center_wavelength": 0.555, + "full_width_half_max": 0.07, + "solar_illumination": 1823.4 + } + ], + "raster:bands": [ + { + "scale": 0.287, + "offset": 0.0 + } + ] + }, "band-14-left": { "type": "image/tiff", "roles": [ diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json index b1373e9b..def7cfea 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json @@ -51,6 +51,13 @@ "gsd": 55.0, "title": "CBERS-4A WFI L4 2020-08-01 14:32:46", "eo:bands": [ + { + "name": "band-15", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + }, { "name": "band-15-left", "common_name": "red", @@ -69,7 +76,7 @@ "sat:orbit_state": "descending", "cbers:path": 221, "cbers:row": 156, - "sat:absolute_orbit": 221156, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 31.4597, "view:sun_elevation": 32.501, "processing:level": "L4", @@ -82,9 +89,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -68.909668, @@ -93,6 +101,31 @@ -29.808218 ], "assets": { + "band-15": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "Image file", + "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND15/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND15.tif", + "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND15.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-15", + "common_name": "red", + "center_wavelength": 0.66, + "full_width_half_max": 0.06, + "solar_illumination": 1536.38 + } + ], + "raster:bands": [ + { + "scale": 0.264, + "offset": 0.0 + } + ] + }, "band-15-left": { "type": "image/tiff", "roles": [ diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json index 130d4310..b4edaf0e 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json @@ -51,6 +51,13 @@ "gsd": 55.0, "title": "CBERS-4A WFI L4 2020-08-01 14:32:46", "eo:bands": [ + { + "name": "band-16", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + }, { "name": "band-16-left", "common_name": "nir", @@ -69,7 +76,7 @@ "sat:orbit_state": "descending", "cbers:path": 221, "cbers:row": 156, - "sat:absolute_orbit": 221156, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 31.462, "view:sun_elevation": 32.5314, "processing:level": "L4", @@ -82,9 +89,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -68.909668, @@ -93,6 +101,31 @@ -29.808218 ], "assets": { + "band-16": { + "type": "image/tiff", + "roles": [ + "data" + ], + "title": "Image file", + "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND16/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND16.tif", + "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND16.tif", + "file:size": 0, + "eo:bands": [ + { + "name": "band-16", + "common_name": "nir", + "center_wavelength": 0.83, + "full_width_half_max": 0.12, + "solar_illumination": 981.91 + } + ], + "raster:bands": [ + { + "scale": 0.211, + "offset": 0.0 + } + ] + }, "band-16-left": { "type": "image/tiff", "roles": [ diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json index 6be3f44b..82ee3e1c 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json @@ -82,7 +82,7 @@ ], "cbers:path": 109, "cbers:row": 60, - "sat:absolute_orbit": 109060, + "sat:platform_international_designator": "2019-093E", "proj:epsg": 32638, "view:off_nadir": 0.0, "view:sun_azimuth": 165.439, @@ -97,9 +97,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ 43.164, @@ -113,7 +114,7 @@ "roles": [ "data" ], - "title": "Image file", + "title": "WFI L2 COMPOSE", "href": "data/CBERS-4A-urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose/CBERS_4A_WFI_20230214_109_060_L2_compose.tif", "filename": "CBERS_4A_WFI_20230214_109_060_L2_compose.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json index e9da3842..fbc25ed3 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 209, "cbers:row": 139, - "sat:absolute_orbit": 209139, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 32.9856, "view:sun_elevation": 44.3535, "processing:level": "L4", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -51.684164, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json index 8eebc80b..19fb40c2 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 209, "cbers:row": 139, - "sat:absolute_orbit": 209139, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 32.9762, "view:sun_elevation": 44.3213, "processing:level": "L4", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -51.684164, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json index 247ce17a..4c897baa 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 209, "cbers:row": 139, - "sat:absolute_orbit": 209139, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 32.9789, "view:sun_elevation": 44.3304, "processing:level": "L4", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -51.684164, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json index f42e34be..9fc382ab 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 209, "cbers:row": 139, - "sat:absolute_orbit": 209139, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 32.9813, "view:sun_elevation": 44.3386, "processing:level": "L4", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -51.684164, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json index d67f2b83..ab2cc3c1 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json @@ -62,7 +62,7 @@ "sat:orbit_state": "descending", "cbers:path": 209, "cbers:row": 139, - "sat:absolute_orbit": 209139, + "sat:platform_international_designator": "2019-093E", "view:sun_azimuth": 32.9835, "view:sun_elevation": 44.3461, "processing:level": "L4", @@ -75,9 +75,10 @@ "processor", "licensor" ], - "url": "http://www.dgi.inpe.br/en" + "url": "http://www.cbers.inpe.br/sobre/cbers3-4.php" } - ] + ], + "licence": "proprietary" }, "bbox": [ -51.684164, diff --git a/src/Stars.Data.Tests/testsettings.json b/src/Stars.Data.Tests/testsettings.json index 8acbd82a..35df16ea 100644 --- a/src/Stars.Data.Tests/testsettings.json +++ b/src/Stars.Data.Tests/testsettings.json @@ -1,90 +1,8 @@ { "Tests": { "Harvesters": { - "KOMPSAT-3": [ - "KARI/KOMPSAT-3" - ], - "KOMPSAT-5": [ - "KARI/KOMPSAT-5" - ], - "SENTINEL-1": [ - "ESA/SENTINEL-1" - ], - "SENTINEL-2": [ - "ESA/SENTINEL-2" - ], - "ICEYE": [ - "ICEYE" - ], - "TERRASAR-X": [ - "DLR/TERRASAR-X" - ], - "GAOFEN": [ - "CNSA/GAOFEN-1", - "CNSA/GAOFEN-2", - "CNSA/GAOFEN-4" - ], - "GAOFEN-3": [ - "CNSA/GAOFEN-3" - ], - "LANDSAT8": [ - "NASA/LANDSAT8" - ], - "LANDSAT9": [ - "NASA/LANDSAT9" - ], - "DIMAP": [ - "DMC" - ], - "ALOS2": [ - "JAXA/ALOS2" - ], - "CONAE": [ - "CONAE/SAOCOM-1" - ], - "RCM": [ - "CSA/RCM-1", - "CSA/RCM-2", - "CSA/RCM-3" - ], - "AIRBUS": [ - "AIRBUS" - ], - "ABAE": [ - "ABAE" - ], - "WORLDVIEW": [ - "DIGITALGLOBE/WORLDVIEW" - ], - "GEOEYE": [ - "DIGITALGLOBE/GEOEYE" - ], - "CBERS": [ + "INPE": [ "INPE" - ], - "KANOPUS-V": [ - "ROSCOSMOS/KANOPUS-V" - ], - "ISRO": [ - "ISRO" - ], - "PLANET": [ - "PLANETSCOPE" - ], - "CSK": [ - "ASI/COSMO-SKYMED" - ], - "GDAL": [ - "GDAL" - ], - "RESURSP": [ - "ROSCOSMOS/RESURS-P" - ], - "BLACKSKY": [ - "BLACKSKY/Global" - ], - "NEWSAT": [ - "SATELLOGIC/NEWSAT" ] } } diff --git a/src/Stars.Data/Model/Metadata/Cbers/CbersMetadataExtractor.cs b/src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs similarity index 80% rename from src/Stars.Data/Model/Metadata/Cbers/CbersMetadataExtractor.cs rename to src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs index bad339f2..31d3e60d 100644 --- a/src/Stars.Data/Model/Metadata/Cbers/CbersMetadataExtractor.cs +++ b/src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs @@ -17,29 +17,36 @@ using Stac.Extensions.Sat; using Stac.Extensions.View; using Stac.Extensions.Raster; -using Terradue.Stars.Data.Model.Metadata.Cbers.Schemas; +using Terradue.Stars.Data.Model.Metadata.Inpe.Schemas; using Terradue.Stars.Interface; using Terradue.Stars.Interface.Supplier.Destination; using Terradue.Stars.Services.Model.Stac; using Terradue.Stars.Geometry.GeoJson; -namespace Terradue.Stars.Data.Model.Metadata.Cbers +namespace Terradue.Stars.Data.Model.Metadata.Inpe { - public class CbersMetadataExtractor : MetadataExtraction + public class InpeMetadataExtractor : MetadataExtraction { - private Regex identifierRegex = - new Regex(@"(?'id1'CBERS_4A?_(?'type'[^_]+)_\d{8}_\d{3}_\d{3}_L(?'level'[^_]+))(_LEFT|RIGHT)?(?'id2'_BAND(?'band'\d+))"); - + private static Regex identifierRegex = new Regex(@"(?'id1'(CBERS_4A?|AMAZONIA-1)_(?'type'[^_]+)_\d{8}_\d{3}_\d{3}_L(?'level'[^_]+))(_LEFT|RIGHT)?(?'id2'_BAND(?'band'\d+))"); + // alternative identifier regex for for filename of // this type 956-INPE-CBERS-4-urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose - private Regex identifierRegex2 = - new Regex(@".*_inpe_(call[0-9]*|cbers_4a?)_(?'type'[^_]+)_\d{8}_\d{3}_\d{3}_l(?'level'[^_]+)_(band|b)?(\d+)?(.+)?\.csv$"); + private static Regex identifierRegex2 = new Regex(@".*_inpe_(call[0-9]*|cbers_4a?|amazonia_1)_(?'type'[^_]+)_\d{8}_\d{3}_\d{3}_l(?'level'[^_]+)_(band|b)?(\d+)?(.+)?\.csv$"); + protected static string metadataAssetRegexPattern => @".*(CBERS_4|Call|CBERS_4A?|cbers_4|call|cbers_4A?|AMAZONIA_1|amazonia_1).*\.(xml|csv)$"; + protected static string compositeAssetRegexPattern => @".*(CBERS_4|Call|CBERS_4A?|cbers_4|call|cbers_4A?|AMAZONIA_1|amazonia_1).*\.(tif|tiff)$"; private Regex identifierInfoRegex = new Regex(@".*(?'mode'awfi|mux|pan5m|pan10m|wfi|wpm)_\d{8}_\d{3}_\d{3}_l(?'level'[^_]+)_(?'rest'.*)$"); + // Dictionary containing platform international designators + private Dictionary platformInternationalDesignators = new Dictionary { + {"CBERS-4", "2014-079A"}, + {"CBERS-4A", "2019-093E"}, + {"AMAZONIA-1", "2021-015A"}, + }; + // Dictionary containing the bands offered by each spectral mode - private Dictionary spectralModeBands = new Dictionary { + private Dictionary spectralModeBandsCbers = new Dictionary { {"AWFI", new int[] {13, 14, 15, 16}}, {"MUX", new int[] {5, 6, 7, 8}}, {"PAN5M", new int[] {1}}, @@ -49,21 +56,26 @@ public class CbersMetadataExtractor : MetadataExtraction {"WPM-pansharpening", new int[] {1, 2, 3, 4}}, }; + private Dictionary spectralModeBandsAmazonia = new Dictionary { + {"WFI", new int[] {1, 2, 3, 4}}, + }; + private Regex bandKeyRegex = new Regex(@"band-\d+"); private Regex utmZoneRegex = new Regex(@"(?'num'\d+)(?'hem'[NS])"); public static XmlSerializer metadataSerializer = new XmlSerializer(typeof(Schemas.Metadata)); public override string Label => - "China-Brazil Earth Resources Satellite-4A (INPE) mission product metadata extractor"; + "China-Brazil Earth Resources Satellite-4/4A (INPE) mission product metadata extractor"; - public CbersMetadataExtractor(ILogger logger, + public InpeMetadataExtractor(ILogger logger, IResourceServiceProvider resourceServiceProvider) : base(logger, resourceServiceProvider) { } public override bool CanProcess(IResource route, IDestination destination) { + IItem item = route as IItem; if (item == null) return false; try @@ -202,29 +214,28 @@ private void FindBands(Schemas.prdfImage image, Dictionary bands } - private IAsset GetCompositeAsset(IItem item) + protected virtual IAsset GetCompositeAsset(IItem item) { - IAsset compositeAsset = FindFirstAssetFromFileNameRegex(item, @".*(CBERS_4|Call|CBERS_4A?|cbers_4|call|cbers_4A?).*\.(tif|tiff)$"); + IAsset compositeAsset = FindFirstAssetFromFileNameRegex(item, compositeAssetRegexPattern); return compositeAsset; } private GeoJSON.Net.Geometry.IGeometryObject GetGeometry(Schemas.Metadata metadata) { - Schemas.prdfImage image = (metadata.leftCamera == null ? metadata.image : metadata.leftCamera.image); GeoJSON.Net.Geometry.LineString lineString = new GeoJSON.Net.Geometry.LineString( new GeoJSON.Net.Geometry.Position[] { - new GeoJSON.Net.Geometry.Position(Double.Parse(image.boundingBox.LL.latitude), - Double.Parse(image.boundingBox.LL.longitude)), - new GeoJSON.Net.Geometry.Position(Double.Parse(image.boundingBox.LR.latitude), - Double.Parse(image.boundingBox.LR.longitude)), - new GeoJSON.Net.Geometry.Position(Double.Parse(image.boundingBox.UR.latitude), - Double.Parse(image.boundingBox.UR.longitude)), - new GeoJSON.Net.Geometry.Position(Double.Parse(image.boundingBox.UL.latitude), - Double.Parse(image.boundingBox.UL.longitude)), - new GeoJSON.Net.Geometry.Position(Double.Parse(image.boundingBox.LL.latitude), - Double.Parse(image.boundingBox.LL.longitude)), + new GeoJSON.Net.Geometry.Position(Double.Parse(metadata.image.boundingBox.LL.latitude), + Double.Parse(metadata.image.boundingBox.LL.longitude)), + new GeoJSON.Net.Geometry.Position(Double.Parse(metadata.image.boundingBox.LR.latitude), + Double.Parse(metadata.image.boundingBox.LR.longitude)), + new GeoJSON.Net.Geometry.Position(Double.Parse(metadata.image.boundingBox.UR.latitude), + Double.Parse(metadata.image.boundingBox.UR.longitude)), + new GeoJSON.Net.Geometry.Position(Double.Parse(metadata.image.boundingBox.UL.latitude), + Double.Parse(metadata.image.boundingBox.UL.longitude)), + new GeoJSON.Net.Geometry.Position(Double.Parse(metadata.image.boundingBox.LL.latitude), + Double.Parse(metadata.image.boundingBox.LL.longitude)), } ); return new GeoJSON.Net.Geometry.Polygon(new GeoJSON.Net.Geometry.LineString[] { lineString }) @@ -234,7 +245,7 @@ private GeoJSON.Net.Geometry.IGeometryObject GetGeometry(Schemas.Metadata metada protected virtual IAsset GetMetadataAsset(IItem item) { - IAsset metadataAsset = FindFirstAssetFromFileNameRegex(item, @".*(CBERS_4|Call|CBERS_4A?|cbers_4|call|cbers_4A?).*\.(xml|csv)$"); + IAsset metadataAsset = FindFirstAssetFromFileNameRegex(item, metadataAssetRegexPattern); if (metadataAsset == null) { throw new FileNotFoundException(String.Format("Unable to find the metadata file asset")); @@ -297,7 +308,7 @@ await resourceServiceProvider.GetAssetStreamAsync(metadataAsset, } } } - metadata.image.level = level; + (metadata.leftCamera == null ? metadata.image : metadata.leftCamera.image).level = level; } else { @@ -309,6 +320,11 @@ await resourceServiceProvider.GetAssetStreamAsync(metadataAsset, logger.LogDebug("Deserializing metadata file {0}", metadataAsset.Uri); metadata = (Schemas.Metadata)metadataSerializer.Deserialize(reader); + if (metadata.leftCamera != null) + { + metadata.image = metadata.leftCamera.image; + metadata.satellite = metadata.leftCamera.satellite; + } } } @@ -319,16 +335,13 @@ await resourceServiceProvider.GetAssetStreamAsync(metadataAsset, private string GetProcessingLevel(Schemas.Metadata metadata) { - Schemas.prdfImage image = (metadata.leftCamera == null ? metadata.image : metadata.leftCamera.image); - return String.Format("L{0}", image.level); + return String.Format("L{0}", metadata.image.level); } private IDictionary GetCommonMetadata(Schemas.Metadata metadata) { Dictionary properties = new Dictionary(); FillDateTimeProperties(metadata, properties); - // TODO Licensing - // TODO Provider FillInstrument(metadata, properties); FillBasicsProperties(metadata, properties); @@ -337,16 +350,15 @@ private IDictionary GetCommonMetadata(Schemas.Metadata metadata) private void FillDateTimeProperties(Schemas.Metadata metadata, Dictionary properties) { - Schemas.prdfImage image = (metadata.leftCamera == null ? metadata.image : metadata.leftCamera.image); CultureInfo provider = CultureInfo.InvariantCulture; DateTime startDate = DateTime.MinValue; bool hasStartDate = - DateTime.TryParse(image.timeStamp.begin, null, DateTimeStyles.AssumeUniversal, out startDate); + DateTime.TryParse(metadata.image.timeStamp.begin, null, DateTimeStyles.AssumeUniversal, out startDate); DateTime endDate = startDate; - bool hasEndDate = DateTime.TryParse(image.timeStamp.end, null, DateTimeStyles.AssumeUniversal, out endDate); + bool hasEndDate = DateTime.TryParse(metadata.image.timeStamp.end, null, DateTimeStyles.AssumeUniversal, out endDate); DateTime centerDate = startDate; bool hasCenterDate = - DateTime.TryParse(image.timeStamp.center, null, DateTimeStyles.AssumeUniversal, out centerDate); + DateTime.TryParse(metadata.image.timeStamp.center, null, DateTimeStyles.AssumeUniversal, out centerDate); if (hasStartDate && hasEndDate) { @@ -362,7 +374,7 @@ private void FillDateTimeProperties(Schemas.Metadata metadata, Dictionary properties) { // platform & constellation - Schemas.prdfSatellite satellite = - (metadata.leftCamera == null ? metadata.satellite : metadata.leftCamera.satellite); - Schemas.prdfImage image = (metadata.leftCamera == null ? metadata.image : metadata.leftCamera.image); - - properties["constellation"] = String.Format("{0}-{1}", satellite.name, satellite.number).ToLower(); - properties["platform"] = String.Format("{0}-{1}", satellite.name, satellite.number).ToLower(); + properties["constellation"] = String.Format("{0}-{1}", metadata.satellite.name, metadata.satellite.number).ToLower(); + properties["platform"] = String.Format("{0}-{1}", metadata.satellite.name, metadata.satellite.number).ToLower(); properties["mission"] = properties["platform"]; - properties["instruments"] = new string[] { satellite.instrument.Value.ToLower() }; + properties["instruments"] = new string[] { metadata.satellite.instrument.Value.ToLower() }; properties["sensor_type"] = "optical"; double gsd = 0; - if (Double.TryParse(image.verticalPixelSize, out gsd)) + if (Double.TryParse(metadata.image.verticalPixelSize, out gsd)) { properties["gsd"] = gsd; } @@ -411,7 +419,8 @@ private void FillInstrument(Schemas.Metadata metadata, Dictionary properties) { - Schemas.prdfSatellite satellite = - (metadata.leftCamera == null ? metadata.satellite : metadata.leftCamera.satellite); CultureInfo culture = new CultureInfo("fr-FR"); properties["title"] = String.Format("{0} {1} {2} {3}", - String.Format("{0}-{1}", satellite.name.ToUpper(), satellite.number.ToUpper()), + String.Format("{0}-{1}", metadata.satellite.name.ToUpper(), metadata.satellite.number.ToUpper()), metadata.spectralMode, GetProcessingLevel(metadata), properties.GetProperty("datetime").ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ss", culture) @@ -439,15 +446,30 @@ private void AddOtherProperties(Schemas.Metadata metadata, IDictionary diff --git a/src/Stars.Data/Model/Metadata/Cbers/Schemas/MetadataCsv.cs b/src/Stars.Data/Model/Metadata/Inpe/Schemas/MetadataCsv.cs similarity index 96% rename from src/Stars.Data/Model/Metadata/Cbers/Schemas/MetadataCsv.cs rename to src/Stars.Data/Model/Metadata/Inpe/Schemas/MetadataCsv.cs index c9ceae7a..65c8ebd3 100644 --- a/src/Stars.Data/Model/Metadata/Cbers/Schemas/MetadataCsv.cs +++ b/src/Stars.Data/Model/Metadata/Inpe/Schemas/MetadataCsv.cs @@ -3,7 +3,7 @@ using System.Globalization; using System.Text.RegularExpressions; -namespace Terradue.Stars.Data.Model.Metadata.Cbers.Schemas { +namespace Terradue.Stars.Data.Model.Metadata.Inpe.Schemas { public class MetadataCsv { public string AGENCY { get; set; } public string SATELLITE { get; set; } @@ -31,13 +31,12 @@ public Metadata getMetadata() { Metadata metadata = new Metadata(); // SATELLITE metadata.satellite = new prdfSatellite(); - metadata.satellite.name = "CBERS"; - string pattern = @"CBERS(.*)"; + string pattern = @"(CBERS|AMAZONIA)(.*)"; Match match = Regex.Match(SATELLITE, pattern); if (match.Success) { - string numberString = match.Groups[1].Value; - metadata.satellite.number = numberString; + metadata.satellite.name = match.Groups[1].Value; + metadata.satellite.number = match.Groups[2].Value; } else { throw new Exception("No match found"); diff --git a/src/Stars.Data/stars-data.json b/src/Stars.Data/stars-data.json index 46df3626..4e7b0f55 100644 --- a/src/Stars.Data/stars-data.json +++ b/src/Stars.Data/stars-data.json @@ -106,8 +106,8 @@ "GEOEYE": { "Type": "Terradue.Stars.Data.Model.Metadata.Geoeye.GeoeyeMetadataExtractor" }, - "CBERS": { - "Type": "Terradue.Stars.Data.Model.Metadata.Cbers.CbersMetadataExtractor" + "INPE": { + "Type": "Terradue.Stars.Data.Model.Metadata.Inpe.InpeMetadataExtractor" }, "KANOPUS-V": { "Type": "Terradue.Stars.Data.Model.Metadata.Kanopus.KanopusVMetadataExtractor" From e594e02c565d21e6c6f77ff449c7f0693ac491a0 Mon Sep 17 00:00:00 2001 From: floeschau Date: Thu, 26 Oct 2023 10:35:04 +0100 Subject: [PATCH 2/2] AMAZONIA-1 metadata extractor and tests (minor fixes) --- ...NIA_1_WFI_20210419_029_006_L2_compose.json | 3 +- ...NIA_1_WFI_20210422_023_010_L4_compose.json | 3 +- ...NIA_1_WFI_20210424_029_006_L2_compose.json | 3 +- ...NIA_1_WFI_20210529_029_010_L4_compose.json | 3 +- ...NIA_1_WFI_20210802_029_010_L4_compose.json | 3 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND13.json | 5 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND14.json | 5 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND15.json | 5 +- ...ERS_4_AWFI_20201031_003_075_L2_BAND16.json | 5 +- ..._4_AWFI_20220731_111_063_L4_B_compose.json | 3 +- ...0221009_105_087_L4_BAND16151413_FIRST.json | 3 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND5.json | 5 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND6.json | 5 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND7.json | 5 +- ...CBERS_4_MUX_20201031_003_073_L2_BAND8.json | 5 +- ...RS_4_PAN10M_20190510_027_076_L2_BAND2.json | 5 +- ...RS_4_PAN10M_20190510_027_076_L2_BAND3.json | 5 +- ...RS_4_PAN10M_20190510_027_076_L2_BAND4.json | 5 +- ...ERS_4_PAN5M_20190510_027_076_L2_BAND1.json | 5 +- ...ERS_4A_WFI_20200801_221_156_L4_BAND13.json | 15 ++-- ...ERS_4A_WFI_20200801_221_156_L4_BAND14.json | 15 ++-- ...ERS_4A_WFI_20200801_221_156_L4_BAND15.json | 15 ++-- ...ERS_4A_WFI_20200801_221_156_L4_BAND16.json | 15 ++-- ...RS_4A_WFI_20230214_109_060_L2_compose.json | 3 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND0.json | 5 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND1.json | 5 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND2.json | 5 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND3.json | 5 +- ...BERS_4A_WPM_20200730_209_139_L4_BAND4.json | 5 +- src/Stars.Data.Tests/testsettings.json | 84 ++++++++++++++++++- .../Metadata/Inpe/InpeMetadataExtractor.cs | 4 +- 31 files changed, 189 insertions(+), 68 deletions(-) diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json index 279cd968..4968ac3f 100644 --- a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "WFI L2 COMPOSE", "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210419_029_006_L2_compose/AMAZONIA_1_WFI_20210419_029_006_L2_compose.tif", diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json index 80673217..4384cfc2 100644 --- a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "WFI L4 COMPOSE", "href": "data/966-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210422_023_010_L4_compose/AMAZONIA_1_WFI_20210422_023_010_L4_compose.tif", diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json index 6174bfde..2b644179 100644 --- a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "WFI L2 COMPOSE", "href": "data/968-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210424_029_006_L2_compose/AMAZONIA_1_WFI_20210424_029_006_L2_compose.tif", diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json index 62ac57bb..69a7603f 100644 --- a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "WFI L4 COMPOSE", "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210529_029_010_L4_compose/AMAZONIA_1_WFI_20210529_029_010_L4_compose.tif", diff --git a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json index a151ca7a..3ec0a808 100644 --- a/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/AMAZONIA-1/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "WFI L4 COMPOSE", "href": "data/965-INPE-AMAZONIA-1-urn_ogc_def_EOP_INPE_AMAZONIA_1_WFI_20210802_029_010_L4_compose/AMAZONIA_1_WFI_20210802_029_010_L4_compose.tif", diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json index 3e00d93c..af3a001c 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND13.json @@ -90,9 +90,10 @@ "band-13": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "AWFI L2 BAND-13", "href": "data/CBERS_4_AWFI_20201031_003_075_L2_BAND13/CBERS_4_AWFI_20201031_003_075_L2_BAND13.tif", "filename": "CBERS_4_AWFI_20201031_003_075_L2_BAND13.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json index f99377f4..b4f94adf 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND14.json @@ -90,9 +90,10 @@ "band-14": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "AWFI L2 BAND-14", "href": "data/CBERS_4_AWFI_20201031_003_075_L2_BAND14/CBERS_4_AWFI_20201031_003_075_L2_BAND14.tif", "filename": "CBERS_4_AWFI_20201031_003_075_L2_BAND14.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json index 2d7cd532..6afbd106 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND15.json @@ -90,9 +90,10 @@ "band-15": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "AWFI L2 BAND-15", "href": "data/CBERS_4_AWFI_20201031_003_075_L2_BAND15/CBERS_4_AWFI_20201031_003_075_L2_BAND15.tif", "filename": "CBERS_4_AWFI_20201031_003_075_L2_BAND15.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json index 533a22c0..d4ebd311 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_CBERS_4_AWFI_20201031_003_075_L2_BAND16.json @@ -90,9 +90,10 @@ "band-16": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "AWFI L2 BAND-16", "href": "data/CBERS_4_AWFI_20201031_003_075_L2_BAND16/CBERS_4_AWFI_20201031_003_075_L2_BAND16.tif", "filename": "CBERS_4_AWFI_20201031_003_075_L2_BAND16.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json index d10a7db8..2fb8c95e 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "AWFI L4 COMPOSE", "href": "data/956-INPE-CBERS-4-urn_ogc_def_EOP_INPE_CBERS_4_AWFI_20220731_111_063_L4_B_compose/CBERS_4_AWFI_20220731_111_063_L4_B_compose.tiff", diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json index 40076a0d..807458d8 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/AWFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "AWFI L4 COMPOSE", "href": "data/1086-INPE-CBERS-4-urn_ogc_def_EOP_INPE_Call1086_AWFI_20221009_105_087_L4_BAND16151413_FIRST/Call895_AWFI_20221009_105_087_L4_BAND16151413.tiff", diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json index 86bf389a..93baf569 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND5.json @@ -90,9 +90,10 @@ "band-5": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "MUX L2 BAND-5", "href": "data/CBERS_4_MUX_20201031_003_073_L2_BAND5/CBERS_4_MUX_20201031_003_073_L2_BAND5.tif", "filename": "CBERS_4_MUX_20201031_003_073_L2_BAND5.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json index 915cb590..282076f8 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND6.json @@ -90,9 +90,10 @@ "band-6": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "MUX L2 BAND-6", "href": "data/CBERS_4_MUX_20201031_003_073_L2_BAND6/CBERS_4_MUX_20201031_003_073_L2_BAND6.tif", "filename": "CBERS_4_MUX_20201031_003_073_L2_BAND6.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json index 418d21ce..33b77032 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND7.json @@ -90,9 +90,10 @@ "band-7": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "MUX L2 BAND-7", "href": "data/CBERS_4_MUX_20201031_003_073_L2_BAND7/CBERS_4_MUX_20201031_003_073_L2_BAND7.tif", "filename": "CBERS_4_MUX_20201031_003_073_L2_BAND7.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json index 57e9ac0a..e38be25f 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/MUX/MetadataExtractorsTests_CBERS_4_MUX_20201031_003_073_L2_BAND8.json @@ -90,9 +90,10 @@ "band-8": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "MUX L2 BAND-8", "href": "data/CBERS_4_MUX_20201031_003_073_L2_BAND8/CBERS_4_MUX_20201031_003_073_L2_BAND8.tif", "filename": "CBERS_4_MUX_20201031_003_073_L2_BAND8.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json index aab49567..00c1f513 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND2.json @@ -91,9 +91,10 @@ "band-2": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "PAN10M L2 BAND-2", "href": "data/CBERS_4_PAN10M_20190510_027_076_L2_BAND2/CBERS_4_PAN10M_20190510_027_076_L2_BAND2.tif", "filename": "CBERS_4_PAN10M_20190510_027_076_L2_BAND2.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json index 21c2a540..96a88057 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND3.json @@ -91,9 +91,10 @@ "band-3": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "PAN10M L2 BAND-3", "href": "data/CBERS_4_PAN10M_20190510_027_076_L2_BAND3/CBERS_4_PAN10M_20190510_027_076_L2_BAND3.tif", "filename": "CBERS_4_PAN10M_20190510_027_076_L2_BAND3.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json index 7d271ebd..fa4a35b4 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN10M/MetadataExtractorsTests_CBERS_4_PAN10M_20190510_027_076_L2_BAND4.json @@ -91,9 +91,10 @@ "band-4": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "PAN10M L2 BAND-4", "href": "data/CBERS_4_PAN10M_20190510_027_076_L2_BAND4/CBERS_4_PAN10M_20190510_027_076_L2_BAND4.tif", "filename": "CBERS_4_PAN10M_20190510_027_076_L2_BAND4.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json index 1576e93e..2926ff15 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4/PAN5M/MetadataExtractorsTests_CBERS_4_PAN5M_20190510_027_076_L2_BAND1.json @@ -91,9 +91,10 @@ "band-1": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "PAN5M L2 BAND-1", "href": "data/CBERS_4_PAN5M_20190510_027_076_L2_BAND1/CBERS_4_PAN5M_20190510_027_076_L2_BAND1.tif", "filename": "CBERS_4_PAN5M_20190510_027_076_L2_BAND1.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json index ffc025c7..4918b46d 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND13.json @@ -104,9 +104,10 @@ "band-13": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-13", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND13/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND13.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND13.tif", "file:size": 0, @@ -129,9 +130,10 @@ "band-13-left": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-13-LEFT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND13/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND13.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND13.tif", "file:size": 0, @@ -153,9 +155,10 @@ "band-13-right": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-13-RIGHT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND13/CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND13.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND13.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json index 502b5794..a457e6e9 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND14.json @@ -104,9 +104,10 @@ "band-14": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-14", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND14/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND14.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND14.tif", "file:size": 0, @@ -129,9 +130,10 @@ "band-14-left": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-14-LEFT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND14/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND14.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND14.tif", "file:size": 0, @@ -153,9 +155,10 @@ "band-14-right": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-14-RIGHT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND14/CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND14.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND14.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json index def7cfea..2253c9ea 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND15.json @@ -104,9 +104,10 @@ "band-15": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-15", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND15/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND15.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND15.tif", "file:size": 0, @@ -129,9 +130,10 @@ "band-15-left": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-15-LEFT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND15/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND15.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND15.tif", "file:size": 0, @@ -153,9 +155,10 @@ "band-15-right": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-15-RIGHT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND15/CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND15.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND15.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json index b4edaf0e..8d9fd6c0 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_CBERS_4A_WFI_20200801_221_156_L4_BAND16.json @@ -104,9 +104,10 @@ "band-16": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-16", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND16/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND16.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND16.tif", "file:size": 0, @@ -129,9 +130,10 @@ "band-16-left": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-16-LEFT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND16/CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND16.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_LEFT_BAND16.tif", "file:size": 0, @@ -153,9 +155,10 @@ "band-16-right": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WFI L4 BAND-16-RIGHT", "href": "data/CBERS_4A_WFI_20200801_221_156_L4_BAND16/CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND16.tif", "filename": "CBERS_4A_WFI_20200801_221_156_L4_RIGHT_BAND16.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json index 82ee3e1c..085a7812 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WFI/MetadataExtractorsTests_urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose.json @@ -112,7 +112,8 @@ "compose": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], "title": "WFI L2 COMPOSE", "href": "data/CBERS-4A-urn_ogc_def_EOP_INPE_CBERS_4A_WFI_20230214_109_060_L2_compose/CBERS_4A_WFI_20230214_109_060_L2_compose.tif", diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json index fbc25ed3..4fdfa12f 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND0.json @@ -90,9 +90,10 @@ "band-0": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WPM L4 BAND-0", "href": "data/CBERS_4A_WPM_20200730_209_139_L4_BAND0/CBERS_4A_WPM_20200730_209_139_L4_BAND0.tif", "filename": "CBERS_4A_WPM_20200730_209_139_L4_BAND0.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json index 19fb40c2..59cebff1 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND1.json @@ -90,9 +90,10 @@ "band-1": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WPM L4 BAND-1", "href": "data/CBERS_4A_WPM_20200730_209_139_L4_BAND1/CBERS_4A_WPM_20200730_209_139_L4_BAND1.tif", "filename": "CBERS_4A_WPM_20200730_209_139_L4_BAND1.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json index 4c897baa..5171e3c4 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND2.json @@ -90,9 +90,10 @@ "band-2": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WPM L4 BAND-2", "href": "data/CBERS_4A_WPM_20200730_209_139_L4_BAND2/CBERS_4A_WPM_20200730_209_139_L4_BAND2.tif", "filename": "CBERS_4A_WPM_20200730_209_139_L4_BAND2.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json index 9fc382ab..08a2e96a 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND3.json @@ -90,9 +90,10 @@ "band-3": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WPM L4 BAND-3", "href": "data/CBERS_4A_WPM_20200730_209_139_L4_BAND3/CBERS_4A_WPM_20200730_209_139_L4_BAND3.tif", "filename": "CBERS_4A_WPM_20200730_209_139_L4_BAND3.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json index ab2cc3c1..6007bd8a 100644 --- a/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json +++ b/src/Stars.Data.Tests/Resources/INPE/CBERS-4A/WPM/MetadataExtractorsTests_CBERS_4A_WPM_20200730_209_139_L4_BAND4.json @@ -90,9 +90,10 @@ "band-4": { "type": "image/tiff", "roles": [ - "data" + "data", + "dn" ], - "title": "Image file", + "title": "WPM L4 BAND-4", "href": "data/CBERS_4A_WPM_20200730_209_139_L4_BAND4/CBERS_4A_WPM_20200730_209_139_L4_BAND4.tif", "filename": "CBERS_4A_WPM_20200730_209_139_L4_BAND4.tif", "file:size": 0, diff --git a/src/Stars.Data.Tests/testsettings.json b/src/Stars.Data.Tests/testsettings.json index 35df16ea..b8e946ee 100644 --- a/src/Stars.Data.Tests/testsettings.json +++ b/src/Stars.Data.Tests/testsettings.json @@ -1,9 +1,91 @@ { "Tests": { "Harvesters": { + "KOMPSAT-3": [ + "KARI/KOMPSAT-3" + ], + "KOMPSAT-5": [ + "KARI/KOMPSAT-5" + ], + "SENTINEL-1": [ + "ESA/SENTINEL-1" + ], + "SENTINEL-2": [ + "ESA/SENTINEL-2" + ], + "ICEYE": [ + "ICEYE" + ], + "TERRASAR-X": [ + "DLR/TERRASAR-X" + ], + "GAOFEN": [ + "CNSA/GAOFEN-1", + "CNSA/GAOFEN-2", + "CNSA/GAOFEN-4" + ], + "GAOFEN-3": [ + "CNSA/GAOFEN-3" + ], + "LANDSAT8": [ + "NASA/LANDSAT8" + ], + "LANDSAT9": [ + "NASA/LANDSAT9" + ], + "DIMAP": [ + "DMC" + ], + "ALOS2": [ + "JAXA/ALOS2" + ], + "CONAE": [ + "CONAE/SAOCOM-1" + ], + "RCM": [ + "CSA/RCM-1", + "CSA/RCM-2", + "CSA/RCM-3" + ], + "AIRBUS": [ + "AIRBUS" + ], + "ABAE": [ + "ABAE" + ], + "WORLDVIEW": [ + "DIGITALGLOBE/WORLDVIEW" + ], + "GEOEYE": [ + "DIGITALGLOBE/GEOEYE" + ], "INPE": [ "INPE" + ], + "KANOPUS-V": [ + "ROSCOSMOS/KANOPUS-V" + ], + "ISRO": [ + "ISRO" + ], + "PLANET": [ + "PLANETSCOPE" + ], + "CSK": [ + "ASI/COSMO-SKYMED" + ], + "GDAL": [ + "GDAL" + ], + "RESURSP": [ + "ROSCOSMOS/RESURS-P" + ], + "BLACKSKY": [ + "BLACKSKY/Global" + ], + "NEWSAT": [ + "SATELLOGIC/NEWSAT" ] } } -} +} \ No newline at end of file diff --git a/src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs b/src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs index 31d3e60d..e5500282 100644 --- a/src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs +++ b/src/Stars.Data/Model/Metadata/Inpe/InpeMetadataExtractor.cs @@ -636,6 +636,7 @@ protected void AddAssets(StacItem stacItem, IItem item, Schemas.Metadata metadat StacAsset stacAsset = StacAsset.CreateDataAsset(stacItem, compositeAsset.Uri, new ContentType(MimeTypes.GetMimeType(compositeAsset.Uri.OriginalString)), String.Format("{0} {1} COMPOSE", metadata.spectralMode, GetProcessingLevel(metadata)) ); + stacAsset.Roles.Add("dn"); stacAsset.Properties.AddRange(compositeAsset.Properties); stacItem.Assets.Add("compose", stacAsset); foreach (int band in compositeBands) @@ -902,7 +903,8 @@ private void AddBandAsset(StacItem stacItem, string bandId, IAsset imageAsset, S if (stacAsset == null) { stacAsset = StacAsset.CreateDataAsset(stacItem, imageAsset.Uri, - new ContentType(MimeTypes.GetMimeType(imageAsset.Uri.OriginalString)), "Image file"); + new ContentType(MimeTypes.GetMimeType(imageAsset.Uri.OriginalString)), String.Format("{0} {1} {2}", metadata.spectralMode, GetProcessingLevel(metadata), bandId.ToUpper())); + stacAsset.Roles.Add("dn"); stacAsset.Properties.AddRange(imageAsset.Properties); stacAsset.EoExtension().Bands = new EoBandObject[] { eoBandObject };