@@ -73,11 +73,11 @@ def create(shape, chunks=True, dtype=None, compressor='default',
73
73
.. versionadded:: 2.8
74
74
75
75
write_empty_chunks : bool, optional
76
- If True, all chunks will be stored regardless of their contents. If
77
- False (default) , each chunk is compared to the array's fill value prior
78
- to storing. If a chunk is uniformly equal to the fill value, then that
79
- chunk is not be stored, and the store entry for that chunk's key is
80
- deleted. This setting enables sparser storage, as only chunks with
76
+ If True (default) , all chunks will be stored regardless of their
77
+ contents. If False , each chunk is compared to the array's fill value
78
+ prior to storing. If a chunk is uniformly equal to the fill value, then
79
+ that chunk is not be stored, and the store entry for that chunk's key
80
+ is deleted. This setting enables sparser storage, as only chunks with
81
81
non-fill-value data are stored, at the expense of overhead associated
82
82
with checking the data of each chunk.
83
83
.. versionadded:: 2.11
@@ -391,7 +391,7 @@ def open_array(
391
391
chunk_store = None ,
392
392
storage_options = None ,
393
393
partial_decompress = False ,
394
- write_empty_chunks = False ,
394
+ write_empty_chunks = True ,
395
395
** kwargs
396
396
):
397
397
"""Open an array using file-mode-like semantics.
@@ -447,11 +447,11 @@ def open_array(
447
447
is Blosc, when getting data from the array chunks will be partially
448
448
read and decompressed when possible.
449
449
write_empty_chunks : bool, optional
450
- If True, all chunks will be stored regardless of their contents. If
451
- False (default) , each chunk is compared to the array's fill value prior
452
- to storing. If a chunk is uniformly equal to the fill value, then that
453
- chunk is not be stored, and the store entry for that chunk's key is
454
- deleted. This setting enables sparser storage, as only chunks with
450
+ If True (default) , all chunks will be stored regardless of their
451
+ contents. If False , each chunk is compared to the array's fill value
452
+ prior to storing. If a chunk is uniformly equal to the fill value, then
453
+ that chunk is not be stored, and the store entry for that chunk's key
454
+ is deleted. This setting enables sparser storage, as only chunks with
455
455
non-fill-value data are stored, at the expense of overhead associated
456
456
with checking the data of each chunk.
457
457
.. versionadded:: 2.11
0 commit comments