Skip to content

Commit 30041fb

Browse files
layout of kndvi MD corrected, minimal cosmetics in kndvi script
1 parent fa9ac9f commit 30041fb

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

sentinel-2/kndvi/README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
---
2-
layout: kNDVI with Cloud Masking
2+
title: kernel NDVI
33
parent: Sentinel-2
4-
title: Contribute
54
grand_parent: Sentinel
65
layout: script
76
permalink: /sentinel-2/kndvi/
87
nav_exclude: true
9-
nav_order: 99
10-
has_children: false
11-
permalink: /contribute/
8+
scripts:
9+
- - Visualization, EO Browser, Raw Values
10+
- script.js
11+
examples:
12+
evalscripturl: https://custom-scripts.sentinel-hub.com/custom-scripts/sentinel-2/kndvi/script.js
1213
---
1314

1415
# Evaluate and Visualize
1516

1617
- Interlaken, Switzerland (to show green vegetation, bare rock, snow and ice, and clouds together with kNDVI)
1718
- [EO Browser](https://sentinelshare.page.link/kD7v)
18-
- [Copernicus Browser](https://tinyurl.com/chkndvi)
19+
- [Copernicus Browser](https://link.dataspace.copernicus.eu/dzpu)
1920
---
2021

2122
## Description of the Script

sentinel-2/kndvi/script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ function evaluatePixel(sample) {
5858
default: imgVals.concat(sample.dataMask),
5959
index: [is_clouds ? null : kndvi],
6060
eobrowserStats: [is_clouds ? null : kndvi],
61-
dataMask: [sample.dataMask]
61+
dataMask: [sample.dataMask],
6262
}
6363
}

0 commit comments

Comments
 (0)