Displaying 1 result from an estimated 1 matches for "daycolumn".
Did you mean:
acolumn
2002 Nov 19
5
help reading a variably formatted text file
...gathered along the way to direct additional reading.
The procedure I invision will look like this:
(1) skip first 9 lines
(2) read 3rd word in next line and assign to variable hillvarnames
(3) read hillvarnames more lines
(4) test which line has the value {Days In Simulation} and assign index to
daycolumn.
(5) skip 3 lines
(6) read 3rd word in next line and assign to variable ofevarnames
(7) read ofevarnames more lines
(8) test which line has the value {Runoff (mm)} and assign
index+hillvarnames to runoffcolumn.
(9) skip 3 lines
(10) read lines until 5 lines remain and assign the values in the dayco...