Skip to content

Commit ced6381

Browse files
committed
Use auto-chunking for live mask in factory.
1 parent 4abdb53 commit ced6381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mdio/core/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def create_empty(
148148
meta_group.create_dataset(
149149
name="live_mask",
150150
shape=config.grid.shape[:-1],
151-
chunks=-1,
151+
chunks=Grid._calculate_live_mask_chunksize(config.grid),
152152
dtype="bool",
153153
dimension_separator="/",
154154
)

0 commit comments

Comments
 (0)