pyrad.graph.plot_surface_raw#

pyrad.graph.plot_surface_raw(grid, field_name, level, prdcfg, fname_list, titl=None, alpha=None, ax=None, fig=None, display=None, save_fig=True)[source]#

plots a surface from gridded data within reprojecting the data into a map

Parameters:
  • grid (Grid object) – object containing the gridded data to plot

  • field_name (str) – name of the radar field to plot

  • level (int) – level index

  • prdcfg (dict) – dictionary containing the product configuration

  • fname_list (list of str) – list of names of the files where to store the plot

  • titl (str) – Plot title

  • alpha (float or None) – Set the alpha transparency of the grid plot. Useful for overplotting radar over other datasets.

  • ax (Axis) – Axis to plot on. if fig is None a new axis will be created

  • fig (Figure) – Figure to add the colorbar to. If none a new figure will be created

  • display (GridMapDisplay object) – The display used

  • save_fig (bool) – if true save the figure. If false it does not close the plot and returns the handle to the figure

Returns:

  • fname_list (list of str or)

  • fig, ax, display (tupple) – list of names of the saved plots or handle of the figure an axes