Home »
Public Forums »
archive »
Reading files with unknown amount of data
Reading files with unknown amount of data [message #1467] |
Wed, 29 September 1993 13:53 |
rdavis
Messages: 1 Registered: September 1993
|
Junior Member |
|
|
I am trying to read a data file containing an unknown amount of data into
arrays in IDL. I know the format of the data in the file, but not the number
of pieces of data in the file. Currently, I read the file twice; once to
determine the amount of data in the file and then a second time to actually
read the data into an array (now that I know the size of array needed).
Is there a better way to do this (without having to read the file twice)?
Robert Davis
Member of Technical Staff
The Aerospace Corporation
rdavis@aero.org
|
|
|
Current Time: Sun Oct 12 10:25:37 PDT 2025
Total time taken to generate the page: 0.72172 seconds