qc_sentinel2 {phenofit}R Documentation

Initial weights for sentinel2 according to SCL band

Description

SCL Value Description Quality weight
1 Saturated or defective Bad wminw_{min}
2 Dark Area Pixels Bad wminw_{min}
3 Cloud Shadows Bad wminw_{min}
4 Vegetation Good wmaxw_{max}
5 Bare Soils Good wmaxw_{max}
6 Water Good wmaxw_{max}
7 Clouds Low Probability / Unclassified Good wmaxw_{max}
8 Clouds Medium Probability Marginal wmidw_{mid}
9 Clouds High Probability Bad wmidw_{mid}
10 Cirrus Good wmidw_{mid}
11 Snow / Ice Bad wmidw_{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]