From 7c19f0193b5f89c5f3e29b073311848f07b5b674 Mon Sep 17 00:00:00 2001 From: Chris Holmes Date: Mon, 1 Jun 2020 15:12:30 -0700 Subject: [PATCH] Removed section on eo:bands references --- extensions/eo/README.md | 113 +--------------------------------------- 1 file changed, 1 insertion(+), 112 deletions(-) diff --git a/extensions/eo/README.md b/extensions/eo/README.md index bdddbcc3b..c13d7b1fc 100644 --- a/extensions/eo/README.md +++ b/extensions/eo/README.md @@ -72,118 +72,7 @@ numbers of several popular instruments. | lwir11 | 10.5 - 11.5 | | 10 | | 31 | | lwir12 | 11.5 - 12.5 | | 11 | | 32 | -The difference between the `nir`, `nir08`, and `nir09` bands are that the `nir` band is a wider band that covers most of the spectral range of 0.75μm to 1.0μm. `nir08` and `nir09` are narrow bands centered 0.85μm and 0.95μm respectively. The same goes for the difference between `lwir`, `lwir11` and `lwir12`. - -## Associating assets with bands - -Asset definitions that contain band data should reference the band index. Each asset should provide a `eo:bands` property that is an array of 0 based indexes to the correct [Band Objects](#band-object). - -### Item [`Asset Object`](../../item-spec/item-spec.md#asset-object) fields -| Field Name | Type | Description | -| ---------- | --------- | -------------------------------------------- | -| eo:bands | \[number] | Lists the band names available in the asset. | - -See [example-landsat8.json](examples/example-landsat8.json) for a full example. - -```js -{ - "stac_version": "1.0.0-beta.1", - "stac_extensions": ["eo"], - "id": "LC08_L1TP_107018_20181001_20181001_01_RT", - "type": "Feature", - ... - "properties": { - ... - "eo:bands": [ - { - "name": "B1", - "common_name": "coastal", - "center_wavelength": 0.44, - "full_width_half_max": 0.02 - }, - { - "name": "B2", - "common_name": "blue", - "center_wavelength": 0.48, - "full_width_half_max": 0.06 - }, - { - "name": "B3", - "common_name": "green", - "center_wavelength": 0.56, - "full_width_half_max": 0.06 - }, - ... - ] - }, - "assets": { - "B1": { - "href": "https://landsat-pds.s3.amazonaws.com/c1/L8/107/018/LC08_L1TP_107018_20181001_20181001_01_RT/LC08_L1TP_107018_20181001_20181001_01_RT_B1.TIF", - "type": "image/tiff; application=geotiff", - "eo:bands": [0], - "title": "Band 1 (coastal)" - }, - "B2": { - "href": "https://landsat-pds.s3.amazonaws.com/c1/L8/107/018/LC08_L1TP_107018_20181001_20181001_01_RT/LC08_L1TP_107018_20181001_20181001_01_RT_B2.TIF", - "type": "image/tiff; application=geotiff", - "eo:bands": [1], - "title": "Band 2 (blue)" - }, - "B3": { - "href": "https://landsat-pds.s3.amazonaws.com/c1/L8/107/018/LC08_L1TP_107018_20181001_20181001_01_RT/LC08_L1TP_107018_20181001_20181001_01_RT_B3.TIF", - "type": "image/tiff; application=geotiff", - "eo:bands": [2], - "title": "Band 3 (green)" - }, - ... - } -} -``` - -Planet example: - -```js -{ - "stac_version": "1.0.0-beta.1", - "stac_extensions": ["eo"], - "id": "20171110_121030_1013", - "type": "Feature", - ... - "properties": { - ... - "eo:bands": [ - { - "full_width_half_max": 0.08, - "center_wavelength": 0.63, - "common_name": "red" - }, - { - "full_width_half_max": 0.09, - "center_wavelength": 0.545, - "common_name": "green" - }, - { - "full_width_half_max": 0.06, - "center_wavelength": 0.485, - "common_name": "blue" - }, - { - "full_width_half_max": 0.08, - "center_wavelength": 0.82, - "common_name": "nir" - } - ] - }, - "assets": { - "analytic": { - "href": "https://api.planet.com/data/v1/assets/eyJpIjogIjIwMTcxMTEwXzEyMTAxMF8xMDEzIiwgImMiOiAiUFNTY2VuZTRCYW5kIiwgInQiOiAiYW5hbHl0aWMiLCAiY3QiOiAiaXRlbS10eXBlIn0", - "title": "PSScene4Band GeoTIFF (COG)", - "type": "image/tiff; application=geotiff; profile=cloud-optimized", - "eo:bands": [0,1,2,3] - } - } -} -``` +The difference between the `nir`, `nir08`, and `nir09` bands are that the `nir` band is a wider band that covers most of the spectral range of 0.75μm to 1.0μm. `nir08` and `nir09` are narrow bands centered 0.85μm and 0.95μm respectively. The same goes for the difference between `lwir`, `lwir11` and `lwir12`. ## Implementations