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')[source]#

Plot the vertical scanning strategy.

Parameters:
  • ranges (sequence of float or numpy.ndarray) – sequence or array of float ranges

  • elevs (sequence of float or numpy.ndarray) – elevation angles

  • sitecoords (sequence of tuple or numpy.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 (bool or numpy.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.Axes or matplotlib.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.