This website stores cookies on your computer. These cookies are used to collect information about how you interact with our website and allow us to remember your browser. We use this information to improve and customize your browsing experience, for analytics and metrics about our visitors both on this website and other media, and for marketing purposes. By using this website, you accept and agree to be bound by UVic’s Terms of Use and Protection of Privacy Policy. If you do not agree to the above, you must not use this website.

Skip to main content
Pacific Climate Impacts Consortium logo

Software library

PCIC has developed a number of R packages for use with climate data. They can be used to solve problems encountered when working in R, or to improve upon existing software. These packages are freely available under the LGPL or GPL licenses.

CLIMDEX.PCIC
The climdex.pcic package allows users of the R programming language to calculate CLIMDEX climate extremes indices on climate data of their choosing. It is a relatively fast, well tested implementation of the CLIMDEX indices.

CLIMDOWN
ClimDown is a package for the R programming language that allows users to downscale daily climate model output. It contains a suite of routines for downscaling coarse scale global climate model (GCM) output to a fine spatial resolution. It includes implementations of multiple techniques including Constructed Analogues (CA), Climate Imprint (CI), and Bias Correction/Constructed Analogues with Quantile mapping reordering (BCCAQ). 

UDUNITS2
The udunits2 package allows users of the R programming language to convert data between different units (e.g., from degrees C to degrees K). 

CLIMDEX.PCIC.NCDF
The climdex.pcic.ncdf package allows users of the R programming language to calculate CLIMDEX climate extremes indices on NetCDF gridded input files in parallel, using an MPI cluster if available. Download the software with the link above, or download the software directly as a tarball

ZYP
The zyp package supports the determination of climate trends. It uses an efficient implementation of Sen's (1968) slope method to calculate trend magnitude. It provides two options for removing lag-1 autocorrelation (the correlation of a given time series with its own earlier values) and computing the significance of a trend following methods by Xuebin Zhang (1999) and Yue-Pilon (2002).