A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

getCRUCLdata

Provides functions that automate importing CRU CL v. 2.0 climatology data into R.
https://github.com/ropensci/getCRUCLdata

Category: Climate Change
Sub Category: Climate Data Processing and Analysis

Keywords

climate-data cru cru-cl2 data-access diurnal-temperature elevation frost peer-reviewed r r-package rainfall relative-humidity rstats solar-radiation temperature wind

Keywords from Contributors

routes genome cycle occurrence weather climate noaa noaa-data hugo openscience

Last synced: about 23 hours ago
JSON representation

Repository metadata

CRU CL v. 2.0 Climatology Client for R

README.md

getCRUCLdata: Use and Explore CRU CL v. 2.0 Climatology Elements in R

R-CMD-check Project Status: Active – The project has reached a stable, usable state and is being actively developed. DOI JOSS status codecov

Introduction to {getCRUCLdata}

The {getCRUCLdata} package provides functions that automate importing CRU CL v. 2.0 climatology data into R, facilitates the calculation of minimum temperature and maximum temperature, and formats the data into a data.table or a list of terra::rast objects for use.

CRU CL v. 2.0 data are a gridded climatology of 1961-1990 monthly means released in 2002 and cover all land areas (excluding Antarctica) at 10 arc minutes (0.1666667 degree) resolution. For more information see the description of the data provided by the University of East Anglia Climate Research Unit (CRU), https://crudata.uea.ac.uk/cru/data/hrg/tmc/readme.txt.

Changes to original CRU CL v. 2.0 data

This package automatically converts elevation values from kilometres to metres.

This package crops all spatial outputs to an extent of ymin = -60, ymax = 85, xmin = -180, xmax = 180. Note that the original wind data include land area for parts of Antarctica.

Quick Start

Install

{getCRUCLdata} is not available from CRAN. You can install it from GitHub as follows.

if (!require("remotes")) {
  install.packages("remotes")
}

install_github("ropensci/getCRUCLdata", build_vignettes = TRUE)

Or you can install it from the rOpenSci R-universe.

# Enable the rOpenSci R-universe
options(repos = c(
    rOpenSci = "https://ropensci.r-universe.dev",
    CRAN = "https://cloud.r-project.org"))
# Install the package
install.packages("getCRUCLdata")

Documentation

For complete documentation see the package website: https://docs.ropensci.org/getCRUCLdata/.

Meta

CRU CL v. 2.0 reference and abstract

Mark New (1,*), David Lister (2), Mike Hulme (3), Ian Makin (4)

A high-resolution data set of surface climate over global land areas Climate Research, 2000, Vol 21, pg 1-25

  1. School of Geography and the Environment, University of Oxford, Mansfield Road, Oxford OX1 3TB, United Kingdom
  2. Climatic Research Unit, and (3) Tyndall Centre for Climate Change Research, both at School of Environmental Sciences, University of East Anglia, Norwich NR4 7TJ, United Kingdom
  3. International Water Management Institute, PO Box 2075, Colombo, Sri Lanka

ABSTRACT: We describe the construction of a 10-minute latitude/longitude data set of mean monthly surface climate over global land areas, excluding Antarctica. The climatology includes 8 climate elements - precipitation, wet-day frequency, temperature, diurnal temperature range, relative humidity,sunshine duration, ground frost frequency and windspeed - and was interpolated from a data set of station means for the period centred on 1961 to 1990. Precipitation was first defined in terms of the parameters of the Gamma distribution, enabling the calculation of monthly precipitation at any given return period. The data are compared to an earlier data set at 0.5 degrees latitude/longitude resolution and show added value over most regions. The data will have many applications in applied climatology, biogeochemical modelling, hydrology and agricultural meteorology and are available through the School of Geography Oxford (https://www.geog.ox.ac.uk/), the International Water Management Institute “World Water and Climate Atlas” (https://www.iwmi.org/) and the Climatic Research Unit (https://www.uea.ac.uk/groups-and-centres/climatic-research-unit).

Contributors

All contributions to this project are gratefully acknowledged using the allcontributors package following the all-contributors specification. Contributions of any kind are welcome!

Code

+------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+
| {alt=""} \ | {alt=""} \ | {alt=""} \ | {alt=""} \ |
| adamhsparks | sckott | jeroen | karthik |
+------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+

Issues

+-------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| {alt=""} \ | {alt=""} \ | {alt=""} \ |
| ivanhanigan | sunjj878 | mhesselbarth |
+-------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+

Other

  • Please report any issues or bugs.

  • License: MIT

  • Get citation information for getCRUCLdata in R typing citation(package = "getCRUCLdata")

  • Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 720
Total Committers: 4
Avg Commits per committer: 180.0
Development Distribution Score (DDS): 0.008

Commits in past year: 126
Committers in past year: 1
Avg Commits per committer in past year: 126.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Adam H. Sparks a****s@g****m 714
Scott Chamberlain m****s@g****m 3
Jeroen Ooms j****s@g****m 2
Karthik Ram k****m@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 9
Total pull requests: 3
Average time to close issues: about 22 hours
Average time to close pull requests: about 9 hours
Total issue authors: 5
Total pull request authors: 2
Average comments per issue: 1.89
Average comments per pull request: 0.33
Merged pull request: 3
Bot issues: 0
Bot pull requests: 0

Past year issues: 1
Past year pull requests: 0
Past year average time to close issues: 2 days
Past year average time to close pull requests: N/A
Past year issue authors: 1
Past year pull request authors: 0
Past year average comments per issue: 1.0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ropensci/getCRUCLdata

Top Issue Authors

  • adamhsparks (4)
  • mhesselbarth (2)
  • sckott (1)
  • sunjj878 (1)
  • ivanhanigan (1)

Top Pull Request Authors

  • sckott (2)
  • karthik (1)

Top Issue Labels

  • bug (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: getCRUCLdata

'CRU' 'CL' v. 2.0 Climatology Client

  • Homepage: https://github.com/ropensci/getCRUCLdata
  • Status: removed
  • Documentation: http://cran.r-project.org/web/packages/getCRUCLdata/getCRUCLdata.pdf
  • Licenses: MIT + file LICENSE
  • Latest release: 1.0.3 (published 3 months ago)
  • Last Synced: 2025-04-25T12:01:04.340Z (2 days ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 198 Last month
  • Docker Downloads: 88,618
  • Rankings:
    • Dependent packages count: 27.229%
    • Dependent repos count: 33.547%
    • Average: 42.724%
    • Downloads: 67.395%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • R >= 3.2.0 depends
  • curl * imports
  • data.table * imports
  • hoardr * imports
  • terra * imports
  • utils * imports
  • ggplot2 * suggests
  • knitr * suggests
  • rappdirs * suggests
  • rmarkdown * suggests
  • roxygen2 * suggests
  • spelling * suggests
  • testthat * suggests
  • viridis * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 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
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite

Score: 15.613852316317653