@@ -88,7 +88,9 @@ def consolidate_metadata(
88
88
Parameters
89
89
----------
90
90
store : StoreLike
91
- The store-like object whose metadata you wish to consolidate.
91
+ The store-like object whose metadata you wish to consolidate. See the
92
+ [storage documentation in the user guide][user-guide-store-like]
93
+ for a description of all valid StoreLike values.
92
94
path : str, optional
93
95
A path to a group in the store to consolidate at. Only children
94
96
below that group will be consolidated.
@@ -143,7 +145,9 @@ def load(
143
145
Parameters
144
146
----------
145
147
store : StoreLike
146
- Store or path to directory in file system or name of zip file.
148
+ StoreLike object to open. See the
149
+ [storage documentation in the user guide][user-guide-store-like]
150
+ for a description of all valid StoreLike values.
147
151
path : str or None, optional
148
152
The path within the store from which to load.
149
153
@@ -183,7 +187,9 @@ def open(
183
187
Parameters
184
188
----------
185
189
store : StoreLike or None, default=None
186
- Store or path to directory in file system or name of zip file.
190
+ StoreLike object to open. See the
191
+ [storage documentation in the user guide][user-guide-store-like]
192
+ for a description of all valid StoreLike values.
187
193
mode : {'r', 'r+', 'a', 'w', 'w-'}, optional
188
194
Persistence mode: 'r' means read only (must exist); 'r+' means
189
195
read/write (must exist); 'a' means read/write (create if doesn't
@@ -245,7 +251,9 @@ def save(
245
251
Parameters
246
252
----------
247
253
store : StoreLike
248
- Store or path to directory in file system or name of zip file.
254
+ StoreLike object to open. See the
255
+ [storage documentation in the user guide][user-guide-store-like]
256
+ for a description of all valid StoreLike values.
249
257
*args : ndarray
250
258
NumPy arrays with data to save.
251
259
zarr_format : {2, 3, None}, optional
@@ -279,7 +287,9 @@ def save_array(
279
287
Parameters
280
288
----------
281
289
store : StoreLike
282
- Store or path to directory in file system or name of zip file.
290
+ StoreLike object to open. See the
291
+ [storage documentation in the user guide][user-guide-store-like]
292
+ for a description of all valid StoreLike values.
283
293
arr : ndarray
284
294
NumPy array with data to save.
285
295
zarr_format : {2, 3, None}, optional
@@ -322,7 +332,9 @@ def save_group(
322
332
Parameters
323
333
----------
324
334
store : StoreLike
325
- Store or path to directory in file system or name of zip file.
335
+ StoreLike object to open. See the
336
+ [storage documentation in the user guide][user-guide-store-like]
337
+ for a description of all valid StoreLike values.
326
338
*args : ndarray
327
339
NumPy arrays with data to save.
328
340
zarr_format : {2, 3, None}, optional
@@ -413,7 +425,9 @@ def group(
413
425
Parameters
414
426
----------
415
427
store : StoreLike or None, default=None
416
- Store or path to directory in file system or name of zip file.
428
+ StoreLike object to open. See the
429
+ [storage documentation in the user guide][user-guide-store-like]
430
+ for a description of all valid StoreLike values.
417
431
overwrite : bool, optional
418
432
If True, delete any pre-existing data in `store` at `path` before
419
433
creating the group.
@@ -480,17 +494,9 @@ def open_group(
480
494
Parameters
481
495
----------
482
496
store : StoreLike or None, default=None
483
- Store or path to directory in file system or name of zip file.
484
-
485
- Strings are interpreted as paths on the local file system
486
- and used as the ``root`` argument to [zarr.storage.LocalStore][].
487
-
488
- Dictionaries are used as the ``store_dict`` argument in
489
- [zarr.storage.MemoryStore][].
490
-
491
- By default (``store=None``) a new [zarr.storage.MemoryStore][]
492
- is created.
493
-
497
+ StoreLike object to open. See the
498
+ [storage documentation in the user guide][user-guide-store-like]
499
+ for a description of all valid StoreLike values.
494
500
mode : {'r', 'r+', 'a', 'w', 'w-'}, optional
495
501
Persistence mode: 'r' means read only (must exist); 'r+' means
496
502
read/write (must exist); 'a' means read/write (create if doesn't
@@ -505,7 +511,9 @@ def open_group(
505
511
path : str, optional
506
512
Group path within store.
507
513
chunk_store : StoreLike or None, default=None
508
- Store or path to directory in file system or name of zip file.
514
+ Separate storage for chunks. See the
515
+ [storage documentation in the user guide][user-guide-store-like]
516
+ for a description of all valid StoreLike values.
509
517
storage_options : dict
510
518
If using an fsspec URL to create the store, these will be passed to
511
519
the backend implementation. Ignored otherwise.
@@ -570,7 +578,9 @@ def create_group(
570
578
Parameters
571
579
----------
572
580
store : StoreLike
573
- Store or path to directory in file system or name of zip file.
581
+ StoreLike object to open. See the
582
+ [storage documentation in the user guide][user-guide-store-like]
583
+ for a description of all valid StoreLike values.
574
584
path : str, optional
575
585
Group path within store.
576
586
overwrite : bool, optional
@@ -672,7 +682,9 @@ def create(
672
682
Memory layout to be used within each chunk.
673
683
If not specified, the ``array.order`` parameter in the global config will be used.
674
684
store : StoreLike or None, default=None
675
- Store or path to directory in file system or name of zip file.
685
+ StoreLike object to open. See the
686
+ [storage documentation in the user guide][user-guide-store-like]
687
+ for a description of all valid StoreLike values.
676
688
synchronizer : object, optional
677
689
Array synchronizer.
678
690
overwrite : bool, optional
@@ -832,7 +844,9 @@ def create_array(
832
844
Parameters
833
845
----------
834
846
store : StoreLike
835
- Store or path to directory in file system or name of zip file.
847
+ StoreLike object to open. See the
848
+ [storage documentation in the user guide][user-guide-store-like]
849
+ for a description of all valid StoreLike values.
836
850
name : str or None, optional
837
851
The name of the array within the store. If ``name`` is ``None``, the array will be located
838
852
at the root of the store.
@@ -996,7 +1010,9 @@ def from_array(
996
1010
Parameters
997
1011
----------
998
1012
store : StoreLike
999
- Store or path to directory in file system or name of zip file.
1013
+ StoreLike object to open. See the
1014
+ [storage documentation in the user guide][user-guide-store-like]
1015
+ for a description of all valid StoreLike values.
1000
1016
data : Array | array-like
1001
1017
The array to copy.
1002
1018
write_data : bool, default True
@@ -1333,7 +1349,9 @@ def open_array(
1333
1349
Parameters
1334
1350
----------
1335
1351
store : StoreLike
1336
- Store or path to directory in file system or name of zip file.
1352
+ StoreLike object to open. See the
1353
+ [storage documentation in the user guide][user-guide-store-like]
1354
+ for a description of all valid StoreLike values.
1337
1355
zarr_version : {2, 3, None}, optional
1338
1356
The zarr format to use when saving. Deprecated in favor of zarr_format.
1339
1357
zarr_format : {2, 3, None}, optional
0 commit comments