24.12.2013 Views

wradlib Documentation - Bitbucket

wradlib Documentation - Bitbucket

wradlib Documentation - Bitbucket

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>wradlib</strong> <strong>Documentation</strong>, Release 0.1.1<br />

3.3.3 <strong>wradlib</strong>.trafo.idecibel<br />

<strong>wradlib</strong>.trafo.idecibel(x)<br />

Calculates the inverse of input decibel values 10.**(x/10.)<br />

Parameters x : a number or an array<br />

3.3.4 <strong>wradlib</strong>.trafo.r2depth<br />

<strong>wradlib</strong>.trafo.r2depth(x, interval)<br />

Computes rainfall depth (mm) from rainfall intensity (mm/h)<br />

Parameters x : float or array of float<br />

rainfall intensity in mm/h<br />

interval : number<br />

time interval (s) the values of x represent<br />

Returns output : float or array of float<br />

rainfall depth (mm)<br />

3.4 Z-R Conversions<br />

Module zr takes care of transforming reflectivity into rainfall rates and vice versa<br />

z2r<br />

r2z<br />

z2rEnhanced<br />

Conversion from reflectivities to rain rates.<br />

Calculates reflectivity from rain rates using<br />

Calculates rainrates from radar reflectivities using the enhanced<br />

3.4.1 <strong>wradlib</strong>.zr.z2r<br />

<strong>wradlib</strong>.zr.z2r(z, a=200.0, b=1.6)<br />

Conversion from reflectivities to rain rates.<br />

Calculates rain rates from radar reflectivities using a power law Z/R relationship Z = a*R**b<br />

Parameters z : a float or an array of floats<br />

Corresponds to reflectivity Z in mm**6/m**3<br />

a, b : Parameters of the Z/R relationship<br />

Standard values according to Marshall-Palmer are a=200., b=1.6 The German Weather<br />

Service uses a=256 and b=1.42 instead of the Marshall-Palmer defaults.<br />

Returns output : a float or an array of floats<br />

rainfall intensity in mm/h<br />

3.4.2 <strong>wradlib</strong>.zr.r2z<br />

<strong>wradlib</strong>.zr.r2z(r, a=200.0, b=1.6)<br />

Calculates reflectivity from rain rates using a power law Z/R relationship Z = a*R**b<br />

40 Chapter 3. Library Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!