class pyart.graph.RadarMapDisplay(radar, shift=(0.0, 0.0), grid_projection=None)[source]#

A display object for creating plots on a geographic map from data in a Radar object.

This class is still a work in progress. Some functionality may not work correctly. Please report any problems to the Py-ART GitHub Issue Tracker.

  • radar (Radar) – Radar object to use for creating plots.

  • shift ((float, float)) – Shifts in km to offset the calculated x and y locations.

  • plots (list) – List of plots created.

  • plot_vars (list) – List of fields plotted, order matches plot list.

  • cbs (list) – List of colorbars created.

  • origin (str) – ‘Origin’ or ‘Radar’.

  • shift ((float, float)) – Shift in meters.

  • loc ((float, float)) – Latitude and Longitude of radar in degrees.

  • fields (dict) – Radar fields.

  • scan_type (str) – Scan type.

  • ranges (array) – Gate ranges in meters.

  • azimuths (array) – Azimuth angle in degrees.

  • elevations (array) – Elevations in degrees.

  • fixed_angle (array) – Scan angle in degrees.

  • grid_projection ( – AzimuthalEquidistant cartopy projection centered on radar. Used to transform points into map projection.

Initialize the object.

generate_az_rhi_title(field, azimuth)

Generate a title for a ray plot.

generate_filename(field, sweep[, ext, ...])

Generate a filename for a plot.

generate_ray_title(field, ray)

Generate a title for a ray plot.

generate_title(field, sweep[, ...])

Generate a title for a plot.


Generate a title for a VPT plot.


Label the xaxis with the default label for r units.


Label the yaxis with the default label for rays.


Label the yaxis with the default label for rays.


Label the xaxis with the default label for x units.

label_yaxis_field(field[, ax])

Label the yaxis with the default label for a field units.


Label the yaxis with the default label for y units.


Label the yaxis with the default label for z units.

plot(field[, sweep])

Create a plot appropiate for the radar.

plot_azimuth_to_rhi(field, target_azimuth[, ...])

Plot pseudo-RHI scan by extracting the vertical field associated with the given azimuth.

plot_colorbar([mappable, field, label, ...])

Plot a colorbar.

plot_cr_raster([field, target_range, ax, ...])

Plot a corner reflector raster scan

plot_cross_hair(size[, npts, ax])

Plot a cross-hair on a ppi plot.

plot_grid_lines([ax, col, ls])

Plot grid lines.

plot_label(label, location[, symbol, ...])

Plot a single symbol and label at a given location.

plot_labels(labels, locations[, symbols, ...])

Plot symbols and labels at given locations.

plot_line_geo(line_lons, line_lats[, line_style])

Plot a line segments on the current map given values in lat and lon.

plot_line_xy(line_x, line_y[, color, line_style])

Plot a line segments on the current map given radar x, y values.

plot_point(lon, lat[, symbol, label_text, ...])

Plot a point on the current map.

plot_ppi(field[, sweep, mask_tuple, vmin, ...])

Plot a PPI.

plot_ppi_map(field[, sweep, mask_tuple, ...])

Plot a PPI volume sweep onto a geographic map.

plot_range_ring(range_ring_location_km[, ...])

Plot a single range ring on the map.

plot_range_rings(range_rings[, ax, col, ls, lw])

Plot a series of range rings.

plot_ray(field, ray[, format_str, ...])

Plot a single ray.

plot_rhi(field[, sweep, mask_tuple, vmin, ...])

Plot a RHI.

plot_vpt(field[, mask_tuple, vmin, vmax, ...])

Plot a VPT scan.

set_aspect_ratio([aspect_ratio, ax])

Set the aspect ratio for plot area.

set_limits([xlim, ylim, ax])

Set the display limits.