mpas_tools.landice.visualization.plot_grounding_lines

mpas_tools.landice.visualization.plot_grounding_lines(data_paths, ax, times=[0], cmap='plasma_r', norm=None, mesh_file=None, triangles=None)[source]

Plot MALI grounding line at arbitrary number of times.

Parameters:
  • data_paths (str or list of str) – Path(s) to MALI file. May contain MALI mesh fields, or you can use the mesh_file argument.

  • ax (matplotlib.axes._axes.Axes) – Axes on which to plot variable

  • time (list of ints, optional) – Time indices at which to plot variable.

  • cmap (str, optional) – Name of matplotlib colormap for multiple time levels of variable

  • mesh_file (str, optional) – Optional file used to specify mesh variables. If not provided, mesh variables will be read from data_path

  • triangles (matplotlib.tri._triangulation.Triangulation, optional) – Triangles to use for plotting. If not specified, they will be calculated.

Returns:

gl_plots (list of matplotlib.tri._tricontour.TriContourSet) – List of grounding line contour objects