def METHOD_NAME(mesh, otherMesh):
    """
    Translates the coordinate system of the planar MPAS mesh by shifting the
    origin to the center of the domain described in a separate mesh
    Parameters
    ----------
    mesh : xarray.Dataset
        A planar mesh to translate
    otherMesh : xarray.Dataset
        Another planar mesh whose center will become the center of this mesh.
        Uses xCell,yCell or, if those fields do not exist, will secondly try
        x1,y1 fields
    """
    mpasXcenter, mpasYcenter = get_center(mesh)
    if 'xCell' in otherMesh and 'yCell' in otherMesh:
        dataXcenter, dataYcenter = get_center(otherMesh, xVar='xCell',
                                              yVar='yCell')
    elif 'x1' in otherMesh and 'y1' in otherMesh:
        dataXcenter, dataYcenter = get_center(otherMesh, xVar='x1', yVar='y1')
    else:
        raise ValueError('reference mesh has neither xCell/yCell nor  x1/y1 '
                         'fields.')
    translate(mesh, dataXcenter-mpasXcenter, dataYcenter-mpasYcenter)