iconarray.backend.grid.get_cell_dim_name#
- iconarray.backend.grid.get_cell_dim_name(ds, grid)#
Get name of dimension in ICON data xarray dataset which identifies the cell dimension.
Compares the length of the cell dimension in the grid dataset and compares with the ICON ouptut dataset, looking for a match. This assumes the dimension name for cells in the grid data is ‘cell’.
- Parameters:
ds (
xarray.Dataset
) – xarray.Dataset of ICON data.grid (
xarray.Dataset
) – xarray.Dataset of grid data.
- Returns:
coord (
str
) – Name of the cell dimension. Defaults to None if not found.
See also
iconarray.backend