def concat(objs, dim=None, **kwargs): xref = objs[0].xref.values yref = objs[0].yref.values for obj in objs: obj.coords.update({'xref': xref, 'yref': yref}) return xr.concat(objs, dim=dim, **kwargs)