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