wradlib.vpr.volcoords_from_polar#
- wradlib.vpr.volcoords_from_polar(sitecoords, elevs, azimuths, ranges, proj=None)[source]#
Create Cartesian coordinates for regular polar volumes
- Parameters:
sitecoords (
tuple
) – sequence of three floats indicating the radar position (longitude in decimal degrees, latitude in decimal degrees, height a.s.l. in meters)elevs (sequence) – sequence of elevation angles
azimuths (sequence) – sequence of azimuth angles
ranges (sequence) – sequence of ranges
proj (
osgeo.osr.SpatialReference
) – GDAL OSR Spatial Reference Object describing projection
- Returns:
output (
numpy.ndarray
) – Array of shape (num volume bins, 3)
Examples
See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.