From 0df2540996207b0e45ad75eca0a9b1499e740822 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 19 Dec 2020 22:09:31 +0100 Subject: [PATCH] DWD ICON: Rename parameter "aswdiff_s" to "aswdifd_s" On the DWD open data server, there are no folders called "aswdiff_s". Resolve #1. --- config/model_variables_mapping.yml | 2 +- tests/modules/config/test_parse_configurations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/model_variables_mapping.yml b/config/model_variables_mapping.yml index a9f319b..ab8cccc 100644 --- a/config/model_variables_mapping.yml +++ b/config/model_variables_mapping.yml @@ -13,7 +13,7 @@ icon_global: &icon_global grid_scale_rain: rain_gsp global_horizontal_irradiance: asob_s direct_normal_irradiance: aswdir_s - diffuse_horizontal_irradiance: aswdiff_s + diffuse_horizontal_irradiance: aswdifd_s mixed_layer_cape: cape_ml pressure_mean_sea_level: pmsl max_air_temperature_2m: tmax_2m diff --git a/tests/modules/config/test_parse_configurations.py b/tests/modules/config/test_parse_configurations.py index 2e72016..2326a6e 100644 --- a/tests/modules/config/test_parse_configurations.py +++ b/tests/modules/config/test_parse_configurations.py @@ -92,7 +92,7 @@ def test_parse_model_variables_mapping(): 'grid_scale_rain': 'rain_gsp', 'global_horizontal_irradiance': 'asob_s', 'direct_normal_irradiance': 'aswdir_s', - 'diffuse_horizontal_irradiance': 'aswdiff_s', + 'diffuse_horizontal_irradiance': 'aswdifd_s', 'mixed_layer_cape': 'cape_ml', 'pressure_mean_sea_level': 'pmsl', 'max_air_temperature_2m': 'tmax_2m',