dot-get_CRU: Downloads and formats CRU CL 2.0 data

.get_CRUR Documentation

Downloads and formats CRU CL 2.0 data

Description

Downloads and formats CRU CL 2.0 data

Usage

.get_CRU(
  pre,
  pre_cv,
  rd0,
  tmp,
  dtr,
  reh,
  tmn,
  tmx,
  sunp,
  frs,
  wnd,
  elv,
  cache_dir
)

Arguments

pre

Logical. If TRUE, downloads precipitation data.

pre_cv

Logical. If TRUE, downloads precipitation data.

rd0

Logical. If TRUE, downloads runoff data.

tmp

Logical. If TRUE, downloads temperature data.

dtr

Logical. If TRUE, downloads diurnal temperature range data.

reh

Logical. If TRUE, downloads relative humidity data.

tmn

Logical. If TRUE, downloads minimum temperature data.

tmx

Logical. If TRUE, downloads maximum temperature data.

sunp

Logical. If TRUE, downloads sunshine data.

frs

Logical. If TRUE, downloads frost day frequency data.

wnd

Logical. If TRUE, downloads wind speed data.

elv

Logical. If TRUE, downloads elevation data.

cache_dir

Character. Path to the cache directory.

Handles the downloading of CRU CL 2.0 data. This function is called by get_cru_df and get_cru_stack. It is not intended to be called directly.

Value

A data.table with the requested data.


adamhsparks/getCRUCL2.0 documentation built on Feb. 14, 2025, 6:55 p.m.