earthkit.geo.grids._regrid.data.xarray.XarrayDataHandler

class earthkit.geo.grids._regrid.data.xarray.XarrayDataHandler

Bases: earthkit.geo.grids._regrid.data.handler.DataHandler

static add_geo_coords(ds, out_geo)

Add the geographical coordinates to the dataset.

backend_from_kwargs(kwargs)
get_backend(backend, **backend_kwargs)
static get_in_grid(ds, in_grid_arg, kwargs)

Get the input grid from the dataset or from the kwargs.

static get_out_geo(grid)

Get the output geography from the out_grid.

static match(values)
regrid(values, in_grid=None, out_grid=None, **kwargs)
static update_attributes(ds, out_geo)