@@ -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
@@ -247,7 +251,9 @@ def save(
247
251
Parameters
248
252
----------
249
253
store : StoreLike
250
- 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.
251
257
*args : ndarray
252
258
NumPy arrays with data to save.
253
259
zarr_format : {2, 3, None}, optional
@@ -281,7 +287,9 @@ def save_array(
281
287
Parameters
282
288
----------
283
289
store : StoreLike
284
- 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.
285
293
arr : ndarray
286
294
NumPy array with data to save.
287
295
zarr_format : {2, 3, None}, optional
@@ -324,7 +332,9 @@ def save_group(
324
332
Parameters
325
333
----------
326
334
store : StoreLike
327
- 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.
328
338
*args : ndarray
329
339
NumPy arrays with data to save.
330
340
zarr_format : {2, 3, None}, optional
@@ -415,7 +425,9 @@ def group(
415
425
Parameters
416
426
----------
417
427
store : StoreLike or None, default=None
418
- 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.
419
431
overwrite : bool, optional
420
432
If True, delete any pre-existing data in `store` at `path` before
421
433
creating the group.
@@ -482,17 +494,9 @@ def open_group(
482
494
Parameters
483
495
----------
484
496
store : StoreLike or None, default=None
485
- Store or path to directory in file system or name of zip file.
486
-
487
- Strings are interpreted as paths on the local file system
488
- and used as the ``root`` argument to [zarr.storage.LocalStore][].
489
-
490
- Dictionaries are used as the ``store_dict`` argument in
491
- [zarr.storage.MemoryStore][].
492
-
493
- By default (``store=None``) a new [zarr.storage.MemoryStore][]
494
- is created.
495
-
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.
496
500
mode : {'r', 'r+', 'a', 'w', 'w-'}, optional
497
501
Persistence mode: 'r' means read only (must exist); 'r+' means
498
502
read/write (must exist); 'a' means read/write (create if doesn't
@@ -507,7 +511,9 @@ def open_group(
507
511
path : str, optional
508
512
Group path within store.
509
513
chunk_store : StoreLike or None, default=None
510
- 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.
511
517
storage_options : dict
512
518
If using an fsspec URL to create the store, these will be passed to
513
519
the backend implementation. Ignored otherwise.
@@ -572,7 +578,9 @@ def create_group(
572
578
Parameters
573
579
----------
574
580
store : StoreLike
575
- 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.
576
584
path : str, optional
577
585
Group path within store.
578
586
overwrite : bool, optional
@@ -674,7 +682,9 @@ def create(
674
682
Memory layout to be used within each chunk.
675
683
If not specified, the ``array.order`` parameter in the global config will be used.
676
684
store : StoreLike or None, default=None
677
- 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.
678
688
synchronizer : object, optional
679
689
Array synchronizer.
680
690
overwrite : bool, optional
@@ -834,7 +844,9 @@ def create_array(
834
844
Parameters
835
845
----------
836
846
store : StoreLike
837
- 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.
838
850
name : str or None, optional
839
851
The name of the array within the store. If ``name`` is ``None``, the array will be located
840
852
at the root of the store.
@@ -998,7 +1010,9 @@ def from_array(
998
1010
Parameters
999
1011
----------
1000
1012
store : StoreLike
1001
- 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.
1002
1016
data : Array | array-like
1003
1017
The array to copy.
1004
1018
write_data : bool, default True
@@ -1335,7 +1349,9 @@ def open_array(
1335
1349
Parameters
1336
1350
----------
1337
1351
store : StoreLike
1338
- 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.
1339
1355
zarr_version : {2, 3, None}, optional
1340
1356
The zarr format to use when saving. Deprecated in favor of zarr_format.
1341
1357
zarr_format : {2, 3, None}, optional
0 commit comments