Skip to content
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 DataTree class for Tree-like Hierarchical Structure #200

Open
rtbs-dev opened this issue Apr 25, 2023 · 1 comment
Open

Add DataTree class for Tree-like Hierarchical Structure #200

rtbs-dev opened this issue Apr 25, 2023 · 1 comment

Comments

@rtbs-dev
Copy link

From datatree library, which might get merged upstream. This would be incredibly beneficial to have, as someone that wants to make dataset interop specs (generator classes), and these dataclasses would fit the bill perfectly once the datatree functionality is possible.

I realize it's a bit early, perhaps, since it's not merged upstream, but I was sitting considering writing something like a typed datatree class generator myself and thought I'd reach out and see if there was interest in having such a thing live here instead.

@etienneschalk
Copy link

Hi,

I think this is a good idea indeed.

Static typing for datatrees would be the ultimate "input validation". What really lack when using xarray is validation, auto-suggestions. Imagine opening a NetCDF file or Zarr folder, and being suggested with variable names to access. Would definitely be a huge time-saver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants