From 5573d988a88341b593beacdf3d4fc0cf01112dfe Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 20 Jul 2022 14:04:29 -0500
Subject: [PATCH] minor...

---
 modules/aeolus/aeolus_amv.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index bd0aca09..b527c2aa 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -1147,7 +1147,6 @@ def make_plot(bin_ranges, bin_values, title='ACHA - RAOB BestFit', colors=['blue
     bin_vals_g = bin_values[1]
     bin_vals = bin_values[2]
 
-    x_values = []
     num_vals_r = []
     num_vals_g = []
     num_vals = []
@@ -1169,6 +1168,7 @@ def make_plot(bin_ranges, bin_values, title='ACHA - RAOB BestFit', colors=['blue
         num_g += bin_vals_g[i].shape[0]
         num += bin_vals[i].shape[0]
 
+    x_values = []
     for i in range(len(bin_ranges)):
         x_values.append(np.average(bin_ranges[i]))
 
@@ -1191,16 +1191,16 @@ def make_plot(bin_ranges, bin_values, title='ACHA - RAOB BestFit', colors=['blue
         bias.append(np.average(bin_vals[i]))
         std.append(np.std(bin_vals[i]))
 
-    x_axis_label = 'STD (deg)'
-    do_plot(x_values, [std_r, std_g, std], line_labels, colors, title=title, x_axis_label=x_axis_label, y_axis_label='hPa', invert=True, flip=True)
+    x_axis_label = 'STD (hPa)'
+    #do_plot(x_values, [std_r, std_g, std], line_labels, colors, title=title, x_axis_label=x_axis_label, y_axis_label='hPa', invert=True, flip=True)
 
-    x_axis_label = 'BIAS (deg)'
-    do_plot(x_values, [bias_r, bias_g, bias], line_labels, colors, title=title, x_axis_label=x_axis_label, y_axis_label='hPa', invert=True, flip=True)
+    x_axis_label = 'BIAS (hPa)'
+    do_plot(x_values, [bias_r, bias_g], line_labels, colors, title=title, x_axis_label=x_axis_label, y_axis_label='hPa', invert=True, flip=True)
 
-    x_axis_label = 'MAD (deg)'
-    do_plot(x_values, [mad_r, mad_g, mad], line_labels, colors, title=title, x_axis_label=x_axis_label, y_axis_label='hPa', invert=True, flip=True)
+    x_axis_label = 'MAE (hPa)'
+    #do_plot(x_values, [mad_r, mad_g], line_labels, colors, title=title, x_axis_label=x_axis_label, y_axis_label='hPa', invert=True, flip=True)
 
-    do_plot(x_values, [num_vals_r, num_vals_g, num_vals], ['ICE: '+str(num_r), 'NOT ICE: '+str(num_g), 'ALL: '+str(num)], colors, title=title, x_axis_label='log(Count)', y_axis_label='hPa', invert=True, flip=True)
+    #do_plot(x_values, [num_vals_r, num_vals_g, num_vals], ['ICE: '+str(num_r), 'NOT ICE: '+str(num_g), 'ALL: '+str(num)], colors, title=title, x_axis_label='log(Count)', y_axis_label='hPa', invert=True, flip=True)
 
 
 def make_plot2(bin_pres_r, bin_ranges):
@@ -1235,7 +1235,7 @@ def make_plot2(bin_pres_r, bin_ranges):
         #spd_bias_r.append(np.average(bin_spd_r[i]))
 
 
-    do_plot(x_values, [pres_mad_r], ['RAOB'], ['blue'], title='ACHA - BestFit', x_axis_label='MAD', y_axis_label='hPa', invert=True, flip=True)
+    do_plot(x_values, [pres_mad_r], ['RAOB'], ['blue'], title='ACHA - BestFit', x_axis_label='MAE', y_axis_label='hPa', invert=True, flip=True)
     #do_plot(x_values, [pres_mad_r, pres_mad_g], ['RAOB', 'GFS'], ['blue', 'red'], title='ACHA - BestFit', x_axis_label='MAD', y_axis_label='hPa', invert=True, flip=True)
     #do_plot(x_values, [spd_mad_r, spd_mad_g], ['RAOB', 'GFS'], ['blue', 'red'], title='ACHA - BestFit', x_axis_label='MAE (m/s)', y_axis_label='hPa', invert=True, flip=True)
     #do_plot(x_values, [pres_bias_r, pres_bias_g], ['RAOB', 'GFS'], ['blue', 'red'], title='ACHA - BestFit', x_axis_label='BIAS', y_axis_label='hPa', invert=True, flip=True)
-- 
GitLab