Skip to content
Snippets Groups Projects
Commit 5bff601f authored by Nils-Arne Dreier's avatar Nils-Arne Dreier Committed by Siddhant Tibrewal
Browse files

fix: keep all data_handlers for final flush

parent d8427fd6
No related branches found
No related tags found
1 merge request!52Migrate to Zarr 3
......@@ -115,13 +115,13 @@ def main():
gid: Coyote(f"{args.process_group}_{gid}") for gid, data_vars, chunk_slice in my_data_vars
}
data_handlers = []
for gid, data_vars, chunk_slice in my_data_vars:
coyote = coyote_instances[gid]
# all vars in data_vars define the same grid
def_grid(coyote, data_vars[0], chunk_slice)
data_handlers = []
for v in data_vars:
# compute timestep
var_group = get_var_group(v)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment