Skip to content

Commit

Permalink
allow for significantly less memory usage in steps blending (#435)
Browse files Browse the repository at this point in the history
* allow for significantly less memory usage in steps blending

* apply black

* use threadpool

* only decompose if not already done

* fix black

* update docstring

* fix one more docstring and rename some variables

* Apply suggestions from code review

Co-authored-by: Ruben Imhoff <31476760+RubenImhoff@users.noreply.github.com>

* rename precip_models_pm

* move comment about memory reduction to velocity_models

* fix zerovalue precip_cascade

* use precip_models_cascade if present

* set done to true

* fix black

* revert to old logic, but now with precip_models_cascade using new loop

* fix issue with precip_models_cascade

* fix tests

* Move comment up a little

---------

Co-authored-by: Ruben Imhoff <31476760+RubenImhoff@users.noreply.github.com>
Co-authored-by: Daniele Nerini <daniele.nerini@gmail.com>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent f211df2 commit 8521a53
Showing 1 changed file with 152 additions and 137 deletions.
Loading

0 comments on commit 8521a53

Please sign in to comment.