wradlib.util.UtilMethods.texture

wradlib.util.UtilMethods.texture#

UtilMethods.texture()[source]#

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:

obj (xarray.DataArray) – DataArray

Returns:

texture (xarray.DataArray) – DataArray