Climate variability indices for ecological and crop models in R
Climate variability indices for ecological and crop models in R: the climatrends package - Published in JOSS (2023)
Science Score: 95.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Scientific Fields
Repository
Climate Variability Indices for Ecological Modelling
Basic Info
Statistics
- Stars: 4
- Watchers: 6
- Forks: 6
- Open Issues: 2
- Releases: 3
Topics
Metadata Files
README.md
climatrends
climatrends: Climate Variability Indices for Ecological Modelling 
Overview
The climatrends package provides methods to compute precipitation and temperature indices for climate models in ecology. The indices produced here can be used as explanatory variables for ecological modelling, crop modelling, and to assess trends in climate change.
Statement of need
Reproducibility, the ability to repeat the analysis, and Replicability, the ability to repeat an experiment are key to perform collaborative scientific research. This is still a gap in most of the studies in agriculture and ecology. climatrends addresses this specific issue. The package originates from a set of scripts to compute climate indices in our previous studies. Building up on the interest in expanding the analysis to other regions and to enable reproducible and replicable studies we developed climatrends. Most of the package functions take into account the heterogeneity of testing sites (locations), dates and seasons, a common characteristic of decentralized agricultural trials. Further development was made to enable time series analysis with fixed periods of time and locations. The package climatrends computes temperature, precipitation, crop growing and crop stress indices that were validated by previous studies on climatology and crop science. Currently climatrends is part of the CRAN Task View in Agriculture (https://cran.r-project.org/web/views/Agriculture.html).
Package website
https://agrdatasci.github.io/climatrends/
Installation
The package may be installed from CRAN via
r
install.packages("climatrends")
The development version can be installed via
r
library("remotes")
install_github("agrdatasci/climatrends", build_vignettes = TRUE)
Example
The default method for the function temperature() has as the basic input one numeric vector with the maximum temperature and one numeric vector with the minimum temperature:
```r library("climatrends")
data("innlandet", package = "climatrends")
temperature(innlandet$tmax, innlandet$tmin)
maxDT minDT maxNT minNT DTR SU TR CFD WSDI CSDI T10p T90p
```
The indices can be splitted in intervals for series analysis. Here we get the temperature indices with intervals of 30 days.
```r
temperature(innlandet$tmax, innlandet$tmin, dates = innlandet$day, timeseries = TRUE, intervals = 30)
id date index value
<int> <date> <chr> <dbl>
1: 1 2019-01-01 maxDT -0.15 2: 1 2019-01-01 minDT -14.86 3: 1 2019-01-01 maxNT -3.41 4: 1 2019-01-01 minNT -18.67
5: 1 2019-01-01 DTR 4.35
68: 1 2019-05-31 CFD 3.00 69: 1 2019-05-31 WSDI 2.00 70: 1 2019-05-31 CSDI 3.00 71: 1 2019-05-31 T10p 0.20 72: 1 2019-05-31 T90p 11.14 ```
Going further
The full functionality of climatrends is illustrated in the package vignette. The vignette can be found on the package website or from within R once the package has been installed, e.g. via
r
vignette("Overview", package = "climatrends")
Meta
Package website
Please report any issues or bugs.
License: MIT
Get citation information for climatrends in R by typing
citation(package = "climatrends").You are welcome to contribute to the climatrends project. Please read our contribution guide lines.
Please note that the climatrends project is released with a Contributor Code of Conduct. By participating in the climatrends project you agree to abide by its terms.
Owner
- Name: AgrDataSci
- Login: AgrDataSci
- Kind: organization
- Email: k.desousa@cgiar.org
- Location: France
- Repositories: 8
- Profile: https://github.com/AgrDataSci
We develop methods and tools to support sustainable food systems, rural development and digital inclusion
JOSS Publication
Climate variability indices for ecological and crop models in R: the climatrends package
Authors
Department of Agricultural Sciences, Inland Norway University of Applied Sciences, Hamar, Norway, Digital Inclusion, Bioversity International, Montpellier, France
Tags
climate data climatology earth science precipitation data reproducibility weather dataCodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "climatrends",
"description": "Supports analysis of trends in climate change, ecological and crop modelling.",
"name": "climatrends: Climate Variability Indices for Ecological Modelling",
"codeRepository": "https://agrdatasci.github.io/climatrends/",
"issueTracker": "https://github.com/agrdatasci/climatrends/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "1.1",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.3.3 (2024-02-29)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"author": [
{
"@type": "Person",
"givenName": "Kauê",
"familyName": "de Sousa",
"email": "desousa.kaue@gmail.com",
"@id": "https://orcid.org/0000-0002-7571-7845"
}
],
"contributor": [
{
"@type": "Person",
"givenName": "Jacob",
"familyName": "van Etten",
"@id": "https://orcid.org/0000-0001-7554-2558"
},
{
"@type": "Person",
"givenName": "Svein Ø.",
"familyName": "Solberg",
"@id": "https://orcid.org/0000-0002-4491-4483"
},
{
"@type": "Person",
"givenName": "Jacob",
"familyName": "van Etten",
"@id": "https://orcid.org/0000-0001-7554-2558"
},
{
"@type": "Person",
"givenName": "Svein Ø.",
"familyName": "Solberg",
"@id": "https://orcid.org/0000-0002-4491-4483"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Kauê",
"familyName": "de Sousa",
"email": "desousa.kaue@gmail.com",
"@id": "https://orcid.org/0000-0002-7571-7845"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "ag5Tools",
"name": "ag5Tools",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=ag5Tools"
},
{
"@type": "SoftwareApplication",
"identifier": "chirps",
"name": "chirps",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=chirps"
},
{
"@type": "SoftwareApplication",
"identifier": "knitr",
"name": "knitr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=knitr"
},
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rmarkdown"
},
{
"@type": "SoftwareApplication",
"identifier": "sf",
"name": "sf",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=sf"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
}
],
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 3.5.0"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "methods",
"name": "methods"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "stats",
"name": "stats"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "nasapower",
"name": "nasapower",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=nasapower"
},
"SystemRequirements": null
},
"fileSize": "4501.063KB",
"citation": [
{
"@type": "SoftwareSourceCode",
"datePublished": "2020",
"author": [
{
"@type": "Person",
"givenName": "Kauê",
"familyName": "de Sousa"
},
{
"@type": "Person",
"givenName": "Jacob",
"familyName": "van Etten"
},
{
"@type": "Person",
"givenName": "Svein Ø.",
"familyName": "Solberg"
}
],
"name": "climatrends: Climate Variability Indices for Ecological Modelling",
"url": "https://CRAN.R-project.org/package=climatrends",
"description": "R package version 0.5"
}
]
}
Papers & Mentions
Total mentions: 1
Data-driven decentralized breeding increases prediction accuracy in a challenging crop production environment
- DOI: 10.1038/s42003-021-02463-w
- OpenAlex ID: https://openalex.org/W3193973823
- Published: August 2021
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| kauedesousa | k****a@i****o | 106 |
| David LeBauer | d****r@a****u | 1 |
| istfer | f****m@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 15
- Total pull requests: 3
- Average time to close issues: 6 months
- Average time to close pull requests: 2 months
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 1.07
- Average comments per pull request: 0.33
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- istfer (6)
- kauedesousa (5)
- dlebauer (4)
Pull Request Authors
- dlebauer (2)
- istfer (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- cran 432 last-month
- Total docker downloads: 21,613
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 6
(may contain duplicates) - Total versions: 9
- Total maintainers: 1
proxy.golang.org: github.com/agrdatasci/climatrends
- Documentation: https://pkg.go.dev/github.com/agrdatasci/climatrends#section-documentation
- License: mit
-
Latest release: v0.1.7
published over 5 years ago
Rankings
proxy.golang.org: github.com/AgrDataSci/climatrends
- Documentation: https://pkg.go.dev/github.com/AgrDataSci/climatrends#section-documentation
- License: mit
-
Latest release: v0.1.7
published over 5 years ago
Rankings
cran.r-project.org: climatrends
Climate Variability Indices for Ecological Modelling
- Homepage: https://agrdatasci.github.io/climatrends/
- Documentation: http://cran.r-project.org/web/packages/climatrends/climatrends.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1.13
published almost 4 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- methods * depends
- stats * imports
- chirps * suggests
- knitr * suggests
- nasapower * suggests
- rmarkdown * suggests
- sf * suggests
- testthat * suggests