pyart.graph.RadarMapDisplayBasemap#

class pyart.graph.RadarMapDisplayBasemap(radar, shift=(0.0, 0.0))[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.

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

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

Variables:
  • 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.

  • proj (Proj) – Object for performing cartographic transformations specific to the geographic map plotted.

  • basemap (Basemap) – Last plotted basemap, None when no basemap has been plotted.

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_vpt_title(field)

Generate a title for a VPT plot.

generate_xsection_title(field, points)

Generate a title for a ray plot.

label_xaxis_r([ax])

Label the xaxis with the default label for r units.

label_xaxis_rays([ax])

Label the yaxis with the default label for rays.

label_xaxis_time([ax])

Label the yaxis with the default label for rays.

label_xaxis_x([ax])

Label the xaxis with the default label for x units.

label_xaxis_xsection([ax])

Label the xaxis with the default label for cross-section units.

label_yaxis_field(field[, ax])

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

label_yaxis_xsection([ax])

Label the yaxis with the default label for cross-section units.

label_yaxis_y([ax])

Label the yaxis with the default label for y units.

label_yaxis_z([ax])

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[, 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.

plot_xsection(field, ref_points[, step, ...])

Plot a cross-section of radar data interpolated through arbitrary coordinates

set_aspect_ratio([aspect_ratio, ax])

Set the aspect ratio for plot area.

set_limits([xlim, ylim, ax])

Set the display limits.