diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/cdd.py b/arpav_ppcv/bootstrapper/coverage_configurations/cdd.py index 56e85225..9f8631f6 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/cdd.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/cdd.py @@ -20,6 +20,7 @@ def generate_configurations( CoverageConfigurationCreate( name="cdd_30yr_anomaly_annual_agree_model_ensemble", netcdf_main_dataset_name="cdd", + wms_main_layer_name="consecutive_dry_days_index_per_time_period-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/eca_cdd_an_avgagree_{time_window}_{scenario}_{year_period}_ls_VFVGTAA.nc", unit="gg", palette="uncert-stippled/div-BrBG-inv", @@ -76,6 +77,7 @@ def generate_configurations( CoverageConfigurationCreate( name="cdd_30yr_anomaly_annual_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="cdd", + wms_main_layer_name="consecutive_dry_days_index_per_time_period", thredds_url_pattern="indici5rcm/clipped/eca_cdd_an_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_{time_window}_ls_VFVGTAA.nc", unit="gg", palette="default/div-BrBG-inv", @@ -132,6 +134,7 @@ def generate_configurations( CoverageConfigurationCreate( name="cdd_30yr_anomaly_annual_model_ec_earth_racmo22e", netcdf_main_dataset_name="cdd", + wms_main_layer_name="consecutive_dry_days_index_per_time_period", thredds_url_pattern="indici5rcm/clipped/eca_cdd_an_EC-EARTH_RACMO22E_{scenario}_{year_period}_{time_window}_ls_VFVGTAA.nc", unit="gg", palette="default/div-BrBG-inv", @@ -188,6 +191,7 @@ def generate_configurations( CoverageConfigurationCreate( name="cdd_30yr_anomaly_annual_model_ec_earth_rca4", netcdf_main_dataset_name="cdd", + wms_main_layer_name="consecutive_dry_days_index_per_time_period", thredds_url_pattern="indici5rcm/clipped/eca_cdd_an_EC-EARTH_RCA4_{scenario}_{year_period}_{time_window}_ls_VFVGTAA.nc", unit="gg", palette="default/div-BrBG-inv", @@ -244,6 +248,7 @@ def generate_configurations( CoverageConfigurationCreate( name="cdd_30yr_anomaly_annual_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="cdd", + wms_main_layer_name="consecutive_dry_days_index_per_time_period", thredds_url_pattern="indici5rcm/clipped/eca_cdd_an_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_{time_window}_ls_VFVGTAA.nc", unit="gg", palette="default/div-BrBG-inv", @@ -300,6 +305,7 @@ def generate_configurations( CoverageConfigurationCreate( name="cdd_30yr_anomaly_annual_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="cdd", + wms_main_layer_name="consecutive_dry_days_index_per_time_period", thredds_url_pattern="indici5rcm/clipped/eca_cdd_an_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_{time_window}_ls_VFVGTAA.nc", unit="gg", palette="default/div-BrBG-inv", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/fd.py b/arpav_ppcv/bootstrapper/coverage_configurations/fd.py index a263a621..68fd183d 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/fd.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/fd.py @@ -31,6 +31,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_ensemble", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="ensymbc/clipped/ecafd_0_avg_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -61,6 +62,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/ecafd_0_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -91,6 +93,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/ecafd_0_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -121,6 +124,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/ecafd_0_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -151,6 +155,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/ecafd_0_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -181,6 +186,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/ecafd_0_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -211,6 +217,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="fd_stdup", + wms_main_layer_name="fd_stdup", thredds_url_pattern="ensymbc/std/clipped/ecafd_0_stdup_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -237,6 +244,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="fd_stddown", + wms_main_layer_name="fd_stddown", thredds_url_pattern="ensymbc/std/clipped/ecafd_0_stddown_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-Blues-inv", @@ -263,6 +271,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_30yr_anomaly_annual_agree_model_ensemble", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd_uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/ecafdan_0_avgagree_{time_window}_{scenario}_ls_VFVG.nc", unit="gg", palette="uncert-stippled/seq-YlOrRd-inv", @@ -299,6 +308,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_30yr_anomaly_annual_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="indici5rcm/clipped/ecafdan_0_EC-EARTH_CCLM4-8-17_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd-inv", @@ -335,6 +345,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_30yr_anomaly_annual_model_ec_earth_racmo22e", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="indici5rcm/clipped/ecafdan_0_EC-EARTH_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd-inv", @@ -371,6 +382,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_30yr_anomaly_annual_model_ec_earth_rca4", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="indici5rcm/clipped/ecafdan_0_EC-EARTH_RCA4_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd-inv", @@ -407,6 +419,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_30yr_anomaly_annual_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="indici5rcm/clipped/ecafdan_0_HadGEM2-ES_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd-inv", @@ -443,6 +456,7 @@ def generate_configurations( CoverageConfigurationCreate( name="fd_30yr_anomaly_annual_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="fd", + wms_main_layer_name="fd", thredds_url_pattern="indici5rcm/clipped/ecafdan_0_MPI-ESM-LR_REMO2009_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd-inv", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/pr.py b/arpav_ppcv/bootstrapper/coverage_configurations/pr.py index a1e9cee5..2b9e8ad5 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/pr.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/pr.py @@ -52,6 +52,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_ensemble", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="ens5ym/clipped/pr_anom_pp_ts_{scenario}_{year_period}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -98,6 +99,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_CCLM4-8-17ym/clipped/pr_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_anomaly_pp_percentage_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -144,6 +146,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_ec_earth_racmo22e", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_RACMO22Eym/clipped/pr_EC-EARTH_RACMO22E_{scenario}_{year_period}_anomaly_pp_percentage_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -190,6 +193,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_ec_earth_rca4", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_RCA4ym/clipped/pr_EC-EARTH_RCA4_{scenario}_{year_period}_anomaly_pp_percentage_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -236,6 +240,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="HadGEM2-ES_RACMO22Eym/clipped/pr_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_anomaly_pp_percentage_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -282,6 +287,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="MPI-ESM-LR_REMO2009ym/clipped/pr_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_anomaly_pp_percentage_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -328,6 +334,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="pr_stdup", + wms_main_layer_name="pr_stdup", thredds_url_pattern="ens5ym/std/clipped/pr_anom_stdup_pp_ts_{scenario}_{year_period}_VFVGTAA.nc", unit="%", palette="default/seq-YlOrRd", @@ -374,6 +381,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_anomaly_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="pr_stddown", + wms_main_layer_name="pr_stddown", thredds_url_pattern="ens5ym/std/clipped/pr_anom_stddown_pp_ts_{scenario}_{year_period}_VFVGTAA.nc", unit="%", palette="default/seq-YlOrRd", @@ -420,6 +428,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_ensemble", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="ensymbc/clipped/pr_avg_{scenario}_{year_period}_ts19762100_ls_VFVGTAA.nc", unit="mm", palette="default/seq-BuYl-inv", @@ -470,6 +479,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_ensemble", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="ensymbc/clipped/pr_avg_{scenario}_ts19762100_ls_VFVGTAA.nc", unit="mm", palette="default/seq-BuYl-inv", @@ -500,6 +510,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/pr_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_ts_ls_VFVGTAA.nc", unit="%", palette="default/seq-BuYl-inv", @@ -549,6 +560,7 @@ def generate_configurations( ), CoverageConfigurationCreate( name="pr_annual_absolute_model_ec_earth_cclm4_8_17", + 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="%", @@ -580,6 +592,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/pr_EC-EARTH_RACMO22E_{scenario}_{year_period}_ts_ls_VFVGTAA.nc", unit="%", palette="default/seq-BuYl-inv", @@ -630,6 +643,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_ec_earth_racmo22e", 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="%", palette="default/seq-BuYl-inv", @@ -660,6 +674,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/pr_EC-EARTH_RCA4_{scenario}_{year_period}_ts_ls_VFVGTAA.nc", unit="%", palette="default/seq-BuYl-inv", @@ -710,6 +725,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_ec_earth_rca4", 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="%", palette="default/seq-BuYl-inv", @@ -740,6 +756,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/pr_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_ts_ls_VFVGTAA.nc", unit="%", palette="default/seq-BuYl-inv", @@ -790,6 +807,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_hadgem2_es_racmo22e", 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="%", palette="default/seq-BuYl-inv", @@ -820,6 +838,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/pr_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_ts_ls_VFVGTAA.nc", unit="%", palette="default/seq-BuYl-inv", @@ -870,6 +889,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_mpi_esm_lr_remo2009", 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="%", palette="default/seq-BuYl-inv", @@ -900,6 +920,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="pr_stdup", + wms_main_layer_name="pr_stdup", thredds_url_pattern="ensymbc/std/clipped/pr_stdup_{scenario}_{year_period}_ts19762100_ls_VFVGTAA.nc", unit="mm", palette="default/seq-BuYl-inv", @@ -946,6 +967,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_seasonal_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="pr_stddown", + wms_main_layer_name="pr_stddown", thredds_url_pattern="ensymbc/std/clipped/pr_stddown_{scenario}_{year_period}_ts19762100_ls_VFVGTAA.nc", unit="mm", palette="default/seq-BuYl-inv", @@ -992,6 +1014,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="pr_stdup", + wms_main_layer_name="pr_stdup", thredds_url_pattern="ensymbc/std/clipped/pr_stdup_{scenario}_ts19762100_ls_VFVGTAA.nc", unit="mm", palette="default/seq-BuYl-inv", @@ -1018,6 +1041,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="pr_stddown", + wms_main_layer_name="pr_stddown", thredds_url_pattern="ensymbc/std/clipped/pr_stddown_{scenario}_ts19762100_ls_VFVGTAA.nc", unit="mm", palette="default/seq-BuYl-inv", @@ -1044,6 +1068,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_30yr_anomaly_seasonal_agree_model_ensemble", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/pr_avgagree_percentage_{time_window}_{scenario}_{year_period}_VFVGTAA.nc", unit="%", palette="uncert-stippled/div-BrBG", @@ -1100,6 +1125,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_30yr_anomaly_seasonal_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="taspr5rcm/clipped/pr_EC-EARTH_CCLM4-8-17_{scenario}_seas_{time_window}_percentage_{year_period}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -1156,6 +1182,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_30yr_anomaly_seasonal_model_ec_earth_racmo22e", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="taspr5rcm/clipped/pr_EC-EARTH_RACMO22E_{scenario}_seas_{time_window}_percentage_{year_period}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -1212,6 +1239,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_30yr_anomaly_seasonal_model_ec_earth_rca4", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="taspr5rcm/clipped/pr_EC-EARTH_RCA4_{scenario}_seas_{time_window}_percentage_{year_period}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -1268,6 +1296,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_30yr_anomaly_seasonal_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="taspr5rcm/clipped/pr_HadGEM2-ES_RACMO22E_{scenario}_seas_{time_window}_percentage_{year_period}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -1324,6 +1353,7 @@ def generate_configurations( CoverageConfigurationCreate( name="pr_30yr_anomaly_seasonal_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="pr", + wms_main_layer_name="pr", thredds_url_pattern="taspr5rcm/clipped/pr_MPI-ESM-LR_REMO2009_{scenario}_seas_{time_window}_percentage_{year_period}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/r95ptot.py b/arpav_ppcv/bootstrapper/coverage_configurations/r95ptot.py index 1c7dc5c0..cb612446 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/r95ptot.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/r95ptot.py @@ -20,6 +20,7 @@ def generate_configurations( CoverageConfigurationCreate( name="r95ptot_30yr_anomaly_annual_agree_model_ensemble", netcdf_main_dataset_name="r95ptot", + wms_main_layer_name="r95ptot-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/pr_change_cumulative_check_avgagree_{time_window}_{scenario}_{year_period}_VFVGTAA.nc", unit="%", palette="uncert-stippled/div-BrBG", @@ -76,6 +77,7 @@ def generate_configurations( CoverageConfigurationCreate( name="r95ptot_30yr_anomaly_annual_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="r95ptot", + wms_main_layer_name="r95ptot", thredds_url_pattern="indici5rcm/clipped/pr_change_cumulative_EC-EARTH_CCLM4-8-17_{year_period}_{scenario}_{time_window}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -132,6 +134,7 @@ def generate_configurations( CoverageConfigurationCreate( name="r95ptot_30yr_anomaly_annual_model_ec_earth_racmo22e", netcdf_main_dataset_name="r95ptot", + wms_main_layer_name="r95ptot", thredds_url_pattern="indici5rcm/clipped/pr_change_cumulative_EC-EARTH_RACMO22E_{year_period}_{scenario}_{time_window}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -188,6 +191,7 @@ def generate_configurations( CoverageConfigurationCreate( name="r95ptot_30yr_anomaly_annual_model_ec_earth_rca4", netcdf_main_dataset_name="r95ptot", + wms_main_layer_name="r95ptot", thredds_url_pattern="indici5rcm/clipped/pr_change_cumulative_EC-EARTH_RCA4_{year_period}_{scenario}_{time_window}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -244,6 +248,7 @@ def generate_configurations( CoverageConfigurationCreate( name="r95ptot_30yr_anomaly_annual_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="r95ptot", + wms_main_layer_name="r95ptot", thredds_url_pattern="indici5rcm/clipped/pr_change_cumulative_HadGEM2-ES_RACMO22E_{year_period}_{scenario}_{time_window}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", @@ -300,6 +305,7 @@ def generate_configurations( CoverageConfigurationCreate( name="r95ptot_30yr_anomaly_annual_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="r95ptot", + wms_main_layer_name="r95ptot", thredds_url_pattern="indici5rcm/clipped/pr_change_cumulative_MPI-ESM-LR_REMO2009_{year_period}_{scenario}_{time_window}_VFVGTAA.nc", unit="%", palette="default/div-BrBG", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/snwdays.py b/arpav_ppcv/bootstrapper/coverage_configurations/snwdays.py index f5018c03..28e96dc8 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/snwdays.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/snwdays.py @@ -29,6 +29,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_ensemble", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="ensymbc/clipped/snwdays_1mm_2oc_avg_ts19762100_{scenario}_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -55,6 +56,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/snwdays_1mm_2oc_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -81,6 +83,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/snwdays_1mm_2oc_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -107,6 +110,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/snwdays_1mm_2oc_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -133,6 +137,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/snwdays_1mm_2oc_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -159,6 +164,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/snwdays_1mm_2oc_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -185,6 +191,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="snwdays_stdup", + wms_main_layer_name="snwdays_stdup", thredds_url_pattern="ensymbc/std/clipped/snwdays_1mm_2oc_stdup_ts19762100_{scenario}_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -211,6 +218,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="snwdays_stddown", + wms_main_layer_name="snwdays_stddown", thredds_url_pattern="ensymbc/std/clipped/snwdays_1mm_2oc_stddown_ts19762100_{scenario}_ls_VFVG.nc", unit="gg", palette="default/seq-BuYl-inv", @@ -238,6 +246,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_30yr_anomaly_annual_agree_model_ensemble", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/snwdays_an_1mm_2oc_avgagree_{time_window}_{scenario}_ls_VFVG.nc", unit="gg", palette="uncert-stippled/seq-YlOrBr-inv", @@ -274,6 +283,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_30yr_anomaly_annual_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="indici5rcm/clipped/snwdays_an_1mm_2oc_EC-EARTH_CCLM4-8-17_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrBr-inv", @@ -310,6 +320,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_30yr_anomaly_annual_model_ec_earth_racmo22e", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="indici5rcm/clipped/snwdays_an_1mm_2oc_EC-EARTH_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrBr-inv", @@ -346,6 +357,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_30yr_anomaly_annual_model_ec_earth_rca4", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="indici5rcm/clipped/snwdays_an_1mm_2oc_EC-EARTH_RCA4_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrBr-inv", @@ -382,6 +394,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_30yr_anomaly_annual_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="indici5rcm/clipped/snwdays_an_1mm_2oc_HadGEM2-ES_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrBr-inv", @@ -418,6 +431,7 @@ def generate_configurations( CoverageConfigurationCreate( name="snwdays_30yr_anomaly_annual_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="snwdays", + wms_main_layer_name="snwdays", thredds_url_pattern="indici5rcm/clipped/snwdays_an_1mm_2oc_MPI-ESM-LR_REMO2009_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrBr-inv", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/su30.py b/arpav_ppcv/bootstrapper/coverage_configurations/su30.py index 2d334f89..d518b9a3 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/su30.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/su30.py @@ -30,6 +30,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_ensemble", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="ensymbc/clipped/ecasu_30_avg_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -60,6 +61,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/ecasu_30_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -90,6 +92,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/ecasu_30_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -120,6 +123,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/ecasu_30_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -150,6 +154,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/ecasu_30_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -180,6 +185,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/ecasu_30_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -210,6 +216,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="su30_stdup", + wms_main_layer_name="su30_stdup", thredds_url_pattern="ensymbc/std/clipped/ecasu_30_stdup_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -236,6 +243,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="su30_stddown", + wms_main_layer_name="su30_stddown", thredds_url_pattern="ensymbc/std/clipped/ecasu_30_stddown_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -262,6 +270,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_30yr_anomaly_annual_agree_model_ensemble", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/ecasuan_30_avgagree_{time_window}_{scenario}_ls_VFVG.nc", unit="gg", palette="uncert-stippled/seq-YlOrRd", @@ -298,6 +307,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_30yr_anomaly_annual_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="indici5rcm/clipped/ecasuan_30_EC-EARTH_CCLM4-8-17_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -334,6 +344,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_30yr_anomaly_annual_model_ec_earth_racmo22e", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="indici5rcm/clipped/ecasuan_30_EC-EARTH_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -370,6 +381,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_30yr_anomaly_annual_model_ec_earth_rca4", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="indici5rcm/clipped/ecasuan_30_EC-EARTH_RCA4_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -406,6 +418,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_30yr_anomaly_annual_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="indici5rcm/clipped/ecasuan_30_HadGEM2-ES_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -442,6 +455,7 @@ def generate_configurations( CoverageConfigurationCreate( name="su30_30yr_anomaly_annual_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="su30", + wms_main_layer_name="su30", thredds_url_pattern="indici5rcm/clipped/ecasuan_30_MPI-ESM-LR_REMO2009_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/tas.py b/arpav_ppcv/bootstrapper/coverage_configurations/tas.py index 040222c9..ce99ec57 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/tas.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/tas.py @@ -53,6 +53,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_ensemble", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="ens5ym/clipped/tas_anom_pp_ts_{scenario}_{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -99,6 +100,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_CCLM4-8-17ym/clipped/tas_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_anomaly_pp_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -145,6 +147,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_ec_earth_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_RACMO22Eym/clipped/tas_EC-EARTH_RACMO22E_{scenario}_{year_period}_anomaly_pp_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -191,6 +194,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_ec_earth_rca4", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_RCA4ym/clipped/tas_EC-EARTH_RCA4_{scenario}_{year_period}_anomaly_pp_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -237,6 +241,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="HadGEM2-ES_RACMO22Eym/clipped/tas_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_anomaly_pp_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -283,6 +288,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="MPI-ESM-LR_REMO2009ym/clipped/tas_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_anomaly_pp_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -329,6 +335,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tas_stdup", + wms_main_layer_name="tas_stdup", thredds_url_pattern="ens5ym/std/clipped/tas_anom_stdup_pp_ts_{scenario}_{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -375,6 +382,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_anomaly_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tas_stddown", + wms_main_layer_name="tas_stddown", thredds_url_pattern="ens5ym/std/clipped/tas_anom_stddown_pp_ts_{scenario}_{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -421,6 +429,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_ensemble", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="ensymbc/clipped/tas_avg_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -471,6 +480,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_ensemble", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="ensymbc/clipped/tas_avg_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -501,6 +511,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/tas_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -551,6 +562,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/tas_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -581,6 +593,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/tas_EC-EARTH_RACMO22E_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -631,6 +644,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/tas_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -661,6 +675,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/tas_EC-EARTH_RCA4_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -711,6 +726,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/tas_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -741,6 +757,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/tas_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -791,6 +808,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/tas_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -821,6 +839,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/tas_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -871,6 +890,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/tas_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -901,6 +921,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tas_stdup", + wms_main_layer_name="tas_stdup", thredds_url_pattern="ensymbc/std/clipped/tas_stdup_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -947,6 +968,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_seasonal_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tas_stddown", + wms_main_layer_name="tas_stddown", thredds_url_pattern="ensymbc/std/clipped/tas_stddown_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -993,6 +1015,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tas_stdup", + wms_main_layer_name="tas_stdup", thredds_url_pattern="ensymbc/std/clipped/tas_stdup_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -1019,6 +1042,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tas_stddown", + wms_main_layer_name="tas_stddown", thredds_url_pattern="ensymbc/std/clipped/tas_stddown_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -1045,6 +1069,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_30yr_anomaly_seasonal_agree_model_ensemble", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/tas_avgagree_anom_{time_window}_{scenario}_{year_period}_VFVGTAA.nc", unit="ºC", palette="uncert-stippled/seq-YlOrRd", @@ -1101,6 +1126,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_30yr_anomaly_seasonal_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="taspr5rcm/clipped/tas_EC-EARTH_CCLM4-8-17_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -1157,6 +1183,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_30yr_anomaly_seasonal_model_ec_earth_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="taspr5rcm/clipped/tas_EC-EARTH_RACMO22E_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -1213,6 +1240,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_30yr_anomaly_seasonal_model_ec_earth_rca4", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="taspr5rcm/clipped/tas_EC-EARTH_RCA4_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -1269,6 +1297,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_30yr_anomaly_seasonal_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="taspr5rcm/clipped/tas_HadGEM2-ES_RACMO22E_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -1325,6 +1354,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tas_30yr_anomaly_seasonal_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tas", + wms_main_layer_name="tas", thredds_url_pattern="taspr5rcm/clipped/tas_MPI-ESM-LR_REMO2009_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/tasmax.py b/arpav_ppcv/bootstrapper/coverage_configurations/tasmax.py index 9f9256f4..25323942 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/tasmax.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/tasmax.py @@ -41,6 +41,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_ensemble", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="ensymbc/clipped/tasmax_avg_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -91,6 +92,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_ensemble", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="ensymbc/clipped/tasmax_avg_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -121,6 +123,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/tasmax_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -171,6 +174,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/tasmax_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -201,6 +205,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/tasmax_EC-EARTH_RACMO22E_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -251,6 +256,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/tasmax_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -281,6 +287,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/tasmax_EC-EARTH_RCA4_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -331,6 +338,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/tasmax_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -361,6 +369,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/tasmax_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -411,6 +420,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/tasmax_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -441,6 +451,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/tasmax_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -491,6 +502,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/tasmax_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -521,6 +533,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tasmax_stdup", + wms_main_layer_name="tasmax_stdup", thredds_url_pattern="ensymbc/std/clipped/tasmax_stdup_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -567,6 +580,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_seasonal_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tasmax_stddown", + wms_main_layer_name="tasmax_stddown", thredds_url_pattern="ensymbc/std/clipped/tasmax_stddown_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -613,6 +627,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tasmax_stdup", + wms_main_layer_name="tasmax_stdup", thredds_url_pattern="ensymbc/std/clipped/tasmax_stdup_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -639,6 +654,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tasmax_stddown", + wms_main_layer_name="tasmax_stddown", thredds_url_pattern="ensymbc/std/clipped/tasmax_stddown_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -665,6 +681,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_30yr_anomaly_seasonal_agree_model_ensemble", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/tasmax_avgagree_anom_{time_window}_{scenario}_{year_period}_VFVGTAA.nc", unit="ºC", palette="uncert-stippled/seq-YlOrRd", @@ -721,6 +738,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_30yr_anomaly_seasonal_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="taspr5rcm/clipped/tasmax_EC-EARTH_CCLM4-8-17_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -777,6 +795,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_30yr_anomaly_seasonal_model_ec_earth_racmo22e", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="taspr5rcm/clipped/tasmax_EC-EARTH_RACMO22E_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -833,6 +852,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_30yr_anomaly_seasonal_model_ec_earth_rca4", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="taspr5rcm/clipped/tasmax_EC-EARTH_RCA4_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -889,6 +909,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_30yr_anomaly_seasonal_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="taspr5rcm/clipped/tasmax_HadGEM2-ES_RACMO22E_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -945,6 +966,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmax_30yr_anomaly_seasonal_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tasmax", + wms_main_layer_name="tasmax", thredds_url_pattern="taspr5rcm/clipped/tasmax_MPI-ESM-LR_REMO2009_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/tasmin.py b/arpav_ppcv/bootstrapper/coverage_configurations/tasmin.py index 14de7abf..86cd7101 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/tasmin.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/tasmin.py @@ -41,6 +41,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_ensemble", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="ensymbc/clipped/tasmin_avg_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -91,6 +92,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_ensemble", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="ensymbc/clipped/tasmin_avg_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -121,6 +123,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/tasmin_EC-EARTH_CCLM4-8-17_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -171,6 +174,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/tasmin_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -201,6 +205,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/tasmin_EC-EARTH_RACMO22E_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -251,6 +256,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/tasmin_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -281,6 +287,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/tasmin_EC-EARTH_RCA4_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -331,6 +338,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/tasmin_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -361,6 +369,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/tasmin_HadGEM2-ES_RACMO22E_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -411,6 +420,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/tasmin_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -441,6 +451,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/tasmin_MPI-ESM-LR_REMO2009_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -491,6 +502,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/tasmin_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -521,6 +533,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tasmin_stdup", + wms_main_layer_name="tasmin_stdup", thredds_url_pattern="ensymbc/std/clipped/tasmin_stdup_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -567,6 +580,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_seasonal_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tasmin_stddown", + wms_main_layer_name="tasmin_stddown", thredds_url_pattern="ensymbc/std/clipped/tasmin_stddown_{scenario}_{year_period}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -613,6 +627,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tasmin_stdup", + wms_main_layer_name="tasmin_stdup", thredds_url_pattern="ensymbc/std/clipped/tasmin_stdup_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -639,6 +654,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tasmin_stddown", + wms_main_layer_name="tasmin_stddown", thredds_url_pattern="ensymbc/std/clipped/tasmin_stddown_{scenario}_ts19762100_ls_VFVG.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -665,6 +681,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_30yr_anomaly_seasonal_agree_model_ensemble", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/tasmin_avgagree_anom_{time_window}_{scenario}_{year_period}_VFVGTAA.nc", unit="ºC", palette="uncert-stippled/seq-YlOrRd", @@ -721,6 +738,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_30yr_anomaly_seasonal_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="taspr5rcm/clipped/tasmin_EC-EARTH_CCLM4-8-17_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -777,6 +795,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_30yr_anomaly_seasonal_model_ec_earth_racmo22e", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="taspr5rcm/clipped/tasmin_EC-EARTH_RACMO22E_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -833,6 +852,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_30yr_anomaly_seasonal_model_ec_earth_rca4", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="taspr5rcm/clipped/tasmin_EC-EARTH_RCA4_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -889,6 +909,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_30yr_anomaly_seasonal_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="taspr5rcm/clipped/tasmin_HadGEM2-ES_RACMO22E_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", @@ -945,6 +966,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tasmin_30yr_anomaly_seasonal_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tasmin", + wms_main_layer_name="tasmin", thredds_url_pattern="taspr5rcm/clipped/tasmin_MPI-ESM-LR_REMO2009_{scenario}_seas_{time_window}{year_period}_VFVGTAA.nc", unit="ºC", palette="default/seq-YlOrRd", diff --git a/arpav_ppcv/bootstrapper/coverage_configurations/tr.py b/arpav_ppcv/bootstrapper/coverage_configurations/tr.py index 3967fe12..a49524e1 100644 --- a/arpav_ppcv/bootstrapper/coverage_configurations/tr.py +++ b/arpav_ppcv/bootstrapper/coverage_configurations/tr.py @@ -30,6 +30,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_ensemble", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="ensymbc/clipped/ecatr_20_avg_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -60,6 +61,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="EC-EARTH_CCLM4-8-17ymbc/clipped/ecatr_20_EC-EARTH_CCLM4-8-17_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -90,6 +92,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_ec_earth_racmo22e", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="EC-EARTH_RACMO22Eymbc/clipped/ecatr_20_EC-EARTH_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -120,6 +123,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_ec_earth_rca4", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="EC-EARTH_RCA4ymbc/clipped/ecatr_20_EC-EARTH_RCA4_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -150,6 +154,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="HadGEM2-ES_RACMO22Eymbc/clipped/ecatr_20_HadGEM2-ES_RACMO22E_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -180,6 +185,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="MPI-ESM-LR_REMO2009ymbc/clipped/ecatr_20_MPI-ESM-LR_REMO2009_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -210,6 +216,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_ensemble_upper_uncertainty", netcdf_main_dataset_name="tr_stdup", + wms_main_layer_name="tr_stdup", thredds_url_pattern="ensymbc/std/clipped/ecatr_20_stdup_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -236,6 +243,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_annual_absolute_model_ensemble_lower_uncertainty", netcdf_main_dataset_name="tr_stddown", + wms_main_layer_name="tr_stddown", thredds_url_pattern="ensymbc/std/clipped/ecatr_20_stddown_{scenario}_ts19762100_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -262,6 +270,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_30yr_anomaly_annual_agree_model_ensemble", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr-uncertainty_group", thredds_url_pattern="ensembletwbc/std/clipped/ecatran_20_avgagree_{time_window}_{scenario}_ls_VFVG.nc", unit="gg", palette="uncert-stippled/seq-YlOrRd", @@ -298,6 +307,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_30yr_anomaly_annual_model_ec_earth_cclm4_8_17", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="indici5rcm/clipped/ecatran_20_EC-EARTH_CCLM4-8-17_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -334,6 +344,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_30yr_anomaly_annual_model_ec_earth_racmo22e", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="indici5rcm/clipped/ecatran_20_EC-EARTH_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -370,6 +381,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_30yr_anomaly_annual_model_ec_earth_rca4", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="indici5rcm/clipped/ecatran_20_EC-EARTH_RCA4_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -406,6 +418,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_30yr_anomaly_annual_model_hadgem2_es_racmo22e", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="indici5rcm/clipped/ecatran_20_HadGEM2-ES_RACMO22E_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", @@ -442,6 +455,7 @@ def generate_configurations( CoverageConfigurationCreate( name="tr_30yr_anomaly_annual_model_mpi_esm_lr_remo2009", netcdf_main_dataset_name="tr", + wms_main_layer_name="tr", thredds_url_pattern="indici5rcm/clipped/ecatran_20_MPI-ESM-LR_REMO2009_{scenario}_{time_window}_ls_VFVG.nc", unit="gg", palette="default/seq-YlOrRd", diff --git a/arpav_ppcv/database.py b/arpav_ppcv/database.py index a3d427ca..8edfd531 100644 --- a/arpav_ppcv/database.py +++ b/arpav_ppcv/database.py @@ -863,6 +863,7 @@ def create_coverage_configuration( db_coverage_configuration = coverages.CoverageConfiguration( name=coverage_configuration_create.name, netcdf_main_dataset_name=coverage_configuration_create.netcdf_main_dataset_name, + wms_main_layer_name=coverage_configuration_create.wms_main_layer_name, thredds_url_pattern=coverage_configuration_create.thredds_url_pattern, unit=coverage_configuration_create.unit, palette=coverage_configuration_create.palette, @@ -1107,28 +1108,31 @@ def list_coverage_identifiers( offset: int = 0, include_total: bool = False, name_filter: list[str] | None = None, -) -> tuple[list[str], Optional[int]]: +) -> tuple[list[coverages.CoverageInternal], Optional[int]]: all_cov_ids = collect_all_coverage_identifiers(session) if name_filter is not None: for fragment in name_filter: - all_cov_ids = [i for i in all_cov_ids if fragment.lower() in i.lower()] + all_cov_ids = [ + i for i in all_cov_ids if fragment.lower() in i.identifier.lower() + ] return ( - all_cov_ids[offset : offset + limit], + all_cov_ids[offset : (offset + limit)], len(all_cov_ids) if include_total else None, ) def collect_all_coverage_identifiers( session: sqlmodel.Session, -): +) -> list[coverages.CoverageInternal]: cov_confs = collect_all_coverage_configurations(session) cov_ids = [] for cov_conf in cov_confs: - cov_ids.extend( - list_allowed_coverage_identifiers( - session, coverage_configuration_id=cov_conf.id + for cov_id in list_allowed_coverage_identifiers( + session, coverage_configuration_id=cov_conf.id + ): + cov_ids.append( + coverages.CoverageInternal(configuration=cov_conf, identifier=cov_id) ) - ) return cov_ids diff --git a/arpav_ppcv/migrations/versions/a8431c06b228_add_wms_layer_name.py b/arpav_ppcv/migrations/versions/a8431c06b228_add_wms_layer_name.py new file mode 100644 index 00000000..c43a6a02 --- /dev/null +++ b/arpav_ppcv/migrations/versions/a8431c06b228_add_wms_layer_name.py @@ -0,0 +1,31 @@ +"""add-wms-layer-name + +Revision ID: a8431c06b228 +Revises: 9b9809ef3088 +Create Date: 2024-06-13 14:57:05.789250 + +""" +from typing import Sequence, Union + +from alembic import op +import sqlalchemy as sa +import sqlmodel + + +# revision identifiers, used by Alembic. +revision: str = 'a8431c06b228' +down_revision: Union[str, None] = '9b9809ef3088' +branch_labels: Union[str, Sequence[str], None] = None +depends_on: Union[str, Sequence[str], None] = None + + +def upgrade() -> None: + # ### commands auto generated by Alembic - please adjust! ### + op.add_column('coverageconfiguration', sa.Column('wms_main_layer_name', sqlmodel.sql.sqltypes.AutoString(), nullable=True)) + # ### end Alembic commands ### + + +def downgrade() -> None: + # ### commands auto generated by Alembic - please adjust! ### + op.drop_column('coverageconfiguration', 'wms_main_layer_name') + # ### end Alembic commands ### diff --git a/arpav_ppcv/schemas/coverages.py b/arpav_ppcv/schemas/coverages.py index c4463cbd..f5f3325e 100644 --- a/arpav_ppcv/schemas/coverages.py +++ b/arpav_ppcv/schemas/coverages.py @@ -123,6 +123,7 @@ class CoverageConfiguration(sqlmodel.SQLModel, table=True): name: str = sqlmodel.Field(unique=True, index=True) netcdf_main_dataset_name: str thredds_url_pattern: str + wms_main_layer_name: Optional[str] = None unit: str = "" palette: str color_scale_min: float = 0.0 @@ -324,6 +325,7 @@ class CoverageConfigurationCreate(sqlmodel.SQLModel): ), ] netcdf_main_dataset_name: str + wms_main_layer_name: Optional[str] = None thredds_url_pattern: str unit: str palette: str @@ -352,6 +354,7 @@ def validate_thredds_url_pattern(cls, v: str) -> str: class CoverageConfigurationUpdate(sqlmodel.SQLModel): name: Annotated[Optional[str], pydantic.Field(pattern=_NAME_PATTERN)] = None netcdf_main_dataset_name: Optional[str] = None + wms_main_layer_name: Optional[str] = None thredds_url_pattern: Optional[str] = None unit: Optional[str] = None palette: Optional[str] = None diff --git a/arpav_ppcv/webapp/admin/views/coverages.py b/arpav_ppcv/webapp/admin/views/coverages.py index 53dc61c8..83c1e987 100644 --- a/arpav_ppcv/webapp/admin/views/coverages.py +++ b/arpav_ppcv/webapp/admin/views/coverages.py @@ -252,6 +252,7 @@ class CoverageConfigurationView(ModelView): fields.UuidField("id"), starlette_admin.StringField("name", required=True), starlette_admin.StringField("netcdf_main_dataset_name", required=True), + starlette_admin.StringField("wms_main_layer_name", required=True), starlette_admin.StringField("thredds_url_pattern", required=True), starlette_admin.StringField("coverage_id_pattern", disabled=True), starlette_admin.StringField("unit", required=True), @@ -303,6 +304,7 @@ class CoverageConfigurationView(ModelView): exclude_fields_from_list = ( "id", "netcdf_main_dataset_name", + "wms_main_layer_name", "coverage_id_pattern", "possible_values", "unit", diff --git a/arpav_ppcv/webapp/api_v2/routers/coverages.py b/arpav_ppcv/webapp/api_v2/routers/coverages.py index 0e0285df..2039ab3b 100644 --- a/arpav_ppcv/webapp/api_v2/routers/coverages.py +++ b/arpav_ppcv/webapp/api_v2/routers/coverages.py @@ -169,11 +169,12 @@ def get_coverage_configuration( ) def list_coverage_identifiers( request: Request, + settings: Annotated[ArpavPpcvSettings, Depends(dependencies.get_settings)], db_session: Annotated[Session, Depends(dependencies.get_db_session)], list_params: Annotated[dependencies.CommonListFilterParameters, Depends()], name_contains: Annotated[list[str], Query()] = None, ): - cov_ids, filtered_total = db.list_coverage_identifiers( + cov_internals, filtered_total = db.list_coverage_identifiers( db_session, limit=list_params.limit, offset=list_params.offset, @@ -183,9 +184,11 @@ def list_coverage_identifiers( _, unfiltered_total = db.list_coverage_identifiers( db_session, limit=1, offset=0, include_total=True ) + return coverage_schemas.CoverageIdentifierList.from_items( - cov_ids, - request=request, + cov_internals, + request, + settings=settings, limit=list_params.limit, offset=list_params.offset, filtered_total=filtered_total, diff --git a/arpav_ppcv/webapp/api_v2/schemas/coverages.py b/arpav_ppcv/webapp/api_v2/schemas/coverages.py index 3a75aa22..db621ffd 100644 --- a/arpav_ppcv/webapp/api_v2/schemas/coverages.py +++ b/arpav_ppcv/webapp/api_v2/schemas/coverages.py @@ -4,8 +4,9 @@ import pydantic from fastapi import Request -from .base import WebResourceList +from ....config import ArpavPpcvSettings from ....schemas import coverages as app_models +from .base import WebResourceList class ConfigurationParameterValueEmbeddedInConfigurationParameter(pydantic.BaseModel): @@ -44,6 +45,7 @@ class CoverageConfigurationReadListItem(pydantic.BaseModel): url: pydantic.AnyHttpUrl id: uuid.UUID name: str + wms_main_layer_name: str | None coverage_id_pattern: str possible_values: list[ConfigurationParameterPossibleValueRead] @@ -107,16 +109,54 @@ class CoverageConfigurationList(WebResourceList): path_operation_name = "list_coverage_configurations" +class CoverageIdentifierReadListItem(pydantic.BaseModel): + identifier: str + related_coverage_configuration_url: str + wms_base_url: str + wms_main_layer_name: str | None = None + + @classmethod + def from_db_instance( + cls, + instance: app_models.CoverageInternal, + settings: ArpavPpcvSettings, + request: Request, + ) -> "CoverageIdentifierReadListItem": + thredds_url_fragment = instance.configuration.get_thredds_url_fragment( + instance.identifier + ) + wms_base_url = "/".join( + ( + settings.thredds_server.base_url, + settings.thredds_server.wms_service_url_fragment, + thredds_url_fragment, + ) + ) + + return cls( + identifier=instance.identifier, + wms_base_url=wms_base_url, + wms_main_layer_name=instance.configuration.wms_main_layer_name, + related_coverage_configuration_url=str( + request.url_for( + "get_coverage_configuration", + coverage_configuration_id=instance.configuration.id, + ) + ), + ) + + class CoverageIdentifierList(WebResourceList): - items: list[str] + items: list[CoverageIdentifierReadListItem] path_operation_name = "list_coverage_identifiers" @classmethod def from_items( cls, - items: typing.Sequence[str], + items: typing.Sequence[app_models.CoverageInternal], request: Request, *, + settings: ArpavPpcvSettings, limit: int, offset: int, filtered_total: int, @@ -127,7 +167,10 @@ def from_items( links=cls._get_list_links( request, limit, offset, filtered_total, len(items) ), - items=[i for i in items], + items=[ + CoverageIdentifierReadListItem.from_db_instance(i, settings, request) + for i in items + ], )