diff --git a/README.md b/README.md index 74f3b2f..ee4b332 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Sentinel-3 Extension Specification - **Title:** Sentinel-3 -- **Identifier:** +- **Identifier:** - **Field Name Prefix:** s3 - **Scope:** Item - **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal @@ -33,23 +33,23 @@ The fields in the table below can be used in these parts of STAC documents: - [ ] Assets (for both Collections and Items, incl. Item Asset Definitions in Collections) - [ ] Links -| Field Name | Type | Description | -| --------------------- | ------ | ----------- | -| s3:bright | number | | -| s3:closed_sea | number | | -| s3:coastal | number | | -| s3:continental_ice | number | | -| s3:cosmetic | number | | -| s3:dubious_samples | number | | -| s3:duplicated | number | | -| s3:fresh_inland_water | number | | -| s3:invalid | number | | -| s3:land | number | | -| s3:open_ocean | number | | -| s3:out_of_range | number | | -| s3:saline_water | number | | -| s3:saturated | number | | -| s3:tidal_region | number | | +| Field Name | Type | Description | +| --------------------- | ------ | ------------------------------------------------------------ | +| s3:bright | number | Percentage of bright pixels (0-100) | +| s3:closed_sea | number | Percentage of pixels classified as closed sea (0-100) | +| s3:coastal | number | Percentage of pixels classified as coastal (0-100) | +| s3:continental_ice | number | Percentage of pixels classified as continental ice (0-100) | +| s3:cosmetic | number | Percentage of cosmetic pixels (0-100) | +| s3:dubious_samples | number | Percentage of dubious pixels (0-100) | +| s3:duplicated | number | Percentage of duplicated pixels (0-100) | +| s3:fresh_inland_water | number | Percentage of pixels classified as fresh inland water (0-100) | +| s3:invalid | number | Percentage of invalid pixels (0-100) | +| s3:land | number | Percentage of pixels classified as land (0-100) | +| s3:open_ocean | number | Percentage of pixels classified as open ocean (0-100) | +| s3:out_of_range | number | Percentage of out-of-range pixels (0-100) | +| s3:saline_water | number | Percentage of pixels classified as saline water (0-100) | +| s3:saturated | number | Percentage of saturated pixels (0-100) | +| s3:tidal_region | number | Percentage of pixels classified as tidal regions (0-100) | > \[!NOTE] > Various fields and objects in this extensions have been deprecated. diff --git a/examples/S3A_OL_2_WFR_20240323T114640_20240323T114940_0180_110_237_2160.json b/examples/S3A_OL_2_WFR_20240323T114640_20240323T114940_0180_110_237_2160.json index 78f6e16..a9d67c4 100644 --- a/examples/S3A_OL_2_WFR_20240323T114640_20240323T114940_0180_110_237_2160.json +++ b/examples/S3A_OL_2_WFR_20240323T114640_20240323T114940_0180_110_237_2160.json @@ -1278,7 +1278,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3A_SL_2_WST_20240323T040126_20240323T054225_6059_110_232.json b/examples/S3A_SL_2_WST_20240323T040126_20240323T054225_6059_110_232.json index 68849de..8dc0ef0 100644 --- a/examples/S3A_SL_2_WST_20240323T040126_20240323T054225_6059_110_232.json +++ b/examples/S3A_SL_2_WST_20240323T040126_20240323T054225_6059_110_232.json @@ -1213,7 +1213,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3A_SR_2_LAN_20230625T054418_20230625T063446_3028_100_205.json b/examples/S3A_SR_2_LAN_20230625T054418_20230625T063446_3028_100_205.json index c9d7d69..00dfc0c 100644 --- a/examples/S3A_SR_2_LAN_20230625T054418_20230625T063446_3028_100_205.json +++ b/examples/S3A_SR_2_LAN_20230625T054418_20230625T063446_3028_100_205.json @@ -954,7 +954,7 @@ "stac_extensions": [ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], "stac_version": "1.0.0" diff --git a/examples/S3A_SR_2_WAT_20240206T012229_20240206T020636_2647_108_345.json b/examples/S3A_SR_2_WAT_20240206T012229_20240206T020636_2647_108_345.json index de496dc..3d71157 100644 --- a/examples/S3A_SR_2_WAT_20240206T012229_20240206T020636_2647_108_345.json +++ b/examples/S3A_SR_2_WAT_20240206T012229_20240206T020636_2647_108_345.json @@ -886,7 +886,7 @@ "stac_extensions": [ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], "stac_version": "1.0.0" diff --git a/examples/S3A_SY_2_AOD_20240323T063414_20240323T071815_2641_110_234.json b/examples/S3A_SY_2_AOD_20240323T063414_20240323T071815_2641_110_234.json index 4c1c2e5..4624e41 100644 --- a/examples/S3A_SY_2_AOD_20240323T063414_20240323T071815_2641_110_234.json +++ b/examples/S3A_SY_2_AOD_20240323T063414_20240323T071815_2641_110_234.json @@ -1495,7 +1495,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3A_SY_2_SYN_20240323T115840_20240323T120140_0179_110_237_2880.json b/examples/S3A_SY_2_SYN_20240323T115840_20240323T120140_0179_110_237_2880.json index 8237040..c24946a 100644 --- a/examples/S3A_SY_2_SYN_20240323T115840_20240323T120140_0179_110_237_2880.json +++ b/examples/S3A_SY_2_SYN_20240323T115840_20240323T120140_0179_110_237_2880.json @@ -1534,7 +1534,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3A_SY_2_V10_20240301T000000_20240310T235959_AFRICA.json b/examples/S3A_SY_2_V10_20240301T000000_20240310T235959_AFRICA.json index b46e64b..e6b1a5b 100644 --- a/examples/S3A_SY_2_V10_20240301T000000_20240310T235959_AFRICA.json +++ b/examples/S3A_SY_2_V10_20240301T000000_20240310T235959_AFRICA.json @@ -1553,7 +1553,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3A_SY_2_VG1_20240321T000000_20240321T235959_AFRICA.json b/examples/S3A_SY_2_VG1_20240321T000000_20240321T235959_AFRICA.json index aef7088..8dabf26 100644 --- a/examples/S3A_SY_2_VG1_20240321T000000_20240321T235959_AFRICA.json +++ b/examples/S3A_SY_2_VG1_20240321T000000_20240321T235959_AFRICA.json @@ -1553,7 +1553,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3A_SY_2_VGP_20240316T061625_20240316T070022_2637_110_134.json b/examples/S3A_SY_2_VGP_20240316T061625_20240316T070022_2637_110_134.json index 2f428da..c36fa47 100644 --- a/examples/S3A_SY_2_VGP_20240316T061625_20240316T070022_2637_110_134.json +++ b/examples/S3A_SY_2_VGP_20240316T061625_20240316T070022_2637_110_134.json @@ -1683,7 +1683,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3B_OL_2_LFR_20240324T174025_20240324T174325_0180_091_112_3060.json b/examples/S3B_OL_2_LFR_20240324T174025_20240324T174325_0180_091_112_3060.json index f80f830..151259f 100644 --- a/examples/S3B_OL_2_LFR_20240324T174025_20240324T174325_0180_091_112_3060.json +++ b/examples/S3B_OL_2_LFR_20240324T174025_20240324T174325_0180_091_112_3060.json @@ -522,7 +522,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3B_SL_2_FRP_20240324T111129_20240324T111429_0179_091_108_3960.json b/examples/S3B_SL_2_FRP_20240324T111129_20240324T111429_0179_091_108_3960.json index 638d400..691c4fb 100644 --- a/examples/S3B_SL_2_FRP_20240324T111129_20240324T111429_0179_091_108_3960.json +++ b/examples/S3B_SL_2_FRP_20240324T111129_20240324T111429_0179_091_108_3960.json @@ -643,7 +643,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/examples/S3B_SL_2_LST_20240324T101429_20240324T101729_0179_091_108_0540.json b/examples/S3B_SL_2_LST_20240324T101429_20240324T101729_0179_091_108_0540.json index 89ddbb4..eb168ff 100644 --- a/examples/S3B_SL_2_LST_20240324T101429_20240324T101729_0179_091_108_0540.json +++ b/examples/S3B_SL_2_LST_20240324T101429_20240324T101729_0179_091_108_0540.json @@ -603,7 +603,7 @@ "https://stac-extensions.github.io/file/v2.1.0/schema.json", "https://stac-extensions.github.io/sat/v1.0.0/schema.json", "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json", + "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", "https://stac-extensions.github.io/product/v0.1.0/schema.json" ], diff --git a/json-schema/schema.json b/json-schema/schema.json index 53dfe3c..13d68ae 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json#", + "$id": "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json#", "title": "Sentinel-3 Extension", "description": "STAC Sentinel-3 Extension for STAC Items and STAC Collection Summaries.", "type": "object", @@ -11,7 +11,7 @@ "stac_extensions": { "type": "array", "contains": { - "const": "https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json" + "const": "https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json" } } }, diff --git a/package.json b/package.json index e28fe74..5c96313 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "stac-extension-sentinel-3", - "version": "0.1.0", + "version": "0.2.0", "scripts": { "test": "npm run check-markdown && npm run check-examples", "check-markdown": "remark . -f -r .github/remark.yaml", - "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json=./json-schema/schema.json", - "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/sentinel-3/v0.1.0/schema.json=./json-schema/schema.json" + "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json=./json-schema/schema.json", + "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/sentinel-3/v0.2.0/schema.json=./json-schema/schema.json" }, "dependencies": { "remark-cli": "^12.0.0",