CLIMADA-project / climada_python

Python (3.8+) version of CLIMADA
GNU General Public License v3.0
324 stars 125 forks source link

Tot_value redefinition #468

Open chahank opened 2 years ago

chahank commented 2 years ago

Currently, the total value of affected exposures impact.tot_val is equal to the sum of the values of all exposures points for which a hazard centroids is defined (i.e. is close enough). Thus, when working with global hazards, even though they might have 0-intensity in most points, all Exposures will be defined as affected. For instance, taking global tropical cyclones data results in all of Afghanistan affected by TC, although there is never a TC there.

Should we change the definition to sum over the exposures that have at least one event with intensity >0?

emanuel-schmid commented 2 years ago

Don't know. Sounds like this would introduce a jump discontinuity and adds complexity to the interpretation of the result.

chahank commented 2 years ago

Good points. However, now the value is mostly useless.

peanutfun commented 1 year ago

tot_value is deprecated since #702, which introduced Exposures.centroids_total_value to replace the functionality of Exposures.affected_total_value