zarr-developers / VirtualiZarr

Create virtual Zarr stores from archival data files using xarray syntax
https://virtualizarr.readthedocs.io/en/latest/
Apache License 2.0
68 stars 10 forks source link

Warn on index creation #170

Closed TomNicholas closed 5 days ago

TomNicholas commented 6 days ago

Currently passing indexes=None to open_virtual_dataset isn't properly supported. But this is also the default (to give behaviour most similar to xr.open_dataset). Whilst all the documentation examples use the recommended indexes={}, this PR actually adds a UserWarning telling you to use indexes={}.