-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed up calculation of the SUM_OF_COEFFICIENTS_TO_DIFFUSION_TERM
#49
Comments
discovered while working on #49. 4x sppedup datetime parsing from HDF files.
So far I have taken the following steps:
Proposed next step: |
this sped up instantiation but slowed down the model run considerably. will remove.
Found that integrating the Key findings:
Next steps:
|
Calculating the sum of the coefficients to the diffusion term within the Results:
|
This is calculated using the
_calc_sum_coeff_to_diffusion_term
function and_sum_vals
, which currently loops over time. As the number of timesteps is increasing, this is becoming extremely slow (>3 min to instantiate a model). We should investigate how to vectorize this calculation over the time dimension.The text was updated successfully, but these errors were encountered: