mpas_tools.translate.translate¶
-
mpas_tools.translate.
translate
(mesh, xOffset=0.0, yOffset=0.0)[source]¶ Translates the coordinate system of the planar MPAS mesh by an arbitrary shift in x and/or y
- Parameters
mesh (xarray.Dataset) – A planar mesh to translate
xOffset (float, optional) – user-specified shift in the x-direction
yOffset (float, optional) – user-specified shift in the y-direction