We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e56824 commit 9845be9Copy full SHA for 9845be9
1 file changed
docs/development/posting-issues.md
@@ -73,6 +73,9 @@ ds_trimmed = replace_arrays_with_zeros(ds) # default: except_for=None
73
with zarr.storage.ZipStore("my_dataset.zip", mode='w') as store:
74
ds_trimmed.to_zarr(store)
75
76
+size_mb_original = os.path.getsize("my_dataset.nc") / 1e6
77
+print(f"Original size: {size_mb_original:.1f} MB")
78
+
79
# Check the file size (aim for < 25 MB so it can be attached to a GitHub issue)
80
size_mb = os.path.getsize("my_dataset.zip") / 1e6
81
print(f"Zip store size: {size_mb:.1f} MB")
0 commit comments