compass.landice.tests.mesh_convergence.halfar.analysis.Analysis.rmse

Analysis.rmse(resolution)[source]

Compute the RMSE for a given resolution

Parameters:

resolution (int) – The resolution of the (uniform) mesh in km

Returns:

  • rms_error (float) – The root-mean-squared error

  • ncells (int) – The number of cells in the mesh