wradlib.vpr.volcoords_from_polar#

wradlib.vpr.volcoords_from_polar(site, elevs, azimuths, ranges, *, crs=None)[source]#

Create Cartesian coordinates for regular polar volumes

Parameters
  • site (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

  • crs (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.