Skip to content

Commit 9845be9

Browse files
committed
Update docs
1 parent 1e56824 commit 9845be9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/development/posting-issues.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ ds_trimmed = replace_arrays_with_zeros(ds) # default: except_for=None
7373
with zarr.storage.ZipStore("my_dataset.zip", mode='w') as store:
7474
ds_trimmed.to_zarr(store)
7575
76+
size_mb_original = os.path.getsize("my_dataset.nc") / 1e6
77+
print(f"Original size: {size_mb_original:.1f} MB")
78+
7679
# Check the file size (aim for < 25 MB so it can be attached to a GitHub issue)
7780
size_mb = os.path.getsize("my_dataset.zip") / 1e6
7881
print(f"Zip store size: {size_mb:.1f} MB")

0 commit comments

Comments
 (0)