pyart.graph.GridMapDisplayBasemap#

class pyart.graph.GridMapDisplayBasemap(grid, debug=False)[source]#

A class for creating plots from a grid object on top of a Basemap.

Parameters:
  • grid (Grid) – Grid with data which will be used to create plots.

  • debug (bool) – True to print debugging messages, False to supress them.

Variables:
  • grid (Grid) – Grid object.

  • debug (bool) – True to print debugging messages, False to supressed them.

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

  • mappables (list) – List of ContourSet, etc. which have been plotted, useful when adding colorbars.

  • fields (list) – List of fields which have been plotted.

initalize the object.

generate_filename(field, level[, ext])

Generate a filename for a grid plot.

generate_grid_title(field, level)

Generate a title for a plot.

generate_latitudinal_level_title(field, level)

Generate a title for a plot.

generate_longitudinal_level_title(field, level)

Generate a title for a plot.

get_basemap()

get basemap of the plot

plot_basemap([lat_lines, lon_lines, ...])

Plot a basemap.

plot_colorbar([mappable, orientation, ...])

Plot a colorbar.

plot_crosshairs([lon, lat, line_style, ...])

Plot crosshairs at a given longitude and latitude.

plot_grid(field[, level, vmin, vmax, norm, ...])

Plot the grid onto the current basemap.

plot_latitude_slice(field[, lon, lat])

Plot a slice along a given latitude.

plot_latitudinal_level(field, y_index[, ...])

Plot a slice along a given latitude.

plot_longitude_slice(field[, lon, lat])

Plot a slice along a given longitude.

plot_longitudinal_level(field, x_index[, ...])

Plot a slice along a given longitude.