In the function bm_extract we can remove cells with specified quality flags (vector) using the parameter quality_flag_rm.
Once you migrate to terra, using a weighted average considering quality flag values for each cell would be nice. For instance, add more weight to high-quality cells if the selected function is mean. Or even better have access to other bands different than variable to write personalized functions cell-by-cell like weighted average.
In the function
bm_extract
we can remove cells with specified quality flags (vector) using the parameterquality_flag_rm
. Once you migrate toterra
, using a weighted average considering quality flag values for each cell would be nice. For instance, add more weight to high-quality cells if the selected function ismean
. Or even better have access to other bands different thanvariable
to write personalized functions cell-by-cell like weighted average.Best