polaris.ocean.convergence.analysis.ConvergenceAnalysis.plot_convergence

ConvergenceAnalysis.plot_convergence(variable_name, title, zidx)[source]

Compute the error norm for each resolution and produce a convergence plot

Parameters:
  • variable_name (str) – The name of the variable as given in the output netcdf file

  • title (str) – The name of the variable to use in the plot title

  • zidx (int) – The z-index to use for variables that have an nVertLevels dimension, which should be None for variables that don’t