Skip to content

Commit

Permalink
remove unneeded variable due to merge to avoid confusion in time dime…
Browse files Browse the repository at this point in the history
…nsion
  • Loading branch information
chiaweh2 committed Jun 27, 2024
1 parent 46faa49 commit 51d9754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mom6/mom6_module/mom6_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def get_all(self) -> xr.Dataset:
chunks=io_chunk
).sortby('init')
ds = xr.merge([ds_static,ds])
# ds = ds.isel(init=slice(1,None)) # exclude the 1980 empty field due to merge
ds = ds.drop_vars(['time']) # a result of merge of ds_static

# test if accident read regrid file
try:
Expand Down Expand Up @@ -324,7 +324,7 @@ def get_tercile(
chunks=io_chunk
).sortby('init')
ds = xr.merge([ds_static,ds])
# ds = ds.isel(init=slice(1,None)) # exclude the 1980 empty field due to merge
ds = ds.drop_vars(['time']) # a result of merge of ds_static

# test if accident read regrid file
try:
Expand Down

0 comments on commit 51d9754

Please sign in to comment.