qc_sentinel2 {phenofit} | R Documentation |
Initial weights for sentinel2 according to SCL band
Description
SCL Value | Description | Quality | weight |
1 | Saturated or defective | Bad | |
2 | Dark Area Pixels | Bad | |
3 | Cloud Shadows | Bad | |
4 | Vegetation | Good | |
5 | Bare Soils | Good | |
6 | Water | Good | |
7 | Clouds Low Probability / Unclassified | Good | |
8 | Clouds Medium Probability | Marginal | |
9 | Clouds High Probability | Bad | |
10 | Cirrus | Good | |
11 | Snow / Ice | Bad | |
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
qc_sentinel2(1:11)
[Package phenofit version 0.3.9 Index]