wradlib.vis.plot_scan_strategy¶
- wradlib.vis.plot_scan_strategy(ranges, elevs, sitecoords, beamwidth=1.0, vert_res=500.0, maxalt=10000.0, range_res=None, maxrange=None, units='m', terrain=None, az=0.0, cg=False, ax=111, cmap='tab10')¶
Plot the vertical scanning strategy.
- Parameters:
ranges (sequence of
floatornumpy.ndarray) – sequence or array of float rangeselevs (sequence of
floatornumpy.ndarray) – elevation anglessitecoords (sequence of
tupleornumpy.ndarray) – radar site coordinates (longitude, latitude, altitude)beamwidth (
float) – 3dB width of the radar beam, defaults to 1.0 deg.vert_res (
float) – Vertical resolution in [m].maxalt (
float) – Maximum altitude in [m].range_res (
float) – Horizontal resolution in [m].maxrange (
float) – Maximum range in [m].units (
str) – Units to plot in, can be ‘m’ or ‘km’. Defaults to ‘m’.terrain (
boolornumpy.ndarray) – If True, downloads srtm data and add orography for given az.az (
float) – Used to specify azimuth for terrain plots.cg (
bool) – If True, plot in curvelinear grid, defaults to False (cartesian grid).ax (
matplotlib.axes.Axesormatplotlib.gridspec.SubplotSpec) – If matplotlib Axes object is given, the scan strategy will be plotted into this axes object. If matplotlib grid definition is given (nrows/ncols/plotnumber), axis are created in the specified place. Defaults to ‘111’, only one subplot/axis.cmap (
str) – matplotlib colormap string.
- Returns:
ax (
matplotlib.axes.Axes) – matplotlib Axes or curvelinear Axes (matplotlib toolkit axisartist Axes object, r-theta-grid) depending on keyword argument cg.