Skip to contents

Downscaling functions

Functions for downscaling climate variables

climr climr-package
climr: Downscaling climate data in R
downscale()
Self-contained change-factor downscaling of observed and simulated climate data
downscale_core()
Change-factor downscaling of user-supplied climate data

Downloading raw climate inputs

Functions to generate inputs for downscale_core()

input_refmap()
Retrieve reference period climate maps
input_gcms() input_gcm_hist() input_gcm_ssp()
Retrieve global climate model anomalies for downscale_core.
input_obs() input_obs_ts()
Retrieve observational anomalies.

Database and caching

Functions for interacting with the PostGIS server and the data cache folder

cache_path() cache_clear()
Return package local cache path
data_connect()
Connect to PostGIS database
pgGetTerra()
Download raster with bounding box from PostGIS

Utilities

Other useful functions

plot_bivariate()
Bivariate climate change plots
plot_timeSeries()
Time series plots of climate change
plot_timeSeries_input()
Input data for the time series climate change plot
get_bb()
Find bounding box of data
lapse_rate()
Calculation of gridded lapse rates

Data

Available climate variables and functions listing available data. Datasets used in vignettes and examples.

variables
Available climate variables
name_changes
Changes to naming conventions applied in Version 0.1.0
list_gcms() list_ssps() list_gcm_periods() list_run() list_refmaps() list_obs_periods() list_vars() list_obs_years() list_gcm_ssp_years() list_gcm_hist_years()
List available runs, global circulation models, periods and climate scenarios
xyzDT
Example table of point locations
BECz_vancouver
Example Biogeoclimatic Ecological Classification Zones
BECz_vancouver_ras
Example Biogeoclimatic Ecological Classification Zones in raster format
BECcols
Colour scheme for Biogeoclimatic Ecological Classification Zones
dem_vancouver
Example DEM
dem_vancouver_lowres
Example low resolution DEM
vancouver
Example line data
vancouver_points
Example point locations
vancouver_poly
Example polygon locations
weather_stations
BC Weather Station Data - PCDS