Skip to content

Commit 1e77827

Browse files
committed
Fix docs for info_complete change
1 parent 69e423e commit 1e77827

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

docs/user-guide/arrays.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ prints additional diagnostics, e.g.::
211211
Serializer : BytesCodec(endian=<Endian.little: 'little'>)
212212
Compressors : (BloscCodec(typesize=4, cname=<BloscCname.zstd: 'zstd'>, clevel=3, shuffle=<BloscShuffle.bitshuffle: 'bitshuffle'>, blocksize=0),)
213213
No. bytes : 400000000 (381.5M)
214-
No. bytes stored : 3558573
214+
No. bytes stored : 3558573 (3.4M)
215215
Storage ratio : 112.4
216216
Chunks Initialized : 100
217217

@@ -285,7 +285,7 @@ Here is an example using a delta filter with the Blosc compressor::
285285
>>> compressors = zarr.codecs.BloscCodec(cname='zstd', clevel=1, shuffle=zarr.codecs.BloscShuffle.shuffle)
286286
>>> data = np.arange(100000000, dtype='int32').reshape(10000, 10000)
287287
>>> z = zarr.create_array(store='data/example-9.zarr', shape=data.shape, dtype=data.dtype, chunks=(1000, 1000), filters=filters, compressors=compressors)
288-
>>> z.info
288+
>>> z.info_complete()
289289
Type : Array
290290
Zarr format : 3
291291
Data type : Int32(endianness='little')
@@ -299,6 +299,9 @@ Here is an example using a delta filter with the Blosc compressor::
299299
Serializer : BytesCodec(endian=<Endian.little: 'little'>)
300300
Compressors : (BloscCodec(typesize=4, cname=<BloscCname.zstd: 'zstd'>, clevel=1, shuffle=<BloscShuffle.shuffle: 'shuffle'>, blocksize=0),)
301301
No. bytes : 400000000 (381.5M)
302+
No. bytes stored : 826
303+
Storage ratio : 484261.5
304+
Chunks Initialized : 0
302305

303306
For more information about available filter codecs, see the `Numcodecs
304307
<https://numcodecs.readthedocs.io/>`_ documentation.
@@ -615,7 +618,7 @@ Sharded arrays can be created by providing the ``shards`` parameter to :func:`za
615618
Serializer : BytesCodec(endian=None)
616619
Compressors : (ZstdCodec(level=0, checksum=False),)
617620
No. bytes : 100000000 (95.4M)
618-
No. bytes stored : 3981473
621+
No. bytes stored : 3981473 (3.8M)
619622
Storage ratio : 25.1
620623
Shards Initialized : 100
621624

docs/user-guide/groups.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ property. E.g.::
139139
Serializer : BytesCodec(endian=<Endian.little: 'little'>)
140140
Compressors : (ZstdCodec(level=0, checksum=False),)
141141
No. bytes : 8000000 (7.6M)
142-
No. bytes stored : 1614
142+
No. bytes stored : 1614 (1.6K)
143143
Storage ratio : 4956.6
144144
Chunks Initialized : 10
145145
>>> baz.info

docs/user-guide/performance.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ ratios, depending on the correlation structure within the data. E.g.::
133133
Serializer : BytesCodec(endian=<Endian.little: 'little'>)
134134
Compressors : (ZstdCodec(level=0, checksum=False),)
135135
No. bytes : 400000000 (381.5M)
136-
No. bytes stored : 342588911
136+
No. bytes stored : 342588911 (326.7M)
137137
Storage ratio : 1.2
138138
Chunks Initialized : 100
139139
>>> with zarr.config.set({'array.order': 'F'}):
@@ -153,7 +153,7 @@ ratios, depending on the correlation structure within the data. E.g.::
153153
Serializer : BytesCodec(endian=<Endian.little: 'little'>)
154154
Compressors : (ZstdCodec(level=0, checksum=False),)
155155
No. bytes : 400000000 (381.5M)
156-
No. bytes stored : 342588911
156+
No. bytes stored : 342588911 (326.7M)
157157
Storage ratio : 1.2
158158
Chunks Initialized : 100
159159

0 commit comments

Comments
 (0)