pysteps.utils#
Implementation of miscellaneous utility functions.
pysteps.utils.interface#
Interface for the utils module.
|
Return a callable function for the utility method corresponding to the given name. |
pysteps.utils.arrays#
Utility methods for creating and processing arrays.
Compute a 2D coordinate array, where the origin is at the center. |
pysteps.utils.cleansing#
Data cleansing routines for pysteps.
|
Decluster a set of sparse data points by aggregating, that is, taking the median value of all values lying within a certain distance (i.e., a cluster). |
|
Detect outliers in a (multivariate and georeferenced) dataset. |
pysteps.utils.conversion#
Methods for converting physical units.
|
Convert to rain rate [mm/h]. |
|
Convert to rain depth [mm]. |
|
Convert to reflectivity [dBZ]. |
pysteps.utils.dimension#
Functions to manipulate array dimensions.
|
Aggregate fields along a given direction. |
|
Aggregate fields in time. |
|
Upscale fields in space. |
|
Clip the field domain by geographical coordinates. |
|
Either pad or crop a field to obtain a square domain. |
pysteps.utils.fft#
Interface module for different FFT methods.
|
|
|
|
|
pysteps.utils.images#
Image processing routines for pysteps.
|
Filter out small scale noise on the image by applying a binary morphological opening, that is, erosion followed by dilation. |
pysteps.utils.interpolate#
Interpolation routines for pysteps.
|
Inverse distance weighting interpolation of a sparse (multivariate) array. |
|
Radial basis function interpolation of a sparse (multivariate) array. |
pysteps.utils.spectral#
Utility methods for processing and analyzing precipitation fields in the Fourier domain.
|
Compute the correlation coefficient between two-dimensional arrays in the spectral domain. |
|
Compute the mean value of a two-dimensional array in the spectral domain. |
|
Compute radially averaged power spectral density (RAPSD) from the given 2D input field. |
Function to remove the rain/no-rain discontinuity. |
|
|
Compute the standard deviation of a two-dimensional array in the spectral domain. |
pysteps.utils.tapering#
Implementations of window functions for computing of the FFT.
|
Compute window function for a two-dimensional area defined by a non-rectangular mask. |
|
Compute window function for a two-dimensional rectangular region. |
pysteps.utils.transformation#
Methods for transforming data values.
|
The one-parameter Box-Cox transformation. |
|
Methods to transform precipitation intensities to/from dB units. |
|
The normal quantile transformation as in Bogner et al (2012). |
|
Square-root transform. |
pysteps.utils.reprojection#
Reprojection tools to reproject grids and adjust the grid cell size of an input field to a destination field.
|
Reproject precipitation fields to the domain of another precipitation field. |