All Projects → VeruGHub → easyclimate

VeruGHub / easyclimate

Licence: GPL-3.0 license
Easy access to high-resolution daily climate data for Europe

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to easyclimate

getCRUCLdata
CRU CL v. 2.0 Climatology Client for R
Stars: ✭ 17 (-34.62%)
Mutual labels:  climate-data, r-package
nflfastR
A Set of Functions to Efficiently Scrape NFL Play by Play Data
Stars: ✭ 268 (+930.77%)
Mutual labels:  r-package
SpatPCA
R Package: Regularized Principal Component Analysis for Spatial Data
Stars: ✭ 16 (-38.46%)
Mutual labels:  r-package
RNeXML
Implementing semantically rich NeXML I/O in R
Stars: ✭ 12 (-53.85%)
Mutual labels:  r-package
PostcodesioR
API wrapper around postcodes.io - free UK postcode lookup and geocoder
Stars: ✭ 36 (+38.46%)
Mutual labels:  r-package
weathercan
R package for downloading weather data from Environment and Climate Change Canada
Stars: ✭ 83 (+219.23%)
Mutual labels:  r-package
nomisr
Access UK official statistics from the Nomis database through R.
Stars: ✭ 30 (+15.38%)
Mutual labels:  r-package
jsonvalidate
✔️⁉️ Validate JSON
Stars: ✭ 43 (+65.38%)
Mutual labels:  r-package
gm
R Package for Music Score and Audio Generation
Stars: ✭ 116 (+346.15%)
Mutual labels:  r-package
netrankr
An R package for network centrality
Stars: ✭ 39 (+50%)
Mutual labels:  r-package
tidygenomics
Tidy Verbs for Dealing with Genomic Data Frames https://const-ae.github.io/tidygenomics/
Stars: ✭ 97 (+273.08%)
Mutual labels:  r-package
diffpriv
Easy differential privacy in R
Stars: ✭ 59 (+126.92%)
Mutual labels:  r-package
xcast
A High-Performance Data Science Toolkit for the Earth Sciences
Stars: ✭ 28 (+7.69%)
Mutual labels:  climate-data
dirdf
R package: dirdf - Extracts Metadata from Directory and File Names
Stars: ✭ 57 (+119.23%)
Mutual labels:  r-package
rreddit
𝐫⟋ Get Reddit data
Stars: ✭ 49 (+88.46%)
Mutual labels:  r-package
bold
Interface to the Bold Systems barcode webservice
Stars: ✭ 14 (-46.15%)
Mutual labels:  r-package
cft
Climate futures toolbox: easy MACA (MACAv2) climate data access 📦
Stars: ✭ 16 (-38.46%)
Mutual labels:  climate-data
irace
Iterated Racing for Automatic Algorithm Configuration
Stars: ✭ 26 (+0%)
Mutual labels:  r-package
tsmp
R Functions implementing UCR Matrix Profile Algorithm
Stars: ✭ 63 (+142.31%)
Mutual labels:  r-package
open-climate-investing
Application and data for analyzing and structuring portfolios for climate investing.
Stars: ✭ 20 (-23.08%)
Mutual labels:  climate-data

easyclimate

Easy access to high-resolution daily climate data for Europe

Project Status: Active – The project has reached a stable, usable state and is being actively developed. R-CMD-check Codecov test coverage

Get high-resolution (1 km) daily climate data (precipitation, minimum and maximum temperatures) for Europe from the European climatic database hosted at University of Natural Resources and Life Sciences, Vienna, Austria. Data are currently available from 1950 to 2020.

This climatic dataset was originally built by A. Moreno & H. Hasenauer and further developed by W. Rammer, C. Pucher & M. Neumann (see this document for more details on the development and characteristics of the climatic dataset).

In this R package we implemented Cloud-Optimised Geotiffs so that we can obtain daily climate data for thousands of sites/days within 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 (ftp://palantir.boku.ac.at/Public/ClimateData/) 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.

Installation

# install.packages("remotes")
remotes::install_github("VeruGHub/easyclimate")

Examples

To obtain a data frame of daily climatic values for point coordinates:

library(easyclimate)

coords <- matrix(c(-5.36, 37.40), ncol = 2)

prec <- get_daily_climate(coords, 
                          period = "2001-01-01:2001-01-03", 
                          climatic_var = "Prcp")
ID_coords x y date Prcp
1 -5.36 37.4 2001-01-01 8.64
1 -5.36 37.4 2001-01-02 0.00
1 -5.36 37.4 2001-01-03 2.93

To obtain a (multi-layer) raster of daily climatic values for an area:

library(terra)

coords_poly <- vect("POLYGON ((-4.5 41, -4.5 40.5, -5 40.5, -5 41))")

ras_tmax <- get_daily_climate(
  coords_poly,
  period = c("2012-01-01", "2012-08-01"),
  climatic_var = "Tmax",
  output = "raster" # return raster
  )

par(mfrow = c(1, 2))
terra::plot(ras_tmax, 1, col = rev(heat.colors(20)), type = "continuous", smooth = TRUE, range = c(10, 35), legend = FALSE, mar=c(4, 2, 4, 2), main = "January 1 2012")
terra::plot(ras_tmax, 2, col = rev(heat.colors(20)), type = "continuous", smooth = TRUE, range = c(10, 35), mar = c(4, 1, 4, 3), main = "August 1 2012")


Visit the articles of the package website for more extended tutorials!


CITATION

If you use easyclimate, please cite both the data source and the package as:

Moreno A, Hasenauer H (2016). “Spatial downscaling of European climate data.” International Journal of Climatology, 1444–1458. <URL: https://doi.org/10.1002/joc.4436>.

Rammer W, Pucher C, Neumann M (2018). Description, Evaluation and Validation of Downscaled Daily Climate Data Version 2. <URL: ftp://palantir.boku.ac.at/Public/ClimateData/>.

Cruz-Alonso V, Rodríguez-Sánchez F, Pucher C, Ruiz-Benito P, Astigarraga J, Neumann M, Ratcliffe S (2022). easyclimate: Easy access to high-resolution daily climate data for Europe. <URL: https://github.com/VeruGHub/easyclimate>.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].