compass.ocean.tests.isomip_plus.viz.plot.TimeSeriesPlotter

class compass.ocean.tests.isomip_plus.viz.plot.TimeSeriesPlotter(inFolder='.', outFolder='plots', expt='Ocean0', dsMesh=None, ds=None)[source]

A plotter object to hold on to some info needed for plotting time series from ISOMIP+ simulation results

Variables
  • inFolder (str) – The folder with simulation results

  • outFolder (str) – The folder where images will be written

  • expt ({'Ocean0', 'Ocean1', 'Ocean2'}) – The name of the experiment

__init__(inFolder='.', outFolder='plots', expt='Ocean0', dsMesh=None, ds=None)[source]

Create a plotter object to hold on to some info needed for plotting time series from ISOMIP+ simulation results

Parameters
  • inFolder (str, optional) – The folder with simulation results

  • outFolder (str, optional) – The folder where images will be written

  • expt ({'Ocean0', 'Ocean1', 'Ocean2'}, optional) – The name of the experiment

  • dsMesh (xarray.Dataset, optional) – The MPAS mesh

  • ds (xarray.Dataset, optional) – The time series output

Methods

__init__([inFolder, outFolder, expt, dsMesh, ds])

Create a plotter object to hold on to some info needed for plotting time series from ISOMIP+ simulation results

plot_melt_time_series([sshMax])

Plot a series of image for each of several variables related to melt at the ice shelf-ocean interface: mean melt rate, total melt flux, mean thermal driving, mean friction velocity

plot_time_series(da, nameInTitle, prefix[, ...])