pysteps.utils.interface.get_method

pysteps.utils.interface.get_method(name, **kwargs)

Return a callable function for the utility method corresponding to the given name.

Arrays methods:

Name Description
centred_coord compute a 2D coordinate array

Cleansing methods:

Name Description
decluster decluster a set of sparse data points
detect_outliers detect outliers in a dataset

Conversion methods:

Name Description
mm/h or rainrate convert to rain rate [mm/h]
mm or raindepth convert to rain depth [mm]
dbz or reflectivity convert to reflectivity [dBZ]

Dimension methods:

Name Description
accumulate aggregate fields in time
clip resize the field domain by geographical coordinates
square either pad or crop the data to get a square domain
upscale upscale the field

FFT methods (wrappers to different implementations):

Name Description
numpy numpy.fft
scipy scipy.fftpack
pyfftw pyfftw.interfaces.numpy_fft

Image processing methods:

Name Description
ShiTomasi Shi-Tomasi corner detection on an image
morph_opening filter small scale noise on an image

Interpolation methods:

Name Description
rbfinterp2d fast kernel interpolation of a (multivariate) array over a 2D grid using a radial basis function

Additional keyword arguments are passed to the initializer of the FFT methods, see utils.fft.

Spectral methods:

Name Description
rapsd Compute radially averaged power spectral density
rm_rdisc remove the rain / no-rain discontinuity

Tapering methods:

Name Description
compute_mask_window_function Compute window function for a two-dimensional area defined by a non-rectangular mask.
compute_window_function Compute window function for a two-dimensional rectangular area.

Transformation methods:

Name Description
boxcox or box-cox one-parameter Box-Cox transform
db or decibel transform to units of decibel
log log transform
nqt Normal Quantile Transform
sqrt square-root transform