From b273d4b5e4ea5f4153cb1c4ce0d151e34ed8eb6d Mon Sep 17 00:00:00 2001 From: bikegeek Date: Tue, 1 Aug 2023 09:14:38 -0600 Subject: [PATCH 1/2] Modified default log level to ERROR to reduce logging messages captured in METviewer --- metplotpy/plots/config/bar_defaults.yaml | 2 +- metplotpy/plots/config/box_defaults.yaml | 2 +- metplotpy/plots/config/contour_defaults.yaml | 2 +- metplotpy/plots/config/eclv_defaults.yaml | 2 +- metplotpy/plots/config/ens_ss_defaults.yaml | 2 +- metplotpy/plots/config/hist_defaults.yaml | 2 +- metplotpy/plots/config/histogram_2d_defaults.yaml | 2 +- metplotpy/plots/config/histogram_defaults.yml | 2 +- metplotpy/plots/config/hovmoeller_defaults.yaml | 2 +- metplotpy/plots/config/line_defaults.yaml | 2 +- metplotpy/plots/config/mpr_plot_defaults.yaml | 2 +- metplotpy/plots/config/performance_diagram_defaults.yaml | 2 +- metplotpy/plots/config/reliability_defaults.yaml | 2 +- metplotpy/plots/config/revision_box_defaults.yaml | 2 +- metplotpy/plots/config/roc_diagram_defaults.yaml | 2 +- metplotpy/plots/config/taylor_diagram_defaults.yaml | 2 +- metplotpy/plots/config/tcmpr_defaults.yaml | 2 +- metplotpy/plots/config/wind_rose_defaults.yaml | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/metplotpy/plots/config/bar_defaults.yaml b/metplotpy/plots/config/bar_defaults.yaml index c658a4e7..ab33f1af 100644 --- a/metplotpy/plots/config/bar_defaults.yaml +++ b/metplotpy/plots/config/bar_defaults.yaml @@ -26,7 +26,7 @@ legend_inset: legend_ncol: 3 legend_size: 0.8 log_filename: stdout -log_level: INFO +log_level: ERROR line_type: N/A list_stat_1: [] list_stat_2: [] diff --git a/metplotpy/plots/config/box_defaults.yaml b/metplotpy/plots/config/box_defaults.yaml index d7e60df5..b5ee9e42 100644 --- a/metplotpy/plots/config/box_defaults.yaml +++ b/metplotpy/plots/config/box_defaults.yaml @@ -26,7 +26,7 @@ list_stat_1: [] list_stat_2: [] log_filename: stdout -log_level: INFO +log_level: ERROR mar: - 8 - 4 diff --git a/metplotpy/plots/config/contour_defaults.yaml b/metplotpy/plots/config/contour_defaults.yaml index 8bd9e775..0e8cd9a9 100644 --- a/metplotpy/plots/config/contour_defaults.yaml +++ b/metplotpy/plots/config/contour_defaults.yaml @@ -35,7 +35,7 @@ legend_size: 0.8 line_type: None log_filename: stdout -log_level: info +log_level: error mar: - 8.0 - 4.0 diff --git a/metplotpy/plots/config/eclv_defaults.yaml b/metplotpy/plots/config/eclv_defaults.yaml index 3beb0678..6e8318ed 100644 --- a/metplotpy/plots/config/eclv_defaults.yaml +++ b/metplotpy/plots/config/eclv_defaults.yaml @@ -23,7 +23,7 @@ legend_ncol: 3 legend_size: 0.8 line_type: N/A log_filename: stdout -log_level: info +log_level: error mar: - 8 - 4 diff --git a/metplotpy/plots/config/ens_ss_defaults.yaml b/metplotpy/plots/config/ens_ss_defaults.yaml index d1fe08a1..1d999594 100644 --- a/metplotpy/plots/config/ens_ss_defaults.yaml +++ b/metplotpy/plots/config/ens_ss_defaults.yaml @@ -33,7 +33,7 @@ list_stat_1: [] list_stat_2: [] log_filename: stdout -log_level: 'INFO' +log_level: ERROR mar: - 8 - 4 diff --git a/metplotpy/plots/config/hist_defaults.yaml b/metplotpy/plots/config/hist_defaults.yaml index ef083251..dc794225 100644 --- a/metplotpy/plots/config/hist_defaults.yaml +++ b/metplotpy/plots/config/hist_defaults.yaml @@ -30,7 +30,7 @@ legend_size: 0.8 line_type: None list_stat_1: [] log_filename: stdout -log_level: 'info' +log_level: error mar: - 8.0 - 4.0 diff --git a/metplotpy/plots/config/histogram_2d_defaults.yaml b/metplotpy/plots/config/histogram_2d_defaults.yaml index 00479685..a9568c1d 100644 --- a/metplotpy/plots/config/histogram_2d_defaults.yaml +++ b/metplotpy/plots/config/histogram_2d_defaults.yaml @@ -22,5 +22,5 @@ normalize_to_pdf: False pdf_min: 0.0 pdf_max: 4.0 -log_level: INFO +log_level: ERROR log_filename: stdout diff --git a/metplotpy/plots/config/histogram_defaults.yml b/metplotpy/plots/config/histogram_defaults.yml index 00da6bcf..c5707e73 100644 --- a/metplotpy/plots/config/histogram_defaults.yml +++ b/metplotpy/plots/config/histogram_defaults.yml @@ -65,5 +65,5 @@ xbins: # bins used for histogram #end: 200 size: 10 -log_level: INFO +log_level: ERROR log_filename: stdout diff --git a/metplotpy/plots/config/hovmoeller_defaults.yaml b/metplotpy/plots/config/hovmoeller_defaults.yaml index 6ba70a5b..82282b24 100644 --- a/metplotpy/plots/config/hovmoeller_defaults.yaml +++ b/metplotpy/plots/config/hovmoeller_defaults.yaml @@ -30,5 +30,5 @@ contour_max: 1.6 contour_del: 0.2 colorscale: 'BuPu' -log_level: INFO +log_level: ERROR log_filename: stdout diff --git a/metplotpy/plots/config/line_defaults.yaml b/metplotpy/plots/config/line_defaults.yaml index 506a576a..ccf83321 100644 --- a/metplotpy/plots/config/line_defaults.yaml +++ b/metplotpy/plots/config/line_defaults.yaml @@ -34,7 +34,7 @@ line_type: N/A list_stat_1: [] list_stat_2: [] log_filename: stdout -log_level: 'INFO' +log_level: ERROR mar: - 8 - 4 diff --git a/metplotpy/plots/config/mpr_plot_defaults.yaml b/metplotpy/plots/config/mpr_plot_defaults.yaml index a1735d2e..eaaae23a 100644 --- a/metplotpy/plots/config/mpr_plot_defaults.yaml +++ b/metplotpy/plots/config/mpr_plot_defaults.yaml @@ -28,7 +28,7 @@ angularaxis_ticktext: - 'S' - 'W' log_filename: stdout -log_level: 'info' +log_level: error width: 1200 height: 7500 marker_color: 'rgb(194,189,251)' diff --git a/metplotpy/plots/config/performance_diagram_defaults.yaml b/metplotpy/plots/config/performance_diagram_defaults.yaml index 67bfd326..a31a16e9 100644 --- a/metplotpy/plots/config/performance_diagram_defaults.yaml +++ b/metplotpy/plots/config/performance_diagram_defaults.yaml @@ -101,7 +101,7 @@ legend_inset: legend_size: 0.8 log_filename: STDOUT -log_level: 'info' +log_level: error plot_stat: median plot_contour_legend: False colors: diff --git a/metplotpy/plots/config/reliability_defaults.yaml b/metplotpy/plots/config/reliability_defaults.yaml index 631b1133..1cfdcce0 100644 --- a/metplotpy/plots/config/reliability_defaults.yaml +++ b/metplotpy/plots/config/reliability_defaults.yaml @@ -65,7 +65,7 @@ list_stat_1: - PSTD_NI list_stat_2: [] log_filename: STDOUT -log_level: 'INFO' +log_level: ERROR mar: - 8 - 4 diff --git a/metplotpy/plots/config/revision_box_defaults.yaml b/metplotpy/plots/config/revision_box_defaults.yaml index 52de994d..6b0422fa 100644 --- a/metplotpy/plots/config/revision_box_defaults.yaml +++ b/metplotpy/plots/config/revision_box_defaults.yaml @@ -37,7 +37,7 @@ legend_ncol: 3 legend_size: 0.8 list_stat_1: [] log_filename: stdout -log_level: 'INFO' +log_level: ERROR mar: - 8.0 - 4.0 diff --git a/metplotpy/plots/config/roc_diagram_defaults.yaml b/metplotpy/plots/config/roc_diagram_defaults.yaml index 17eb1972..d5953f40 100644 --- a/metplotpy/plots/config/roc_diagram_defaults.yaml +++ b/metplotpy/plots/config/roc_diagram_defaults.yaml @@ -51,7 +51,7 @@ legend_size: 0.8 #required line_type: N/A log_filename: stdout -log_level: 'INFO' +log_level: ERROR plot_disp: - True #required series_order: diff --git a/metplotpy/plots/config/taylor_diagram_defaults.yaml b/metplotpy/plots/config/taylor_diagram_defaults.yaml index 637d7c8c..71b05f57 100644 --- a/metplotpy/plots/config/taylor_diagram_defaults.yaml +++ b/metplotpy/plots/config/taylor_diagram_defaults.yaml @@ -36,7 +36,7 @@ legend_ncol: 4 legend_size: 0.8 log_filename: STDOUT -log_level: 'INFO' +log_level: ERROR # Turn on/off plotting of specific points/series plot_disp: diff --git a/metplotpy/plots/config/tcmpr_defaults.yaml b/metplotpy/plots/config/tcmpr_defaults.yaml index d2a44727..ba427485 100644 --- a/metplotpy/plots/config/tcmpr_defaults.yaml +++ b/metplotpy/plots/config/tcmpr_defaults.yaml @@ -35,7 +35,7 @@ line_type: None list_stat_1: [] log_filename: stdout -log_level: 'WARNING' +log_level: ERROR mar: l: 0 #left margin diff --git a/metplotpy/plots/config/wind_rose_defaults.yaml b/metplotpy/plots/config/wind_rose_defaults.yaml index bf0ec682..c616047d 100644 --- a/metplotpy/plots/config/wind_rose_defaults.yaml +++ b/metplotpy/plots/config/wind_rose_defaults.yaml @@ -1,7 +1,7 @@ type: FCST title: Wind Rose log_filename: stdout -log_level: 'INFO' +log_level: ERROR wind_rose_breaks: - 0.0 - 1.0 From c3ca1682b5deaeea3709e0e02fd9dcf74e540e77 Mon Sep 17 00:00:00 2001 From: bikegeek Date: Tue, 1 Aug 2023 09:34:14 -0600 Subject: [PATCH 2/2] Revert "Modified default log level to ERROR to reduce logging messages captured in METviewer" This reverts commit b273d4b5e4ea5f4153cb1c4ce0d151e34ed8eb6d. --- metplotpy/plots/config/bar_defaults.yaml | 2 +- metplotpy/plots/config/box_defaults.yaml | 2 +- metplotpy/plots/config/contour_defaults.yaml | 2 +- metplotpy/plots/config/eclv_defaults.yaml | 2 +- metplotpy/plots/config/ens_ss_defaults.yaml | 2 +- metplotpy/plots/config/hist_defaults.yaml | 2 +- metplotpy/plots/config/histogram_2d_defaults.yaml | 2 +- metplotpy/plots/config/histogram_defaults.yml | 2 +- metplotpy/plots/config/hovmoeller_defaults.yaml | 2 +- metplotpy/plots/config/line_defaults.yaml | 2 +- metplotpy/plots/config/mpr_plot_defaults.yaml | 2 +- metplotpy/plots/config/performance_diagram_defaults.yaml | 2 +- metplotpy/plots/config/reliability_defaults.yaml | 2 +- metplotpy/plots/config/revision_box_defaults.yaml | 2 +- metplotpy/plots/config/roc_diagram_defaults.yaml | 2 +- metplotpy/plots/config/taylor_diagram_defaults.yaml | 2 +- metplotpy/plots/config/tcmpr_defaults.yaml | 2 +- metplotpy/plots/config/wind_rose_defaults.yaml | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/metplotpy/plots/config/bar_defaults.yaml b/metplotpy/plots/config/bar_defaults.yaml index ab33f1af..c658a4e7 100644 --- a/metplotpy/plots/config/bar_defaults.yaml +++ b/metplotpy/plots/config/bar_defaults.yaml @@ -26,7 +26,7 @@ legend_inset: legend_ncol: 3 legend_size: 0.8 log_filename: stdout -log_level: ERROR +log_level: INFO line_type: N/A list_stat_1: [] list_stat_2: [] diff --git a/metplotpy/plots/config/box_defaults.yaml b/metplotpy/plots/config/box_defaults.yaml index b5ee9e42..d7e60df5 100644 --- a/metplotpy/plots/config/box_defaults.yaml +++ b/metplotpy/plots/config/box_defaults.yaml @@ -26,7 +26,7 @@ list_stat_1: [] list_stat_2: [] log_filename: stdout -log_level: ERROR +log_level: INFO mar: - 8 - 4 diff --git a/metplotpy/plots/config/contour_defaults.yaml b/metplotpy/plots/config/contour_defaults.yaml index 0e8cd9a9..8bd9e775 100644 --- a/metplotpy/plots/config/contour_defaults.yaml +++ b/metplotpy/plots/config/contour_defaults.yaml @@ -35,7 +35,7 @@ legend_size: 0.8 line_type: None log_filename: stdout -log_level: error +log_level: info mar: - 8.0 - 4.0 diff --git a/metplotpy/plots/config/eclv_defaults.yaml b/metplotpy/plots/config/eclv_defaults.yaml index 6e8318ed..3beb0678 100644 --- a/metplotpy/plots/config/eclv_defaults.yaml +++ b/metplotpy/plots/config/eclv_defaults.yaml @@ -23,7 +23,7 @@ legend_ncol: 3 legend_size: 0.8 line_type: N/A log_filename: stdout -log_level: error +log_level: info mar: - 8 - 4 diff --git a/metplotpy/plots/config/ens_ss_defaults.yaml b/metplotpy/plots/config/ens_ss_defaults.yaml index 1d999594..d1fe08a1 100644 --- a/metplotpy/plots/config/ens_ss_defaults.yaml +++ b/metplotpy/plots/config/ens_ss_defaults.yaml @@ -33,7 +33,7 @@ list_stat_1: [] list_stat_2: [] log_filename: stdout -log_level: ERROR +log_level: 'INFO' mar: - 8 - 4 diff --git a/metplotpy/plots/config/hist_defaults.yaml b/metplotpy/plots/config/hist_defaults.yaml index dc794225..ef083251 100644 --- a/metplotpy/plots/config/hist_defaults.yaml +++ b/metplotpy/plots/config/hist_defaults.yaml @@ -30,7 +30,7 @@ legend_size: 0.8 line_type: None list_stat_1: [] log_filename: stdout -log_level: error +log_level: 'info' mar: - 8.0 - 4.0 diff --git a/metplotpy/plots/config/histogram_2d_defaults.yaml b/metplotpy/plots/config/histogram_2d_defaults.yaml index a9568c1d..00479685 100644 --- a/metplotpy/plots/config/histogram_2d_defaults.yaml +++ b/metplotpy/plots/config/histogram_2d_defaults.yaml @@ -22,5 +22,5 @@ normalize_to_pdf: False pdf_min: 0.0 pdf_max: 4.0 -log_level: ERROR +log_level: INFO log_filename: stdout diff --git a/metplotpy/plots/config/histogram_defaults.yml b/metplotpy/plots/config/histogram_defaults.yml index c5707e73..00da6bcf 100644 --- a/metplotpy/plots/config/histogram_defaults.yml +++ b/metplotpy/plots/config/histogram_defaults.yml @@ -65,5 +65,5 @@ xbins: # bins used for histogram #end: 200 size: 10 -log_level: ERROR +log_level: INFO log_filename: stdout diff --git a/metplotpy/plots/config/hovmoeller_defaults.yaml b/metplotpy/plots/config/hovmoeller_defaults.yaml index 82282b24..6ba70a5b 100644 --- a/metplotpy/plots/config/hovmoeller_defaults.yaml +++ b/metplotpy/plots/config/hovmoeller_defaults.yaml @@ -30,5 +30,5 @@ contour_max: 1.6 contour_del: 0.2 colorscale: 'BuPu' -log_level: ERROR +log_level: INFO log_filename: stdout diff --git a/metplotpy/plots/config/line_defaults.yaml b/metplotpy/plots/config/line_defaults.yaml index ccf83321..506a576a 100644 --- a/metplotpy/plots/config/line_defaults.yaml +++ b/metplotpy/plots/config/line_defaults.yaml @@ -34,7 +34,7 @@ line_type: N/A list_stat_1: [] list_stat_2: [] log_filename: stdout -log_level: ERROR +log_level: 'INFO' mar: - 8 - 4 diff --git a/metplotpy/plots/config/mpr_plot_defaults.yaml b/metplotpy/plots/config/mpr_plot_defaults.yaml index eaaae23a..a1735d2e 100644 --- a/metplotpy/plots/config/mpr_plot_defaults.yaml +++ b/metplotpy/plots/config/mpr_plot_defaults.yaml @@ -28,7 +28,7 @@ angularaxis_ticktext: - 'S' - 'W' log_filename: stdout -log_level: error +log_level: 'info' width: 1200 height: 7500 marker_color: 'rgb(194,189,251)' diff --git a/metplotpy/plots/config/performance_diagram_defaults.yaml b/metplotpy/plots/config/performance_diagram_defaults.yaml index a31a16e9..67bfd326 100644 --- a/metplotpy/plots/config/performance_diagram_defaults.yaml +++ b/metplotpy/plots/config/performance_diagram_defaults.yaml @@ -101,7 +101,7 @@ legend_inset: legend_size: 0.8 log_filename: STDOUT -log_level: error +log_level: 'info' plot_stat: median plot_contour_legend: False colors: diff --git a/metplotpy/plots/config/reliability_defaults.yaml b/metplotpy/plots/config/reliability_defaults.yaml index 1cfdcce0..631b1133 100644 --- a/metplotpy/plots/config/reliability_defaults.yaml +++ b/metplotpy/plots/config/reliability_defaults.yaml @@ -65,7 +65,7 @@ list_stat_1: - PSTD_NI list_stat_2: [] log_filename: STDOUT -log_level: ERROR +log_level: 'INFO' mar: - 8 - 4 diff --git a/metplotpy/plots/config/revision_box_defaults.yaml b/metplotpy/plots/config/revision_box_defaults.yaml index 6b0422fa..52de994d 100644 --- a/metplotpy/plots/config/revision_box_defaults.yaml +++ b/metplotpy/plots/config/revision_box_defaults.yaml @@ -37,7 +37,7 @@ legend_ncol: 3 legend_size: 0.8 list_stat_1: [] log_filename: stdout -log_level: ERROR +log_level: 'INFO' mar: - 8.0 - 4.0 diff --git a/metplotpy/plots/config/roc_diagram_defaults.yaml b/metplotpy/plots/config/roc_diagram_defaults.yaml index d5953f40..17eb1972 100644 --- a/metplotpy/plots/config/roc_diagram_defaults.yaml +++ b/metplotpy/plots/config/roc_diagram_defaults.yaml @@ -51,7 +51,7 @@ legend_size: 0.8 #required line_type: N/A log_filename: stdout -log_level: ERROR +log_level: 'INFO' plot_disp: - True #required series_order: diff --git a/metplotpy/plots/config/taylor_diagram_defaults.yaml b/metplotpy/plots/config/taylor_diagram_defaults.yaml index 71b05f57..637d7c8c 100644 --- a/metplotpy/plots/config/taylor_diagram_defaults.yaml +++ b/metplotpy/plots/config/taylor_diagram_defaults.yaml @@ -36,7 +36,7 @@ legend_ncol: 4 legend_size: 0.8 log_filename: STDOUT -log_level: ERROR +log_level: 'INFO' # Turn on/off plotting of specific points/series plot_disp: diff --git a/metplotpy/plots/config/tcmpr_defaults.yaml b/metplotpy/plots/config/tcmpr_defaults.yaml index ba427485..d2a44727 100644 --- a/metplotpy/plots/config/tcmpr_defaults.yaml +++ b/metplotpy/plots/config/tcmpr_defaults.yaml @@ -35,7 +35,7 @@ line_type: None list_stat_1: [] log_filename: stdout -log_level: ERROR +log_level: 'WARNING' mar: l: 0 #left margin diff --git a/metplotpy/plots/config/wind_rose_defaults.yaml b/metplotpy/plots/config/wind_rose_defaults.yaml index c616047d..bf0ec682 100644 --- a/metplotpy/plots/config/wind_rose_defaults.yaml +++ b/metplotpy/plots/config/wind_rose_defaults.yaml @@ -1,7 +1,7 @@ type: FCST title: Wind Rose log_filename: stdout -log_level: ERROR +log_level: 'INFO' wind_rose_breaks: - 0.0 - 1.0