-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Appending to a file using a context manager seems to close the Dataset (or it gets garbaged collected) before completing, usually resulting in a segfault.
This may have to do with #251.
I've used 1.1.6 for a long awhile now (it "just works" for me) and I was trying to upgrade things to 1.2.1 (so I can use the now built-in get_variables_by_attributes).
Here is a simple script to demonstrate. File to go along with script (looks in the same directory for it). Everything works fine with Python 2.7, but fails with Python 3.4 when the netcdf4-python version is above 1.1.6. I didn't test 1.1.7 because that release never made it to conda.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels