the boundary_conditions() method was extremely slow as referenced in #23. As the number of timesteps increased, setting up the boundary conditions became time-prohibitive. This change does the following:
Massively speeds up the boundary conditions method (for our most recent plan 28, this took 38 minutes; now takes ~1 second) (#23)
Aligns the boundary conditions to the model timesteps and performs linear interpolation if any values are missing (#19)
@jrutyna, I ran the pytests with these updates and got the following:
the
boundary_conditions()
method was extremely slow as referenced in #23. As the number of timesteps increased, setting up the boundary conditions became time-prohibitive. This change does the following:@jrutyna, I ran the pytests with these updates and got the following:
Looks to me like these are the same results I get without these changes, but want to confirm with you before merging into main.