[netcdfgroup] problems between netcdf and scientific python
Rob Hetland
hetland at tamu.edu
Fri Apr 11 15:37:55 MDT 2008
It appears that this package hasn't been installed. You would do this
by typing
python setup.py build
sudo python setup.py install
at the top level of the package. However, you should know that
scientific has been deprecated, as it uses the older Numeric package.
The standard numerical python package is now numpy. See
http://www.scipy.org
To read in netcdf using numpy, I would use the netcdf4-python package:
netcdf4-python.googlecode.com/
This package also has netcdf3 support, if you don't want to install
netcdf4, and uses the same API as the Scientific netcdf package.
-Rob
On Apr 11, 2008, at 7:31 PM, Rich Signell wrote:
> ---------- Forwarded message ----------
> From: vale_cn at libero.it <vale_cn at libero.it>
> Date: Fri, Apr 11, 2008 at 7:50 AM
> Subject: [netcdfgroup] problems between netcdf and scientific python
> To: netcdfgroup <netcdfgroup at unidata.ucar.edu>
>
>
> Hello,
> we are trying to install netcdf library and scientific python on a
> AMD64 with Fedora7. To check if they interact we have run the python
> script:
>
> from Scientific.IO.NetCDF import NetCDF
>
> but we obtain the following error:
>
> [root at papa001169 ScientificPython-2.7.8]# python prova.py
> Traceback (most recent call last):
> File "prova.py", line 3, in <module>
> from Scientific.IO.NetCDF import NetCDF
> File "/home/Valeria/Desktop/ScientificPython-2.7.8/Scientific/IO/
> NetCDF.py",
> line 165, in <module>
> from Scientific_netcdf import *
> ImportError: No module named Scientific_netcdf
>
> Does anyone have suggestions?
> Thanks in advance
> Valeria
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup at unidata.ucar.edu
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
>
> --
> Dr. Richard P. Signell (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598
----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331
More information about the netcdfgroup
mailing list