xdggs.decode

Contents

xdggs.decode#

xdggs.decode(ds)#

decode grid parameters and create a DGGS index

Parameters:

ds (xarray.Dataset) – The input dataset. Must contain a “cell_ids” coordinate with at least the attributes grid_name and resolution.

Returns:

decoded (xarray.Dataset) – The input dataset with a DGGS index on the "cell_ids" coordinate.