climr
is an experimental R package that builds on the downscaling concepts operationalized in the ClimateNA tool (Wang et al. 2016).
It provides downscaling of observational and simulated climate data using change-factor (a.k.a. climate imprint) downscaling, a simple method that adds low-spatial-resolution climate anomalies to a high-spatial-resolution reference climatological map, with additional elevation adjustment for "scale-free" downscaling.
climr
is designed to be fast and to minimize local data storage requirements.
To do so, it uses a remote PostGIS database, and optionally caches data locally.
climr
provides the following data:
-
Historical observational time series (1902-2022), currently limited to the ClimateNA time series (Wang et al., 2016)
-
Multiple historical (1851-2014) and future (2015-2100) climate model simulations for each of 13 CMIP6 global climate models, in monthly time series and 20-year normals
-
User selection of single or multiple climate variables, with derived variables following the ClimateNA methodology of Wang et al. (2016).
The high resolution reference climate maps for Western Canada and Western US are a custom 800m-resolution mosaic of BC PRISM, adjusted US PRISM, Western Canada PRISM, and Daymet (Alberta and Saskatchewan). Reference climatologies for North America are the 4km-resolution ClimateNA (Wang et al. 2016) mosaics of PRISM (BC, US, W. Canada) and WorldClim (rest of North America). The ClimateNA mosaics are accessed from AdaptWest.
Historical observational time series are obtained from ClimateNA (Wang et al. 2016).
CMIP6 global climate model simulations were downloaded from the Earth System Grid Federation. The majority of these downloads were conducted by Tongli Wang, Associate Professor at the UBC Department of Forest and Conservation Sciences.
The 13 global climate models selected for climr
, and best practices for ensemble analysis, are described in Mahony et al. (2022) and summarized in Mahony (2022).
climr
is only available on GitHub. To install please use:
remotes::install_github("bcgov/climr")
If you want to install the development version:
remotes::install_github("bcgov/climr@devl")
See:
-
vignette("climr_workflow_beg")
for a simpleclimr
workflow; -
vignette("climr_workflow_int")
for a deeper dive intoclimr
and more advanced examples of how it can be used; -
vignette("climr_with_rasters")
for several examples of how to work withclimr
using spatial inputs and outputs, such as raster and vector data.
For an overview of downscaling methods used in climr
see vignette("methods_downscaling")
- Downloads of time series take a long time. We are looking into ways to speed this up, but until then we recommend users dedicate some time prior to analysis to cache their time series of interest for their areas of interest in a batch. Once the time series are cached, they don't need to be downloaded again.
Copyright 2024 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
climr
logo uses icon designed by Freepik, Flaticon.com, available here.
We acknowledge the World Climate Research Programme, which, through its Working Group on Coupled Modelling, coordinated and promoted CMIP6. We thank the climate modeling groups for producing and making available their model output, the Earth System Grid Federation (ESGF) for archiving the data and providing access, and the multiple funding agencies who support CMIP6 and ESGF.
Mahony, C.R., T. Wang, A. Hamann, and A.J. Cannon. 2022. A global climate model ensemble for downscaled monthly climate normals over North America. International Journal of Climatology. 42:5871-5891. doi.org/10.1002/joc.7566
Mahony, Colin. 2022. “Rationale for the ClimateBC/NA 8-Model Ensemble Mean.” https://climatena.ca/downloads/ClimateNA_8ModelRationale_Mahony_07May2022.pdf.
Wang, Tongli, Andreas Hamann, Dave Spittlehouse, and Carlos Carroll. 2016. “Locally Downscaled and Spatially Customizable Climate Data for Historical and Future Periods for North America.” Edited by Inés Álvarez. PLOS ONE 11 (6): e0156720.