Draft: Force copy in to_xarray
Copies if not already done by units conversion. Checked by np.may_share_memory().
On top of !217 (merged) (discussion there).
Has quite some runtime implications.
to_xarray
to_xarray before:
to_xarray after:
to_xarray without memory check:
Push/pull
Push/pull before:
Push/pull after:
Push/pull without memory check:
Edited by Martin Lange