Commit edc744e4 authored by Le Roux Erwan's avatar Le Roux Erwan
Browse files

[PAPER 1] fix quantile for snow load in the case where psnow < 1 (i.e. for the...

[PAPER 1] fix quantile for snow load in the case where psnow < 1 (i.e. for the mixed distribution case)
parent 184f9d50
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -78,7 +78,7 @@ class StudyVisualizerForNonStationaryTrends(StudyVisualizer):
def massif_name_to_eurocode_quantile_level_in_practice(self):
"""Due to missing data, the the eurocode quantile which 0.98 if we have all the data
correspond in practice to the quantile psnow x 0.98 of the data where there is snow"""
return {m: p * EUROCODE_QUANTILE for m, p in self.massif_name_to_psnow.items()}
return {m: 1 - ((1 - EUROCODE_QUANTILE) / p_snow) for m, p_snow in self.massif_name_to_psnow.items()}
@cached_property
def massif_name_to_non_null_years_and_maxima(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment