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.

tolerancefloat (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). If inplace=True, the dataset will be returned masked with mask.

Return type:

xr.DataArray