wradlib.vpr.volcoords_from_polar

wradlib.vpr.volcoords_from_polar(sitecoords, elevs, azimuths, ranges, proj=None)

Create Cartesian coordinates for regular polar volumes

Parameters:
  • sitecoords (sequence of three floats indicating the radar position) – (longitude in decimal degrees, latitude in decimal degrees, height a.s.l. in meters)
  • elevs (sequence of elevation angles) –
  • azimuths (sequence of azimuth angles) –
  • ranges (sequence of ranges) –
  • proj (osr spatial reference object) – GDAL OSR Spatial Reference Object describing projection
Returns:

output (numpy.ndarray) – (num volume bins, 3)

Examples

See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.