Skip to content

Commit 93b194f

Browse files
committed
Clarify scope of fields, recommend fields instead of requiring them, update to new template
1 parent 839d237 commit 93b194f

File tree

6 files changed

+192
-69
lines changed

6 files changed

+192
-69
lines changed

.github/remark.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
plugins:
2+
# GitHub Flavored Markdown
3+
- remark-gfm
24
# Check links
35
- validate-links
46
# Apply some recommended defaults for consistency
@@ -8,6 +10,7 @@ plugins:
810
# General formatting
911
- - remark-lint-emphasis-marker
1012
- '*'
13+
- remark-lint-no-undefined-references
1114
- remark-lint-hard-break-spaces
1215
- remark-lint-blockquote-indentation
1316
- remark-lint-no-consecutive-blank-lines
@@ -37,7 +40,7 @@ plugins:
3740
- - remark-lint-unordered-list-marker-style
3841
- '-'
3942
- - remark-lint-list-item-indent
40-
- space
43+
- space
4144
# Tables
4245
- remark-lint-table-pipes
4346
- remark-lint-no-literal-urls

.gitignore

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
/package-lock.json
2-
/node_modules
1+
# OS files
2+
.DS_Store
3+
Thumbs.db
4+
5+
# Editors
6+
/.idea/
7+
/.vscode/
8+
9+
# Node / npm
10+
.npm
11+
/node_modules/
12+
package-lock.json

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Added `LH`, `LV`, `RH`, `RV`, `CH` and `CV` enumerations to `sar:polarizations` to support compact polarization.
1313
- Best practices for `altm:instrument_mode` and `altm:instrument_type`
1414

15+
### Changed
16+
17+
- Required fields are recommended.
18+
- Clarified the scope of the fields.
19+
1520
### Deprecated
1621

1722
- `sar:instrument_mode` in favor of `altm:instrument_mode`
1823

1924
### Fixed
2025

2126
- Fixed and updated examples
27+
- Updated JSON Schema to the latest version of the template
2228

2329
## [v1.1.0] - 2024-12-18
2430

README.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ This document explains the fields of the Synthetic-Aperture Radar (SAR) Extensio
1414
SAR data is considered to be data that represents a snapshot of the earth for a single date and time taken by a synthetic-aperture radar system
1515
such as Sentinel-1, RADARSAT or EnviSAT.
1616

17-
If the data has been collected by a satellite, it is strongly recommended to use the
18-
[`sat` extension](https://github.com/stac-extensions/sat).
19-
If the data has been collected on an airborne platform it is strongly recommended to use the
17+
If the data has been collected by a satellite, it is recommended to use the
18+
[Satellite extension](https://github.com/stac-extensions/sat).
19+
If the data has been collected on an airborne platform it is recommended to use the
2020
[Instrument Fields](https://github.com/radiantearth/stac-spec/blob/master/item-spec/common-metadata.md#instrument).
21+
In both cases the instrument details should be provided using the
22+
[Altimetry extension](https://github.com/stac-extensions/altimetry)
2123

2224
To describe frame start and end times, use the
2325
[Date and Time Range fields](https://github.com/radiantearth/stac-spec/blob/master/item-spec/common-metadata.md#date-and-time-range).
2426

27+
To describe the product type, use the [Product extension](https://github.com/stac-extensions/product).
28+
2529
- Examples:
2630
- [Envisat](examples/envisat.json)
2731
- [Sentinel-1 GRD EW](examples/sentinel-1-grd-ew.json)
@@ -30,7 +34,15 @@ To describe frame start and end times, use the
3034
- [JSON Schema](json-schema/schema.json)
3135
- [Changelog](./CHANGELOG.md)
3236

33-
## Item Properties or Asset Fields
37+
## Fields
38+
39+
The fields in the table below can be used in these parts of STAC documents:
40+
41+
- [ ] Catalogs
42+
- [x] Collections
43+
- [x] Item Properties (incl. Summaries in Collections)
44+
- [x] Assets (for both Collections and Items, incl. Item Asset Definitions in Collections)
45+
- [ ] Links
3446

3547
> \[!IMPORTANT]
3648
>
@@ -39,9 +51,9 @@ To describe frame start and end times, use the
3951
4052
| Field Name | Type | Description |
4153
| --------------------------- | --------- | ----------- |
42-
| sar:polarizations | \[string] | **REQUIRED.** Any combination of polarizations. |
43-
| 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. |
44-
| sar:center_frequency | number | The center frequency of the instrument, in gigahertz (GHz). |
54+
| sar:polarizations | \[string] | RECOMMENDED. Any combination of polarizations. |
55+
| sar:frequency_band | string | RECOMMENDED. 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. |
56+
| sar:center_frequency | number | RECOMMENDED. The center frequency of the instrument, in gigahertz (GHz). |
4557
| 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). |
4658
| 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). |
4759
| 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`. |
@@ -62,20 +74,22 @@ To describe frame start and end times, use the
6274
> [`product:type`](https://github.com/stac-extensions/product) is **strongly recommended**.
6375
> - v1.2 deprecates `sar:instrument_mode` and it's not required any longer, but
6476
> [`altm:instrument_mode` and `altm:instrument_type`](https://github.com/stac-extensions/altimetry) are **strongly recommended**.
65-
> - v2.0 may require `product:type`, `altm:instrument_mode`, and `altm:instrument_type` as part of this extension and is going to remove `sar:product_type` and `sar:instrument_mode`.
77+
> - v2.0 is going to remove `sar:product_type` and `sar:instrument_mode`.
6678
6779
### Additional Field Information
6880

6981
#### sar:polarizations
7082

71-
Specifies a single polarization or a polarization combination. For single polarized radars, one of
72-
`HH`, `VV`, `HV`, `VH`, `LH`, `LV`, `RH`, `RV`, `CH` or `CV` must be set. For fully polarimetric radars, add all four polarizations to the array.
83+
Specifies a single polarization or a polarization combination.
84+
Allowed values: `HH`, `VV`, `HV`, `VH`, `LH`, `LV`, `RH`, `RV`, `CH` or `CV`
85+
For single polarized radars, one the allowed values must be set.
7386
For dual polarized radars and alternating polarization, add the corresponding polarizations to the array.
87+
For fully polarimetric radars, add all polarizations to the array.
7488
For instance, for `HH+HV`, add both `HH` and `HV`.
7589

7690
> \[!IMPORTANT]
7791
>
78-
> In the `properties` of a STAC Item `sar:polarizations` must be a set with unique elements.
92+
> In Item Properties and Collections, `sar:polarizations` must be a set with unique elements.
7993
> In assets `sar:polarizations` can contain duplicate elements and, if possible, the polarizations must appear in the same order as in the file.
8094
8195
#### sar:beam_ids
@@ -84,7 +98,7 @@ The `sar:beam_ids` field is used to reference the beam identifiers of the SAR ac
8498
the beam identifiers can be used to identify the composition of the swath of the SAR acquisition.
8599
The beam identifiers are usually provided in the metadata of the SAR data.
86100

87-
### Common Frequency Band Names
101+
### sar:frequency_band - Common Frequency Band Names
88102

89103
The `sar:frequency_band` is the name that is commonly used to refer to that band's spectral
90104
properties. The table below shows the common name based on the wavelength and frequency ranges for several SAR satellites.
@@ -102,6 +116,7 @@ properties. The table below shows the common name based on the wavelength and fr
102116

103117
### Product type
104118

119+
It is RECOMMENDED to include the `product:type` field.
105120
The product type for SAR data defines the type of processed data contained in the assets.
106121
A list of suggestions for [`product:type`](https://github.com/stac-extensions/product) include:
107122

@@ -123,8 +138,8 @@ Sentinel-1 for instance uses `GRD`, which is the same as the more general `MGD`
123138

124139
The instrument type and mode can be provided using the [Altimetry Extension](https://github.com/stac-extensions/altimetry):
125140

126-
- `altm:instrument_type`: The instrument type, must be set to `sar`,
127-
- `altm:instrument_mode`: The name of the sensor acquisition mode that is commonly used.
141+
- `altm:instrument_type`: RECOMMENDED. The instrument type, must be set to `sar`,
142+
- `altm:instrument_mode`: RECOMMENDED. The name of the sensor acquisition mode that is commonly used.
128143
This should be the short name, if available.
129144
For example, `WV` for "Wave mode" of Sentinel-1 and Envisat ASAR satellites.
130145

0 commit comments

Comments
 (0)