Using known arrays to calculate an array of new values
Here is my problem,
I have rain gage data at varying time intervals with a cumulative
precip. amount at that time interval making a 2-d array. For example
10:00 1
10:08 1.5
10:16 2
10:33 2.5
From this array I want to create another 2-d array at fixed time
intervals in this case it could be 15 min.
The 2nd column of array two would be created from the first array using
linear interpolation or some other rule the result would be
10:00 1
10:15 ?
10:30 ?
stepping forward in time to fill the second array.
any ideas?
|