can't use NetcdfFile

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vishalm1975@gmail.com

    #1

    can't use NetcdfFile

    Hi,
    I'm trying to open a Netcdf file using NetcdfFile but I always get an
    import error DLL failed
    even though I've tried using all these:

    import Numeric
    from Scientific.IO.N etCDF import NetCDFFile
    from Scientific.IO import NetCDF
    from Scientific import *
    from Scientific.IO.N etCDF import *

    I've got Scientific,Nume ric and numpy installed
    I'd appreciate anyone's help

    Thanks
    Vishal.

  • Rocco Moretti

    #2
    Re: can't use NetcdfFile

    vishalm1975@gma il.com wrote:[color=blue]
    > Hi,
    > I'm trying to open a Netcdf file using NetcdfFile but I always get an
    > import error DLL failed
    > even though I've tried using all these:
    >
    > import Numeric
    > from Scientific.IO.N etCDF import NetCDFFile
    > from Scientific.IO import NetCDF
    > from Scientific import *
    > from Scientific.IO.N etCDF import *[/color]

    Copy & Pasting the exact error message helps tremendously.
    [color=blue]
    >
    > I've got Scientific,Nume ric and numpy installed[/color]

    Are you sure you have them installed successfully? How did you install
    them? (Precompiled or from source, and if so, with which compiler?)
    IIRC, Scientific doesn't come with the NetCDF, you have to install the
    NetCDF library separately.
    (See http://www.unidata.ucar.edu/software/netcdf/ for download.) After
    installing the NetCDF library, you might need to reinstall Scientific to
    get it to recognize the NetCDF install.

    You might also want to check out
    http://dirac.cnrs-orleans.fr/mmtk_wi...wsInstallation - strictly
    speaking, it's installation instructions for MMTK, but you can ignore
    the final steps of installing MMTK, if you want.

    If you need further help, you can always try a more specific resource,
    like the MMTK mailing list -
    http://starship.python.net/mailman/listinfo/mmtk (MMTK is written by the
    same person (Konrad Hinsen) as Scientific, and depends on Scientific.)

    Comment

    Working...