[PYTHON MATRIX-SIG] How time-consuming is array()?

janko hauser jhauser@ifm.uni-kiel.de
Tue, 29 Oct 1996 12:38:11 +0100


Now I have some functions in my analysis-pack and encounter, that most
time is spent in reading the data, although I use the netcdf-package
of Bill Noon.

With this package I can read binary NetCDF-files, but the fields are
returned as nested lists.

X=array((f_head.var('xp')),Float32)

Is the translation from a list to an array very timeconsuming or is
the reading in the NetCDF-package the costly operation?

__Janko

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================