Skip to content

Support for groups #84

@TomNicholas

Description

@TomNicholas

We should support generating references from files containing multiple groups in the same way that xr.open_dataset and datatree.open_datatree work.

So we should add a new open_virtual_datatree function, and a new (optional) group kwarg to open_virtual_dataset.

This can be done right now using the datatree package (as an optional dependency imported inside open_virtual_datatree) but once that gets merged into xarray main (which is happening right now) we can get rid of that dependency.

See https://github.com/TomNicholas/VirtualiZarr/issues/78#issuecomment-2059737479 and #11.

cc @sharkinsspatial

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions