Skip to content

Commit

Permalink
Merge pull request #142 from ricardogsilva/128-add-property-to-covera…
Browse files Browse the repository at this point in the history
…ge-configuration-to-specify-main-WMS-layer-name

Add property to coverage configuration to specify main wms layer name
  • Loading branch information
francbartoli authored Jun 14, 2024
2 parents 01b4bc2 + c56c16f commit a95191f
Show file tree
Hide file tree
Showing 16 changed files with 273 additions and 15 deletions.
6 changes: 6 additions & 0 deletions arpav_ppcv/bootstrapper/coverage_configurations/cdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions arpav_ppcv/bootstrapper/coverage_configurations/fd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Loading

0 comments on commit a95191f

Please sign in to comment.