Commit 726e39fd authored by Le Roux Erwan's avatar Le Roux Erwan
Browse files

[projections] remove 'CNRM-ALADIN62_ECMWF-ERAINT' for the ensemble of adamont_v2.

generalize the usage of "get_gcm_rcm_couple_adamont_to_full_name". fix color_dict.
parent 7a7f89d2
No related merge requests found
Showing with 4 additions and 5 deletions
+4 -5
...@@ -7,8 +7,7 @@ from cached_property import cached_property ...@@ -7,8 +7,7 @@ from cached_property import cached_property
from extreme_data.meteo_france_data.adamont_data.abstract_adamont_study import AbstractAdamontStudy from extreme_data.meteo_france_data.adamont_data.abstract_adamont_study import AbstractAdamontStudy
from extreme_data.meteo_france_data.adamont_data.adamont_gcm_rcm_couples import get_gcm_rcm_couple_adamont_to_full_name from extreme_data.meteo_france_data.adamont_data.adamont_gcm_rcm_couples import get_gcm_rcm_couple_adamont_to_full_name
from extreme_data.meteo_france_data.adamont_data.adamont_scenario import gcm_rcm_couple_to_full_name, \ from extreme_data.meteo_france_data.adamont_data.adamont_scenario import gcm_rcm_couple_to_str, get_color_from_gcm_rcm_couple
gcm_rcm_couple_to_str, get_color_from_gcm_rcm_couple
from extreme_data.meteo_france_data.scm_models_data.abstract_study import AbstractStudy from extreme_data.meteo_france_data.scm_models_data.abstract_study import AbstractStudy
from extreme_data.meteo_france_data.scm_models_data.visualization.main_study_visualizer import \ from extreme_data.meteo_france_data.scm_models_data.visualization.main_study_visualizer import \
SCM_STUDY_CLASS_TO_ABBREVIATION, ADAMONT_STUDY_CLASS_TO_ABBREVIATION SCM_STUDY_CLASS_TO_ABBREVIATION, ADAMONT_STUDY_CLASS_TO_ABBREVIATION
......
...@@ -18,11 +18,11 @@ from projects.projected_snowfall.comparison_with_scm.comparison_historical_visua ...@@ -18,11 +18,11 @@ from projects.projected_snowfall.comparison_with_scm.comparison_historical_visua
def main(): def main():
fast = True fast = None
adamont_scenario = [AdamontScenario.histo, AdamontScenario.rcp85_extended][0] adamont_scenario = [AdamontScenario.histo, AdamontScenario.rcp85_extended][1]
year_min = 1982 if adamont_scenario is AdamontScenario.rcp85_extended else 2006 year_min = 1982 if adamont_scenario is AdamontScenario.rcp85_extended else 2006
# Set the year_min and year_max for the comparison # Set the year_min and year_max for the comparison
if fast is None: if fast is True:
year_max = [2030][0] year_max = [2030][0]
massif_names = ['Vanoise'] massif_names = ['Vanoise']
altitudes = [1800] altitudes = [1800]
......
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