-
Notifications
You must be signed in to change notification settings - Fork 9
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
Optimise density_species_interp.py #115
Comments
I think we can improve this lots, as @JBorrow indicated There's also a short-term fix that may improve things a bit - we don't need to interpolate elements that are not depleted and these are just big zero array slices in the table. so inserting for i in range(df.shape[-1]):
if df[:, :, :, :, i].max() == 0.0:
continue to replace: will help. |
@EvgeniiChaikin are the |
Thanks James! I will later have a look. No, |
Let me know if there's anything specific I can help with here. Just putting this script at the TOP of the pipeline will do a lot of good, as that makes sure it starts first and everything else gets scheduled around it. |
Find a way to optimise the interpolation routine in
density_species_interp.py
Currently,
density_species_interp.py
is the bottleneckThe text was updated successfully, but these errors were encountered: