compass.landice.tests.mismipplus.setup_mesh.center_trough

compass.landice.tests.mismipplus.setup_mesh.center_trough(ds_mesh)[source]

Shift the origin so that the bed trough is centered about the Y-axis and the X-axis is shifted all the way to the left.

Parameters:

ds_mesh (xarray.Datatset) – The mesh to be shifted