Skip to content

Commit 820f798

Browse files
committed
[DEBUG]
1 parent ce619fc commit 820f798

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gempy/modules/serialization/save_load.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def model_to_binary(model: GeoModel) -> bytes:
7171
compressed_binary_grid = zlib.compress(model.grid.grid_binary, level=6)
7272

7373
import hashlib
74+
print("len raw bytes:", len(model.grid.grid_binary))
75+
7476
print("raw bytes hash:", hashlib.sha256(model.grid.grid_binary).hexdigest())
7577
print("compressed length:", len(compressed_binary_grid))
7678
print("zlib version:", zlib.ZLIB_VERSION)

0 commit comments

Comments
 (0)