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 withxarray.register_dataset_accessor()and/orxarray.register_dataarray_accessor(). It is important that this decorator is applied on top of those Xarray decorators.