pyart.graph.radar_display.RadarDisplay

class pyart.graph.radar_display.RadarDisplay(radar, shift=(0.0, 0.0))[source]

A display object for creating plots from data in a radar object.

Parameters :

radar : Radar

Radar object to use for creating plots.

shift : (float, float)

Shifts in km to offset the calulcated x and y locations.

Attributes

plots (list) List of plots created.
plot_vars (list) List of fields plotted, order matches plot list.
cbs (list) List of colorbars created.
radar_name (str) Name of radar.
origin (str) ‘Origin’ or ‘Radar’.
shift ((float, float)) Shift in meters.
x, y, z (array) Cartesian location of a sweep in meters.
loc ((float, float)) Latitude and Longitude of radar in degrees.
time_begin (datetime) Beginning time of first radar scan.
starts (array) Starting ray index for each tilt.
ends (array) Ending ray index for each tilt.
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.

Methods

generate_filename(field, tilt[, ext]) Generate a filename for a plot.
generate_ray_title(field, ray) Generate a title for a ray plot.
generate_title(field, tilt) Generate a title for a plot.
label_xaxis_r([ax]) Label the xaxis with the default label for r units.
label_xaxis_x([ax]) 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_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_colorbar([mappable, field, label, cax, fig]) Plot a colorbar.
plot_cross_hair(size[, npts, ax]) Plot a cross-hair on a ppi plot.
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_ppi(field, tilt[, mask_tuple, vmin, ...]) Plot a PPI.
plot_range_ring(range_ring_location_km[, ...]) Plot a single range ring.
plot_range_rings(range_rings[, ax]) Plot a series of range rings.
plot_ray(field, ray[, format_str, ...]) Plot a single ray.
plot_rhi(field, tilt[, mask_tuple, vmin, ...]) Plot a RHI.
set_limits([xlim, ylim, ax]) Set the display limits.

Private methods

__init__(radar[, shift]) Initialize the object.
_generate_colorbar_label(standard_name, units) Generate and return a label for a colorbar.
_generate_field_name(field) Return a nice field name for a particular field.
_get_colorbar_label(field) Return a colorbar label for a given field.
_get_data(field, tilt, mask_tuple) Retrieve and return data from a plot function.
_get_ray_data(field, ray, mask_tuple) Retrieve and return ray data from a plot function.
_get_x_y(field, tilt) Retrieve and return x and y coordinate in km.
_get_x_y_z(field, tilt) Retrieve and return x, y, and z coordinate in km.
_label_axes_ppi(axis_labels, ax) Set the x and y axis labels for a PPI plot.
_label_axes_ray(axis_labels, field, ax) Set the x and y axis labels for a ray plot.
_label_axes_rhi(axis_labels, ax) Set the x and y axis labels for a RHI plot.
_parse_ax(ax) Parse and return ax parameter.
_parse_ax_fig(ax, fig) Parse and return ax and fig parameters.
_parse_vmin_vmax(field, vmin, vmax) Parse and return vmin and vmax parameters.
_set_ray_title(field, ray, title, ax) Set the figure title for a ray plot using a default title.
_set_title(field, tilt, title, ax) Set the figure title using a default title.

Previous topic

pyart.graph.plot_rsl.RslDisplay._set_title

Next topic

pyart.graph.radar_display.RadarDisplay.generate_filename

This Page