Skip to content

Explicitly closing a Fieldset (and freeing up underlying NetCDF files) #1213

Discussion options

You must be logged in to vote

Hi @VeckoTheGecko, the opening and closing of Netcdf files is doen in fieldfilebuffer.py, which does have an exit method:

def __exit__(self, type, value, traceback):
self.close()

Does that help?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VeckoTheGecko
Comment options

Answer selected by VeckoTheGecko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants