[MMTK] problem with Netcdf
Konrad Hinsen
hinsen at cnrs-orleans.fr
Wed Aug 16 14:41:54 CEST 2006
On Jul 25, 2006, at 10:43, Abhinav Verma wrote:
> but when I do Examples from MMTK, I get the following
>
> ######################################################################
> ##
> MMTK-2.4.6/Examples/Trajectories> python trajectory_extraction.py
> netcdf: No such file or directory
> Traceback (most recent call last):
> File "trajectory_extraction.py", line 15, in ?
> full = Trajectory(None, 'full_trajectory.nc')
> File "/usr/lib64/python2.4/site-packages/MMTK/Trajectory.py",
> line 102, in __init__
> file = NetCDF.NetCDFFile(filename, 'r')
> File "/usr/lib64/python2.4/site-packages/Scientific/IO/
> NetCDF.py", line 143, in NetCDFFile
> return apply(_NetCDFFile, args)
> IOError: No error
I suspect that you don't have a trajectory file called
"full_trajectory.nc", so you should indeed get an error message (see
the comment at the beginning of the script). You shouldn't get
"IOError: No error" though, that looks like a bug in the error
handling that I will look at.
Konrad
--
---------------------------------------------------------------------
Konrad Hinsen
Centre de Biophysique Moléculaire, CNRS Orléans
Synchrotron Soleil - Division Expériences
Saint Aubin - BP 48
91192 Gif sur Yvette Cedex, France
Tel. +33-1 69 35 97 15
E-Mail: hinsen at cnrs-orleans.fr
---------------------------------------------------------------------
More information about the mmtk
mailing list