May-15-2018, 08:44 PM
Hi ThiefOfTime,
Thank you for your response.
The loops might be necessary, since I need to compute the maximum values over a multitude of grid cells for every year for 140 years. How would you do that using a for loop, if you had to? Such that all maximum values would be computed over every grid cell. As outlined in my other thread, something like this:
Grid cell #1 for year 0: Max value derived
Grid cell #2 for year 0: Max value derived
Grid cell #3 for year 0: Max value derived
....
Grid cell #1000 for year 0: Max value derived
Then, move on to year 1....
etc....all the way to year 139?
What would be an efficient way to account for all of that in a for loop? What I have above appears to be a good starting point.
Thanks!
Thank you for your response.
The loops might be necessary, since I need to compute the maximum values over a multitude of grid cells for every year for 140 years. How would you do that using a for loop, if you had to? Such that all maximum values would be computed over every grid cell. As outlined in my other thread, something like this:
Grid cell #1 for year 0: Max value derived
Grid cell #2 for year 0: Max value derived
Grid cell #3 for year 0: Max value derived
....
Grid cell #1000 for year 0: Max value derived
Then, move on to year 1....
etc....all the way to year 139?
What would be an efficient way to account for all of that in a for loop? What I have above appears to be a good starting point.
Thanks!