Skip to contents

Downscaling functions

Functions for downscaling climate variables

climr climr-package
climr: An R package of downscaled monthly climate data for North America
downscale()
Self-contained change-factor downscaling of observed and simulated climate data
downscale_core() downscale_db_core()
Change-factor downscaling of user-supplied climate data

Downloading raw climate inputs

Functions to generate inputs for downscale_core()

input_refmap() input_refmap_db()
Retrieve reference period climate maps
input_gcms() input_gcms_db() input_gcm_hist() input_gcm_hist_db() input_gcm_ssp() input_gcm_ssp_db()
Retrieve global climate model anomalies for downscale_core.
input_obs() input_obs_db() input_obs_ts() input_obs_ts_db()
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() connections() connections_clear()
List connections in cache
pgGetTerra()
Download raster with bounding box from PostGIS (original)

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
plot_ensemble()
Function for plotting time series for gcms or compiled ensemble
get_bb()
Find bounding box of data
lapse_rate()
Calculation of gridded lapse rates
legend_ramp()
Legend for color ramp maps
logVars()
Log-transform climate variables

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_runs_ssp() list_runs_historic() list_refmaps() list_obs_periods() list_vars() list_obs_years() list_gcm_ssp_years() list_gcm_hist_years()
List available runs, global climate models (GCMs), time periods and scenarios (SSPs)
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