pyorc.Velocimetry.mask.count#
- Velocimetry.mask.count(tolerance=0.33)#
Mask locations with a too low amount of valid velocities in time, measured by fraction with
tolerance.Usually applied after having applied several other filters.
- Parameters:
tolerance (float (0-1)) – tolerance for fractional amount of valid velocities after all filters. If less than the fraction is available, the entire velocity will be set to missings.
- Returns:
mask – mask applicable to input dataset with
ds.velocimetry.filter(mask). Ifinplace=True, the dataset will be returned masked withmask.- Return type:
xr.DataArray