-
Notifications
You must be signed in to change notification settings - Fork 41
Add a .to_node method upstream #191
Comments
pydata/xarray#7418 would close this by adding a |
Hello, I am an Outreachy participant and I would like to contribute to this @TomNicholas's question.
Adding a Assuming that you are using the Python code :
This implementation defines a With this implementation, you can now create a single node Python code:
This will create a single node Similarly, you can create a single node Python code :
This will create a single node |
Hi @utkarsh-chaurasia , thanks for your interest. Your suggestion would work as an implementation of Normally we would then ask that you submit a pull request adding your implementation to the codebase. However in this case the issue requires changing xarray upstream (rather than changing xarray-datatree's code here). Because of that it might just be easier to wait until #7418 is merged. Please look for other issues that you find interesting though! |
I'm not sure this would really be that helpful. |
We should add a to_node method to both dataset and DataArray (would require a name) upstream, as another way of creating a single node DataTree.
The text was updated successfully, but these errors were encountered: