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.
We are actively developing climr
and releasing minor versions every month or two.
If you would like to receive email updates when new versions of climr are released,
subscribe to the climr
GitHub repo using the following steps:
- Navigate to https://github.com/bcgov/climr.
- Click the "Watch" button at the top right of the repository page.
- Choose "Custom".
- Select "Releases".
climr
provides the following data:
-
Two historical observational time series: (1) the 1901-2023 ClimateNA time series (Wang et al., 2016) and (2) the 1901-2022 combined Climatic Research Unit TS dataset (for temperature) and Global Precipitation Climatology Centre dataset (for precipitation).
-
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), Climatic Research Unit, and Global Precipitation Climatology Centre.
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 vignette("climr_methods_ensembleSelection")
.
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.
- We are still working on the documentation, examples, and vignettes. Please let us know if something isn't clear, preferably as a GitHub issue.
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
http://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
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.