@@ -11,8 +11,9 @@ Zarr-Python 3, stores must implement the abstract store API from
11
11
12
12
## Implicit Store Creation
13
13
14
- In most cases, it is not required to create a ` Store ` object explicitly. Passing a string (or other StoreLike value LINK)
15
- to Zarr's top level API will result in the store being created automatically:
14
+ In most cases, it is not required to create a ` Store ` object explicitly. Passing a string
15
+ (or other [ StoreLike value] ( #storelike ) ) to Zarr's top level API will result in the store
16
+ being created automatically:
16
17
17
18
``` python exec="true" session="storage" source="above" result="ansi"
18
19
import zarr
@@ -43,21 +44,18 @@ print(group)
43
44
44
45
` StoreLike ` values can be:
45
46
46
- - a ` Path ` or string indicating a :ref:` local store <user-guide-local-store> ` location e.g.:
47
-
47
+ - a ` Path ` or string indicating a [ local store] ( #local-store ) location e.g.:
48
48
``` python exec="true" session="storage" source="above" result="ansi"
49
49
group = zarr.open_group(store = ' data/foo/bar' )
50
50
print (group)
51
51
```
52
-
53
52
``` python exec="true" session="storage" source="above" result="ansi"
54
53
from pathlib import Path
55
54
group = zarr.open_group(store = Path(' data/foo/bar' ))
56
55
print (group)
57
56
```
58
57
59
- - an FSSpec URI string, indicating a :ref:` remote store <user-guide-remote-store> ` location e.g.:
60
-
58
+ - an FSSpec URI string, indicating a [ remote store] ( #remote-store ) location e.g.:
61
59
``` python exec="true" session="storage" source="above" result="ansi"
62
60
group = zarr.open_group(
63
61
store = ' s3://noaa-nwm-retro-v2-zarr-pds' ,
@@ -67,8 +65,7 @@ print(group)
67
65
print (group)
68
66
```
69
67
70
- - an empty dictionary or None, which will create a new :ref:` memory store <user-guide-memory-store> ` :
71
-
68
+ - an empty dictionary or None, which will create a new [ memory store] ( #memory-store ) :
72
69
``` python exec="true" session="storage" source="above" result="ansi"
73
70
group = zarr.create_group(store = {})
74
71
print (group)
@@ -78,13 +75,13 @@ print(group)
78
75
print (group)
79
76
```
80
77
81
- - a dictionary of string to :class: ` Buffer < zarr.abc.buffer.Buffer> ` mappings, which
82
- will create a :ref: ` memory store <user-guide- memory-store> ` .
78
+ - a dictionary of string to [ ` Buffer ` ] [ zarr.abc.buffer.Buffer ] mappings, which
79
+ will create a [ memory store] ( # memory-store) .
83
80
84
81
- an FSSpec [ FSMap object] ( https://filesystem-spec.readthedocs.io/en/latest/api.html#fsspec.FSMap ) ,
85
- which will create an :ref: ` FsspecStore <user-guide- remote-store> ` .
82
+ which will create an [ FsspecStore] ( # remote-store) .
86
83
87
- - a :class: ` Store < zarr.abc.store.Store> ` or :class: ` StorePath < zarr.storage.StorePath> ` -
84
+ - a [ ` Store ` ] [ zarr.abc.store.Store ] or [ ` StorePath ` ] [ zarr.storage.StorePath ] -
88
85
see explicit store creation below.
89
86
90
87
## Explicit Store Creation
0 commit comments