Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Collection assets example #1023

Merged
merged 3 commits into from
Mar 3, 2021
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
3 changes: 2 additions & 1 deletion best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ actual role requirements.
| data-mask | Best Practice | File indicating if corresponding pixels have Valid data and various types of invalid data |
| snow-ice | Best Practice | Points to a file that indicates whether a pixel is assessed as being snow/ice or not. |
| land-water | Best Practice | Points to a file that indicates whether a pixel is assessed as being land or water. |
| water-mask | Best Practice | Points to a file that indicates whether a pixel is assessed as being water (e.g. flooding map). |
| water-mask | Best Practice | Points to a file that indicates whether a pixel is assessed as being water (e.g. flooding map). | iso-19139 | Best Practice | Points to an [ISO 19139](https://www.iso.org/standard/67253.html) metadata xml file |
| iso-19115 | Best Practice | Points to an [ISO 19115](https://www.iso.org/standard/53798.html) metadata file |
| reflectance, temperature, saturation, cloud, cloud-shadow | [EO Extension](extensions/eo/README.md#best-practices) | See the [table](extensions/eo/README.md#best-practices) in EO for more information, and the definitive list of roles related to EO. |
| incidence-angle, azimuth, sun-azimuth, sun-elevation, terrain-shadow, terrain-occlusion, terrain-illumination | [View Extension](extensions/view/README.md#best-practices) | See the [table](extensions/view/README.md#best-practices) in View for more information, and the definitive list of roles related to viewing angles. |
| local-incidence-angle, noise-power, amplitude, magnitude, sigma0, beta0, gamma0, date-offset, covmat, prd | [SAR Extension](extensions/sar/README.md#best-practices) | See the [table](extensions/sar/README.md#best-practices) in SAR for more information. , and the definitive list of roles related to SAR. |
Expand Down
15 changes: 8 additions & 7 deletions examples/collection-only/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@
}
},
"assets": {
"thumbnail": {
"href": "thumbnail.png",
"title": "Preview",
"type": "image/png",
"metadata_iso_19139": {
"roles": [
"thumbnail"
]
"metadata",
"iso-19139"
],
"href": "https://storage.googleapis.com/open-cogs/stac-examples/sentinel-2-iso-19139.xml",
"title": "ISO 19139 metadata",
"type": "application/vnd.iso.19139+xml"
}
},
"summaries": {
Expand Down Expand Up @@ -223,4 +224,4 @@
"title": "Legal notice on the use of Copernicus Sentinel Data and Service Information"
}
]
}
}