accessor
The .dc accessor: DASCore’s patch methods on an xarray DataArray.
Importing this module registers the accessor. patch_to_xarray and spool_to_xarray import it themselves, so anything DASCore hands back already carries it; a DataArray from anywhere else needs import dascore.xarray.accessor first, since registering it means importing xarray, which DASCore does not do on its own.
Functions
| Name | Description |
|---|---|
| register |
Register the .dc accessor on xarray.DataArray.
|