Skip to content

Inconsistent behaviour in opening datasets #1

Description

@Dash0219

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions