Skip to content
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
9509c05
add empty release notes
TomNicholas Oct 24, 2025
4214d39
Merge branch 'main' of https://github.com/TomNicholas/VirtualiZarr
TomNicholas Oct 28, 2025
a44956c
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Jan 24, 2026
f6dc640
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Jan 24, 2026
3e413e2
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Jan 25, 2026
169fcf8
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Jan 30, 2026
a6d5a76
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Feb 1, 2026
54e8312
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Feb 1, 2026
affb88e
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Feb 1, 2026
9641ccc
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 9, 2026
3cb3ef7
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 9, 2026
26de805
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 10, 2026
bc88fd1
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 10, 2026
2bd0284
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 11, 2026
bd6fe88
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 11, 2026
6d5fb39
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 12, 2026
95c2eeb
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 16, 2026
35c00e7
Merge branch 'main' of https://github.com/zarr-developers/VirtualiZarr
TomNicholas Mar 17, 2026
26ef018
add R2 config to the examples
TomNicholas Mar 19, 2026
488718f
Merge branch 'main' into r2-docs
TomNicholas Mar 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ that can access your data. Available ObjectStores are described in the [obstore
from obspec_utils.registry import ObjectStoreRegistry
from obstore.store import from_url


from virtualizarr import open_virtual_dataset, open_virtual_mfdataset
from virtualizarr.parsers import HDFParser

Expand All @@ -71,6 +70,35 @@ that can access your data. Available ObjectStores are described in the [obstore

```

=== "R2"

```python

import xarray as xr
from obstore.store import S3Store
from obspec_utils.registry import ObjectStoreRegistry

from virtualizarr import open_virtual_dataset, open_virtual_mfdataset
from virtualizarr.parsers import HDFParser

endpoint = "https://f0b62eebfbdde1133378bfe3958325f6.r2.cloudflarestorage.com"
access_key_id = "<access_key_id>"
secret_access_key = "<secret_access_key>"
path = "<path_to_files>"
scheme = "s3://"
bucket_name = "<bucket_name>"
bucket = f"{scheme}{bucket_name}"

# create anon s3 store
store = S3Store.from_url(f"{bucket}", endpoint=endpoint, skip_signature=True)

# create s3 store with aws-style credentials
store = S3Store.from_url(f"{bucket}", endpoint=endpoint, access_key_id=access_key_id, secret_access_key=secret_access_key)

registry = ObjectStoreRegistry({f"{bucket}": store})

```

=== "HTTP"

```python
Expand Down
Loading