Re: python interface

Magnus Hagdorn wrote:
Hi all,
I am in the process of reviewing the python interface to netCDF I use
for accessing our data files. I am extremely puzzled now.

Up to now I have always used the ScientificPython module, which does
more or less what I want it to. However, the website seems to have
disappeared. Some searching around revealed the download page:
http://sourcesup.cru.fr/projects/scientific-py/
ScientificPython seems to be under active development.

Magnus:

http://sourcesup.cru.fr/projects/scientific-py/

The 'beta' version (2.7.5) supports numpy.
I am also a user of some form of numerical array extension to python. I
started with Numeric, then ported my code to numarray. However, it seems
Numpy is the extension to use.
Yes, numpy is the sucessor to both Numeric and numarray.
Further looking around it seem the only netCDF interface supporting
Numpy is PyNIO. However, this package seems to only come as a binary and
is compiled only using Python 2.4. This is not really acceptable since I
really don't want to depend on some package which I cannot change if I
have to and which forces me to use a specific python version.

So I am wondering what python package for netCDF I/O other can
recommend.

Regards
magnus


Newer versions of Scientific Python do support numpy as well. To make things even more confusing, I've created yet another module that supports the new features of netcdf-4.0, but can still read and write netcdf-3 files

http://code.google.com/p/netcdf4-python/


The advantages of my module are:
* numpy support
* API compatible with ScientificPython
* supports netcdf-4.0 features (none of the others do)
* I read this list and answer questions.

disadvantages:

* requires installation of netcdf-4.0 beta/hdf5 1.8.0 beta (it won't work with netcdf 3.6.x).

HTH,

-Jeff

--
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : Jeffrey.S.Whitaker@xxxxxxxx
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: