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