For users
apply_ufunc
For developers/contributors
Community
IndexVariable.
to_index_variable
Return this variable as an xarray.IndexVariable