50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


phenofit (version 0.3.9)

qc_sentinel2: Initial weights for sentinel2 according to SCL band

Description

SCL ValueDescriptionQualityweight
1Saturated or defectiveBadwmin
2Dark Area PixelsBadwmin
3Cloud ShadowsBadwmin
4VegetationGoodwmax
5Bare SoilsGoodwmax
6WaterGoodwmax
7Clouds Low Probability / UnclassifiedGoodwmax
8Clouds Medium ProbabilityMarginalwmid
9Clouds High ProbabilityBadwmid
10CirrusGoodwmid
11Snow / IceBadwmid

Usage

qc_sentinel2(SCL, wmin = 0.2, wmid = 0.5, wmax = 1)

Arguments

SCL

quality control variable for sentinel2

wmin

Double, minimum weigth (i.e. weight of snow, ice and cloud).

wmid

Dougle, middle weight, i.e. marginal

wmax

Double, maximum weight, i.e. good

References

https://developers.google.com/earth-engine/datasets/catalog/COPERNICUS_S2_SR

Examples

Run this code
qc_sentinel2(1:11)

Run the code above in your browser using DataLab