Skip to content

Commit 7e7bf6c

Browse files
committed
restore s3 tests
1 parent be33a9a commit 7e7bf6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/user-guide/storage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ group = zarr.create_group(store='data/foo/bar')
2323
print(group)
2424
```
2525

26-
```python
26+
```python exec="true" session="storage" source="above" result="ansi"
2727
# Implicitly create a read-only FsspecStore
2828
# Note: requires s3fs to be installed
2929
group = zarr.open_group(
@@ -59,7 +59,7 @@ print(group)
5959
```
6060

6161
- an FSSpec URI string, indicating a [remote store](#remote-store) location:
62-
```python
62+
```python exec="true" session="storage" source="above" result="ansi"
6363
# Note: requires s3fs to be installed
6464
group = zarr.open_group(
6565
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
126126
that implements the [AbstractFileSystem](https://filesystem-spec.readthedocs.io/en/stable/api.html#fsspec.spec.AbstractFileSystem)
127127
API. `storage_options` can be used to configure the fsspec backend:
128128

129-
```python
129+
```python exec="true" session="storage" source="above" result="ansi"
130130
# Note: requires s3fs to be installed
131131
store = zarr.storage.FsspecStore.from_url(
132132
's3://noaa-nwm-retro-v2-zarr-pds',
@@ -140,7 +140,7 @@ print(group)
140140
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").
141141
In case a specific filesystem is needed, one can explicitly create it. For example to create a S3 filesystem:
142142

143-
```python
143+
```python exec="true" session="storage" source="above" result="ansi"
144144
# Note: requires s3fs to be installed
145145
import fsspec
146146
fs = fsspec.filesystem(

0 commit comments

Comments
 (0)