Skip to content
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

Correct ls() for parquet backed nested reference sets #1645

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

martindurant
Copy link
Member

Fixes fsspec/kerchunk#474

@sreesanjeevkg , can you test, please?

@sreesanjeevkg
Copy link

@martindurant , how do I install the changes from your branch for testing ?

martindurant:ref_nested_ls_parq

@martindurant
Copy link
Member Author

I think

> pip install git+https://github.com/martindurant/filesystem_spec.git@ref_nested_ls_parq

@sreesanjeevkg
Copy link

Hey Martin, I am able to access the file from parquet. Thank you for your help and quick turnaround.

Screenshot 2024-07-08 at 12 37 30 PM

@martindurant
Copy link
Member Author

A simpler line to open the data:

ds = xr.open_dataset("combined.parq", engine="kerchunk", chunks="auto", group="Solar_Zenith")

@martindurant martindurant merged commit 71f4907 into fsspec:master Jul 8, 2024
11 checks passed
@martindurant martindurant deleted the ref_nested_ls_parq branch July 8, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError when using Parquet-converted JSON reference for NetCDF4 access over HTTP
2 participants