wradlib.util.UtilMethods

Contents

wradlib.util.UtilMethods#

class wradlib.util.UtilMethods(obj)[source]#

wradlib xarray SubAccessor methods for Util.

aspect()

Compute an aspect ratio that equalizes physical axis lengths.

bbox()

Get the overall bounding box from a set of radar bin coordinates.

core_dims()

Determine core dimensions for use with xarray.apply_ufunc.

crop(trg[, pad])

Crop a 2D DataArray to the spatial extent of another DataArray, optionally extending the crop by a given number of grid cells.

derivate(**kwargs)

Calculates derivative of data using window of length winlen.

despeckle(**kwargs)

Remove floating pixels in between NaNs in a multidimensional array.

dim0()

Return major dimension (azimuth/elevation) of xarray object for FM301 or None.

filter_window_cartesian(wsize, fun, scale, ...)

Apply a filter of square window size fsize on a given cartesian image img.

filter_window_polar(wsize, fun, rscale, *[, ...])

Apply a filter of an approximated square window of half size fsize on a given polar image img.

half_power_radius(bwhalf)

Half-power radius.

texture()

Compute the texture of data.