xarray.register_dataset_accessor

xarray.register_dataset_accessor(name)

Register a custom property on xarray.Dataset objects.

Parameters:

name : str

Name under which the accessor should be registered. A warning is issued if this name conflicts with a preexisting attribute.