Closed benbovy closed 5 years ago
This prevents just reusing the input dataset as a base setup for other simulations.
The origin of this issue is that xarray.Dataset.update() doesn't make a copy of the attrs dictionary. See:
xarray.Dataset.update()
attrs
https://github.com/benbovy/xarray-simlab/blob/23567e09a0b5b868de8ed3e5319e76d816a5dfc3/xsimlab/drivers.py#L236
Fixed in #54 and #56.
This prevents just reusing the input dataset as a base setup for other simulations.
The origin of this issue is that
xarray.Dataset.update()
doesn't make a copy of theattrs
dictionary. See:https://github.com/benbovy/xarray-simlab/blob/23567e09a0b5b868de8ed3e5319e76d816a5dfc3/xsimlab/drivers.py#L236