Skip to content

Commit

Permalink
there is a memory leak somewhere; I think it's because I am not closi…
Browse files Browse the repository at this point in the history
…ng the data files
  • Loading branch information
ray-chew committed Jun 11, 2024
1 parent 0fd44ea commit 405d3aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,9 @@ def __do_interp_lon_1D(self, dirs, fns, cnt_lon, lon_cnt, n_col, lon_idx_rng):

new_lon = np.linspace(new_min, new_max, new_sz)

merit_dat.close()
rema_dat.close()

return new_lon


Expand Down

0 comments on commit 405d3aa

Please sign in to comment.