[SciPy-user] scipy, numeric, numarray, pytables/hdf5 & ?numeric3/scipy.base

Gerald Richter richter at hephy.oeaw.ac.at
Tue Apr 26 08:36:20 CDT 2005

Hi George!

The interface of pytables does, at least in the specs, define the
possibility to read the data, yielding the format-flavour numeric, as well
as numarray and the basic python lists.
Out of no known reason, I up until now have failed to get numeric arrays,
but a simple workarround-method can convert lists to numeric types on the
fly, so this is nothing to worry about.

IMHO this is no de facto compatibility problem, but just a matter of a
simple conversion.
For me, and the high-energy physics data that I'm storing in hdf-files for
analysis this combination works perfectly.

Gerald Richter.

On Tue, Apr 26, 2005 at 02:19:43PM +0100, George Nurser wrote:
> I'm interested in using scipy and probably matplotlib to analyse and 
> plot data from a large-scale ocean model whose data are held in hdf5 
> format.
> The most obvious way to read (and write) data to hdf5 would seem to be 
> through the pytables package. From my (admittedly cursory) reading it 
> seems like pytables works with numarray rather than numeric.
> Again, I may have misunderstood, but I gather that scipy is 
> incompatible with numarray but uses numeric.
> If this is indeed a problem, is it likely to be solved by the 
> development of numeric3/scipy.base?
> George Nurser.

More information about the SciPy-user mailing list