-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
intake_xarray
does not lazy read metadata from files
#137
Comments
What do you think the right behaviour should be? Catalog entries are special in Intake (<2.0) in that they get their subentries eagerly, so they have access to the file metadata immediately, is this what you are getting at? |
I expected that I think it would be better to have "lazy" metadata reading from files because there also could be some useful information... What do you think? |
The Actually, xarray is lazy by default, so even if you do a |
The entries powered by
intake_xarray
driver does not lazy read metadata from the files.As you see from the output, the metadata from the entry powered by
intake
driver has the field from thezarr
file:However, after reading the files, the metadata is complete:
Output:
OS: Windows 10
python 3.11.5
intake 0.7.0
intake_xarray 0.7.0
xarray 2023.8.0
zarr 2.16.1
The text was updated successfully, but these errors were encountered: