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 – Coordinate Reference System (CRS). Can be one of:
A
pyproj.crs.CoordinateSysteminstanceA
cartopy.crs.CRSinstanceA
osgeo.osr.SpatialReferenceinstanceA type accepted by
pyproj.crs.CRS.from_user_input(e.g., EPSG code, PROJ string, dictionary, WKT, or any object with a to_wkt() method)
- Returns:
output (
numpy.ndarray) – Array of shape (num volume bins, 3)
Examples
See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.