________________________________
From: Jeff Whitaker <jsw...@fastmail.fm>
To: matplotlib-users@lists.sourceforge.net
Cc: rawlin...@yahoo.com
Sent: Thursday, September 13, 2012 9:44 PM
Subject: Re: [Matplotlib-users] error installing basemap
Michael: The NetCDFFile function was deprecated a few releases back, and
recently removed. If you have netcdf4-python installed you can do
from netCDF4 import Dataset as NetCDFFile
and the script should work as before.
Regarding the second error, you must open the file for write access
(mode='w') if you want to add attributes to the data variables.
-Jeff
From: Michael Rawlins <rawlin...@yahoo.com>
To: Jeff Whitaker <jsw...@fastmail.fm>;
"matplotlib-users@lists.sourceforge.net"
<matplotlib-users@lists.sourceforge.net>
Sent: Thursday, September 13, 2012 10:28 PM
Subject: Re: [Matplotlib-users] error installing basemap
Making some progress. Following here:
http://code.google.com/p/netcdf4-python/wiki/UbuntuInstall
I've installed HDF5 after installing build-essential package. With just gcc
installed I got an error.
The ./configure in netcdf4 directory failed, but completed with
--disable-netcdf-4. I went ahead anyway hoping I don't need netCDF-4 formats or
the additional netCDF-4 functions. Besides that issue, what's also not clear is
where is setup.py file for the last step. It is not in the netcdf directory
after the make install finished. I assume netcdf-python package will not
conflict with the python-netcdf and netcdf versions installed through package
manager.
Mike
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users