Closed bdestombe closed 11 months ago
In the latest version of the dev-branch set_dds_time does not alter the original model Dataset anymore. So I think this is already fixed.
I can confirm the original input dataset is not modified. A new dataset is returned containing a "time" coordinate and data variables "steady", "nstp" and "tsmult".
If this is also working for you @bdestombe, we can close this issue I think.
Thanks guys. I cannot reproduce it anymore..
Most of the other functionality returns a Dataset that can be used to update ds, however the set_ds_time function in dims/time.py is one of the few that changes ds inplace.