Data and code from: Identifying future climate refugia in central European mountain forests
Data files
Sep 03, 2026 version files 713.12 MB
-
README.md
17.74 KB
-
RPr_Repository.zip
713.10 MB
Abstract
This dataset accompanies a study assessing the long-term potential for climate refugia in mountain forests of Berchtesgaden National Park (Germany). Forest dynamics were simulated over 1,000 years using the individual-based forest landscape model iLand under historical climate and two future climate scenarios (RCP 4.5 and RCP 8.5), including natural disturbance regimes of wind and bark beetle outbreaks. Climate refugia capacity was quantified by comparing present and future forest communities using a modified Bray–Curtis similarity index that accounts for both species persistence and rarity. Environmental drivers of refugia capacity were evaluated using Boosted Regression Trees. The repository contains simulation outputs, derived refugia capacity metrics, environmental predictor variables, and analysis scripts used to reproduce the results presented in the associated publication. These data support analyses of long-term forest community dynamics, climate refugia, disturbance interactions, and the influence of topographic, climatic, management, and biotic factors on forest resilience under climate change.
Dataset DOI: 10.5061/dryad.02v6wwqkh
Data description
This dataset contains data and code associated with the study Identifying future climate refugia in central European mountain forests. Using the individual-based forest landscape model iLand, future forest composition in Berchtesgaden National Park (Germany) was simulated over 1,000 years to assess the persistence of mountain forest communities under climate change.
The repository contains summarized iLand simulation outputs for a historical-climate scenario and two future emissions scenarios (RCP 4.5 and RCP 8.5), outputs used to calculate a refugia capacity index, environmental and disturbance variables used to investigate drivers of refugia capacity, Boosted Regression Tree (BRT) inputs and outputs, figure data, and Quarto/R scripts used for the analyses.
Future-climate simulations use the EC-EARTH global climate model with four regional/downscaling realizations:
CLM: CCLM4-8-17KNMI1: KNMI-RACMO22E (r1i1p1)KNMI12: KNMI-RACMO22E (r12i1p1)SMHI: SMHI-RCA4
Unless otherwise stated, spatial simulation units are 100 × 100 m grid cells. Species codes used in the iLand outputs consist of the first two letters of the genus and the first two letters of the species name (for example, lade = Larix decidua).
All necessary files can be found in RPr_Repository.zip
Files and variables
The data are organized in the following folders and analysis scripts.
0. Base data/
Contains pre-existing or pre-processed input datasets used in the analyses.
1. initial_species_assessment.csv
Summary of vegetation at the start of the simulations (2020) in Berchtesgaden National Park.
| Variable | Description |
|---|---|
species |
Species code used in iLand. |
species name |
Common name of the species. |
presence |
Number of 100 × 100 m simulation units in which the species is present at the start of the simulation. |
abundance |
Number of trees of the species present in the study area at the start of the simulation. |
disturbance.csv
Disturbance data extracted from iLand outputs and averaged across simulations.
| Variable | Description |
|---|---|
DN |
Stand/simulation-unit identifier. |
bb_hcmean |
Bark-beetle disturbed volume under historical climate, averaged across 20 simulations. |
bb_45mean |
Bark-beetle disturbed volume under RCP 4.5, averaged across 80 simulations. |
bb_85mean |
Bark-beetle disturbed volume under RCP 8.5, averaged across 80 simulations. |
wind_hcmean |
Wind-disturbed volume under historical climate, averaged across 20 simulations. |
wind_45mean |
Wind-disturbed volume under RCP 4.5, averaged across 80 simulations. |
wind_85mean |
Wind-disturbed volume under RCP 8.5, averaged across 80 simulations. |
env_variables.csv
Environmental variables used during iLand landscape initialization and subsequently in the environmental-driver analyses.
| Variable | Description |
|---|---|
RU_id |
Simulation-unit identifier from the previous initialization step; NA indicates absence of trees. |
id |
Simulation-unit identifier in the current landscape. |
x |
x coordinate of the simulation unit. |
y |
y coordinate of the simulation unit. |
ele_mean |
Mean elevation. |
model.climate.tableName |
Climate-cluster identifier applied to the simulation unit. |
model.site.soilDepth |
Soil depth (cm). |
model.site.pctSilt |
Silt content (%). |
TRI_mean |
Mean terrain roughness index. |
slope_mean |
Mean slope of the simulation unit. |
aspect_mea |
Mean aspect of the simulation unit, extracted from QGIS. |
cos_mean |
Cosine transformation of aspect. |
sin_mean |
Sine transformation of aspect. |
_windmodmean |
Wind modifier applied to the simulation unit. |
pretreated_climate.csv
Pre-treated climate data used by the analysis scripts. The file contains 46 columns (V1–V46). Their interpretation is handled in the analysis code; users wishing to reuse this file independently should consult the relevant data-processing section of B. BRT.qmd.
species_param_europe.sqlite
SQLite database containing the European iLand species parameter data used by the analyses.
---
1.1 Summarized simulations/
Contains summarized iLand simulation outputs. The historical and RCP scenario databases contain repeated simulations as separate SQLite tables.
Initial.sqlite
Contains the vegetation state at the start of the iLand simulations.
| Variable | Description |
|---|---|
year |
Simulation year; value 0 represents the start of the simulation. |
rid |
Simulation-unit identifier. |
species |
Species code used in iLand. |
HC_.sqlite
Historical-climate simulations. Contains 20 tables (rep_1 to rep_20), one for each simulation repetition.
Each table contains:
| Variable | Description |
|---|---|
year |
Simulation year. |
rid |
Simulation-unit identifier. |
species |
Species code used in iLand. |
RCP 4.5 simulation databases
Each file contains 20 repeated simulations (rep_1 to rep_20) and has the same table structure as HC_.sqlite.
RCP 45_CLM.sqlite— EC-EARTH downscaled with CCLM4-8-17.RCP 45_KNMI1.sqlite— EC-EARTH downscaled with KNMI-RACMO22E (r1i1p1).RCP 45_KNMI12.sqlite— EC-EARTH downscaled with KNMI-RACMO22E (r12i1p1).RCP 45_SMHI.sqlite— EC-EARTH downscaled with SMHI-RCA4.
RCP 8.5 simulation databases
Each file contains 20 repeated simulations (rep_1 to rep_20) and has the same table structure as HC_.sqlite.
RCP 85_CLM.sqlite— EC-EARTH downscaled with CCLM4-8-17.RCP 85_KNMI1.sqlite— EC-EARTH downscaled with KNMI-RACMO22E (r1i1p1).RCP 85_KNMI12.sqlite— EC-EARTH downscaled with KNMI-RACMO22E (r12i1p1).RCP 85_SMHI.sqlite— EC-EARTH downscaled with SMHI-RCA4.
PNV simulation databases
Each file contains 10 repeated simulations (rep_1 to rep_10) and has the same table structure as HC_.sqlite.
PNV1.sqlite— every 50 years output.PNV2.sqlite— outputs only around year 2000.
---
2. Refugia capacity/
Contains species weights, refugia-capacity values, scenario summaries, and raster outputs.
Main_sp_weight.csv
Species weights used in the refugia-capacity calculation.
| Variable | Description |
|---|---|
species |
Species code used in iLand. |
HC |
Species weight under historical climate. |
RCP4.5-KNMI12 |
Species weight under RCP 4.5 / KNMI12. |
RCP4.5-KNMI1 |
Species weight under RCP 4.5 / KNMI1. |
RCP4.5-SMHI |
Species weight under RCP 4.5 / SMHI. |
RCP4.5-CLM |
Species weight under RCP 4.5 / CLM. |
RCP8.5-KNMI12 |
Species weight under RCP 8.5 / KNMI12. |
RCP8.5-KNMI1 |
Species weight under RCP 8.5 / KNMI1. |
RCP8.5-SMHI |
Species weight under RCP 8.5 / SMHI. |
RCP8.5-CLM |
Species weight under RCP 8.5 / CLM. |
Weights are based on the relative decrease in species range over the simulation period.
Refugia-capacity files for individual repetitions
The following files contain refugia-capacity values for each simulation unit and each of 20 repetitions:
index_HC_.csvindex_RCP 45_CLM.csvindex_RCP 45_KNMI1.csvindex_RCP 45_KNMI12.csvindex_RCP 45_SMHI.csvindex_RCP 85_CLM.csvindex_RCP 85_KNMI1.csvindex_RCP 85_KNMI12.csvindex_RCP 85_SMHI.csv
All have the same structure:
| Variable | Description |
|---|---|
id |
Simulation-unit identifier. |
rep1–rep20 |
Refugia-capacity value for each simulation repetition. |
Main\_index\_per\_scenario.csv
Mean refugia capacity across the 20 repetitions for each climate/model combination.
| Variable | Description |
|---|---|
id |
Simulation-unit identifier. |
HC |
Historical-climate mean refugia capacity. |
RCP4.5-KNMI12, RCP4.5-KNMI1, RCP4.5-SMHI, RCP4.5-CLM |
Mean refugia capacity under the four RCP 4.5 climate realizations. |
RCP8.5-KNMI12, RCP8.5-KNMI1, RCP8.5-SMHI, RCP8.5-CLM |
Mean refugia capacity under the four RCP 8.5 climate realizations. |
index_table.csv
Scenario-level summary of refugia capacity.
| Variable | Description |
|---|---|
id |
Simulation-unit identifier. |
HC |
Refugia capacity under historical climate. |
RCP 4.5 |
Refugia capacity under RCP 4.5, averaged across the four regional climate realizations. |
RCP 8.5 |
Refugia capacity under RCP 8.5, averaged across the four regional climate realizations. |
Raster files
hc_refugia_potential.tif— refugia potential under historical climate.rcp45_refugia_potential.tif— refugia potential under RCP 4.5.rcp85_refugia_potential.tif— refugia potential under RCP 8.5.diff_rcp85_rcp45.tif— difference in refugia potential between RCP 8.5 and RCP 4.5.diff_rcp85_hc.tif— difference in refugia potential between RCP 8.5 and historical climate.diff_rcp45_hc.tif— difference in refugia potential between RCP 4.5 and historical climate.
---
3. Figures/
Refugia files used for Figure 3
Refugia_HC.csvRefugia_RCP 45CLM.csvRefugia_RCP 45KNMI1.csvRefugia_RCP 45KNMI12.csvRefugia_RCP 45SMHI.csvRefugia_RCP 85CLM.csvRefugia_RCP 85KNMI1.csvRefugia_RCP 85KNMI12.csvRefugia_RCP 85SMHI.csv
All have the same structure:
| Variable | Description |
|---|---|
id |
Simulation-unit identifier. |
species |
Species code used in iLand. |
score |
Refugia-capacity score for the simulation unit and species. |
category |
Refugia-capacity category in increments of 0.1. |
rep |
Simulation repetition in which the unit is identified as a refugium (1–20). |
---
4. BRT/
Contains datasets and outputs used for the Boosted Regression Tree analyses of environmental drivers of refugia capacity.
Main analysis tables
BRT_env_variables.csv— environmental and forest-structure predictor table used for BRT analyses.env_variables.csv— environmental-variable table used during preparation of the BRT predictors.env_variables_climate.csv— climate summaries for historical, RCP 4.5, and RCP 8.5 scenarios.treated_climate.csv— processed climate table used by the BRT workflow.env_disturbance.csv— bark-beetle and wind-disturbance summaries by simulation unit and climate scenario.functional_div_mat_abundance.csv— species-abundance matrix used in the functional-diversity calculations.model_perf_.csv— BRT model-performance summary.variable_imp_HC.csv,variable_imp_RCP45.csv,variable_imp_RCP85.csv— relative variable importance for each climate scenario.
BRT_env_variables.csv contains the following columns:
| Variable | Description |
|---|---|
id |
Simulation-unit identifier. |
silt_p |
Silt percentage. |
soil_d |
Soil depth. |
wind_mod |
Wind modifier. |
sp_richness |
Species richness. |
PML |
PML variable used in the BRT workflow. |
elevation |
Elevation. |
slope |
Slope. |
sine_EW |
Sine-transformed aspect component. |
cos_NS |
Cosine-transformed aspect component. |
TRI |
Terrain roughness index. |
d_q0, d_q1, d_q2 |
Functional-diversity metrics calculated for Hill-number orders 0, 1, and 2. |
f_red_0, f_red_1, f_red_2 |
Functional-redundancy metrics calculated for Hill-number orders 0, 1, and 2. |
sd_tree_h |
Standard deviation of tree height within the simulation unit. |
sd_tree_dbh |
Standard deviation of tree diameter at breast height within the simulation unit. |
Partial-dependence data
Files named \[variable]\_\[scenario].csv contain the data used for BRT response/partial-dependence plots. Scenarios are HC, RCP45, and RCP85. Variables represented include:
bb— bark-beetle disturbancecos— cosine-transformed aspectdist_PNV— distance/difference relative to potential natural vegetation as used in the BRT workflowfunc_red— functional redundancyprec— precipitationsilt_pct— silt percentagesin— sine-transformed aspectslope— slopesoil_depth— soil depthstand_str— stand-structure variableTRI_max— terrain roughness metricwind— wind disturbance
Each partial-dependence CSV contains the predictor value and the corresponding fitted response (y).
BRT plots
The folder also contains exported variable-importance and partial-dependence plots (.jpg and .pdf), including plot_var_imp.pdf and plots for individual predictors.
---
Supplementary/
Contains data and code used to generate supplementary material.
Supplementary.qmd— Quarto script for supplementary figures/tables.env_variables_climate.csv— climate-variable dataset used for supplementary analyses.var_in_time.csvandvar_in_time_large.csv— intermediate data used by the supplementary workflow.
---
Code and software
Analysis scripts
Run scripts from the repository root so that relative file paths resolve correctly.
A. Refugia capacity.qmd
Run first. This script calculates species weights and refugia capacity under historical climate, RCP 4.5, and RCP 8.5; creates scenario summaries and raster outputs; and prepares data used in the figures.Rev_functional_diversity.qmd
Calculates/assembles functional-diversity, functional-redundancy, species-richness, and stand-structure variables used in the environmental-driver analysis.B. BRT.qmd
Uses the refugia-capacity and environmental datasets to prepare predictors, fit Boosted Regression Tree models, assess model performance and variable importance, and generate partial-dependence outputs.Supplementary/Supplementary.qmd
Generates supplementary outputs from the prepared datasets.
Software
The analyses were performed with:
- R version 4.3
- RStudio (optional, recommended)
- Quarto version 1.4 for rendering
.qmdfiles - SQLite data accessed from R through
DBI/RSQLite
Required R packages
Packages used by the supplied analysis scripts include:
blockCVcorrplotDBIdbplyrdismodplyrgbmggplot2gridgstathillRpatchworkrasterRSQLitermarkdownscalessftidyrviridisviridisLite
They can be installed in R with:
install.packages(c(
"blockCV", "corrplot", "DBI", "dbplyr", "dismo", "dplyr", "gbm",
"ggplot2", "grid", "gstat", "hillR", "patchwork", "raster", "RSQLite",
"rmarkdown", "scales", "sf", "tidyr", "viridis", "viridisLite"
))
Access information
The dataset is associated with:
Identifying future climate refugia in central European mountain forests
Dryad dataset DOI: 10.5061/dryad.02v6wwqkh
The repository is designed to be self-contained for interpretation of the archived analysis outputs. Users reproducing analyses should preserve the folder structure because the Quarto scripts use relative paths to access input and output files.
