easyclimate
Easy access to high-resolution daily climate data for Europe.
https://github.com/verughub/easyclimate
Category: Climate Change
Sub Category: Climate Data Access and Visualization
Keywords
climate-data europe r-package
Keywords from Contributors
ecoinformatics
Last synced: about 23 hours ago
JSON representation
Repository metadata
Easy access to high-resolution daily climate data for Europe
- Host: GitHub
- URL: https://github.com/verughub/easyclimate
- Owner: VeruGHub
- License: gpl-3.0
- Created: 2019-11-08T09:56:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-07-24T15:02:33.000Z (6 days ago)
- Last Synced: 2026-07-24T15:07:37.666Z (6 days ago)
- Topics: climate-data, europe, r-package
- Language: R
- Homepage: https://verughub.github.io/easyclimate/
- Size: 59.7 MB
- Stars: 51
- Watchers: 8
- Forks: 2
- Open Issues: 7
- Releases: 2
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE.md
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
library(knitr)
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
cache = TRUE
)
```
# `easyclimate`
# Easy access to high-resolution daily, monthly and annual climate data for Europe
`r badger::badge_cran_release()` 
[](https://www.repostatus.org/#active) [](https://github.com/VeruGHub/easyclimate/actions/workflows/R-CMD-check.yaml) [](https://cran.r-project.org/package=easyclimate)
Get high-resolution (1 km) daily, monthly and annual climate data (precipitation, and average, minimum and maximum temperatures) for Europe from the European climatic database hosted at the [Institute of Silviculture, University of Natural Resources and Life Sciences, Vienna, Austria](https://boku.ac.at/en/oekb/wald). Climate data are available from 1950 onwards. These data are updated annually (generally in July) to include information up to the previous year (e.g., the July 2026 update includes new data up to the end of 2025).
This climate dataset was originally built by [A. Moreno & H. Hasenauer](https://doi.org/10.1002/joc.4436) and further developed by W. Rammer, C. Pucher & M. Neumann.
- See [this document](https://github.com/VeruGHub/easyclimate/blob/d7a803c2c1cf04eb05300ffeafcc37e5524739cb/inst/Description_Evaluation_Validation_Downscaled_Climate_Data_v2.pdf "Original URL: https://github.com/VeruGHub/easyclimate/blob/master/inst/Description_Evaluation_Validation_Downscaled_Climate_Data_v2.pdf. Click or tap if you trust this link.") for more details on the initial development and characteristics of the climatic dataset.
- See [this document](https://doi.org/10.6084/m9.figshare.33078053.v1 "Original URL: https://figshare.com/articles/online_resource/Description_of_Downscaled_European_Climate_Data/33078053. Click or tap if you trust this link.") for the updates of the last version which includes annual updates.
- See [this document](https://doi.org/10.6084/m9.figshare.22962671 "Original URL: https://doi.org/10.6084/m9.figshare.22962671.v1. Click or tap if you trust this link.") for details on previous version (v4) of the dataset.
In this R package we implemented [Cloud-Optimised Geotiffs](http://cogeo.org/) so that we can obtain daily, monthly and climate data for thousands of sites/dates within seconds/minutes, without having to download huge rasters. But if you need to obtain data for large areas, please download the rasters from the FTP server ( ) and extract the values locally rather than using this package, so as not to saturate the file server. For that, you may use a FTP client such as [FileZilla](https://filezilla-project.org/).
Please, be aware that data will be updated in an annual basis and values for past years might have small adjustments according to the annual spring releases of [E-OBS data](https://surfobs.climate.copernicus.eu/dataaccess/access_eobs.php#datafiles). If you need to guarantee reproducibility of your analyses, please save the data locally as some data might change without notice after such updates.
For a detailed description of {easyclimate}, please read [this paper](https://doi.org/10.1016/j.envsoft.2023.105627) (open access version [here](https://doi.org/10.32942/osf.io/mc8uj)) or visit the package [website](https://verughub.github.io/easyclimate/).
## Installation
Stable version from [CRAN](https://cran.r-project.org/package=easyclimate):
```{r, eval = FALSE}
install.packages("easyclimate")
```
Development version from [GitHub](https://github.com/VeruGHub/easyclimate):
```{r, eval = FALSE}
# install.packages("remotes")
remotes::install_github("VeruGHub/easyclimate")
```
Development version from [R-universe](https://verughub.r-universe.dev/easyclimate):
```{r, eval = FALSE}
install.packages('easyclimate',
repos = c('https://verughub.r-universe.dev', 'https://cloud.r-project.org'))
```
## Examples
### Obtain a data frame of climatic values
To obtain a data frame of daily and monthly climatic values for point coordinates:
```{r example_daily, message = FALSE}
library(easyclimate)
coords <- data.frame(lon = -5.36, lat = 37.40)
prec_daily <- get_daily_climate(coords,
period = "2001-01-01:2001-01-03",
climatic_var = "Prcp")
```
```{r echo = FALSE}
kable(prec_daily)
```
```{r example_monthly, message = FALSE}
prec_monthly <- get_monthly_climate(coords,
period = "2001-01:2001-03",
climatic_var = "Prcp")
```
```{r echo = FALSE}
kable(prec_monthly)
```
### Obtain a raster of climatic values
To obtain a (multi-layer) raster of daily climatic values for an area:
```{r message = FALSE, warning = FALSE, fig.width = 8, fig.height = 3}
library(terra)
## Download the polygon contour of a region
sobrarbe <- mapSpain::esp_get_comarca(comarca = "Sobrarbe")
## Coordinates must be in lonlat
sobrarbe <- project(vect(sobrarbe), "EPSG:4326")
## Download Tmax values for that region between 1st and 3rd May 2020
sobrarbetemp <- get_daily_climate(
coords = sobrarbe,
climatic_var = "Tmax",
period = "2020-05-01:2020-05-03",
output = "raster"
)
```
The output (`sobrarbetemp`) is a SpatRaster with 3 layers (for each of 3 days):
```{r}
sobrarbetemp
```
Let's make a map. First using terra:
```{r map_terra, eval = FALSE}
plot(sobrarbetemp, col = rev(RColorBrewer::brewer.pal(9, "RdYlBu")),
smooth = TRUE, nc = 3)
```

Now using ggplot2 and tidyterra:
```{r map_ggplot, message = FALSE, fig.width = 8, fig.height = 3}
library(ggplot2)
library(tidyterra)
ggplot() +
geom_spatraster(data = sobrarbetemp) +
facet_wrap(~lyr, ncol = 3) +
scale_fill_distiller(palette = "RdYlBu", na.value = "transparent") +
geom_spatvector(data = sobrarbe, fill = NA) +
labs(fill = "Maximum\ntemperature (ºC)") +
scale_x_continuous(breaks = c(-0.25, 0, 0.25)) +
scale_y_continuous(breaks = seq(42.2, 42.8, by = 0.2)) +
theme_minimal()
```
Visit the articles of the [package website](https://verughub.github.io/easyclimate/) for more extended tutorials!
## CITATION
If you use {easyclimate}, please cite both the appropriate data source and the package as:
```{r echo = FALSE, results = 'asis', cache = FALSE}
print(citation("easyclimate"), style = "text")
```
Owner metadata
- Name: Verónica Cruz-Alonso
- Login: VeruGHub
- Email:
- Kind: user
- Description:
- Website:
- Location:
- Twitter:
- Company: @HarvardUniversity
- Icon url: https://avatars.githubusercontent.com/u/29353892?u=cdc4b010c701a63244e240d35d29929af4219545&v=4
- Repositories: 5
- Last ynced at: 2024-06-11T15:56:20.025Z
- Profile URL: https://github.com/VeruGHub
GitHub Events
Total
- Delete event: 1
- Member event: 1
- Pull request event: 2
- Issues event: 13
- Watch event: 3
- Issue comment event: 4
- Push event: 27
- Pull request review event: 2
- Create event: 1
Last Year
- Delete event: 1
- Pull request event: 2
- Issues event: 3
- Watch event: 1
- Issue comment event: 1
- Push event: 12
- Pull request review event: 2
- Create event: 1
Committers metadata
Last synced: 9 days ago
Total Commits: 270
Total Committers: 7
Avg Commits per committer: 38.571
Development Distribution Score (DDS): 0.456
Commits in past year: 38
Committers in past year: 6
Avg Commits per committer in past year: 6.333
Development Distribution Score (DDS) in past year: 0.632
| Name | Commits | |
|---|---|---|
| Pakillo | f****c@g****m | 147 |
| VeruGHub | v****z@u****s | 98 |
| smiromero | s****o@g****m | 14 |
| Julen Astigarraga | j****a@g****m | 4 |
| Paloma | p****o@g****m | 3 |
| smiromero | s****o@g****m | 3 |
| dependabot[bot] | 4****] | 1 |
Committer domains:
- uah.es: 1
Issue and Pull Request metadata
Last synced: 24 days ago
Total issues: 50
Total pull requests: 5
Average time to close issues: 8 months
Average time to close pull requests: 7 days
Total issue authors: 7
Total pull request authors: 2
Average comments per issue: 2.24
Average comments per pull request: 0.4
Merged pull request: 5
Bot issues: 0
Bot pull requests: 1
Past year issues: 3
Past year pull requests: 2
Past year average time to close issues: 6 days
Past year average time to close pull requests: 2 days
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 0.33
Past year average comments per pull request: 1.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 1
Top Issue Authors
- VeruGHub (24)
- Pakillo (21)
- wiesehahn (1)
- CR10-dv (1)
- kun-ecology (1)
- PythonCoderUnicorn (1)
- Julenasti (1)
Top Pull Request Authors
- Pakillo (4)
- dependabot[bot] (1)
Top Issue Labels
- enhancement (6)
- documentation (1)
Top Pull Request Labels
- github_actions (1)
- dependencies (1)
Package metadata
- Total packages: 3
-
Total downloads:
- cran: 270 last-month
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 0 (may contain duplicates)
- Total versions: 6
- Total maintainers: 1
proxy.golang.org: github.com/verughub/easyclimate
- Homepage:
- Documentation: https://pkg.go.dev/github.com/verughub/easyclimate#section-documentation
- Licenses: gpl-3.0
- Latest release: v1.0.0 (published 8 months ago)
- Last Synced: 2026-07-11T21:03:43.097Z (18 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
proxy.golang.org: github.com/VeruGHub/easyclimate
- Homepage:
- Documentation: https://pkg.go.dev/github.com/VeruGHub/easyclimate#section-documentation
- Licenses: gpl-3.0
- Latest release: v1.0.0 (published 8 months ago)
- Last Synced: 2026-07-11T21:03:43.101Z (18 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
cran.r-project.org: easyclimate
Easy Access to High-Resolution Daily Climate Data for Europe
- Homepage: https://github.com/VeruGHub/easyclimate
- Documentation: http://cran.r-project.org/web/packages/easyclimate/easyclimate.pdf
- Licenses: GPL (≥ 3)
- Latest release: 0.2.2 (published over 1 year ago)
- Last Synced: 2026-07-11T21:03:44.434Z (18 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 270 Last month
-
Rankings:
- Stargazers count: 8.183%
- Forks count: 17.394%
- Dependent packages count: 28.36%
- Average: 29.041%
- Dependent repos count: 36.947%
- Downloads: 54.319%
- Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- RCurl * imports
- stats * imports
- terra >= 1.2 imports
- ClimInd * suggests
- dplyr * suggests
- ggplot2 * suggests
- knitr * suggests
- rmarkdown * suggests
- sf * suggests
- testthat >= 3.0.0 suggests
- tidyr * suggests
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
Score: 11.608471980481433