hdmf-dev / hdmf-zarr

Zarr I/O backend for HDMF
https://hdmf-zarr.readthedocs.io/
Other
7 stars 6 forks source link

[Feature]: Add `NWBZarrIO.read_nwb` method #225

Closed oruebel closed 2 weeks ago

oruebel commented 2 weeks ago

What would you like to see added to HDMF-ZARR?

Add a static method NWBZarrIO.read_nwb() which would accept: 1) local path, 2) S3 path, or 3) an open Zarr store and return the corresponding NWBFile object.

This may also require update to ZarrIO.can_read to handle S3 path's properly.

Is your feature request related to a problem?

This is directly related to https://github.com/NeurodataWithoutBorders/pynwb/issues/1974 with the goal to add a read_nwb convenience function.

What solution would you like?

See above

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

oruebel commented 2 weeks ago

I'll take a stab at this