can't use NetcdfFile

V

vishalm1975

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.NetCDF import NetCDFFile
from Scientific.IO import NetCDF
from Scientific import *
from Scientific.IO.NetCDF import *

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

Thanks
Vishal.
 
R

Rocco Moretti

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.NetCDF import NetCDFFile
from Scientific.IO import NetCDF
from Scientific import *
from Scientific.IO.NetCDF import *

Copy & Pasting the exact error message helps tremendously.
I've got Scientific,Numeric and numpy installed

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_wiki/WindowsInstallation - 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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,285
Messages
2,571,416
Members
48,107
Latest member
AmeliaAmad

Latest Threads

Top