home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1018681263

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/6174#issuecomment-1018681263 https://api.github.com/repos/pydata/xarray/issues/6174 1018681263 IC_kwDOAMm_X848t9ev 35968931 2022-01-21T16:48:42Z 2022-01-21T16:48:42Z MEMBER

I don't think our project would add DataTree as a new dependency just for this as long as we have a very easy and viable solution of ourselves.

FYI the plan with DataTree is to eventually integrate the work upstream into xarray, so no new dependency would be required at that point. That might take a while however.

If this would be communicated more transparently in the docstrings, it would bring us a big step closer to the solution of this issue

That's good at least! Do you have any suggestions for where the docs should be improved? PRs are of course always welcome too :grin:

one problem left: Getting a full list of all groups contained in a NetCDF4 file so that we can read them all in.

I would insist that xarray should be able to do this. Maybe we need a open_datasets_from_groups function for that, or rather a function list_datasets. But it should somehow be solvable within the xarray API without requiring a two-year debate about the management and representation of hierarchical data structures.

I agree, and would be open to a function like this (even if eventually DataTree renders it redundant). It's definitely an omission on our part that xarray still doesn't provide an easy way to do this - I've found myself wanting to easily see all the groups multiple times. However, my understanding is that it's slightly tricky to implement, though suggestions/corrections are welcome!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1108138101
Powered by Datasette · Queries took 0.711ms · About: xarray-datasette