Skip to content

Commit ad1e7ce

Browse files
add H2OLNZ in zonal mean 2d stratosphere (#868)
* add H2OLNZ * refine contour levels * fix UnboundLocalError in testing
1 parent 2b303df commit ad1e7ce

File tree

2 files changed

+69
-1
lines changed

2 files changed

+69
-1
lines changed

e3sm_diags/driver/default_diags/zonal_mean_2d_stratosphere_model_vs_obs.cfg

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,40 @@ seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "1
4040
contour_levels = [0.6,0.8, 1, 1.2, 1.6, 2, 2.5, 3, 3.5, 4]
4141
diff_levels = [-3, -2,-1.5,-1,-0.5,-0.1,0.1,0.5,1,1.5,2,3]
4242

43+
[#]
44+
sets = ["zonal_mean_2d_stratosphere"]
45+
case_id = "MERRA2"
46+
variables = ["H2OLNZ"]
47+
ref_name = "MERRA2"
48+
reference_name = "MERRA2 Reanalysis"
49+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
50+
contour_levels = [0.001, 0.0015, 0.002,0.0025,0.003,0.0035,0.004,0.0045,0.005]
51+
diff_levels = [-0.001, -0.00075, -0.00050, -0.00025, -0.00005,0.00005,0.00025, 0.0005,0.00075,0.001]
52+
53+
[#]
54+
sets = ["zonal_mean_2d_stratosphere"]
55+
case_id = "MERRA2 (relative difference)"
56+
variables = ["Q"]
57+
ref_name = "MERRA2"
58+
reference_name = "MERRA2 Reanalysis"
59+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
60+
diff_type = "relative"
61+
diff_title = "(Model - Obs.)/Obs. * 100"
62+
contour_levels = [0.6,0.8, 1, 1.2, 1.6, 2, 2.5, 3, 3.5, 4]
63+
diff_levels = [-100, -75, -50, -30, -15, -5, 5, 15, 30, 50, 75, 100]
64+
65+
[#]
66+
sets = ["zonal_mean_2d_stratosphere"]
67+
case_id = "MERRA2 (relative difference)"
68+
variables = ["H2OLNZ"]
69+
ref_name = "MERRA2"
70+
reference_name = "MERRA2 Reanalysis"
71+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
72+
diff_type = "relative"
73+
diff_title = "(Model - Obs.)/Obs. * 100"
74+
contour_levels = [0.001, 0.0015, 0.002,0.0025,0.003,0.0035,0.004,0.0045,0.005]
75+
diff_levels = [-100, -75, -50, -30, -15, -5, 5, 15, 30, 50, 75, 100]
76+
4377
[#]
4478
sets = ["zonal_mean_2d_stratosphere"]
4579
case_id = "MERRA2"
@@ -105,3 +139,37 @@ reference_name = "ERA5 Reanalysis"
105139
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
106140
contour_levels = [0.6,0.8, 1, 1.2, 1.6, 2, 2.5, 3, 3.5, 4]
107141
diff_levels = [-3, -2,-1.5,-1,-0.5,-0.1,0.1,0.5,1,1.5,2,3]
142+
143+
[#]
144+
sets = ["zonal_mean_2d_stratosphere"]
145+
case_id = "ERA5"
146+
variables = ["H2OLNZ"]
147+
ref_name = "ERA5"
148+
reference_name = "ERA5 Reanalysis"
149+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
150+
contour_levels = [0.001, 0.0015, 0.002,0.0025,0.003,0.0035,0.004,0.0045,0.005]
151+
diff_levels = [-0.001, -0.00075, -0.00050, -0.00025, -0.00005,0.00005,0.00025, 0.0005,0.00075,0.001]
152+
153+
[#]
154+
sets = ["zonal_mean_2d_stratosphere"]
155+
case_id = "ERA5 (relative difference)"
156+
variables = ["Q"]
157+
ref_name = "ERA5"
158+
reference_name = "ERA5 Reanalysis"
159+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
160+
diff_type = "relative"
161+
diff_title = "(Model - Obs.)/Obs. * 100"
162+
contour_levels = [0.6,0.8, 1, 1.2, 1.6, 2, 2.5, 3, 3.5, 4]
163+
diff_levels = [-100, -75, -50, -30, -15, -5, 5, 15, 30, 50, 75, 100]
164+
165+
[#]
166+
sets = ["zonal_mean_2d_stratosphere"]
167+
case_id = "ERA5 (relative difference)"
168+
variables = ["H2OLNZ"]
169+
ref_name = "ERA5"
170+
reference_name = "ERA5 Reanalysis"
171+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
172+
diff_type = "relative"
173+
diff_title = "(Model - Obs.)/Obs. * 100"
174+
contour_levels = [0.001, 0.0015, 0.002,0.0025,0.003,0.0035,0.004,0.0045,0.005]
175+
diff_levels = [-100, -75, -50, -30, -15, -5, 5, 15, 30, 50, 75, 100]

e3sm_diags/plot/cartopy/arm_diags_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def plot_convection_onset_statistics(
149149
cwv_min = 28
150150
bin_width = 2.0
151151
sitename = "Darwin"
152-
if region == "sgp": # sgp
152+
if region == "sgpc1": # sgp
153153
cwv_max = 75
154154
cwv_min = 20
155155
bin_width = 2.0

0 commit comments

Comments
 (0)