iconarray.backend.grid.add_cell_data#

iconarray.backend.grid.add_cell_data(ds, grid)#

Add clon, clat, clon_bnds, and clat_bnds coordinates from the grid file to the dataset.

These coordinates are required when plotting cell variables.

Parameters:
  • ds (xarray.Dataset) – xarray.Dataset of ICON data.

  • grid (xarray.Dataset) – xarray.Dataset of grid data.

Returns:

merged_ds (xarray.Dataset)

See also

iconarray.backend