Closed davidfee5 closed 3 years ago
I tested this and it seems to give the same result as master
. Looking at the old code it seems unnecessary to have stk
be a 3-D array since we already have S
for this purpose, so this change makes sense.
Is there any reason not to do this?
Agreed. I think it was detritus from old code and don't see why it would be needed.
This pull request forces the stack function to be rewritten during each loop iteration. This saves substantial memory and was needed when running over long time windows. The stack at any point in time can always be recreated for certain grid points and travel times after the fact.