Tom Nicholas

Results 182 issues of Tom Nicholas

Arithmetic involving one `DataTree` and one `Dataset` is supposed to be node-wise, i.e. the operation involving the single `Dataset` is automatically applied to every node of the tree individually, returning...

bug

What would help me enormously with [writing documentation](https://github.com/xarray-contrib/datatree/issues/61) would be a killer example datatree, which I could open and use to demonstrate use of all types of methods. Just like...

documentation
help wanted

`xr.Dataset` implements a bunch of dask-specific methods, such as `__dask_tokenize__` and `__dask_graph__`. It also obviously has public methods that involve dask such as `.compute()` and `.load()`. In `DataTree` on the...

enhancement
help wanted

Intended to close part (2) of #80, but currently raises a RecursionError. > Allow path-like access to DataArray objects stored in other nodes via __getitem__ - [x] Closes #80 -...

enhancement

Uses xarray's `AttrAccessMixin` to add attribute-like access to child nodes, data and attrs. Also adds all those items + methods to ipython autocomplete. - [x] Tests added - [x] Passes...

enhancement

In xarray it's possible to automatically close a dataset after opening by opening it using a context manager. From [the documentation](https://docs.xarray.dev/en/stable/user-guide/io.html#netcdf): > Datasets have a [Dataset.close()](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.close.html#xarray.Dataset.close) method to close the...

enhancement
IO

xarray.Dataset has a ginormous API, and eventually the entire thing should also be available on `DataTree`. However we probably still need to test this copied API, because the majority of...

testing

Inspired by [this example](https://stackstac.readthedocs.io/en/latest/basic.html) in the stackstac documentation ```python lowcloud = stack[stack["eo:cloud_cover"] < 20] ``` we should ensure that you can index a datatree with another (isomorphic) datatree, so that...

bug
enhancement

So far we've only really implemented dictionary-like `get/setitem` syntax, but we should add a variety of other ways to select nodes from a tree too. Here are some suggestions: ```python...

enhancement
help wanted
design question

This tree has a dimension present in some nodes and not others (the "people" dimension). ``` DataTree('root', parent=None) │ Dimensions: (people: 2) │ Coordinates: │ * people (people)

enhancement