diff --git a/CHANGELOG.md b/CHANGELOG.md index 718143c..feebe25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ number as needed. ## [Unreleased] +### Changed + +- Item ID format ([#9](https://github.com/stactools-packages/sentinel3/pull/9)) + ## [0.4.0] - 2023-03-31 First tagged release. diff --git a/README.md b/README.md index f4af23a..a9f22b2 100644 --- a/README.md +++ b/README.md @@ -19,29 +19,50 @@ V10, VG1, VGP) datasets. ### STAC -- [OLCI Level 1 EFR Item](examples/S3A_OL_1_EFR____20210820T103153_20210820T103453_20210820T124206_0179_075_222_2160_LN1_O_NR_002.json) -- [OLCI Level 1 ERR Item](examples/S3B_OL_1_ERR____20210902T054142_20210902T062554_20210903T103126_2652_056_262______LN1_O_NT_002.json) -- [OLCI Level 2 LFR Item](examples/S3A_OL_2_LFR____20180105T002409_20180105T002540_20180106T053045_0090_026_216_2069_LN1_O_NT_002.json) -- [OCLI Level 2 LRR Item](examples/S3B_OL_2_LRR____20210902T054142_20210902T062554_20210903T103456_2652_056_262______LN1_O_NT_002.json) -- [OLCI Level 2 WFR Item](examples/S3A_OL_2_WFR____20201006T012547_20201006T012847_20201007T100122_0180_063_302_3060_MAR_O_NT_002.json) -- [SLSTR Level 1 RBT Item](examples/S3A_SL_1_RBT____20210827T074336_20210827T074636_20210827T094954_0179_075_320_3060_LN2_O_NR_004.json) -- [SLSTR Level 2 FRP Item](examples/S3A_SL_2_FRP____20201104T001225_20201104T001525_20201105T060455_0179_064_330_1800_LN2_O_NT_004.json) -- [SLSTR Level 2 LST Item](examples/S3A_SL_2_LST____20180104T004105_20180104T022205_20180930T071122_6059_026_202______LR1_R_NT_003.json) -- [SLSTR Level 2 WST Item](examples/S3A_SL_2_WST____20190505T045344_20190505T063444_20190506T134130_6059_044_204______MAR_O_NT_003.json) -- [SRAL Level 2 LAN Item](examples/S3A_SR_2_LAN____20201003T195855_20201003T204924_20201028T210401_3029_063_270______LN3_O_NT_004.json) -- [SRAL Level 2 WAT Item](examples/S3A_SR_2_WAT____20190326T011836_20190326T020243_20190420T170416_2647_043_017______MAR_O_NT_003.json) -- [SYNERGY Level 2 AOD Item](examples/S3A_SY_2_AOD____20201119T153545_20201119T162000_20201120T223531_2655_065_168______LN2_O_NT_002.json) -- [SYNERGY Level 2 SYN Item](examples/S3A_SY_2_SYN____20190202T004600_20190202T004900_20190203T142947_0179_041_045_2700_LN2_O_NT_002.json) -- [SYNERGY Level 2 V10 Item](examples/S3A_SY_2_V10____20191216T110000_20191226T110000_20200105T114106_ASIAN_ISLANDS_____LN2_O_NT_002.json) -- [SYNERGY Level 2 VG1 Item](examples/S3A_SY_2_VG1____20200609T120000_20200610T120000_20200615T121610_CENTRAL_AMERICA___LN2_O_NT_002.json) -- [SYNERGY Level 2 VGP Item](examples/S3B_SY_2_VGP____20210213T192726_20210213T201112_20210215T060438_2626_049_099______LN2_O_NT_002.json) +- [OLCI Level 1 EFR Item](examples/S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320.json) +- [OLCI Level 1 ERR Item](examples/S3B_OL_1_ERR_20210831T200148_20210831T204600_2652_056_242.json) +- [OLCI Level 2 LFR Item](examples/S3A_OL_2_LFR_20210523T003029_20210523T003329_0179_072_102_1980.json) +- [OCLI Level 2 LRR Item](examples/S3B_OL_2_LRR_20210731T214325_20210731T222741_2656_055_186.json) +- [OLCI Level 2 WFR Item](examples/S3A_OL_2_WFR_20210604T001016_20210604T001316_0179_072_273_1440.json) +- [SLSTR Level 1 RBT Item](examples/S3A_SL_1_RBT_20210930T220914_20210930T221214_0180_077_043_5400.json) +- [SLSTR Level 2 FRP Item](examples/S3A_SL_2_FRP_20210802T000420_20210802T000720_0179_074_344_2880.json) +- [SLSTR Level 2 LST Item](examples/S3A_SL_2_LST_20210510T002955_20210510T003255_0179_071_301_5760.json) +- [SLSTR Level 2 WST Item](examples/S3B_SL_2_WST_20210419T051754_20210419T065853_6059_051_247.json) +- [SRAL Level 2 LAN Item](examples/S3A_SR_2_LAN_20210611T011438_20210611T012436_0598_072_373.json) +- [SRAL Level 2 WAT Item](examples/S3A_SR_2_WAT_20210704T012815_20210704T021455_2800_073_316.json) +- [SYNERGY Level 2 AOD Item](examples/S3B_SY_2_AOD_20210512T143315_20210512T151738_2663_052_196.json) +- [SYNERGY Level 2 SYN Item](examples/S3A_SY_2_SYN_20210325T005418_20210325T005718_0180_070_031_1620.json) +- [SYNERGY Level 2 V10 Item](examples/S3A_SY_2_V10_20210911T000000_20210920T235959_EUROPE.json) +- [SYNERGY Level 2 VG1 Item](examples/S3A_SY_2_VG1_20211013T000000_20211013T235959_EUROPE.json) +- [SYNERGY Level 2 VGP Item](examples/S3A_SY_2_VGP_20210703T142237_20210703T150700_2663_073_310.json) ### Command-line usage Description of the command line functions -```bash +```shell stac sentinel3 create-item source destination ``` Use `stac sentinel3 --help` to see all subcommands and options. + +## Developing + +Install the development requirements: + +```shell +pip install -r requirements-dev.txt +``` + +We use [pre-commit](https://pre-commit.com/) to lint files on commits. +Install the hooks with: + +```shell +pre-commit install +``` + +If you make changes to the output STAC items, update the examples: + +```shell +python scripts/create_examples.py +``` diff --git a/examples/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.json b/examples/S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320.json similarity index 82% rename from examples/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.json rename to examples/S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320.json index a5a7f1a..4ed8519 100644 --- a/examples/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.json +++ b/examples/S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002", + "id": "S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -243,16 +243,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "5ad1048b273bc14754315055e5a5fcd3", "file:local_path": "S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/xfdumanifest.xml", @@ -262,7 +257,7 @@ ] }, "Oa01_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa01_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa01_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa01", "resolution": [ @@ -285,7 +280,7 @@ ] }, "Oa02_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa02_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa02_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa02", "resolution": [ @@ -308,7 +303,7 @@ ] }, "Oa03_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa03_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa03_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa03", "resolution": [ @@ -331,7 +326,7 @@ ] }, "Oa04_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa04_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa04_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa04", "resolution": [ @@ -354,7 +349,7 @@ ] }, "Oa05_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa05_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa05_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa05", "resolution": [ @@ -377,7 +372,7 @@ ] }, "Oa06_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa06_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa06_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa06", "resolution": [ @@ -400,7 +395,7 @@ ] }, "Oa07_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa07_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa07_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa07", "resolution": [ @@ -423,7 +418,7 @@ ] }, "Oa08_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa08_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa08_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa08", "resolution": [ @@ -446,7 +441,7 @@ ] }, "Oa09_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa09_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa09_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa09", "resolution": [ @@ -469,7 +464,7 @@ ] }, "Oa10_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa10_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa10_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa10", "resolution": [ @@ -492,7 +487,7 @@ ] }, "Oa11_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa11_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa11_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa11", "resolution": [ @@ -515,7 +510,7 @@ ] }, "Oa12_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa12_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa12_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa12", "resolution": [ @@ -538,7 +533,7 @@ ] }, "Oa13_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa13_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa13_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa13", "resolution": [ @@ -561,7 +556,7 @@ ] }, "Oa14_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa14_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa14_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa14", "resolution": [ @@ -584,7 +579,7 @@ ] }, "Oa15_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa15_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa15_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa15", "resolution": [ @@ -607,7 +602,7 @@ ] }, "Oa16_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa16_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa16_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa16", "resolution": [ @@ -630,7 +625,7 @@ ] }, "Oa17_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa17_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa17_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa17", "resolution": [ @@ -653,7 +648,7 @@ ] }, "Oa18_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa18_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa18_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa18", "resolution": [ @@ -676,7 +671,7 @@ ] }, "Oa19_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa19_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa19_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa19", "resolution": [ @@ -699,7 +694,7 @@ ] }, "Oa20_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa20_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa20_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa20", "resolution": [ @@ -722,7 +717,7 @@ ] }, "Oa21_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa21_radiance.nc", + "href": "../tests/data-files/S3A_OL_1_EFR____20211021T073827_20211021T074112_20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3/Oa21_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa21", "resolution": [ diff --git a/examples/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.json b/examples/S3A_OL_2_LFR_20210523T003029_20210523T003329_0179_072_102_1980.json similarity index 83% rename from examples/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.json rename to examples/S3A_OL_2_LFR_20210523T003029_20210523T003329_0179_072_102_1980.json index eb2588e..3f00862 100644 --- a/examples/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.json +++ b/examples/S3A_OL_2_LFR_20210523T003029_20210523T003329_0179_072_102_1980.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002", + "id": "S3A_OL_2_LFR_20210523T003029_20210523T003329_0179_072_102_1980", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -244,16 +244,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "a0a77f27ef6374da915140c42da1ceff", "file:local_path": "S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/xfdumanifest.xml", @@ -263,7 +258,7 @@ ] }, "ogvi": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/ogvi.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/ogvi.nc", "type": "application/x-netcdf", "description": "OLCI global Vegetal Index", "resolution": [ @@ -298,7 +293,7 @@ ] }, "otci": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/otci.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/otci.nc", "type": "application/x-netcdf", "description": "OLCI Terrestrial Chlorophyll Index", "resolution": [ @@ -333,7 +328,7 @@ ] }, "iwv": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/iwv.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/iwv.nc", "type": "application/x-netcdf", "description": "Integrated water vapour column", "resolution": [ @@ -362,7 +357,7 @@ ] }, "rcOgvi": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/rc_ogvi.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/rc_ogvi.nc", "type": "application/x-netcdf", "description": "Rectified Reflectance", "resolution": [ @@ -391,7 +386,7 @@ ] }, "lqsf": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/lqsf.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/lqsf.nc", "type": "application/x-netcdf", "description": "Land Quality and Science Flags", "resolution": [ @@ -406,7 +401,7 @@ ] }, "timeCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/time_coordinates.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/time_coordinates.nc", "type": "application/x-netcdf", "description": "Time Coordinates Annotations", "resolution": [ @@ -421,7 +416,7 @@ ] }, "geoCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/geo_coordinates.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/geo_coordinates.nc", "type": "application/x-netcdf", "description": "Geo Coordinates Annotations", "resolution": [ @@ -436,7 +431,7 @@ ] }, "tieGeoCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/tie_geo_coordinates.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/tie_geo_coordinates.nc", "type": "application/x-netcdf", "description": "Tie-Point Geo Coordinate Annotations", "resolution": [ @@ -451,7 +446,7 @@ ] }, "tieGeometries": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/tie_geometries.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/tie_geometries.nc", "type": "application/x-netcdf", "description": "Tie-Point Geometries Annotations", "resolution": [ @@ -466,7 +461,7 @@ ] }, "tieMeteo": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/tie_meteo.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/tie_meteo.nc", "type": "application/x-netcdf", "description": "Tie-Point Meteo Annotations", "resolution": [ @@ -481,7 +476,7 @@ ] }, "instrumentData": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/instrument_data.nc", + "href": "../tests/data-files/S3A_OL_2_LFR____20210523T003029_20210523T003329_20210524T050403_0179_072_102_1980_LN1_O_NT_002.SEN3/instrument_data.nc", "type": "application/x-netcdf", "description": "Instrument Annotation", "resolution": [ diff --git a/examples/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.json b/examples/S3A_OL_2_WFR_20210604T001016_20210604T001316_0179_072_273_1440.json similarity index 84% rename from examples/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.json rename to examples/S3A_OL_2_WFR_20210604T001016_20210604T001316_0179_072_273_1440.json index 5fd7d95..8dc7e06 100644 --- a/examples/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.json +++ b/examples/S3A_OL_2_WFR_20210604T001016_20210604T001316_0179_072_273_1440.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003", + "id": "S3A_OL_2_WFR_20210604T001016_20210604T001316_0179_072_273_1440", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "ascending", @@ -244,16 +244,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "15386acc9febe16dca69558385af15be", "file:local_path": "S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/xfdumanifest.xml", @@ -263,7 +258,7 @@ ] }, "Oa01_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa01_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa01_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa01", "resolution": [ @@ -286,7 +281,7 @@ ] }, "Oa02_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa02_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa02_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa02", "resolution": [ @@ -309,7 +304,7 @@ ] }, "Oa03_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa03_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa03_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa03", "resolution": [ @@ -332,7 +327,7 @@ ] }, "Oa04_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa04_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa04_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa04", "resolution": [ @@ -355,7 +350,7 @@ ] }, "Oa05_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa05_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa05_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa05", "resolution": [ @@ -378,7 +373,7 @@ ] }, "Oa06_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa06_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa06_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa06", "resolution": [ @@ -401,7 +396,7 @@ ] }, "Oa07_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa07_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa07_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa07", "resolution": [ @@ -424,7 +419,7 @@ ] }, "Oa08_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa08_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa08_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa08", "resolution": [ @@ -447,7 +442,7 @@ ] }, "Oa09_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa09_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa09_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa09", "resolution": [ @@ -470,7 +465,7 @@ ] }, "Oa10_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa10_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa10_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa10", "resolution": [ @@ -493,7 +488,7 @@ ] }, "Oa11_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa11_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa11_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa11", "resolution": [ @@ -516,7 +511,7 @@ ] }, "Oa12_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa12_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa12_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa12", "resolution": [ @@ -539,7 +534,7 @@ ] }, "Oa16_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa16_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa16_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa16", "resolution": [ @@ -562,7 +557,7 @@ ] }, "Oa17_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa17_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa17_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa17", "resolution": [ @@ -585,7 +580,7 @@ ] }, "Oa18_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa18_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa18_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa18", "resolution": [ @@ -608,7 +603,7 @@ ] }, "Oa21_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa21_reflectance.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/Oa21_reflectance.nc", "type": "application/x-netcdf", "description": "Reflectance for OLCI acquisition band Oa21", "resolution": [ @@ -631,7 +626,7 @@ ] }, "chlNn": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/chl_nn.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/chl_nn.nc", "type": "application/x-netcdf", "description": "Neural Net Chlorophyll concentration", "resolution": [ @@ -744,7 +739,7 @@ ] }, "chlOc4me": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/chl_oc4me.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/chl_oc4me.nc", "type": "application/x-netcdf", "description": "OC4Me algorithm Chlorophyll concentration", "resolution": [ @@ -785,7 +780,7 @@ ] }, "iopNn": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/iop_nn.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/iop_nn.nc", "type": "application/x-netcdf", "description": "Inherent Optical Properties of water", "resolution": [ @@ -832,7 +827,7 @@ ] }, "iwv": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/iwv.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/iwv.nc", "type": "application/x-netcdf", "description": "Integrated water vapour column", "resolution": [ @@ -861,7 +856,7 @@ ] }, "par": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/par.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/par.nc", "type": "application/x-netcdf", "description": "Photosynthetically Active Radiation", "resolution": [ @@ -876,7 +871,7 @@ ] }, "trsp": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/trsp.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/trsp.nc", "type": "application/x-netcdf", "description": "Transparency properties of water", "resolution": [ @@ -905,7 +900,7 @@ ] }, "tsmNn": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tsm_nn.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tsm_nn.nc", "type": "application/x-netcdf", "description": "Total suspended matter concentration", "resolution": [ @@ -1018,7 +1013,7 @@ ] }, "wAer": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/w_aer.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/w_aer.nc", "type": "application/x-netcdf", "description": "Aerosol Over Water", "resolution": [ @@ -1053,7 +1048,7 @@ ] }, "geoCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/geo_coordinates.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/geo_coordinates.nc", "type": "application/x-netcdf", "description": "Geo Coordinates Annotations", "resolution": [ @@ -1068,7 +1063,7 @@ ] }, "instrumentData": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/instrument_data.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/instrument_data.nc", "type": "application/x-netcdf", "description": "Instrument Annotation", "resolution": [ @@ -1083,7 +1078,7 @@ ] }, "tieGeoCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tie_geo_coordinates.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tie_geo_coordinates.nc", "type": "application/x-netcdf", "description": "Tie-Point Geo Coordinate Annotations", "resolution": [ @@ -1098,7 +1093,7 @@ ] }, "tieGeometries": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tie_geometries.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tie_geometries.nc", "type": "application/x-netcdf", "description": "Tie-Point Geometries Annotations", "resolution": [ @@ -1113,7 +1108,7 @@ ] }, "tieMeteo": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tie_meteo.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/tie_meteo.nc", "type": "application/x-netcdf", "description": "Tie-Point Meteo Annotations", "resolution": [ @@ -1128,7 +1123,7 @@ ] }, "timeCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/time_coordinates.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/time_coordinates.nc", "type": "application/x-netcdf", "description": "Time Coordinates Annotations", "resolution": [ @@ -1143,7 +1138,7 @@ ] }, "wqsf": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/wqsf.nc", + "href": "../tests/data-files/S3A_OL_2_WFR____20210604T001016_20210604T001316_20210604T021918_0179_072_273_1440_MAR_O_NR_003.SEN3/wqsf.nc", "type": "application/x-netcdf", "description": "Water Quality and Science Flags", "resolution": [ diff --git a/examples/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.json b/examples/S3A_SL_1_RBT_20210930T220914_20210930T221214_0180_077_043_5400.json similarity index 85% rename from examples/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.json rename to examples/S3A_SL_1_RBT_20210930T220914_20210930T221214_0180_077_043_5400.json index ef979e2..333ec98 100644 --- a/examples/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.json +++ b/examples/S3A_SL_1_RBT_20210930T220914_20210930T221214_0180_077_043_5400.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004", + "id": "S3A_SL_1_RBT_20210930T220914_20210930T221214_0180_077_043_5400", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "ascending", @@ -342,16 +342,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "e77b7613ad3278fde2d12f6b4942fdf9", "file:local_path": "S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/xfdumanifest.xml", @@ -361,7 +356,7 @@ ] }, "SLSTR_S1_RAD_AN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S1_radiance_an.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S1_radiance_an.nc", "type": "application/x-netcdf", "description": "TOA radiance for channel S1 (A stripe grid, nadir view)", "resolution": [ @@ -384,7 +379,7 @@ ] }, "SLSTR_S2_RAD_AN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S2_radiance_an.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S2_radiance_an.nc", "type": "application/x-netcdf", "description": "TOA radiance for channel S2 (A stripe grid, nadir view)", "resolution": [ @@ -407,7 +402,7 @@ ] }, "SLSTR_S3_RAD_AN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S3_radiance_an.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S3_radiance_an.nc", "type": "application/x-netcdf", "description": "TOA radiance for channel S3 (A stripe grid, nadir view)", "resolution": [ @@ -430,7 +425,7 @@ ] }, "SLSTR_S4_RAD_AN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S4_radiance_an.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S4_radiance_an.nc", "type": "application/x-netcdf", "description": "TOA radiance for channel S4 (A stripe grid, nadir view)", "resolution": [ @@ -453,7 +448,7 @@ ] }, "SLSTR_S5_RAD_AN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S5_radiance_an.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S5_radiance_an.nc", "type": "application/x-netcdf", "description": "TOA radiance for channel S5 (A stripe grid, nadir view)", "resolution": [ @@ -476,7 +471,7 @@ ] }, "SLSTR_S6_RAD_AN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S6_radiance_an.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S6_radiance_an.nc", "type": "application/x-netcdf", "description": "TOA radiance for channel S6 (A stripe grid, nadir view)", "resolution": [ @@ -499,7 +494,7 @@ ] }, "SLSTR_S7_BT_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S7_BT_in.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S7_BT_in.nc", "type": "application/x-netcdf", "description": "Gridded pixel brightness temperature for channel S7 (1km TIR grid, nadir view)", "resolution": [ @@ -522,7 +517,7 @@ ] }, "SLSTR_S8_BT_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S8_BT_in.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S8_BT_in.nc", "type": "application/x-netcdf", "description": "Gridded pixel brightness temperature for channel S8 (1km TIR grid, nadir view)", "resolution": [ @@ -545,7 +540,7 @@ ] }, "SLSTR_S9_BT_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S9_BT_in.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/S9_BT_in.nc", "type": "application/x-netcdf", "description": "Gridded pixel brightness temperature for channel S9 (1km TIR grid, nadir view)", "resolution": [ @@ -568,7 +563,7 @@ ] }, "SLSTR_F1_BT_FN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/F1_BT_fn.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/F1_BT_fn.nc", "type": "application/x-netcdf", "description": "Gridded pixel brightness temperature for channel F1 (1km F1 grid, nadir view)", "resolution": [ @@ -591,7 +586,7 @@ ] }, "SLSTR_F2_BT_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/F2_BT_in.nc", + "href": "../tests/data-files/S3A_SL_1_RBT____20210930T220914_20210930T221214_20211002T102150_0180_077_043_5400_LN2_O_NT_004.SEN3/F2_BT_in.nc", "type": "application/x-netcdf", "description": "Gridded pixel brightness temperature for channel F2 (1km TIR grid, nadir view)", "resolution": [ diff --git a/examples/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.json b/examples/S3A_SL_2_FRP_20210802T000420_20210802T000720_0179_074_344_2880.json similarity index 82% rename from examples/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.json rename to examples/S3A_SL_2_FRP_20210802T000420_20210802T000720_0179_074_344_2880.json index 692ab83..c43de43 100644 --- a/examples/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.json +++ b/examples/S3A_SL_2_FRP_20210802T000420_20210802T000720_0179_074_344_2880.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004", + "id": "S3A_SL_2_FRP_20210802T000420_20210802T000720_0179_074_344_2880", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -342,16 +342,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "8644cedf6bcf6086524c1f1bf9afdd3f", "file:local_path": "S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/xfdumanifest.xml", @@ -361,7 +356,7 @@ ] }, "FRP_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/FRP_in.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/FRP_in.nc", "type": "application/x-netcdf", "description": "Fire Radiative Power (FRP) dataset", "resolution": [ @@ -402,7 +397,7 @@ ] }, "SLSTR_CARTESIAN_FN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/cartesian_fn.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/cartesian_fn.nc", "type": "application/x-netcdf", "description": "Full resolution cartesian coordinates for the 1km F1 grid, nadir view", "resolution": [ @@ -417,7 +412,7 @@ ] }, "SLSTR_CARTESIAN_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/cartesian_in.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/cartesian_in.nc", "type": "application/x-netcdf", "description": "Full resolution cartesian coordinates for the 1km TIR grid, nadir view", "resolution": [ @@ -432,7 +427,7 @@ ] }, "SLSTR_CARTESIAN_TX": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/cartesian_tx.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/cartesian_tx.nc", "type": "application/x-netcdf", "description": "16km cartesian coordinates", "resolution": [ @@ -447,7 +442,7 @@ ] }, "SLSTR_FLAGS_FN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/flags_fn.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/flags_fn.nc", "type": "application/x-netcdf", "description": "Global flags for the 1km F1 grid, nadir view", "resolution": [ @@ -462,7 +457,7 @@ ] }, "SLSTR_FLAGS_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/flags_in.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/flags_in.nc", "type": "application/x-netcdf", "description": "Global flags for the 1km TIR grid, nadir view", "resolution": [ @@ -477,7 +472,7 @@ ] }, "SLSTR_GEODETIC_FN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geodetic_fn.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geodetic_fn.nc", "type": "application/x-netcdf", "description": "Full resolution geodetic coordinates for the 1km F1 grid, nadir view", "resolution": [ @@ -492,7 +487,7 @@ ] }, "SLSTR_GEODETIC_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geodetic_in.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geodetic_in.nc", "type": "application/x-netcdf", "description": "Full resolution geodetic coordinates for the 1km TIR grid, nadir view", "resolution": [ @@ -507,7 +502,7 @@ ] }, "SLSTR_GEODETIC_TX": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geodetic_tx.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geodetic_tx.nc", "type": "application/x-netcdf", "description": "16km geodetic coordinates", "resolution": [ @@ -522,7 +517,7 @@ ] }, "SLSTR_GEOMETRY_TN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geometry_tn.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/geometry_tn.nc", "type": "application/x-netcdf", "description": "16km solar and satellite geometry annotations, nadir view", "resolution": [ @@ -537,7 +532,7 @@ ] }, "SLSTR_INDICES_FN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/indices_fn.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/indices_fn.nc", "type": "application/x-netcdf", "description": "Scan, pixel and detector annotations for the 1km F1 grid, nadir view", "resolution": [ @@ -552,7 +547,7 @@ ] }, "SLSTR_INDICES_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/indices_in.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/indices_in.nc", "type": "application/x-netcdf", "description": "Scan, pixel and detector annotations for the 1km TIR grid, nadir view", "resolution": [ @@ -567,7 +562,7 @@ ] }, "SLSTR_MET_TX": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/met_tx.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/met_tx.nc", "type": "application/x-netcdf", "description": "Meteorological parameters regridded onto the 16km tie points", "resolution": [ @@ -582,7 +577,7 @@ ] }, "SLSTR_TIME_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/time_in.nc", + "href": "../tests/data-files/S3A_SL_2_FRP____20210802T000420_20210802T000720_20210803T123912_0179_074_344_2880_LN2_O_NT_004.SEN3/time_in.nc", "type": "application/x-netcdf", "description": "Time annotations for the 1 KM grid", "resolution": [ diff --git a/examples/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.json b/examples/S3A_SL_2_LST_20210510T002955_20210510T003255_0179_071_301_5760.json similarity index 83% rename from examples/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.json rename to examples/S3A_SL_2_LST_20210510T002955_20210510T003255_0179_071_301_5760.json index d0ee314..562f293 100644 --- a/examples/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.json +++ b/examples/S3A_SL_2_LST_20210510T002955_20210510T003255_0179_071_301_5760.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004", + "id": "S3A_SL_2_LST_20210510T002955_20210510T003255_0179_071_301_5760", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "ascending", @@ -342,16 +342,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "7556442c0b42c150816e46a1308acb03", "file:local_path": "S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/xfdumanifest.xml", @@ -361,7 +356,7 @@ ] }, "LST_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/LST_in.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/LST_in.nc", "type": "application/x-netcdf", "description": "Land Surface Temperature (LST) values", "resolution": [ @@ -390,7 +385,7 @@ ] }, "LST_ANCILLARY_DS": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/LST_ancillary_ds.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/LST_ancillary_ds.nc", "type": "application/x-netcdf", "description": "LST ancillary measurement dataset", "resolution": [ @@ -405,7 +400,7 @@ ] }, "SLSTR_FLAGS_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/flags_in.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/flags_in.nc", "type": "application/x-netcdf", "description": "Global flags for the 1km TIR grid, nadir view", "resolution": [ @@ -420,7 +415,7 @@ ] }, "SLSTR_INDICES_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/indices_in.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/indices_in.nc", "type": "application/x-netcdf", "description": "Scan, pixel and detector annotations for the 1km TIR grid, nadir view", "resolution": [ @@ -435,7 +430,7 @@ ] }, "SLSTR_TIME_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/time_in.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/time_in.nc", "type": "application/x-netcdf", "description": "Time annotations for the 1 KM grid", "resolution": [ @@ -450,7 +445,7 @@ ] }, "SLSTR_GEODETIC_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/geodetic_in.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/geodetic_in.nc", "type": "application/x-netcdf", "description": "Full resolution geodetic coordinates for the 1km TIR grid, nadir view", "resolution": [ @@ -465,7 +460,7 @@ ] }, "SLSTR_CARTESIAN_IN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/cartesian_in.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/cartesian_in.nc", "type": "application/x-netcdf", "description": "Full resolution cartesian coordinates for the 1km TIR grid, nadir view", "resolution": [ @@ -480,7 +475,7 @@ ] }, "SLSTR_GEOMETRY_TN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/geometry_tn.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/geometry_tn.nc", "type": "application/x-netcdf", "description": "16km solar and satellite geometry annotations, nadir view", "resolution": [ @@ -495,7 +490,7 @@ ] }, "SLSTR_GEODETIC_TX": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/geodetic_tx.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/geodetic_tx.nc", "type": "application/x-netcdf", "description": "16km geodetic coordinates", "resolution": [ @@ -510,7 +505,7 @@ ] }, "SLSTR_CARTESIAN_TX": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/cartesian_tx.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/cartesian_tx.nc", "type": "application/x-netcdf", "description": "16km cartesian coordinates", "resolution": [ @@ -525,7 +520,7 @@ ] }, "SLSTR_MET_TX": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/met_tx.nc", + "href": "../tests/data-files/S3A_SL_2_LST____20210510T002955_20210510T003255_20210511T101010_0179_071_301_5760_LN2_O_NT_004.SEN3/met_tx.nc", "type": "application/x-netcdf", "description": "Meteorological parameters regridded onto the 16km tie points", "resolution": [ diff --git a/examples/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.json b/examples/S3A_SR_2_LAN_20210611T011438_20210611T012436_0598_072_373.json similarity index 87% rename from examples/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.json rename to examples/S3A_SR_2_LAN_20210611T011438_20210611T012436_0598_072_373.json index 614d2ae..8966e91 100644 --- a/examples/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.json +++ b/examples/S3A_SR_2_LAN_20210611T011438_20210611T012436_0598_072_373.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004", + "id": "S3A_SR_2_LAN_20210611T011438_20210611T012436_0598_072_373", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -214,16 +214,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "07334a484326233aeef73d4cf4f6fbbb", "file:local_path": "S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/xfdumanifest.xml", @@ -233,7 +228,7 @@ ] }, "standardMeasurement": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/standard_measurement.nc", + "href": "../tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/standard_measurement.nc", "type": "application/x-netcdf", "description": "Measurement Data Object File", "shape": [ @@ -269,7 +264,7 @@ ] }, "enhancedMeasurement": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/enhanced_measurement.nc", + "href": "../tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/enhanced_measurement.nc", "type": "application/x-netcdf", "description": "Measurement Data Object File", "shape": [ @@ -308,7 +303,7 @@ ] }, "reducedMeasurement": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/reduced_measurement.nc", + "href": "../tests/data-files/S3A_SR_2_LAN____20210611T011438_20210611T012436_20210611T024819_0598_072_373______LN3_O_NR_004.SEN3/reduced_measurement.nc", "type": "application/x-netcdf", "description": "Measurement Data Object File", "shape": [ diff --git a/examples/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.json b/examples/S3A_SR_2_WAT_20210704T012815_20210704T021455_2800_073_316.json similarity index 93% rename from examples/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.json rename to examples/S3A_SR_2_WAT_20210704T012815_20210704T021455_2800_073_316.json index e3f02c8..5015818 100644 --- a/examples/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.json +++ b/examples/S3A_SR_2_WAT_20210704T012815_20210704T021455_2800_073_316.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004", + "id": "S3A_SR_2_WAT_20210704T012815_20210704T021455_2800_073_316", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -798,16 +798,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "08faddcfb074bc9ddd4b61625eb8bce6", "file:local_path": "S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/xfdumanifest.xml", @@ -817,7 +812,7 @@ ] }, "standardMeasurement": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/standard_measurement.nc", + "href": "../tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/standard_measurement.nc", "type": "application/x-netcdf", "description": "Measurement Data Object File", "shape": [ @@ -853,7 +848,7 @@ ] }, "enhancedMeasurement": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/enhanced_measurement.nc", + "href": "../tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/enhanced_measurement.nc", "type": "application/x-netcdf", "description": "Measurement Data Object File", "shape": [ @@ -892,7 +887,7 @@ ] }, "reducedMeasurement": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/reduced_measurement.nc", + "href": "../tests/data-files/S3A_SR_2_WAT____20210704T012815_20210704T021455_20210729T173140_2800_073_316______MAR_O_NT_004.SEN3/reduced_measurement.nc", "type": "application/x-netcdf", "description": "Measurement Data Object File", "shape": [ diff --git a/examples/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.json b/examples/S3A_SY_2_SYN_20210325T005418_20210325T005718_0180_070_031_1620.json similarity index 86% rename from examples/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.json rename to examples/S3A_SY_2_SYN_20210325T005418_20210325T005718_0180_070_031_1620.json index de605f5..0e2b63b 100644 --- a/examples/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.json +++ b/examples/S3A_SY_2_SYN_20210325T005418_20210325T005718_0180_070_031_1620.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002", + "id": "S3A_SY_2_SYN_20210325T005418_20210325T005718_0180_070_031_1620", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -241,16 +241,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "7eb5a09ecd366de441f198e67053826d", "file:local_path": "S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/xfdumanifest.xml", @@ -260,7 +255,7 @@ ] }, "Syn_Oa01_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa01_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa01_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 01", "syn:shape": [ @@ -291,7 +286,7 @@ ] }, "Syn_Oa02_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa02_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa02_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 02", "syn:shape": [ @@ -322,7 +317,7 @@ ] }, "Syn_Oa03_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa03_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa03_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 03", "syn:shape": [ @@ -353,7 +348,7 @@ ] }, "Syn_Oa04_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa04_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa04_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 04", "syn:shape": [ @@ -384,7 +379,7 @@ ] }, "Syn_Oa05_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa05_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa05_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 05", "syn:shape": [ @@ -415,7 +410,7 @@ ] }, "Syn_Oa06_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa06_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa06_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 06", "syn:shape": [ @@ -446,7 +441,7 @@ ] }, "Syn_Oa07_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa07_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa07_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 07", "syn:shape": [ @@ -477,7 +472,7 @@ ] }, "Syn_Oa08_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa08_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa08_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 08", "syn:shape": [ @@ -508,7 +503,7 @@ ] }, "Syn_Oa09_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa09_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa09_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 09", "syn:shape": [ @@ -539,7 +534,7 @@ ] }, "Syn_Oa10_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa10_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa10_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 10", "syn:shape": [ @@ -570,7 +565,7 @@ ] }, "Syn_Oa11_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa11_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa11_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 11", "syn:shape": [ @@ -601,7 +596,7 @@ ] }, "Syn_Oa12_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa12_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa12_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 12", "syn:shape": [ @@ -632,7 +627,7 @@ ] }, "Syn_Oa16_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa16_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa16_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 16", "syn:shape": [ @@ -663,7 +658,7 @@ ] }, "Syn_Oa17_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa17_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa17_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 17", "syn:shape": [ @@ -694,7 +689,7 @@ ] }, "Syn_Oa18_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa18_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa18_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 18", "syn:shape": [ @@ -725,7 +720,7 @@ ] }, "Syn_Oa21_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa21_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Oa21_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with OLCI channel 21", "syn:shape": [ @@ -756,7 +751,7 @@ ] }, "Syn_S1N_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S1N_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S1N_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 01 acquired in nadir view", "syn:shape": [ @@ -787,7 +782,7 @@ ] }, "Syn_S2N_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S2N_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S2N_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 02 acquired in nadir view", "syn:shape": [ @@ -818,7 +813,7 @@ ] }, "Syn_S3N_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S3N_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S3N_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 03 acquired in nadir view", "syn:shape": [ @@ -849,7 +844,7 @@ ] }, "Syn_S5N_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S5N_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S5N_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 05 acquired in nadir view", "syn:shape": [ @@ -880,7 +875,7 @@ ] }, "Syn_S6N_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S6N_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S6N_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 06 acquired in nadir view", "syn:shape": [ @@ -911,7 +906,7 @@ ] }, "Syn_S1O_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S1O_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S1O_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 01 acquired in oblique view", "syn:shape": [ @@ -942,7 +937,7 @@ ] }, "Syn_S2O_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S2O_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S2O_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 02 acquired in oblique view", "syn:shape": [ @@ -973,7 +968,7 @@ ] }, "Syn_S3O_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S3O_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S3O_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 03 acquired in oblique view", "syn:shape": [ @@ -1004,7 +999,7 @@ ] }, "Syn_S5O_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S5O_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S5O_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 05 acquired in oblique view", "syn:shape": [ @@ -1035,7 +1030,7 @@ ] }, "Syn_S6O_reflectance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S6O_reflectance.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_S6O_reflectance.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance associated with SLSTR channel 06 acquired in oblique view", "syn:shape": [ @@ -1066,7 +1061,7 @@ ] }, "Syn_ATO550": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_AOT550.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_AOT550.nc", "type": "application/x-netcdf", "description": "Aerosol Optical Thickness Data Set", "syn:shape": [ @@ -1217,7 +1212,7 @@ ] }, "Syn_Angstrom_exp550": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Angstrom_exp550.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_Angstrom_exp550.nc", "type": "application/x-netcdf", "description": "Aerosol Angstrom Exponent Data Set", "syn:shape": [ @@ -1368,7 +1363,7 @@ ] }, "Syn_SDR_removed_pixels": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_SDR_removed_pixel.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_SDR_removed_pixel.nc", "type": "application/x-netcdf", "description": "Surface directional reflectance and aerosol parameters associated with removed pixel", "syn:shape": [ @@ -1531,7 +1526,7 @@ ] }, "Syn_AMIN": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_AMIN.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_AMIN.nc", "type": "application/x-netcdf", "description": "L2 Aerosol model index number data", "syn:shape": [ @@ -1554,7 +1549,7 @@ ] }, "Syn_flags": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/flags.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/flags.nc", "type": "application/x-netcdf", "description": "Classification and quality Flags associated with OLCI, SLSTR and SYNERGY products", "syn:shape": [ @@ -1577,7 +1572,7 @@ ] }, "geolocation": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/geolocation.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/geolocation.nc", "type": "application/x-netcdf", "description": "High resolution georeferencing data", "syn:shape": [ @@ -1600,7 +1595,7 @@ ] }, "time": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/time.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/time.nc", "type": "application/x-netcdf", "description": "Time stamps annotation", "syn:shape": [ @@ -1620,7 +1615,7 @@ ] }, "annotations_removed_pixels": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_annot_rem.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/Syn_annot_rem.nc", "type": "application/x-netcdf", "description": "Annotations parameters associated with removed pixel", "syn:shape": [ @@ -1643,7 +1638,7 @@ ] }, "tiepoints_olci": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_olci.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_olci.nc", "type": "application/x-netcdf", "description": "Low resolution georeferencing data and Sun and View angles associated with OLCI products", "syn:shape": [ @@ -1663,7 +1658,7 @@ ] }, "tiepoints_slstr_n": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_slstr_n.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_slstr_n.nc", "type": "application/x-netcdf", "description": "Low resolution georeferencing data and Sun and View angles associated with SLSTR nadir view products", "syn:shape": [ @@ -1683,7 +1678,7 @@ ] }, "tiepoints_slstr_o": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_slstr_o.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_slstr_o.nc", "type": "application/x-netcdf", "description": "Low resolution georeferencing data and Sun and View angles associated with SLSTR oblique view products", "syn:shape": [ @@ -1703,7 +1698,7 @@ ] }, "tiepoints_meteo": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_meteo.nc", + "href": "../tests/data-files/S3A_SY_2_SYN____20210325T005418_20210325T005718_20210325T142858_0180_070_031_1620_LN2_O_ST_002.SEN3/tiepoints_meteo.nc", "type": "application/x-netcdf", "description": "ECMWF meteorology data", "syn:shape": [ diff --git a/examples/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.json b/examples/S3A_SY_2_V10_20210911T000000_20210920T235959_EUROPE.json similarity index 91% rename from examples/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.json rename to examples/S3A_SY_2_V10_20210911T000000_20210920T235959_EUROPE.json index f3c24e6..ef4ebda 100644 --- a/examples/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.json +++ b/examples/S3A_SY_2_V10_20210911T000000_20210920T235959_EUROPE.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002", + "id": "S3A_SY_2_V10_20210911T000000_20210920T235959_EUROPE", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -1238,16 +1238,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "f5eb6e620e6397f20071eb64b7870ebe", "file:local_path": "S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/xfdumanifest.xml", @@ -1257,7 +1252,7 @@ ] }, "b0": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/B0.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/B0.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-B0 channel", "v10:shape": [ @@ -1294,7 +1289,7 @@ ] }, "b2": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/B2.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/B2.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-B2 channel", "v10:shape": [ @@ -1331,7 +1326,7 @@ ] }, "b3": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/B3.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/B3.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-B3 channel", "v10:shape": [ @@ -1368,7 +1363,7 @@ ] }, "mir": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/MIR.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/MIR.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-MIR channel", "v10:shape": [ @@ -1405,7 +1400,7 @@ ] }, "ndvi": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/NDVI.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/NDVI.nc", "type": "application/x-netcdf", "description": "Normalised difference vegetation index", "v10:shape": [ @@ -1448,7 +1443,7 @@ ] }, "vaa": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/vaa.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/vaa.nc", "type": "application/x-netcdf", "description": "View azimuth angle data", "v10:shape": [ @@ -1477,7 +1472,7 @@ ] }, "vza": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/vza.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/vza.nc", "type": "application/x-netcdf", "description": "View zenith angle data", "v10:shape": [ @@ -1506,7 +1501,7 @@ ] }, "saa": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/saa.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/saa.nc", "type": "application/x-netcdf", "description": "Solar azimuth angle data", "v10:shape": [ @@ -1535,7 +1530,7 @@ ] }, "sza": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/sza.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/sza.nc", "type": "application/x-netcdf", "description": "Solar zenith angle data", "v10:shape": [ @@ -1564,7 +1559,7 @@ ] }, "ag": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/ag.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/ag.nc", "type": "application/x-netcdf", "description": "Aerosol optical thickness data", "v10:shape": [ @@ -1593,7 +1588,7 @@ ] }, "og": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/og.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/og.nc", "type": "application/x-netcdf", "description": "Total Ozone column data", "v10:shape": [ @@ -1622,7 +1617,7 @@ ] }, "wvg": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/wvg.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/wvg.nc", "type": "application/x-netcdf", "description": "Total column Water vapour data", "v10:shape": [ @@ -1651,7 +1646,7 @@ ] }, "tg": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/tg.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/tg.nc", "type": "application/x-netcdf", "description": "Synthesis time data", "v10:shape": [ @@ -1680,7 +1675,7 @@ ] }, "sm": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/sm.nc", + "href": "../tests/data-files/S3A_SY_2_V10____20210911T000000_20210920T235959_20210928T121452_EUROPE____________LN2_O_NT_002.SEN3/sm.nc", "type": "application/x-netcdf", "description": "Status Map data", "v10:shape": [ diff --git a/examples/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.json b/examples/S3A_SY_2_VG1_20211013T000000_20211013T235959_EUROPE.json similarity index 91% rename from examples/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.json rename to examples/S3A_SY_2_VG1_20211013T000000_20211013T235959_EUROPE.json index 1c8a9fd..37f4280 100644 --- a/examples/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.json +++ b/examples/S3A_SY_2_VG1_20211013T000000_20211013T235959_EUROPE.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002", + "id": "S3A_SY_2_VG1_20211013T000000_20211013T235959_EUROPE", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "descending", @@ -1238,16 +1238,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "665fb36324464da22374bda5a012fa22", "file:local_path": "S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/xfdumanifest.xml", @@ -1257,7 +1252,7 @@ ] }, "b0": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/B0.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/B0.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-B0 channel", "vg1:shape": [ @@ -1294,7 +1289,7 @@ ] }, "b2": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/B2.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/B2.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-B2 channel", "vg1:shape": [ @@ -1331,7 +1326,7 @@ ] }, "b3": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/B3.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/B3.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-B3 channel", "vg1:shape": [ @@ -1368,7 +1363,7 @@ ] }, "mir": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/MIR.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/MIR.nc", "type": "application/x-netcdf", "description": "Surface Reflectance Data Set associated with VGT-MIR channel", "vg1:shape": [ @@ -1405,7 +1400,7 @@ ] }, "ndvi": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/NDVI.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/NDVI.nc", "type": "application/x-netcdf", "description": "Normalised difference vegetation index", "vg1:shape": [ @@ -1448,7 +1443,7 @@ ] }, "vaa": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/vaa.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/vaa.nc", "type": "application/x-netcdf", "description": "View azimuth angle data", "vg1:shape": [ @@ -1477,7 +1472,7 @@ ] }, "vza": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/vza.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/vza.nc", "type": "application/x-netcdf", "description": "View zenith angle data", "vg1:shape": [ @@ -1506,7 +1501,7 @@ ] }, "saa": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/saa.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/saa.nc", "type": "application/x-netcdf", "description": "Solar azimuth angle data", "vg1:shape": [ @@ -1535,7 +1530,7 @@ ] }, "sza": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/sza.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/sza.nc", "type": "application/x-netcdf", "description": "Solar zenith angle data", "vg1:shape": [ @@ -1564,7 +1559,7 @@ ] }, "ag": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/ag.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/ag.nc", "type": "application/x-netcdf", "description": "Aerosol optical thickness data", "vg1:shape": [ @@ -1593,7 +1588,7 @@ ] }, "og": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/og.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/og.nc", "type": "application/x-netcdf", "description": "Total Ozone column data", "vg1:shape": [ @@ -1622,7 +1617,7 @@ ] }, "wvg": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/wvg.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/wvg.nc", "type": "application/x-netcdf", "description": "Total column Water vapour data", "vg1:shape": [ @@ -1651,7 +1646,7 @@ ] }, "tg": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/tg.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/tg.nc", "type": "application/x-netcdf", "description": "Synthesis time data", "vg1:shape": [ @@ -1680,7 +1675,7 @@ ] }, "sm": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/sm.nc", + "href": "../tests/data-files/S3A_SY_2_VG1____20211013T000000_20211013T235959_20211014T203456_EUROPE____________LN2_O_ST_002.SEN3/sm.nc", "type": "application/x-netcdf", "description": "Status Map data", "vg1:shape": [ diff --git a/examples/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.json b/examples/S3A_SY_2_VGP_20210703T142237_20210703T150700_2663_073_310.json similarity index 92% rename from examples/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.json rename to examples/S3A_SY_2_VGP_20210703T142237_20210703T150700_2663_073_310.json index 695d094..633ffde 100644 --- a/examples/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.json +++ b/examples/S3A_SY_2_VGP_20210703T142237_20210703T150700_2663_073_310.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002", + "id": "S3A_SY_2_VGP_20210703T142237_20210703T150700_2663_073_310", "properties": { "sat:platform_international_designator": "2016-011A", "sat:orbit_state": "ascending", @@ -1426,16 +1426,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "6f0bf1e6ec385d73e96f11f721f2c752", "file:local_path": "S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/xfdumanifest.xml", @@ -1445,7 +1440,7 @@ ] }, "b0": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/B0.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/B0.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1481,7 +1476,7 @@ ] }, "b2": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/B2.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/B2.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1517,7 +1512,7 @@ ] }, "b3": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/B3.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/B3.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1553,7 +1548,7 @@ ] }, "mir": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/MIR.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/MIR.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1589,7 +1584,7 @@ ] }, "vaa": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/vaa.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/vaa.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1617,7 +1612,7 @@ ] }, "vza": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/vza.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/vza.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1645,7 +1640,7 @@ ] }, "saa": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/saa.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/saa.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1673,7 +1668,7 @@ ] }, "sza": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/sza.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/sza.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1701,7 +1696,7 @@ ] }, "ag": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/ag.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/ag.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1729,7 +1724,7 @@ ] }, "og": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/og.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/og.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1757,7 +1752,7 @@ ] }, "wvg": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/wvg.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/wvg.nc", "type": "application/x-netcdf", "vgp:shape": [ { @@ -1785,7 +1780,7 @@ ] }, "sm": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/sm.nc", + "href": "../tests/data-files/S3A_SY_2_VGP____20210703T142237_20210703T150700_20210703T211742_2663_073_310______LN2_O_ST_002.SEN3/sm.nc", "type": "application/x-netcdf", "vgp:shape": [ { diff --git a/examples/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.json b/examples/S3B_OL_1_ERR_20210831T200148_20210831T204600_2652_056_242.json similarity index 87% rename from examples/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.json rename to examples/S3B_OL_1_ERR_20210831T200148_20210831T204600_2652_056_242.json index 0ad3c01..53799dd 100644 --- a/examples/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.json +++ b/examples/S3B_OL_1_ERR_20210831T200148_20210831T204600_2652_056_242.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002", + "id": "S3B_OL_1_ERR_20210831T200148_20210831T204600_2652_056_242", "properties": { "sat:platform_international_designator": "2018-039A", "sat:orbit_state": "ascending", @@ -907,16 +907,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "12705ca470488a8da7711a96cc741e1a", "file:local_path": "S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/xfdumanifest.xml", @@ -926,7 +921,7 @@ ] }, "Oa01_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa01_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa01_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa01", "resolution": [ @@ -949,7 +944,7 @@ ] }, "Oa02_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa02_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa02_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa02", "resolution": [ @@ -972,7 +967,7 @@ ] }, "Oa03_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa03_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa03_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa03", "resolution": [ @@ -995,7 +990,7 @@ ] }, "Oa04_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa04_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa04_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa04", "resolution": [ @@ -1018,7 +1013,7 @@ ] }, "Oa05_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa05_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa05_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa05", "resolution": [ @@ -1041,7 +1036,7 @@ ] }, "Oa06_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa06_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa06_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa06", "resolution": [ @@ -1064,7 +1059,7 @@ ] }, "Oa07_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa07_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa07_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa07", "resolution": [ @@ -1087,7 +1082,7 @@ ] }, "Oa08_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa08_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa08_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa08", "resolution": [ @@ -1110,7 +1105,7 @@ ] }, "Oa09_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa09_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa09_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa09", "resolution": [ @@ -1133,7 +1128,7 @@ ] }, "Oa10_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa10_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa10_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa10", "resolution": [ @@ -1156,7 +1151,7 @@ ] }, "Oa11_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa11_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa11_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa11", "resolution": [ @@ -1179,7 +1174,7 @@ ] }, "Oa12_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa12_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa12_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa12", "resolution": [ @@ -1202,7 +1197,7 @@ ] }, "Oa13_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa13_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa13_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa13", "resolution": [ @@ -1225,7 +1220,7 @@ ] }, "Oa14_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa14_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa14_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa14", "resolution": [ @@ -1248,7 +1243,7 @@ ] }, "Oa15_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa15_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa15_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa15", "resolution": [ @@ -1271,7 +1266,7 @@ ] }, "Oa16_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa16_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa16_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa16", "resolution": [ @@ -1294,7 +1289,7 @@ ] }, "Oa17_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa17_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa17_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa17", "resolution": [ @@ -1317,7 +1312,7 @@ ] }, "Oa18_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa18_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa18_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa18", "resolution": [ @@ -1340,7 +1335,7 @@ ] }, "Oa19_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa19_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa19_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa19", "resolution": [ @@ -1363,7 +1358,7 @@ ] }, "Oa20_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa20_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa20_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa20", "resolution": [ @@ -1386,7 +1381,7 @@ ] }, "Oa21_radiance": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa21_radiance.nc", + "href": "../tests/data-files/S3B_OL_1_ERR____20210831T200148_20210831T204600_20210902T011514_2652_056_242______LN1_O_NT_002.SEN3/Oa21_radiance.nc", "type": "application/x-netcdf", "description": "TOA radiance for OLCI acquisition band Oa21", "resolution": [ diff --git a/examples/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.json b/examples/S3B_OL_2_LRR_20210731T214325_20210731T222741_2656_055_186.json similarity index 90% rename from examples/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.json rename to examples/S3B_OL_2_LRR_20210731T214325_20210731T222741_2656_055_186.json index 32f361d..c9e7247 100644 --- a/examples/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.json +++ b/examples/S3B_OL_2_LRR_20210731T214325_20210731T222741_2656_055_186.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002", + "id": "S3B_OL_2_LRR_20210731T214325_20210731T222741_2656_055_186", "properties": { "sat:platform_international_designator": "2018-039A", "sat:orbit_state": "ascending", @@ -908,16 +908,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "5d7aa13f028469ee445c33ab3a03322b", "file:local_path": "S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/xfdumanifest.xml", @@ -927,7 +922,7 @@ ] }, "ogvi": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/ogvi.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/ogvi.nc", "type": "application/x-netcdf", "description": "OLCI global Vegetal Index", "resolution": [ @@ -962,7 +957,7 @@ ] }, "otci": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/otci.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/otci.nc", "type": "application/x-netcdf", "description": "OLCI Terrestrial Chlorophyll Index", "resolution": [ @@ -997,7 +992,7 @@ ] }, "iwv": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/iwv.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/iwv.nc", "type": "application/x-netcdf", "description": "Integrated water vapour column", "resolution": [ @@ -1026,7 +1021,7 @@ ] }, "rcOgvi": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/rc_ogvi.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/rc_ogvi.nc", "type": "application/x-netcdf", "description": "Rectified Reflectance", "resolution": [ @@ -1055,7 +1050,7 @@ ] }, "lqsf": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/lqsf.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/lqsf.nc", "type": "application/x-netcdf", "description": "Land Quality and Science Flags", "resolution": [ @@ -1070,7 +1065,7 @@ ] }, "timeCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/time_coordinates.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/time_coordinates.nc", "type": "application/x-netcdf", "description": "Time Coordinates Annotations", "resolution": [ @@ -1085,7 +1080,7 @@ ] }, "geoCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/geo_coordinates.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/geo_coordinates.nc", "type": "application/x-netcdf", "description": "Geo Coordinates Annotations", "resolution": [ @@ -1100,7 +1095,7 @@ ] }, "tieGeoCoordinates": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/tie_geo_coordinates.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/tie_geo_coordinates.nc", "type": "application/x-netcdf", "description": "Tie-Point Geo Coordinate Annotations", "resolution": [ @@ -1115,7 +1110,7 @@ ] }, "tieGeometries": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/tie_geometries.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/tie_geometries.nc", "type": "application/x-netcdf", "description": "Tie-Point Geometries Annotations", "resolution": [ @@ -1130,7 +1125,7 @@ ] }, "tieMeteo": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/tie_meteo.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/tie_meteo.nc", "type": "application/x-netcdf", "description": "Tie-Point Meteo Annotations", "resolution": [ @@ -1145,7 +1140,7 @@ ] }, "instrumentData": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/instrument_data.nc", + "href": "../tests/data-files/S3B_OL_2_LRR____20210731T214325_20210731T222741_20210802T020007_2656_055_186______LN1_O_NT_002.SEN3/instrument_data.nc", "type": "application/x-netcdf", "description": "Instrument Annotation", "resolution": [ diff --git a/examples/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.json b/examples/S3B_SL_2_WST_20210419T051754_20210419T065853_6059_051_247.json similarity index 96% rename from examples/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.json rename to examples/S3B_SL_2_WST_20210419T051754_20210419T065853_6059_051_247.json index 66bce9b..7348792 100644 --- a/examples/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.json +++ b/examples/S3B_SL_2_WST_20210419T051754_20210419T065853_6059_051_247.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003", + "id": "S3B_SL_2_WST_20210419T051754_20210419T065853_6059_051_247", "properties": { "sat:platform_international_designator": "2018-039A", "sat:orbit_state": "descending", @@ -1342,16 +1342,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "78276d1a70ef406665d21d6cb83ecb62", "file:local_path": "S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.SEN3/xfdumanifest.xml", @@ -1361,7 +1356,7 @@ ] }, "L2P": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.SEN3/20210419051754-MAR-L2P_GHRSST-SSTskin-SLSTRB-20210420160434-v02.0-fv01.0.nc", + "href": "../tests/data-files/S3B_SL_2_WST____20210419T051754_20210419T065853_20210420T160434_6059_051_247______MAR_O_NT_003.SEN3/20210419051754-MAR-L2P_GHRSST-SSTskin-SLSTRB-20210420160434-v02.0-fv01.0.nc", "type": "application/x-netcdf", "description": "Data respects the Group for High Resolution Sea Surface Temperature (GHRSST) L2P specification", "resolution": "1 km at nadir", diff --git a/examples/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.json b/examples/S3B_SY_2_AOD_20210512T143315_20210512T151738_2663_052_196.json similarity index 97% rename from examples/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.json rename to examples/S3B_SY_2_AOD_20210512T143315_20210512T151738_2663_052_196.json index 1ec31de..b00571d 100644 --- a/examples/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.json +++ b/examples/S3B_SY_2_AOD_20210512T143315_20210512T151738_2663_052_196.json @@ -1,7 +1,7 @@ { "type": "Feature", "stac_version": "1.0.0", - "id": "S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002", + "id": "S3B_SY_2_AOD_20210512T143315_20210512T151738_2663_052_196", "properties": { "sat:platform_international_designator": "2018-039A", "sat:orbit_state": "ascending", @@ -1426,16 +1426,11 @@ { "rel": "license", "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice" - }, - { - "rel": "self", - "href": "/opt/stactools-sentinel3/examples/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.json", - "type": "application/json" } ], "assets": { "safe-manifest": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.SEN3/xfdumanifest.xml", + "href": "../tests/data-files/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.SEN3/xfdumanifest.xml", "type": "application/xml", "file:checksum": "e55367170bb60e7d1cab151c24e6e086", "file:local_path": "S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.SEN3/xfdumanifest.xml", @@ -1445,7 +1440,7 @@ ] }, "NTC_AOD": { - "href": "/opt/stactools-sentinel3/tests/data-files/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.SEN3/NTC_AOD.nc", + "href": "../tests/data-files/S3B_SY_2_AOD____20210512T143315_20210512T151738_20210514T064157_2663_052_196______LN2_O_NT_002.SEN3/NTC_AOD.nc", "type": "application/x-netcdf", "description": "Global aerosol parameters", "resolution": [ diff --git a/scripts/create_examples.py b/scripts/create_examples.py new file mode 100644 index 0000000..56ee67c --- /dev/null +++ b/scripts/create_examples.py @@ -0,0 +1,19 @@ +import shutil +from pathlib import Path + +from stactools.sentinel3 import stac + +root = Path(__file__).parents[1] +examples = root / "examples" +data_files = root / "tests" / "data-files" + +if examples.exists(): + shutil.rmtree(examples) + +examples.mkdir() + +for path in data_files.glob("*.SEN3"): + item = stac.create_item(str(path), skip_nc=False) + item.set_self_href(str(examples / item.id) + ".json") + item.make_asset_hrefs_relative() + item.save_object(include_self_link=False) diff --git a/src/stactools/sentinel3/file_name.py b/src/stactools/sentinel3/file_name.py new file mode 100644 index 0000000..9270459 --- /dev/null +++ b/src/stactools/sentinel3/file_name.py @@ -0,0 +1,66 @@ +from __future__ import annotations + +from dataclasses import dataclass +from typing import Optional + + +@dataclass +class FileName: + """Dataclass for parsing sentinel3 file names. + + Based on the naming convention docs: + + - https://sentinel.esa.int/web/sentinel/user-guides/sentinel-3-olci/naming-convention + - https://sentinel.esa.int/web/sentinel/user-guides/sentinel-3-slstr/naming-convention + - https://sentinel.esa.int/web/sentinel/user-guides/sentinel-3-synergy/naming-conventions + """ + + mission_id: str + data_source: str + processing_level: Optional[int] + data_type_id: str + sensing_start_time: str + sensing_stop_time: str + product_creation_date: str + instance_id: str + centre: str + class_id: str + + @classmethod + def from_str(cls, s: str) -> FileName: + """Creates a file name from a string. + + The string should be the file name, with or without the .SEN3 extension. + """ + if len(s) < 95: + raise ValueError( + f"file name is too short (should be at least 95 characters): {s}" + ) + try: + processing_level = int(s[7]) + except ValueError: + processing_level = None + return cls( + mission_id=s[0:3].strip("_"), + data_source=s[4:6], + processing_level=processing_level, + data_type_id=s[9:15].strip("_"), + sensing_start_time=s[16:31], + sensing_stop_time=s[32:47], + product_creation_date=s[48:63], + instance_id=s[64:81].strip("_"), + centre=s[82:85], + class_id=s[86:94], + ) + + @property + def scene_id(self) -> str: + """Returns a scene id, used as the item id.""" + if self.processing_level is None: + raise ValueError("can't create a scene id without a processing level") + else: + return ( + f"{self.mission_id}_{self.data_source}_{self.processing_level}_" + f"{self.data_type_id}_{self.sensing_start_time}_{self.sensing_stop_time}_" + + self.instance_id + ) diff --git a/src/stactools/sentinel3/product_metadata.py b/src/stactools/sentinel3/product_metadata.py index 53b6ac1..0882471 100644 --- a/src/stactools/sentinel3/product_metadata.py +++ b/src/stactools/sentinel3/product_metadata.py @@ -8,6 +8,7 @@ from stactools.sentinel3 import xml from stactools.sentinel3.constants import MANIFEST_FILENAME +from stactools.sentinel3.file_name import FileName class ProductMetadataError(Exception): @@ -49,26 +50,13 @@ def _get_geometries(): def scene_id(self) -> str: """Returns the string to be used for a STAC Item id. - Removes the processing number and .SAFE extension - from the product_id defined below. + Removes the processing number, product creation date, centre id, class + id, and .SAFE extension from the product_id defined below. Parsed based on the naming convention found here: https://sentinel.esa.int/web/sentinel/user-guides/sentinel-3-slstr/naming-convention """ - product_id = self.product_id - # Ensure the product id is as expected. - if not product_id.endswith(".SEN3"): - raise ValueError( - "Unexpected value found at " - f"{product_id}: " - "this was expected to follow the sentinel 3 " - "naming convention, including " - "ending in .SEN3" - ) - - scene_id = self.product_id.split(".")[0] - - return scene_id + return FileName.from_str(self.product_id).scene_id @property def product_id(self) -> str: diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..2a5c81c --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,15 @@ +from pathlib import Path + +import pytest + + +@pytest.fixture +def ol_1_efr() -> Path: + return ( + Path(__file__).parent + / "data-files" + / ( + "S3A_OL_1_EFR____20211021T073827_20211021T074112_" + "20211021T091357_0164_077_334_4320_LN1_O_NR_002.SEN3" + ) + ) diff --git a/tests/test_commands.py b/tests/test_commands.py index 4e5505d..c7920e4 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -21,11 +21,7 @@ def create_subcommand_functions(self): return [create_sentinel3_command] def test_create_olci_1_efr_item(self): - item_id = str( - "S3A_OL_1_EFR____" - "20211021T073827_20211021T074112_20211021T091357_" - "0164_077_334_4320_LN1_O_NR_002" - ) + item_id = "S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320" granule_href = test_data.get_path( "data-files/" "S3A_OL_1_EFR____" @@ -64,11 +60,7 @@ def test_create_olci_1_efr_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_olci_1_err_item(self): - item_id = str( - "S3B_OL_1_ERR____" - "20210831T200148_20210831T204600_20210902T011514_" - "2652_056_242______LN1_O_NT_002" - ) + item_id = "S3B_OL_1_ERR_20210831T200148_20210831T204600_2652_056_242" granule_href = test_data.get_path( "data-files/" "S3B_OL_1_ERR____" @@ -107,11 +99,7 @@ def test_create_olci_1_err_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_olci_2_lfr_item(self): - item_id = str( - "S3A_OL_2_LFR____" - "20210523T003029_20210523T003329_20210524T050403_" - "0179_072_102_1980_LN1_O_NT_002" - ) + item_id = "S3A_OL_2_LFR_20210523T003029_20210523T003329_0179_072_102_1980" granule_href = test_data.get_path( "data-files/" "S3A_OL_2_LFR____" @@ -150,11 +138,7 @@ def test_create_olci_2_lfr_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_olci_2_lrr_item(self): - item_id = str( - "S3B_OL_2_LRR____" - "20210731T214325_20210731T222741_20210802T020007_" - "2656_055_186______LN1_O_NT_002" - ) + item_id = "S3B_OL_2_LRR_20210731T214325_20210731T222741_2656_055_186" granule_href = test_data.get_path( "data-files/" "S3B_OL_2_LRR____" @@ -193,11 +177,7 @@ def test_create_olci_2_lrr_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_olci_2_wfr_item(self): - item_id = str( - "S3A_OL_2_WFR____" - "20210604T001016_20210604T001316_20210604T021918_" - "0179_072_273_1440_MAR_O_NR_003" - ) + item_id = "S3A_OL_2_WFR_20210604T001016_20210604T001316_0179_072_273_1440" granule_href = test_data.get_path( "data-files/" "S3A_OL_2_WFR____" @@ -236,11 +216,7 @@ def test_create_olci_2_wfr_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_slstr_1_rbt_item(self): - item_id = str( - "S3A_SL_1_RBT____" - "20210930T220914_20210930T221214_20211002T102150_" - "0180_077_043_5400_LN2_O_NT_004" - ) + item_id = "S3A_SL_1_RBT_20210930T220914_20210930T221214_0180_077_043_5400" granule_href = test_data.get_path( "data-files/" "S3A_SL_1_RBT____" @@ -279,11 +255,7 @@ def test_create_slstr_1_rbt_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_slstr_2_frp_item(self): - item_id = str( - "S3A_SL_2_FRP____" - "20210802T000420_20210802T000720_20210803T123912_" - "0179_074_344_2880_LN2_O_NT_004" - ) + item_id = "S3A_SL_2_FRP_20210802T000420_20210802T000720_0179_074_344_2880" granule_href = test_data.get_path( "data-files/" "S3A_SL_2_FRP____" @@ -322,11 +294,7 @@ def test_create_slstr_2_frp_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_slstr_2_lst_item(self): - item_id = str( - "S3A_SL_2_LST____" - "20210510T002955_20210510T003255_20210511T101010_" - "0179_071_301_5760_LN2_O_NT_004" - ) + item_id = "S3A_SL_2_LST_20210510T002955_20210510T003255_0179_071_301_5760" granule_href = test_data.get_path( "data-files/" "S3A_SL_2_LST____" @@ -365,11 +333,7 @@ def test_create_slstr_2_lst_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_slstr_2_wst_item(self): - item_id = str( - "S3B_SL_2_WST____" - "20210419T051754_20210419T065853_20210420T160434_" - "6059_051_247______MAR_O_NT_003" - ) + item_id = "S3B_SL_2_WST_20210419T051754_20210419T065853_6059_051_247" granule_href = test_data.get_path( "data-files/" "S3B_SL_2_WST____" @@ -408,11 +372,7 @@ def test_create_slstr_2_wst_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_sral_2_lan_item(self): - item_id = str( - "S3A_SR_2_LAN____" - "20210611T011438_20210611T012436_20210611T024819_" - "0598_072_373______LN3_O_NR_004" - ) + item_id = "S3A_SR_2_LAN_20210611T011438_20210611T012436_0598_072_373" granule_href = test_data.get_path( "data-files/" "S3A_SR_2_LAN____" @@ -451,11 +411,7 @@ def test_create_sral_2_lan_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_sral_2_wat_item(self): - item_id = str( - "S3A_SR_2_WAT____" - "20210704T012815_20210704T021455_20210729T173140_" - "2800_073_316______MAR_O_NT_004" - ) + item_id = "S3A_SR_2_WAT_20210704T012815_20210704T021455_2800_073_316" granule_href = test_data.get_path( "data-files/" "S3A_SR_2_WAT____" @@ -494,11 +450,7 @@ def test_create_sral_2_wat_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_synergy_2_aod_item(self): - item_id = str( - "S3B_SY_2_AOD____" - "20210512T143315_20210512T151738_20210514T064157_" - "2663_052_196______LN2_O_NT_002" - ) + item_id = "S3B_SY_2_AOD_20210512T143315_20210512T151738_2663_052_196" granule_href = test_data.get_path( "data-files/" "S3B_SY_2_AOD____" @@ -539,11 +491,7 @@ def test_create_synergy_2_aod_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_synergy_2_syn_item(self): - item_id = str( - "S3A_SY_2_SYN____" - "20210325T005418_20210325T005718_20210325T142858_" - "0180_070_031_1620_LN2_O_ST_002" - ) + item_id = "S3A_SY_2_SYN_20210325T005418_20210325T005718_0180_070_031_1620" granule_href = test_data.get_path( "data-files/" "S3A_SY_2_SYN____" @@ -588,11 +536,7 @@ def test_create_synergy_2_syn_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_synergy_2_v10_item(self): - item_id = str( - "S3A_SY_2_V10____" - "20210911T000000_20210920T235959_20210928T121452_" - "EUROPE____________LN2_O_NT_002" - ) + item_id = "S3A_SY_2_V10_20210911T000000_20210920T235959_EUROPE" granule_href = test_data.get_path( "data-files/" "S3A_SY_2_V10____" @@ -633,11 +577,7 @@ def test_create_synergy_2_v10_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_synergy_2_vg1_item(self): - item_id = str( - "S3A_SY_2_VG1____" - "20211013T000000_20211013T235959_20211014T203456_" - "EUROPE____________LN2_O_ST_002" - ) + item_id = "S3A_SY_2_VG1_20211013T000000_20211013T235959_EUROPE" granule_href = test_data.get_path( "data-files/" "S3A_SY_2_VG1____" @@ -678,11 +618,7 @@ def test_create_synergy_2_vg1_item(self): os.remove(f"{tmp_dir}/{item_id}.json") def test_create_synergy_2_vgp_item(self): - item_id = str( - "S3A_SY_2_VGP____" - "20210703T142237_20210703T150700_20210703T211742_" - "2663_073_310______LN2_O_ST_002" - ) + item_id = "S3A_SY_2_VGP_20210703T142237_20210703T150700_2663_073_310" granule_href = test_data.get_path( "data-files/" "S3A_SY_2_VGP____" diff --git a/tests/test_stac.py b/tests/test_stac.py new file mode 100644 index 0000000..02cb4ee --- /dev/null +++ b/tests/test_stac.py @@ -0,0 +1,8 @@ +from pathlib import Path + +from stactools.sentinel3 import stac + + +def test_id(ol_1_efr: Path) -> None: + item = stac.create_item(str(ol_1_efr), skip_nc=True) + assert item.id == "S3A_OL_1_EFR_20211021T073827_20211021T074112_0164_077_334_4320"