@@ -23,7 +23,7 @@ group = zarr.create_group(store='data/foo/bar')
23
23
print (group)
24
24
```
25
25
26
- ``` python
26
+ ``` python exec="true" session="storage" source="above" result="ansi"
27
27
# Implicitly create a read-only FsspecStore
28
28
# Note: requires s3fs to be installed
29
29
group = zarr.open_group(
@@ -59,7 +59,7 @@ print(group)
59
59
```
60
60
61
61
- an FSSpec URI string, indicating a [ remote store] ( #remote-store ) location:
62
- ``` python
62
+ ``` python exec="true" session="storage" source="above" result="ansi"
63
63
# Note: requires s3fs to be installed
64
64
group = zarr.open_group(
65
65
store = ' s3://noaa-nwm-retro-v2-zarr-pds' ,
@@ -126,7 +126,7 @@ such as cloud object storage (e.g. AWS S3, Google Cloud Storage, Azure Blob Stor
126
126
that implements the [ AbstractFileSystem] ( https://filesystem-spec.readthedocs.io/en/stable/api.html#fsspec.spec.AbstractFileSystem )
127
127
API. ` storage_options ` can be used to configure the fsspec backend:
128
128
129
- ``` python
129
+ ``` python exec="true" session="storage" source="above" result="ansi"
130
130
# Note: requires s3fs to be installed
131
131
store = zarr.storage.FsspecStore.from_url(
132
132
' s3://noaa-nwm-retro-v2-zarr-pds' ,
@@ -140,7 +140,7 @@ print(group)
140
140
The type of filesystem (e.g. S3, https, etc..) is inferred from the scheme of the url (e.g. s3 for "** s3** ://noaa-nwm-retro-v2-zarr-pds").
141
141
In case a specific filesystem is needed, one can explicitly create it. For example to create a S3 filesystem:
142
142
143
- ``` python
143
+ ``` python exec="true" session="storage" source="above" result="ansi"
144
144
# Note: requires s3fs to be installed
145
145
import fsspec
146
146
fs = fsspec.filesystem(
0 commit comments