diff --git a/sentinel-2/sentinel-2.md b/sentinel-2/sentinel-2.md index 4c4f358c..291b64f0 100644 --- a/sentinel-2/sentinel-2.md +++ b/sentinel-2/sentinel-2.md @@ -157,6 +157,7 @@ Dedicated to supplying data for [Copernicus services](https://www.esa.int/Our_Ac - [Total Ozone Column over Antarctica snow](/sentinel-2/ozone_column_over_snow) - [BRDF normalisation](/sentinel-2/brdf) - [Simple Panchromatic](/sentinel-2/simple_panchromatic) - Create a simple greyscale visualization by averaging the 10m true color and NIR bands + - [Magic Eyes](/sentinel-2/magic_eyes) - A composite optimized for visual interpretation of land cover #### Scripts including machine learning techniques (eo-learn) diff --git a/sentinel-2/simple_panchromatic/index.md b/sentinel-2/simple_panchromatic/index.md index 75caafcb..26523c52 100644 --- a/sentinel-2/simple_panchromatic/index.md +++ b/sentinel-2/simple_panchromatic/index.md @@ -10,8 +10,8 @@ scripts: - script_mosaics.js examples: - zoom: '14' - lat: '42.76703' - lng: '36.823' + lat: '-1.29954' + lng: '36.85158' datasetId: S2L2A fromTime: '2025-03-03T00:00:00.000Z' toTime: '2025-03-03T23:59:59.999Z' diff --git a/sentinel-2/simple_panchromatic/script_mosaics.js b/sentinel-2/simple_panchromatic/script_mosaics.js index 8d9a0a07..d9b9814a 100644 --- a/sentinel-2/simple_panchromatic/script_mosaics.js +++ b/sentinel-2/simple_panchromatic/script_mosaics.js @@ -5,7 +5,7 @@ function setup() { return { - input: ["B01", "B02", "B03", "B08", "dataMask"], + input: ["B02", "B03", "B04", "B08", "dataMask"], output: { bands: 4 } }; } @@ -14,7 +14,7 @@ function setup() { function evaluatePixel(sample) { // Calculate the mean of the bands - let pan = (sample.B01 + sample.B02 + sample.B03 + sample.B08) / 4; + let pan = (sample.B02 + sample.B03 + sample.B04 + sample.B08) / 4; return [gain * pan, gain * pan, gain * pan, sample.dataMask]; } \ No newline at end of file