Skip to content

Commit d329cee

Browse files
committed
fix doctests after blosc upgrade
1 parent 92713c2 commit d329cee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/tutorial.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ property. E.g.::
394394
Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0)
395395
Store type : zarr.storage.DictStore
396396
No. bytes : 8000000 (7.6M)
397-
No. bytes stored : 33460 (32.7K)
398-
Storage ratio : 239.1
397+
No. bytes stored : 33240 (32.5K)
398+
Storage ratio : 240.7
399399
Chunks initialized : 10/10
400400

401401
>>> baz.info
@@ -409,8 +409,8 @@ property. E.g.::
409409
Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0)
410410
Store type : zarr.storage.DictStore
411411
No. bytes : 4000000 (3.8M)
412-
No. bytes stored : 20443 (20.0K)
413-
Storage ratio : 195.7
412+
No. bytes stored : 23943 (23.4K)
413+
Storage ratio : 167.1
414414
Chunks initialized : 100/100
415415

416416
Groups also have the :func:`zarr.hierarchy.Group.tree` method, e.g.::
@@ -1143,8 +1143,8 @@ ratios, depending on the correlation structure within the data. E.g.::
11431143
Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0)
11441144
Store type : builtins.dict
11451145
No. bytes : 400000000 (381.5M)
1146-
No. bytes stored : 10502688 (10.0M)
1147-
Storage ratio : 38.1
1146+
No. bytes stored : 6696010 (6.4M)
1147+
Storage ratio : 59.7
11481148
Chunks initialized : 100/100
11491149
>>> f = zarr.array(a, chunks=(1000, 1000), order='F')
11501150
>>> f.info
@@ -1157,8 +1157,8 @@ ratios, depending on the correlation structure within the data. E.g.::
11571157
Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0)
11581158
Store type : builtins.dict
11591159
No. bytes : 400000000 (381.5M)
1160-
No. bytes stored : 5530511 (5.3M)
1161-
Storage ratio : 72.3
1160+
No. bytes stored : 4684636 (4.5M)
1161+
Storage ratio : 85.4
11621162
Chunks initialized : 100/100
11631163

11641164
In the above example, Fortran order gives a better compression ratio. This is an

0 commit comments

Comments
 (0)