From a58b6ad2195df58020bf9fda7800f3ceb2b7b460 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Fri, 9 Sep 2022 08:47:46 -0600 Subject: [PATCH] per #1787, added test for setting NA for climo_mean hour_interval --- internal_tests/pytests/grid_stat/test_grid_stat_wrapper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal_tests/pytests/grid_stat/test_grid_stat_wrapper.py b/internal_tests/pytests/grid_stat/test_grid_stat_wrapper.py index 017731ed79..239991bd74 100644 --- a/internal_tests/pytests/grid_stat/test_grid_stat_wrapper.py +++ b/internal_tests/pytests/grid_stat/test_grid_stat_wrapper.py @@ -484,6 +484,9 @@ def test_handle_climo_file_variables(metplus_config, config_overrides, ({'GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL': '12', }, {'METPLUS_CLIMO_MEAN_DICT': 'climo_mean = {hour_interval = 12;}'}), + ({'GRID_STAT_CLIMO_MEAN_HOUR_INTERVAL': 'NA', }, + {'METPLUS_CLIMO_MEAN_DICT': 'climo_mean = {hour_interval = NA;}'}), + ({ 'GRID_STAT_CLIMO_MEAN_FILE_NAME': '/some/climo_mean/file.txt', 'GRID_STAT_CLIMO_MEAN_FIELD': '{name="CLM_NAME"; level="(0,0,*,*)";}',