Skip to content

Commit

Permalink
change drop_vars in run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bolliger32 committed Jan 10, 2025
1 parent b9b6349 commit 456c50e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyCIAM/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,6 @@ def execute_pyciam(
# Rechunk and save final
###############################
client.gather(ciam_futs_2.tolist())
assert [f.status == "finished" for f in ciam_futs_2.tolist()]
client.cancel(ciam_futs_2)
del ciam_futs_2

Expand All @@ -1437,7 +1436,7 @@ def execute_pyciam(
storage_options=storage_options,
chunks={"case": -1, seg_var: this_chunksize},
)
.drop("npv")
.drop_vars("npv")
.chunk({"year": 10})
.persist()
)
Expand Down

0 comments on commit 456c50e

Please sign in to comment.