|
Re: Assignment from a list is slow in Numarray: msg#00064python.numeric.general
Francesc Alted <falted@xxxxxxxxxxxx> writes: > At the beginning, you will need to export your data to a PyTables > file, ... which appears to be actually a HDF5 file. Thanks for the tip. It is clear that a binary file format would be more advantageous simply because text files are not seekable in the way needed for parallel reading. I was thinking of using NetCDF because OpenDX does not support HDF5. Konrad Hinsen has written a Python interface for reading NetCDF files. Distributed writing is more compilcated and unfortunately this interface seems particularly unsuitable for it because the difference between definition and data mode is hidden. The interface also uses Numeric instead of Numarray. An advantage of HDF5 would be that the libraries support parallel I/O via MPI-IO but can this be utilised in PyTables? There is the problem that there are no standard MPI bindings for Python. I have also considered writing Python bindings for Parallel-NetCDF but I suppose that would not be totally trivial even if the library turns out to be well Swiggable. -- Timo Korvola <URL:http://www.iki.fi/tkorvola> ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: A bug in creating array of long int.: 00064, Todd Miller |
|---|---|
| Next by Date: | Re: Assignment from a list is slow in Numarray: 00064, Francesc Alted |
| Previous by Thread: | Re: Assignment from a list is slow in Numarrayi: 00064, Francesc Alted |
| Next by Thread: | Re: Assignment from a list is slow in Numarray: 00064, Francesc Alted |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |