On 9/19/12 3:29 PM, Michael Rawlins wrote:
------------------------------------------------------------------------
*From:* Jeff Whitaker <jeffrey.s.whita...@noaa.gov>
*To:* Michael Rawlins <rawlin...@yahoo.com>
*Sent:* Wednesday, September 19, 2012 4:57 PM
*Subject:* Re: [Matplotlib-users] netcdf4-python build
On 9/19/12 2:43 PM, Michael Rawlins wrote:
------------------------------------------------------------------------
*From:* Johann Rohwer <j...@sun.ac.za> <mailto:j...@sun.ac.za>
*To:* matplotlib-users@lists.sourceforge.net
<mailto:matplotlib-users@lists.sourceforge.net>
*Sent:* Wednesday, September 19, 2012 3:22 PM
*Subject:* Re: [Matplotlib-users] netcdf4-python build
On 19/09/2012 21:14, Michael Rawlins wrote:
> Just installed h5utils from package manager. Getting same
errors. In
> package manager I'm searching on hdf5. If there's a package
there I'm
> missing, then it certainly is not obvious.
Try
libhdf5-serial
libhdf5-serial-dev
Johann
After installing those two packages I was able build with
setup.py <http://setup.py/> in netCDF4-1.0/
Last few lines of the build:
creating build/scripts.linux-i686-2.7
copying and adjusting utils/nc3tonc4 -> build/scripts.linux-i686-2.7
copying and adjusting utils/nc4tonc3 -> build/scripts.linux-i686-2.7
changing mode of build/scripts.linux-i686-2.7/nc3tonc4 from 644
to 755
changing mode of build/scripts.linux-i686-2.7/nc4tonc3 from 644
to 755
Here is my initialization:
from mpl_toolkits.basemap import Basemap, shiftgrid, cm
from netCDF4 import Dataset as NetCDFFile
Here is result of execution of script:
Traceback (most recent call last):
File "map_PrcpBias_Northeast.py
<http://map_prcpbias_northeast.py/>", line 21, in <module>
from netCDF4 import Dataset as NetCDFFile
Michael: Please include the full traceback - what you posted
doesn't really tell us anything.
How is full traceback obtained?
Michael: I just meant for you to paste the full output, not just the
first three lines.
Since you apparently have all the libs installed, I don't understand
what's going on. Please try deleting the netcdf4-python build
directory, and then run 'python setup.py build' again, capturing the
output in a file. Send me that file off-list and I'll see if I can
suggest something.
-Jeff
I understand using the python-netcdf package is an option.
Installed that but am getting an eror saying missing
libhdf5_hl.so.6 when trying:
Do you have libhdf5_hl.so anywhere on your system after installing
the libhdf5-serial package? According to this
http://packages.ubuntu.com/lucid/i386/libhdf5-serial-1.8.4/filelist
it should be installed in /usr/lib.
Yes it is in /usr/lib.
Also, if I read this
http://packages.ubuntu.com/natty/libnetcdf6
correctly, just installing the libnetcdf6 and libnetcdf-dev
packages should be all you need to do - they depend on libhdf5-serial.
-Jeff
Both packages are installed.
MR
from Scientific.IO <http://scientific.io.net/>.NetCDF import
NetCDFFile
MR
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
<mailto:Matplotlib-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
<mailto:Matplotlib-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email :jeffrey.s.whita...@noaa.gov
<mailto:jeffrey.s.whita...@noaa.gov>
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users