Closed GoogleCodeExporter closed 8 years ago
Looks like you're trying to open a GRIB file? (.grb extension). That won't
work.
Original comment by whitaker.jeffrey@gmail.com
on 23 Aug 2013 at 1:02
I am trying to open the file with pyNIO. The first loop through the code works
fine. The second run through the loop gives an error.
Original comment by vgens...@gmail.com
on 23 Aug 2013 at 1:16
pyNIO is distributed by NCAR. This is the issue tracker for netcdf4-python.
Original comment by whitaker.jeffrey@gmail.com
on 23 Aug 2013 at 1:44
The code appears to be bringing an error due to netCDF4 (it is also being used
in this program; see code).
Original comment by vgens...@gmail.com
on 23 Aug 2013 at 1:45
Are you trying to open a grib file with netcdf4-python? pyNIO can open both
netcdf and GRIB. netcdf4-python can only read netcdf.
Original comment by whitaker.jeffrey@gmail.com
on 23 Aug 2013 at 1:48
pyNIO reads in the file, and I am using netCDF4 to write out a netCDF file.
There appears to be a memory leak somewhere. I have cross-posted to pyNIO
group.
Original comment by vgens...@gmail.com
on 23 Aug 2013 at 1:50
I was able to solve the problem by omitting the use of netCDF4 and using pyNIO
to write out the netCDF file. There was an issue with using both programs at
the same time.
Original comment by vgens...@gmail.com
on 23 Aug 2013 at 11:40
Thanks for letting me know. That's unfortunate, and shouldn't happen (I can't
think of why it would. Just out of curiosity, what happens if you reverse the
order of the imports (import netCDF4 first)?
Original comment by whitaker.jeffrey@gmail.com
on 23 Aug 2013 at 12:00
Reversing the order of the imports still gives the same error.
Original comment by vgens...@gmail.com
on 23 Aug 2013 at 11:11
Original comment by whitaker.jeffrey@gmail.com
on 26 Feb 2014 at 2:04
Original issue reported on code.google.com by
vgens...@gmail.com
on 23 Aug 2013 at 12:44