Open
Description
The hazard class has currently an attribute called self.intensity_thres
that is silently set to the value 10. It is very unclear what the use of this attribute is, and even more unclear how the value of 10 was chosen. Moreover, it appears that the value cannot be set in the init. I propose to remove it entirely.
The only place where this values seems to be used is in the Method haz.local_exceedance_intensity
. It is not clear why this value is there, but one could easily replace this by taking the minimal non-zero value of the hazard: haz.intensity.min(explicit=True)
.
Activity