Skip to content
Discussion options

You must be logged in to vote

I think I would try it like this - but also I had expected that the "kerchunk" backend is supposed to set things up correctly.

ds = xr.open_dataset(
        "reference://",
        engine="zarr",
        backend_kwargs={
            "storage_options": {
                "fo": url,
                "target_protocol": "https",
                "target_options": {"headers": {"x-api-key": API_KEY}, "timeout": 120, "asynchronous": False},
                "remote_protocol": "https",
                "remote_options": {"headers": {"x-api-key": API_KEY}, "timeout": 120, "asynchronous": True},
                "asynchronous": True,
            },
            "consolidated": False,
        },
        ch…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@robertbridgart
Comment options

@martindurant
Comment options

@robertbridgart
Comment options

@robertbridgart
Comment options

Comment options

You must be logged in to vote
2 replies
@robertbridgart
Comment options

@martindurant
Comment options

Answer selected by robertbridgart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants