load_chirps {SeaVal} | R Documentation |
Function for loading CHIRPS (monthly) data.
Description
The data has to be previously downloaded, see download_chirps_monthly
. The resulting data table contains precip in unit mm/day.
Usage
load_chirps(
years = NULL,
months = NULL,
version = "UCSB",
resolution = "low",
us = (resolution == "low"),
load_prelim = TRUE
)
Arguments
years , months |
Optional subset of years and months you want to load. The default is to load everything that has been downloaded locally. You can update your local CHIRPS download by calling download_chirps_monthly |
version |
Either 'UCSB' to load the original version from UCSB or 'ICPAC' to load CHIRPS blended (both need to be downloaded first). |
resolution |
Either 'low' for loading the coarser upscaled version, or 'high' for loading the data on full resolution |
us |
logical. If TRUE, the upscaled version is loaded. Takes precedence over resolution. |
load_prelim |
logical. Should preliminary data be loaded? Note that the preliminary data is always from UCSB, not from ICPAC. |
Value
the derived data table
Examples
if(interactive()){
load_chirps()
}