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

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]

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

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

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