compass.ocean.tests.isomip_plus.viz.plot.MoviePlotter.plot_3d_field_top_bot_section

MoviePlotter.plot_3d_field_top_bot_section(da, nameInTitle, prefix, units=None, vmin=None, vmax=None, cmap=None)[source]

Plot a series of images of a given 3D variable showing the value at the top (sea surface or ice-ocean interface), sea floor and in an x-z section

Parameters
  • da (xarray.DataArray) – The data array of time series to plot

  • nameInTitle (str) – The name of the variable to use in the title and the progress bar

  • prefix (str) – The nae of the variable to use in the subfolder and file prefix

  • units (str, optional) – The units of the variable to be included in the title

  • vmin (float, optional) – The minimum and maximum values for the colorbar

  • vmax (float, optional) – The minimum and maximum values for the colorbar

  • cmap (Colormap or str, optional) – A color map to plot