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.
Best
In the function
bm_extractwe can remove cells with specified quality flags (vector) using the parameterquality_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 ismean. Or even better have access to other bands different thanvariableto write personalized functions cell-by-cell like weighted average.Best