medfate
Functions to simulate Mediterranean forest functioning and dynamics using cohort-based description of vegetation.
https://github.com/emf-creaf/medfate
Category: Biosphere
Sub Category: Forest Modeling and Analysis
Last synced: about 19 hours ago
JSON representation
Repository metadata
Functions to simulate Mediterranean forest functioning and dynamics using cohort-based description of vegetation
- Host: GitHub
- URL: https://github.com/emf-creaf/medfate
- Owner: emf-creaf
- License: gpl-2.0
- Created: 2019-06-06T10:13:25.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T08:50:46.000Z (5 days ago)
- Last Synced: 2025-04-25T13:03:49.622Z (3 days ago)
- Language: C++
- Homepage: https://emf-creaf.github.io/medfate/
- Size: 1.91 GB
- Stars: 11
- Watchers: 1
- Forks: 8
- Open Issues: 2
- Releases: 11
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
README.Rmd
--- output: github_document --- ```{r setup, echo = FALSE} knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.path = "README-") knitr::opts_chunk$set(fig.path = "man/figures/") ``` # Mediterranean forest simulation[](https://cran.r-project.org/package=medfate) [](https://cran.rstudio.com/web/packages/medfate/index.html) [](https://github.com/emf-creaf/medfate/actions) ## Introduction Package **medfate** is designed to assist forest scientists to simulate forest functioning and dynamics, using cohort-based description of forest stands. The package provides functions to simulate the following processes: + Soil water balance (De Cáceres et al. 2015) + Plant hydraulics, transpiration and photosynthesis (De Cáceres et al. 2021, Ruffault et al. 2022) + Carbon balance, plant growth, senescence and mortality (De Cáceres et al. 2023) + Forest dynamics, including recruitment and management (De Cáceres et al. 2023) The models are parameterized for species of the **Mediterranean region** (particularly for Spain), but forests with different composition could be modelled with different parameter sets. ## Package installation & documentation Package **medfate** can be found at [CRAN](https://CRAN.R-project.org/package=medfate), where it is updated every few months. Installation from CRAN can be done via: ```{r installation cran, eval = FALSE} install.packages("medfate") ``` Users can also download and install the latest stable versions GitHub as follows (required package `remotes` should be installed/updated first): ```{r installation github, eval = FALSE} remotes::install_github("emf-creaf/medfate") ``` A number of *vignettes* illustrate how to run simulation models in **medfate**. These, and additional articles regarding parameter estimation and model evaluation can be found at the package [website](https://emf-creaf.github.io/medfate/). A complete documentation of the models included in the package can be found in [medfate's reference book](https://emf-creaf.github.io/medfatebook/index.html). ## Companion R packages During the development of **medfate** some functions were originally placed there but then moved to more specialized packages which evolve together with **medfate**: + Package [**medfateland**](https://emf-creaf.github.io/medfateland) extends **medfate** by allowing simulations to be performed in a spatially explicit context. + Package [**traits4models**](https://emf-creaf.github.io/traits4models) provides functions to help creating species parameter inputs for **medfate** and **medfateland** simulation functions. Two other packages complete the simulation framework, but can be used for many other purposes beyond forest modelling: + Package [**meteoland**](https://emf-creaf.github.io/meteoland) allows generating daily weather input for simulation models in **medfate** and **medfateland**. Package **meteoland** is a dependency for **medfate** and **medfateland**, but can be used independently to obtain daily weather data. + Package [**forestables**](https://emf-creaf.github.io/forestables) allows reading and harmonizing forest inventory data to a common data structure. Initialization workflows in **medfateland** can use data from **forestables**, but the data structures of the package can be used for many studies beyond modelling. The relationships between the five packages are illustrated in the figure below, where black arrows indicate package dependencies and gray arrows indicate model parameter or data provision. ```{r, out.width='80%', fig.align="center", echo=FALSE} knitr::include_graphics("man/figures/packages.png") ``` ## Authorship Package **medfate** is developed and maintained by the [*Ecosystem Modelling Facility*](https://emf.creaf.cat) unit at [*CREAF*](https://www.creaf.cat/) (in Spain), in close collaboration with researchers from [*URFM-INRAE*](https://www6.paca.inrae.fr/ecologie_des_forets_mediterraneennes/) (in France) and [*CTFC*](https://www.ctfc.cat/) (in Spain). ```{r, out.width='50%', fig.align="center", echo=FALSE} knitr::include_graphics("man/figures/institution_logos.png") ``` ## Funding + **Fellowship**: *Ramon y Cajal* research fellowship to M. De Cáceres. **Financial Entity**: Ministerio de Economía y Competitividad ( RYC-2012-11109). **Duration from**: 01/01/2013 **to**: 31/12/2018. + **Research project**: Forecasting of ecosystem services on forests: impacts and adaptation to extreme climate events (FORESTCAST). **Financial Entity**: Ministerio de Economia y Competitividad (CGL2014-59742-C2-2-R). **Duration from**: 01/01/2015 **to**: 31/12/2017. **PI**: Lluís Brotons/Miquel De Cáceres. + **Research project**: Modeling plant water use and drought resistance strategies across scales (DRESS). **Financial Entity**: Ministerio de Economia y Competitividad (CGL2017-89149-C2-2-R). **Duration from**: 01/01/2018 **to**: 31/12/2021. **PI**: Miquel De Cáceres. + **Research project**: Boosting process-based models to project forest dynamics and associated ecosystem services at stand-to-regional scales (BOMFORES). **Financial Entity**: Ministerio de Ciencia e Innovación (PID2021-126679OB-I00). **Duration from**: 01/09/2022 **to**: 31/08/2024. **PI**: Miquel De Cáceres. + **Research project**: Improving the modelling of key forest dynamic processes to forecast long-term changes in Mediterranean forests under climate change (IMPROMED). **Financial Entity**: Ministerio de Ciencia e Innovación (PID2023-152644NB-I00). **Duration from**: 01/09/2024 **to**: 31/08/2025. **PI**: Miquel De Cáceres/Josep Mª Espelta. ## References + De Cáceres M, Martínez-Vilalta J, Coll L, Llorens P, Casals P, Poyatos R, Pausas JG, Brotons L. (2015) Coupling a water balance model with forest inventory data to predict drought stress: the role of forest structural changes vs. climate changes. Agricultural and Forest Meteorology 213: 77-90 (https://doi.org/10.1016/j.agrformet.2015.06.012). + De Cáceres M, Mencuccini M, Martin-StPaul N, Limousin JM, Coll L, Poyatos R, Cabon A, Granda V, Forner A, Valladares F, Martínez-Vilalta J (2021) Unravelling the effect of species mixing on water use and drought stress in holm oak forests: a modelling approach. Agricultural and Forest Meteorology 296 (https://doi.org/10.1016/j.agrformet.2020.108233). + Ruffault J, Pimont F, Cochard H, Dupuy JL, Martin-StPaul N (2022) SurEau-Ecos v2.0: a trait-based plant hydraulics model for simulations of plant water status and drought-induced mortality at the ecosystem level. Geoscientific Model Development 15, 5593-5626 (https://doi.org/10.5194/gmd-15-5593-2022). + De Cáceres M, Molowny-Horas R, Cabon A, Martínez-Vilalta J, Mencuccini M, García-Valdés R, Nadal-Sala D, Sabaté S, Martin-StPaul N, Morin X, D'Adamo F, Batllori E, Améztegui A (2023) MEDFATE 2.9.3: A trait-enabled model to simulate Mediterranean forest function and dynamics at regional scales. Geoscientific Model Development 16, 3165–3201 (https://doi.org/10.5194/gmd-16-3165-2023).
Owner metadata
- Name: Ecosystem Modelling Facility (CREAF)
- Login: emf-creaf
- Email: [email protected]
- Kind: organization
- Description:
- Website: https://emf.creaf.cat/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/80052794?v=4
- Repositories: 10
- Last ynced at: 2023-03-08T06:13:46.862Z
- Profile URL: https://github.com/emf-creaf
GitHub Events
Total
- Create event: 4
- Issues event: 1
- Release event: 3
- Watch event: 2
- Delete event: 1
- Issue comment event: 5
- Push event: 91
- Pull request event: 2
- Fork event: 2
Last Year
- Create event: 4
- Issues event: 1
- Release event: 3
- Watch event: 2
- Delete event: 1
- Issue comment event: 5
- Push event: 91
- Pull request event: 2
- Fork event: 2
Committers metadata
Last synced: 8 days ago
Total Commits: 2,287
Total Committers: 5
Avg Commits per committer: 457.4
Development Distribution Score (DDS): 0.004
Commits in past year: 249
Committers in past year: 1
Avg Commits per committer in past year: 249.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Miquel De Cáceres | m****s@g****m | 2277 |
MalditoBarbudo | v****a@g****m | 7 |
ameztegui | a****i@g****m | 1 |
AntoineCabon | a****n@g****m | 1 |
= | m****s@c****s | 1 |
Committer domains:
- creaf.uab.es: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 6
Total pull requests: 2
Average time to close issues: 11 months
Average time to close pull requests: 3 days
Total issue authors: 3
Total pull request authors: 2
Average comments per issue: 1.0
Average comments per pull request: 0.0
Merged pull request: 2
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 1
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 7 days
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 5.0
Past year average comments per pull request: 0.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- miquelcaceres (4)
- vflo (1)
- bastistician (1)
Top Pull Request Authors
- ameztegui (1)
- kalibera (1)
Top Issue Labels
- enhancement (2)
Top Pull Request Labels
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 471 last-month
- Total dependent packages: 0
- Total dependent repositories: 3
- Total versions: 23
- Total maintainers: 1
cran.r-project.org: medfate
Mediterranean Forest Simulation
- Homepage: https://emf-creaf.github.io/medfate/
- Documentation: http://cran.r-project.org/web/packages/medfate/medfate.pdf
- Licenses: GPL-2 | GPL-3 | LGPL-3 [expanded from: GPL (≥ 2) | LGPL (≥ 3)]
- Latest release: 4.8.1 (published 5 days ago)
- Last Synced: 2025-04-26T13:34:32.023Z (2 days ago)
- Versions: 23
- Dependent Packages: 0
- Dependent Repositories: 3
- Downloads: 471 Last month
-
Rankings:
- Forks count: 9.773%
- Dependent repos count: 16.811%
- Average: 19.722%
- Downloads: 20.232%
- Stargazers count: 23.811%
- Dependent packages count: 27.984%
- Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- Rcpp >= 1.0.6 imports
- ggplot2 * imports
- meteoland >= 0.8.1 imports
- shiny * imports
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
Score: 10.337702073930279