wradlib.trafo.TrafoMethods#
- class wradlib.trafo.TrafoMethods(obj)[source]#
Bases:
XarrayMethods
wradlib xarray SubAccessor methods for DualPol.
- decibel()[source]#
Calculates the decibel representation of the input values
\(dBZ=10 \cdot \log_{10} z\)
- Parameters:
x (
float
ornumpy.ndarray
) – (must not be <= 0.)
Examples
>>> from wradlib.trafo import decibel >>> print(decibel(100.)) 20.0
- idecibel()[source]#
Calculates the inverse of input decibel values
\(z=10^{x \over 10}\)
- Parameters:
x (
float
ornumpy.ndarray
)
Examples
>>> from wradlib.trafo import idecibel >>> print(idecibel(10.)) 10.0
- r_to_depth(interval)[source]#
Computes rainfall depth (mm) from rainfall intensity (mm/h)
- Parameters:
x (
float
ornumpy.ndarray
) – rainfall intensity in mm/hinterval (
float
) – time interval (s) the values of x represent
- Returns:
output (
float
ornumpy.ndarray
) – rainfall depth (mm)
|
Calculates the decibel representation of the input values |
|
Calculates the inverse of input decibel values |
|
Computes rainfall depth (mm) from rainfall intensity (mm/h) |