Skip to content

Commit

Permalink
Merge pull request #1023 from radiantearth/col-assets-examples
Browse files Browse the repository at this point in the history
Collection assets example
  • Loading branch information
m-mohr authored Mar 3, 2021
2 parents 66a5bc7 + 085589e commit d47bb4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,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"
}
]
}
}

0 comments on commit d47bb4e

Please sign in to comment.