Re: [Pytables-users] Reading Fortran arrays with correct array indexing

2008-05-30 Thread Milos Ilak
Hi Francesc, thanks a lot! I didn't know MATLAB used Fortran order too. My Python code needs to read in files written in both orders, so I just added an attribute in my Fortran output routine which the Python code looks for and if it is there, it transposes the data after loading. I would have th

Re: [Pytables-users] Reading Fortran arrays with correct array indexing

2008-05-30 Thread Francesc Alted
A Thursday 29 May 2008, Milos Ilak escrigué: > Hi all, > > I apologize if this has been discussed, but I could not find any > information in the archives. I am creating HDF5 files with 3-D arrays > in Fortran 90, and I need to read them in both Python and MATLAB. > While MATLAB recognizes the corre

[Pytables-users] Reading Fortran arrays with correct array indexing

2008-05-28 Thread Milos Ilak
Hi all, I apologize if this has been discussed, but I could not find any information in the archives. I am creating HDF5 files with 3-D arrays in Fortran 90, and I need to read them in both Python and MATLAB. While MATLAB recognizes the correct dimensions of the arrays, PyTables gets them backward