Closed keewis closed 4 weeks ago
Thanks for doing this @keewis!
I've copied over the docstring of open_dataset
to open_groups
and open_datatree
and changed the code of _datatree_from_backend_datatree
to both copy over _close
and to protect the data against modifications. Which means this should be ready for another round of reviews and possibly merging.
I'm happy to merge this @keewis ?
I'm happy to merge this @keewis ?
me too! Feel free to go ahead and merge.
In trying to support
chunks
the way we do foropen_dataset
I had to add a lot of parameters to the top-levelopen_datatree
andopen_groups
functions.I'm also still looking for the equivalent of
_protect_dataset_variables_inplace
, and finally_dataset_from_backend_dataset
has been the place to callset_close
, while #9651 pushed this to the backends for datatree.No tests yet, and I also want to improve the docstrings before merging.
(the chunked array methods –
chunk
,load
,compute
, andpersist
– should be a separate PR)cc @TomNicholas, @shoyer