Skip to content

Commit b9ba0ef

Browse files
committed
Added curtain plot options to the single model vs obs yaml as well
1 parent 0ba4156 commit b9ba0ef

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

examples/yaml/control_wrfchem_aircraft_Latestfor_develop_aircraft.yaml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ plots:
124124
altitude:
125125
oper: "between"
126126
value: [2000,8000] # values are [vmin_y2, vmax_y2]
127+
127128
plot_grp2:
128129
type: 'vertprofile' # plot type
129130
fig_kwargs: # Opt to define figure options
@@ -198,7 +199,42 @@ plots:
198199
# Add other seaborn.kdeplot keyword arguments here as needed
199200
vcenter: #0 # Central value for TwoSlopeNorm
200201
extensions: ['min', 'max'] # Extensions for the colorbar
202+
201203
plot_grp5:
204+
type: 'curtain'
205+
fig_kwargs:
206+
figsize: [20,14] #[12, 8]
207+
default_plot_kwargs:
208+
#linewidth: 4.0
209+
markersize: 40.
210+
text_kwargs:
211+
fontsize: 25 #18
212+
fontweight: 'bold'
213+
labelsize: 16
214+
domain_type: ['all']
215+
domain_name: ['CONUS']
216+
data: ['firexaq_wrfchem_v4.2','firexaq_wrfchem_v4.2_test']
217+
data_proc:
218+
rem_obs_nan: True
219+
set_axis: True
220+
altitude_variable: 'altitude'
221+
##To use a custom Matplotlib colormap, set “color_map_custom”=True and specify “colors” and "color_levels" like the example below. To use a standard Matplotlib colormap, set “color_map_custom” = False and specify a “color_map”:
222+
color_map_custom: True #False
223+
colors: ["#ff8cff", "#dd6ff2", "#bb52e5", "#9935d8", "#7718cb",
224+
"#0000bb", "#002ccc", "#0058dd", "#0084ee", "#00afff",
225+
"#00ebff", "#27ffd7", "#63ff9b", "#a3ff5b", "#d3ff2b",
226+
"#ffff00", "#ffcf00", "#ff9f00", "#ff6f00", "#ff3f00",
227+
"#ff0000", "#d8000f", "#b2001f", "#8c002f", "#66003f",
228+
"#343434", "#606060", "#8c8c8c", "#b8b8b8", "#e4e4e4"] # Example gradient
229+
color_levels: 30 # Define the number of distinct colors in the color bar (see te numbers of colors in 'colors' key above is matching)
230+
#color_map: 'Spectral_r' #'jet' # This can be set instead of color_map_custom, color_levels and color_levels to set a colormap defined in matplotlob.
231+
vmin: 50 #in hPa #5000 #120000 #Pressure in Pa #0 #Optional (y-axis limits)
232+
vmax: 1200 # in hPa #120000 #5000 # Optional #need to be edited as per min and max altitude (i.e., vmin and vmax)
233+
num_levels: 100 # Number of vertical levels for interpolation
234+
interval: 100 #hPa #10000 #Pa # Y-axis tick interval in Pa (e.g., ticks every 10,000 Pa)
235+
pressure_units: 'hPa' #'Pa' (units for y-axis)
236+
237+
plot_grp6:
202238
type: 'taylor' # plot type
203239
fig_kwargs: #Opt to define figure options
204240
figsize: [8,8] # figure size if multiple plots
@@ -213,7 +249,8 @@ plots:
213249
data_proc:
214250
rem_obs_nan: True # True: Remove all points where model or obs variable is NaN. False: Remove only points where model variable is NaN.
215251
set_axis: True #If select True, add ty_scale for each variable in obs.
216-
plot_grp6:
252+
253+
plot_grp7:
217254
type: 'boxplot' # plot type
218255
fig_kwargs: #Opt to define figure options
219256
figsize: [8, 6] # figure size
@@ -225,6 +262,7 @@ plots:
225262
data_proc:
226263
rem_obs_nan: True # True: Remove all points where model or obs variable is NaN. False: Remove only points where model variable is NaN.
227264
set_axis: False #If select True, add vmin_plot and vmax_plot for each variable in obs.
265+
228266
stats:
229267
#Stats require positive numbers, so if you want to calculate temperature use Kelvin!
230268
#Wind direction has special calculations for AirNow if obs name is 'WD'

0 commit comments

Comments
 (0)