register

function of dascore.xarray.accessor source

register()-> ‘None’

Register the .dc accessor on xarray.DataArray.

Registering what is already registered only warns about replacing it, so a second call is skipped; anything else holding the name is left alone to warn, since that is a collision worth hearing about.