From a66991873f62076b39a991a75f581711f9f7520b Mon Sep 17 00:00:00 2001
From: Le Roux Erwan <erwan.le-roux@irstea.fr>
Date: Mon, 22 Feb 2021 17:48:14 +0100
Subject: [PATCH] [projections] add box plot without significance. refactor a
 bit the str for the plots. add inquiry for the pattern 85 that we obtain for
 one couple

---
 .../main_inquiry_weird_pattern.py             | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 projects/projected_snowfall/main_inquiry_weird_pattern.py

diff --git a/projects/projected_snowfall/main_inquiry_weird_pattern.py b/projects/projected_snowfall/main_inquiry_weird_pattern.py
new file mode 100644
index 00000000..718ba847
--- /dev/null
+++ b/projects/projected_snowfall/main_inquiry_weird_pattern.py
@@ -0,0 +1,23 @@
+from extreme_data.meteo_france_data.adamont_data.adamont.adamont_snowfall import AdamontSnowfall
+from extreme_data.meteo_france_data.adamont_data.adamont_scenario import AdamontScenario
+from projects.altitude_spatial_model.altitudes_fit.altitudes_studies import AltitudesStudies
+
+def main_rcm():
+    for rcm in ['CCLM4-8-17', 'RACMO22E', 'RCA4', 'ALADIN63', 'ALADIN53']:
+        altitude_studies = AltitudesStudies(AdamontSnowfall, altitudes=[600, 900, 1200, 1500, 1800, 2100, 2400, 2700, 3000, 3300, 3600],
+                                            scenario=AdamontScenario.rcp85, gcm_rcm_couple=('CNRM-CM5', rcm))
+        altitude_studies.plot_maxima_time_series()
+
+def main_gcm():
+    for gcm in ['CNRM-CM5', 'EC-EARTH', 'HadGEM2-ES']:
+        altitude_studies = AltitudesStudies(AdamontSnowfall,
+                                            altitudes=[600, 900, 1200, 1500, 1800, 2100, 2400, 2700, 3000, 3300, 3600],
+                                            scenario=AdamontScenario.rcp85, gcm_rcm_couple=(gcm, 'CCLM4-8-17'))
+        altitude_studies.plot_maxima_time_series()
+
+if __name__ == '__main__':
+    main_gcm()
+    # main_rcm()
+    
+    
+    
\ No newline at end of file
-- 
GitLab