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

Chris Lee c.j.lee at tnw.utwente.nl
Wed Jun 18 04:44:41 EDT 2008


On Jun 18, 2008, at 10:18 AM, Robert Kern wrote:

> 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.

Oh, that is good to know--certainly the Scientific website recommends  
a particular version of Numeric.

>
>
> 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/

A life-saver :) I had actually started making real progress.... but  
this is sooo much simpler :)
/me stops development on alpha version of the wheel
Thanks for your help
Chris



More information about the SciPy-User mailing list