A package to download and process ERA5 data ready for use in microclimate modelling. Corresponding paper describing the package here in Methods in Ecology and Evolution.
At present, mcera5
has a dependency on the R package microclima
, which in turn depends on rgdal
. Given that rgdal
has been retired, it is no longer available to be installed from CRAN. Thus, if you do not have rgdal
available for your current version of R, prior to attempting to install mcera5
, please install rgdal
from an archived source by running this line of code:
remotes::install_url("https://cran.r-project.org/src/contrib/Archive/rgdal/rgdal_1.6-7.tar.gz", type="source")
Then when installing mcera5
, make sure to specify build_vignettes = TRUE
in order to access the package's vignette tutorial:
remotes::install_github("dklinges9/mcera5", build_vignettes = TRUE)
If the above suggestion for handling a rgdal
installation does not solve issues on your end, there is a developmental version of mcera5
that does not rely on microclima
, which you can install via the following line. However (as of February 2024) this development version has not been sufficiently tested!
remotes::install_github("dklinges9/mcera5", ref = "no_microclima")
The vignette can then be accessed via:
vignette("mcera5_vignette")
Alternatively you can navigate to the vignette manually here on the GitHub repository.
Before emailing about a concern, please submit a reproducible example as an issue on this Github repository. To do so, navigate to the main page of this repository and click on the "Issues" tab, and then "New Issue." If you do not have a GitHub account or are otherwise unable to submit an issue, then contact David Klinges at dklinges9@gmail.com.
David Klinges: Maintainer, primary contact (dklinges9@gmail.com) James Duffy: Creator Ilya Maclean: Contributor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.