Generate 3-D polygon vertices directly from spherical coordinates (r, phi, theta).
This is an alternative to
centroid_to_polyvertwhich does not use centroids, but generates the polygon vertices by simply connecting the corners of the radar bins.
Both azimuth and range arrays are assumed to be equidistant and to contain only unique values. For further information refer to the documentation of
Currently only works for PPI.
- Keyword Arguments
osgeo.osr.SpatialReference) – Destination Spatial Reference System (Projection). Defaults to wgs84 (epsg 4326).
float) – adjustment factor to account for the refractivity gradient that affects radar beam propagation. In principle this is wavelength- dependend. The default of 4/3 is a good approximation for most weather radar wavelengths.