Skip to content

Commit 9e9bc06

Browse files
committed
Fix example code
1 parent d08c192 commit 9e9bc06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/user-guide/storage.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ API. ``storage_options`` can be used to configure the fsspec backend.:
8989

9090
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").
9191
In case a specific filesystem is needed, one can explicitly create it. For example to create a S3 filesystem:
92+
93+
>>> import fsspec
9294
>>> fs = fsspec.filesystem(
9395
... 's3', anon=True, asynchronous=True,
94-
... client_kwargs={'endpoint_url': "https://s3.example-site.org"}
96+
... client_kwargs={'endpoint_url': "https://noaa-nwm-retro-v2-zarr-pds.s3.amazonaws.com"}
9597
... )
9698
>>> store = zarr.storage.FsspecStore(fs)
9799

0 commit comments

Comments
 (0)