[SciPy-user] netCDF files, ctypes, and numpy

Robert Kern robert.kern at gmail.com
Wed Jun 18 04:18:03 EDT 2008


On Wed, Jun 18, 2008 at 02:26, Chris Lee <C.J.Lee at tnw.utwente.nl> wrote:
> Hi All,
>
> I am trying to develop a script to read and write netCDF files. I
> could use Scientific.IO to do this (and in fact I already do this on a
> linux box) but I would rather use a single script that talks directly
> to the library so that I avoid needing to ensure that Scientific,
> Numeric, and numpy are all installed on every system the code gets
> used on.

Numeric is unnecessary with recent versions of Scientific.

pupynere is a pure-Python netcdf reader. You may want to look into
implementing writer capabilities for it without using the netcdf C
library.

http://pypi.python.org/pypi/pupynere/

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the SciPy-User mailing list