From 9b4cc3111958e2fb1dc35bfa7a7f41c83640d04c Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Silva Date: Thu, 21 Nov 2024 12:11:04 +0000 Subject: [PATCH] Modified bootstrap config of forecast pr in order to have correct values for unit and colorscale min/max (#307) --- .../coverage_configurations/forecast/pr.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/forecast/pr.py b/arpav_ppcv/bootstrapper/coverage_configurations/forecast/pr.py index fde36f76..d5079a0d 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/forecast/pr.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/forecast/pr.py @@ -896,10 +896,10 @@ def generate_configurations( wms_main_layer_name="pr", netcdf_main_dataset_name="pr", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/pr_EC-EARTH_CCLM4-8-17_{scenario}_ts_ls_VFVGTAA.nc", - unit_english="%", + unit_english="mm", palette="default/seq-BuYl-inv", color_scale_min=0, - color_scale_max=800, + color_scale_max=3200, data_precision=_DATA_PRECISION, possible_values=[ ConfigurationParameterPossibleValueCreate( @@ -1049,7 +1049,7 @@ def generate_configurations( netcdf_main_dataset_name="pr", wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/pr_EC-EARTH_RACMO22E_{scenario}_ts_ls_VFVGTAA.nc", - unit_english="%", + unit_english="mm", palette="default/seq-BuYl-inv", color_scale_min=0, color_scale_max=3200, @@ -1199,7 +1199,7 @@ def generate_configurations( netcdf_main_dataset_name="pr", wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/pr_EC-EARTH_RCA4_{scenario}_ts_ls_VFVGTAA.nc", - unit_english="%", + unit_english="mm", palette="default/seq-BuYl-inv", color_scale_min=0, color_scale_max=3200, @@ -1349,7 +1349,7 @@ def generate_configurations( netcdf_main_dataset_name="pr", wms_main_layer_name="pr", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/pr_HadGEM2-ES_RACMO22E_{scenario}_ts_ls_VFVGTAA.nc", - unit_english="%", + unit_english="mm", palette="default/seq-BuYl-inv", color_scale_min=0, color_scale_max=3200, @@ -1502,7 +1502,7 @@ def generate_configurations( netcdf_main_dataset_name="pr", wms_main_layer_name="pr", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/pr_MPI-ESM-LR_REMO2009_{scenario}_ts_ls_VFVGTAA.nc", - unit_english="%", + unit_english="mm", palette="default/seq-BuYl-inv", color_scale_min=0, color_scale_max=3200,