Skip to contents

Download CHIRTS daily temperature and humidity data in its original raster format.

Usage

get_chirts_raw(
  dates,
  var,
  resolution = 0.05,
  coverage = "global",
  interval = "daily",
  format = "tifs",
  version = "1.0",
  use_vsicurl = FALSE,
  verbose = FALSE,
  ...
)

Arguments

dates

Character vector of length two with start and end dates in "YYYY-MM-DD" format.

var

Character. CHIRTS variable. Supported values are "Tmax", "Tmin", "RHum", and "HeatIndex".

resolution

Numeric. Spatial resolution. Default is 0.05.

coverage

Character. Spatial coverage. Default is "global".

interval

Character. Temporal interval. Default is "daily". Currently retained for API consistency.

format

Character. File format folder. Default is "tifs".

version

Character or numeric. CHIRTS version. Default is "1.0".

use_vsicurl

Logical. If TRUE, prepends "/vsicurl" to remote URLs.

verbose

Logical. If TRUE, prints the URLs used.

...

Additional arguments reserved for future use.

Value

A SpatRaster with one layer per day.

Details

This function returns CHIRTS raster layers as a SpatRaster without extracting values, reshaping the data, or converting it to a data frame.

CHIRTS-daily (Climate Hazards Center Infrared Temperature with Stations) is a quasi-global (60°S to 70°N), high-resolution (0.05° × 0.05°) dataset of daily maximum and minimum temperatures covering 1983–2016.

CHIRTS-daily combines monthly CHIRTS temperature fields with daily temperature variability from the ERA5 reanalysis to produce a spatially detailed and temporally consistent temperature record suitable for monitoring climate variability and temperature extremes.

Daily maximum temperatures are generated by combining monthly CHIRTS temperature estimates with daily ERA5 anomalies. Daily minimum temperatures are subsequently derived using the ERA5 diurnal temperature range.

Additional information is available at: https://www.chc.ucsb.edu/data/chirtsdaily

Note

CHIRTS-daily provides historical daily temperature estimates for 1983–2016. For an extended record from 1980 to near-present, see get_chirts_era5_raw.

References

Verdin, A., Funk, C., Peterson, P., Landsfeld, M., Tuholske, C., and Grace, K. (2020). Development and validation of the CHIRTS-daily quasi-global high-resolution daily temperature data set. Scientific Data, 7, 303. doi:10.1038/s41597-020-00643-7

Funk, C., Peterson, P., Peterson, S., Shukla, S., Davenport, F., Michaelsen, J., et al. (2019). A High-Resolution 1983–2016 Tmax Climate Data Record Based on Infrared Temperatures and Stations by the Climate Hazards Center. Journal of Climate, 32, 5639–5658. doi:10.1175/JCLI-D-18-0698.1

Examples