compass.ocean.tests.sphere_transport.process_output.make_convergence_arrays¶
- compass.ocean.tests.sphere_transport.process_output.make_convergence_arrays(tcdata)[source]¶
Collects data from a set of test case runs at different resolutions to use for convergence data analysis and plotting.
- Parameters
tcdata (dict) – a dictionary whose keys are the resolution values for a
sphere_transport
test case- Returns
dlambda (list) – an array of increasing appx. mesh sizes
linf1 (list) – the linf error of tracer1 for each resolution/mesh size pair
linf2 (list) – the linf error of tracer2 for each resolution/mesh size pair
linf3 (list) – the linf error of tracer3 for each resolution/mesh size pair
l21 (list) – the l2 error of tracer1 for each resolution/mesh size pair
l22 (list) – the l2 error of tracer2 for each resolution/mesh size pair
l23 (list) – the l2 error of tracer3 for each resolution/mesh size pair
filament (list) – the “filament norm” for tracer2 at t=T/2. See Sec. 3.3 of LSPT2012.