Skip to content

Commit e998240

Browse files
Add chunking to single variable datasets in write_dataset_band_by_band_with_validation function
1 parent c795fdf commit e998240

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

eopf_geozarr/conversion/geozarr.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,8 @@ def write_dataset_band_by_band_with_validation(
11981198
var_encoding = {
11991199
k: v for k, v in var_encoding.items() if k not in single_var_ds.coords
12001200
}
1201+
1202+
single_var_ds.chunk()
12011203

12021204
# Handle S3 vs local paths for zarr operations
12031205
if s3_utils.is_s3_path(output_path):

0 commit comments

Comments
 (0)