[SciPy-User] scipy.io.netcdf error
Neil Berg
neil.berg14 at gmail.com
Sun Jul 10 00:45:37 EDT 2011
Hello scipy community,
I recently installed scipy 0.10 through Chris Fonnesbeck's Scipy Superpack script. When trying to read a netCDF file I receive an error message.
>>> python
>>> from scipy.io import netcdf
>>> f = netcdf.netcdf_file('/Users/vert/Downloads/sres.nc','r')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110629-py2.6-macosx-10.6-universal.egg/scipy/io/netcdf.py", line 205, in __init__
self._read()
File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110629-py2.6-macosx-10.6-universal.egg/scipy/io/netcdf.py", line 492, in _read
self._read_var_array()
File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110629-py2.6-macosx-10.6-universal.egg/scipy/io/netcdf.py", line 576, in _read_var_array
buffer=mm, offset=begin_, order=0)
TypeError: data type ">d8" not understood
Has anyone encountered this error and is there a way to cure it?
Many thanks,
Neil
-----------------------------------------------
Mac OS X 10.6.7
Darwin Kernel Version 10.7.4 i386
-----------------------------------------------
More information about the SciPy-User
mailing list