-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/change impact total value (#702)
* Add first try affected value with threshold * Remove test typos * Update test affected value * Fix affected value to correct results * Ignore centroids -1 and exposure values <=0 * Improve threshold affected value Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com> * Deprecate Impact.tot_value attribute * Replace attribute with getter/setter and declare private attribute. * Adjust writers accordningly * Code line cosmetics * Add private function for legacy during deprecation period * Update climada/entity/exposures/base.py * Update climada/engine/impact.py * Update climada/entity/exposures/base.py * Format new code and improve docstrings * Update CHANGELOG.md * Update changelog for temporary method. * Clarify docstring. --------- Co-authored-by: Chahan Kropf <chahan.kropf@posteo.com> Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com> Co-authored-by: emanuel-schmid <schmide@ethz.ch>
- Loading branch information
1 parent
0548d95
commit 7a646c8
Showing
4 changed files
with
100 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters