Skip to content

Commit

Permalink
close the W file
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi committed Mar 10, 2024
1 parent 3016908 commit 4abff1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activestorage/netcdf_to_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def _load_ds(s3file_o_1, varname):
s3file = s3file_r_1[varname]

s3file_r_1.close()
s3file_w_1.close()

return s3file

Expand Down

0 comments on commit 4abff1a

Please sign in to comment.