Skip to content

Commit

Permalink
Merge pull request #319 from sentinel-hub/feat/planet-examples
Browse files Browse the repository at this point in the history
Added examples to planetscope scripts
  • Loading branch information
chorng authored Jun 19, 2024
2 parents 167b281 + 5fedc13 commit 2264802
Show file tree
Hide file tree
Showing 7 changed files with 100 additions and 19 deletions.
18 changes: 14 additions & 4 deletions planet_scope/false_color/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ grand_parent: Planet
layout: script
permalink: /planet_scope/false_color/
nav_exclude: true
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/false_color/script.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---


## Evaluate and visualize

As PlanetScope is commercial data, brought into Sentinel Hub as Bring Your Own Data, direct EO Browser links are not possible due to the personalized data credentials.
The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description

Expand Down
18 changes: 14 additions & 4 deletions planet_scope/green_city/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ grand_parent: Planet
layout: script
permalink: /planet_scope/green_city/
nav_exclude: true
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/green_city/script.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---


## Evaluate and visualize

As PlanetScope is commercial data, brought into Sentinel Hub as Bring Your Own Data, direct EO Browser links are not possible due to the personalized data credentials.
The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description of the script

Expand Down
15 changes: 15 additions & 0 deletions planet_scope/ndci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,23 @@ nav_exclude: true
scripts:
- [Visualization, script.js]
- [EO Browser, eob.js]
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/ndci/eob.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---

The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description

The normalized difference chlorophyll index, abbreviated NDCI, is defined as
Expand Down
15 changes: 15 additions & 0 deletions planet_scope/ndre/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,23 @@ nav_exclude: true
scripts:
- [Visualization, script.js]
- [EO Browser, eob.js]
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/ndre/eob.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---

The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description

The normalized difference red edge index, abbreviated NDRE, is defined as
Expand Down
17 changes: 14 additions & 3 deletions planet_scope/ndvi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,22 @@ nav_exclude: true
scripts:
- [Visualization, script.js]
- [EO Browser, eob.js]
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/ndvi/eob.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---

## Evaluate and visualize

As PlanetScope is commercial data, brought into Sentinel Hub as Bring Your Own Data, direct EO Browser links are not possible due to the personalized data credentials.
The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description

Expand Down
18 changes: 14 additions & 4 deletions planet_scope/ndwi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ scripts:
- eob.js
- - Raw Values
- raw.js
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/ndwi/eob.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---


## Evaluate and visualize

As PlanetScope is commercial data, brought into Sentinel Hub as Bring Your Own Data, direct EO Browser links are not possible due to the personalized data credentials.
The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description of the script

Expand Down
18 changes: 14 additions & 4 deletions planet_scope/true_color/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ grand_parent: Planet
layout: script
permalink: /planet_scope/true_color/
nav_exclude: true
examples:
- zoom: '16'
lat: '-32.10671'
lng: '116.00704'
datasetId: 'ccb1f8f0-e5bf-4c31-afe5-d8803bcbde2a'
fromTime: '2023-04-19T00:00:00.000Z'
toTime: '2023-04-19T23:59:59.999Z'
platform:
- EOB
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/planet_scope/true_color/script.js
additionalQueryParams:
- - themeId
- PLANET_SANDBOX
---


## Evaluate and visualize

As PlanetScope is commercial data, brought into Sentinel Hub as Bring Your Own Data, direct EO Browser links are not possible due to the personalized data credentials.
The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see [here](https://community.planet.com/sentinel-hub-81/access-new-tools-for-analyzing-your-planet-data-on-sentinel-hub-732) on how to get access.

## General description

Expand Down

0 comments on commit 2264802

Please sign in to comment.