Skip to content

Commit

Permalink
chunk directly when doing rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaweh2 committed Sep 24, 2024
1 parent 5af9eb7 commit 01c99dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mom6/preprocess/mom6_rotate_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
'complevel': 3,
'fletcher32': False,
'contiguous': False,
'chunksizes': {"time": chunk_time}
'chunksizes': [chunk_time,1000,1000]
}
ds_u_true = ds_u_true.rename({u_name : f'{u_name}_rotate'})

Expand All @@ -146,7 +146,7 @@
'complevel': 3,
'fletcher32': False,
'contiguous': False,
'chunksizes': {"time": chunk_time}
'chunksizes': [chunk_time,1000,1000]
}
ds_v_true = ds_v_true.rename({v_name : f'{v_name}_rotate'})

Expand Down

0 comments on commit 01c99dd

Please sign in to comment.