NCAR / pynio

PyNIO is a multi-format data I/O package with a NetCDF-style interface
http://www.pyngl.ucar.edu/Nio.shtml
Apache License 2.0
112 stars 37 forks source link

pynio & netCDF4 memory leak #13

Open vgensini opened 6 years ago

vgensini commented 6 years ago

When using pynio and netCDF4 in the same script, there appears to be a memory leak.

Currently, I only use netCDF4 to write out .nc files due to the ability to include significant digit and zlib compression. E.g.,

nc.createVariable('test_var','d',('time','lat','lon',),zlib=True, least_significant_digit=2)

when running the script with only pynio for netCDF output, there is no memory leak. Are there any plans to include zlib and least_significant_digit arguments (available in netCDF4) in pynio so users can take advantage of this compression?