zarr-developers / VirtualiZarr

Create virtual Zarr stores from archival data files using xarray syntax
https://virtualizarr.readthedocs.io/en/stable/api.html
Apache License 2.0
124 stars 24 forks source link

Internal refactor to separate reading and writing concerns #231

Closed TomNicholas closed 3 months ago

TomNicholas commented 3 months ago

This PR reorganizes basically the whole repo without actually changing any behaviour or public API. I've literally just copied and pasted code, created, renamed and moved files, and edited imports to match. The point is to split up various things that should be thought of separately:

These changes should make the structure of the codebase clearer, and especially the structure of the relationship to kerchunk code. i.e. it should now be clearer that kerchunk is one amongst many virtualizarr readers, and one amongst many virtualizarr writers, but not actually required for either.