-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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! |
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: