We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215b315 commit d3ab604Copy full SHA for d3ab604
climada/engine/impact_calc.py
@@ -123,7 +123,7 @@ def impact(
123
>>> impfset = ImpactFuncSet.from_excel(ENT_TEMPLATE_XLS)
124
>>> exp = Exposures(pd.read_excel(ENT_TEMPLATE_XLS))
125
>>> #Adjust threshold and distance to centroids/exposure resolution
126
- >>> exp.assign_centroids(hazard, threshold=1.5, distance='haversine')
+ >>> exp.assign_centroids(hazard, threshold=1.5, distance='euclidean')
127
>>> impcalc = ImpactCal(exp, impfset, haz)
128
>>> imp = impcalc.impact(insured=True, assign_centroids=False)
129
>>> imp.aai_agg
0 commit comments