On Sat, 10 Feb 2001, Ted Sariyski wrote: > Hi, > > I am trying to write a header file to import data to OpenDX. Positions > are in a FORTRAN output binary file. The first three records are > integers I, J, K followed by positions (float) > x_1,...,x_I,y_1,...,y_J,z_1,...,z_K. First I would like to be able to > read the positions. I wrote a xyz.general header that takes into account > that Fortran puts a byte at the beginning and at the end of each record > and that the first three numbers are integers, say:
I ended up writing a module which just calls into my fortran read routine and copies all required data over to dx. This is because I have 2d fields and dx seems not to support skipping blocks after each row/column but only after each set of data. Richard. -- Richard Guenther <[EMAIL PROTECTED]> WWW: http://www.anatom.uni-tuebingen.de/~richi/ The GLAME Project: http://www.glame.de/
