xproj.register_accessor

xproj.register_accessor#

xproj.register_accessor(accessor_cls)#

Decorator for registering a geospatial, CRS-dependent Xarray (Dataset and/or DataArray) accessor.

Parameters:

accessor_cls (class) – A Python class that has been decorated with xarray.register_dataset_accessor() and/or xarray.register_dataarray_accessor(). It is important that this decorator is applied on top of those Xarray decorators.