wradlib.dp.texture#
- wradlib.dp.texture(data)[source]#
- wradlib.dp.texture(obj: DataArray)
- wradlib.dp.texture(obj: Dataset)
Compute the texture of data.
Compute the texture of the data by comparing values with a 3x3 neighborhood (based on [Gourley et al., 2007]). NaN values in the original array have NaN textures.
- Parameters:
data (
numpy.ndarray
) – multidimensional array with shape (…, number of beams, number of range bins)- Returns:
texture (
numpy.ndarray
) – array of textures with the same shape as data