Generating key points…
Answers are grounded in this paper and cite their sources.
# Data and Code for: *"Modelling exploited marine fish distributions in Europe across major past climatic periods"* **Authors:** Sarah Mathilde Salomé BEAUVAIS*, Emna BEN LAMINE, Tatiana THEODOROPOULOU, Gabriele CARENTI, Guillaume LEDUC, Virginie RAYBAUD **Corresponding Author:** Sarah.BEAUVAIS@univ-cotedazur.fr **Journal:** *Ecology and Evolution* **DOI:** [10.5281/zenodo.24712255] **Date:** 01/12/2026 --- ## 1. OverviewThis repository contains the R scripts, occurrence data, environmental rasters and final spatial raster outputs (`.tif`) required to reproduce the analyses presented in the manuscript *"Modelling exploited marine fish distributions in Europe across major past climatic periods"*. --- ## 2. Repository Structure └── README.md # This documentation file└── scripts/ └── 01a_Data_preparation.R └── 01b_Convexhull and PA.R └── 02a_Calibration biomod2.R └── 02b_Calibration NPPEN.R └── 03a_Model evaluations - NPPEN.R └── 04a_Projection biomod2.R └── 04b_Projection NPPEN.R └── 05_Complete ensemble model.R └── 06_MESS analysis.R └── 07_Null distribution paleo.R └── nppen.R └── data/ └── data_sp_present.csv # Occurrence data (present) └── data_sp_past.csv # Occurrence data (past) └── master_species_list.csv # Geographical range, maximum bathymetry and distance to coast for each species └── Environmental data/ # Environmental data (layers: bathymetry (m), distance_to_coast (km), SST (°C), salinity) (353 MB total) └── baseline.tif # Present └── time1.tif # Mid-Holocene └── time2.tif # Last Glacial Maximum └── Final layers/ # Spatial raster outputs for one species (layers: baseline, time1, time2) (69.3 MB total) └── em_cont_Argyrosomus regius # Output for Argyrosomus regius ...--- ## 3. Description of Spatial Data (`data/Environmental data/` and `data/Final layers`) * **File format:** GeoTIFF (`.tif`)* **Coordinate Reference System (CRS):** WGS 84 / EPSG:4326* **Spatial Resolution:** [0.05 x 0.05° (~4 km)]* **NoData value:** `NA` (or `-3,4e+38`) ### Naming ConventionFiles are named following the pattern: `em_cont_<species>.tif`* `<species>`: Full species name (*Genus species*). ### Final layers Values* **Variable:** Environmental Suitability Index.* **Units:** Dimensionless index (0.05-1).* **Interpretation:** High values indicate high suitability for the species. --- ## 4. R Scripts & Software Requirements All analyses were conducted in **R (version 4.1.2)**. ### Required R PackagesTo install all required packages, run:```rinstall.packages(c("terra", "dplyr", "biomod2", "doParallel", "foreach"))```* `terra` (v1.7-23) – used for spatial raster manipulation, environmental extraction, and GeoTIFF export.* `dplyr` (v1.1.2) – used for tabular data cleaning, filtering, and manipulation.* `biomod2` (v4.2-5-2) – used for species distribution modeling (SDM), ensemble modeling, and spatial projections.* `doParallel` (v1.0.17) – used to register parallel CPU cores to speed up model calibration and projections.* `foreach` (v1.5.2) – used for executing parallelized loops across species and model runs. * `nppen` – used for executing the Non-Parametric Probabilistic Ecological Niche (NPPEN) model. ### Execution Order1. **`01a_Data_preparation.R`**: Loads raw environmental layers and species occurrences, cleans data, and aligns raster extents.2. **`01b_Convexhull and PA.R`**: Applies environmental bin filtering to presence records and generates pseudo-absences outside the observed environmental convex hull (constrained by bathymetry and distance to coast).3. **`02a_Calibration biomod2.R`**: Calibrates and evaluates individual species distribution models (SDMs) in `biomod2` using the prepared presence/pseudo-absence datasets.4. **`02b_Calibration NPPEN.R`**: Calibrates ecological niche models using the Non-Parametric Probabilistic Ecological Niche (NPPEN) method.5. **`03a_Model evaluations - NPPEN.R`**: Evaluates predictive performance (e.g., TSS, AUC/ROC) of the calibrated NPPEN models.6. **`04a_Projection biomod2.R`**: Projects calibrated `biomod2` models across current, and paleoclimate environmental scenarios.7. **`04b_Projection NPPEN.R`**: Projects calibrated NPPEN models across current, and paleoclimate environmental scenarios.8. **`05_Complete ensemble model.R`**: Combines projections from `biomod2` and NPPEN to build the final ensemble suitability models.9. **`06_MESS analysis.R`**: Computes Multivariate Environmental Similarity Surface (MESS) indices to identify areas of environmental extrapolation.10. **`07_Null distribution paleo.R`**: Generates null distributions for paleoclimate projections to test the statistical significance of projections at fossil records locations. *Note: Please update the working directory paths (`input.wd`, `output.wd`) at the top of each script before running.* --- ## 5. License* **Data (`.tif` files):** Licensed under [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org).* **Code (`.R` scripts):** Licensed under the [MIT License](https://opensource.org).
No takes yet. Share an insight, caveat, or question.
Beauvais et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: