Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change the item id #9

Merged
merged 3 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
55 changes: 38 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand All @@ -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": [
Expand Down
Loading