Skip to content

Commit 5bc2394

Browse files
authored
Deprecate sar:product_type in favor of product:type (#13)
1 parent 6193696 commit 5bc2394

File tree

5 files changed

+34
-24
lines changed

5 files changed

+34
-24
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414

1515
### Deprecated
1616

17+
- `sar:product_type` in favor of `product:type`
18+
1719
### Removed
1820

1921
### Fixed

README.md

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To describe frame start and end times, use the
3636
| sar:frequency_band | string | **REQUIRED.** The common name for the frequency band to make it easier to search for bands across instruments. See section "Common Frequency Band Names" for a list of accepted names. |
3737
| sar:center_frequency | number | The center frequency of the instrument, in gigahertz (GHz). |
3838
| sar:polarizations | \[string] | **REQUIRED.** Any combination of polarizations. |
39-
| sar:product_type | string | **REQUIRED.** The product type, for example `SSC`, `MGD`, or `SGC` |
39+
| sar:product_type | string | ***DEPRECATED** in favor of [`product:type`](https://github.com/stac-extensions/product).* The product type, for example `SSC`, `MGD`, or `SGC` |
4040
| sar:resolution_range | number | The range resolution, which is the maximum ability to distinguish two adjacent targets perpendicular to the flight path, in meters (m). |
4141
| sar:resolution_azimuth | number | The azimuth resolution, which is the maximum ability to distinguish two adjacent targets parallel to the flight path, in meters (m). |
4242
| sar:pixel_spacing_range | number | The range pixel spacing, which is the distance between adjacent pixels perpendicular to the flight path, in meters (m). Strongly RECOMMENDED to be specified for products of type `GRD`. |
@@ -61,23 +61,6 @@ for instance for `HH+HV` add both `HH` and `HV`.
6161
**Important:** In the `properties` of a STAC Item `sar:polarizations` must be a set with unique elements.
6262
In assets `sar:polarizations` can contain duplicate elements and, if possible, the polarizations must appear in the same order as in the file.
6363

64-
#### sar:product_type
65-
66-
The product type defines the type of processed data contained in the assets. A list of suggestions include:
67-
68-
| sar:product_type | Type | Description |
69-
| ----------------- | --------- | ----------- |
70-
| SSC | complex | Single-look Slant-range Complex image (standard SLC) |
71-
| MGD | amplitude | Multilooked Ground-range Detected image |
72-
| GRD | amplitude | Multilooked Ground-range Detected image (used by Sentinel-1) |
73-
| GEC | amplitude | Geocoded Ellipsoid Corrected image |
74-
| GTC | amplitude | Geocoded Terrain Corrected image |
75-
| RTC | amplitude | Geocoded Radiometrically Terrain Corrected image |
76-
| SGC | complex | Single-look Ground projected Complex image |
77-
| SLC | complex | Single-look Ground projected Complex image (used by Sentinel-1) |
78-
79-
This can vary by data provider, who all may use slightly different names. Sentinel-1 for instance uses `GRD`, which is the same as the more general `MGD` and `SLC` instead of `SGC`.
80-
8164
### Common Frequency Band Names
8265

8366
The `sar:frequency_band` is the name that is commonly used to refer to that band's spectral
@@ -94,6 +77,30 @@ properties. The table below shows the common name based on the wavelength and fr
9477
| K | 1.1 - 1.7 | 18 - 26.5 | |
9578
| Ka | 0.75 - 1.1 | 26.5 - 40 | |
9679

80+
### Product type
81+
82+
The product type for SAR data defines the type of processed data contained in the assets.
83+
A list of suggestions for [`product:type`](https://github.com/stac-extensions/product) include:
84+
85+
| product:type | Type | Description |
86+
| ------------ | --------- | ----------- |
87+
| SSC | complex | Single-look Slant-range Complex image (standard SLC) |
88+
| MGD | amplitude | Multilooked Ground-range Detected image |
89+
| GRD | amplitude | Multilooked Ground-range Detected image (used by Sentinel-1) |
90+
| GEC | amplitude | Geocoded Ellipsoid Corrected image |
91+
| GTC | amplitude | Geocoded Terrain Corrected image |
92+
| RTC | amplitude | Geocoded Radiometrically Terrain Corrected image |
93+
| SGC | complex | Single-look Ground projected Complex image |
94+
| SLC | complex | Single-look Ground projected Complex image (used by Sentinel-1) |
95+
96+
This can vary by data provider, who all may use slightly different names.
97+
Sentinel-1 for instance uses `GRD`, which is the same as the more general `MGD` and `SLC` instead of `SGC`.
98+
99+
**Note:**
100+
- v1.0 of the extension did require `sar:product_type`.
101+
- v1.1 deprecates `sar:product_type` and it's not required any longer, but `product:type` is **strongly recommended**.
102+
- v2.0 will require `product:type` as part of this extension and remove `sar:product_type`.
103+
97104
### Date and Time
98105

99106
In SAR, you usually have frame start and end time. To describe this information it is recommended to use the [Date and Time Range fields](https://github.com/radiantearth/stac-spec/blob/master/item-spec/common-metadata.md#date-and-time-range).

examples/envisat.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"type": "Feature",
33
"stac_version": "1.0.0",
44
"stac_extensions": [
5-
"https://stac-extensions.github.io/sar/v1.0.0/schema.json"
5+
"https://stac-extensions.github.io/sar/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/product/v0.1.0/schema.json"
67
],
78
"id": "sar-envisat-example",
89
"properties": {
@@ -26,7 +27,7 @@
2627
"sar:looks_azimuth": 4,
2728
"sar:frequency_band": "C",
2829
"sar:center_frequency": 5.331,
29-
"sar:product_type": "GM1_1P"
30+
"product:type": "GM1_1P"
3031
},
3132
"geometry": {
3233
"type": "Polygon",

examples/sentinel-1.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"type": "Feature",
33
"stac_version": "1.0.0",
44
"stac_extensions": [
5-
"https://stac-extensions.github.io/sar/v1.0.0/schema.json"
5+
"https://stac-extensions.github.io/sar/v1.0.0/schema.json",
6+
"https://stac-extensions.github.io/product/v0.1.0/schema.json"
67
],
78
"id": "sentinel-1-example",
89
"properties": {
@@ -27,7 +28,7 @@
2728
"sar:looks_equivalent_number": 2.7,
2829
"sar:frequency_band": "C",
2930
"sar:center_frequency": 5.405,
30-
"sar:product_type": "GRD"
31+
"product:type": "GRD"
3132
},
3233
"geometry": {
3334
"type": "Polygon",

json-schema/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"required": [
3535
"sar:instrument_mode",
3636
"sar:frequency_band",
37-
"sar:polarizations",
38-
"sar:product_type"
37+
"sar:polarizations"
3938
],
4039
"properties": {
4140
"sar:polarizations": {

0 commit comments

Comments
 (0)