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

Inconsistent behaviour in opening datasets #1

Open
Dash0219 opened this issue Jan 23, 2024 · 0 comments
Open

Inconsistent behaviour in opening datasets #1

Dash0219 opened this issue Jan 23, 2024 · 0 comments

Comments

@Dash0219
Copy link

A SSLCertVerificationError is raised when datasets are opened from VSCode (for some users) but not on Google Colab.
Adding a few lines of code fixes the issue.

Screenshot 2024-01-23 at 12 53 07 Screenshot 2024-01-23 at 12 50 37 Screenshot 2024-01-23 at 12 50 47

Example fix:

hrv = xr.open_dataset(
    "zip:///::https://huggingface.co/datasets/climatehackai/climatehackai-2023/resolve/main/satellite-hrv/2020/7.zarr.zip",
    engine="zarr",
    consolidated=True,
    backend_kwargs={
        "storage_options": {
            "https": {
                "ssl": False
            }
        }
    }
)

hrv
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

No branches or pull requests

1 participant