compass.ocean.tests.sphere_transport.process_output.print_error_conv_table

compass.ocean.tests.sphere_transport.process_output.print_error_conv_table(tcname, resvals, dlambda, l2, l2rates, linf, linfrates)[source]

Print error values and approximate convergence rates to the console as a table.

Parameters
  • tcname (str) – Name of test case

  • resvals (list) – resolution values such as 240, for QU240

  • dlambda (numpy.ndarray) – approximate mesh size

  • l2 (numpy.ndarray) – l2 error, computed by compute_error_from_output_ncfile() for tracer1

  • l2rates (numpy.ndarray) – appx. convergence rates for l2, computed by compute_convergence_rates()

  • linf (numpy.ndarray) – linf error, computed by compute_error_from_output_ncfile() for tracer1

  • linfrates (numpy.ndarray) – appx. convergence rates for linf, computed by compute_convergence_rates()