TerraClimate is a global climate and climatic water balance dataset developed by the Climatology Lab at University of California, Merced. This package provides access to TerraClimate data for Brazil and the Amazon region.
This dataset provides:
TerraClimate is essential for understanding climate variability, water availability, drought risk, agricultural potential, and climate change impacts across Brazil and the Amazon.
TerraClimate data is compiled by: - University of California Climatology Lab - Integration of satellite and ground-based observations - Validated against station networks - Downscaled to ~4km global resolution - Monthly temporal resolution with daily and subdaily estimates available
For more information, visit TerraClimate Project.
TerraClimate provides 13 main climate and water balance variables:
| Dataset | Code | Description | Units |
|---|---|---|---|
| max_temperature | tmax | Maximum 2-m Temperature | °C |
| min_temperature | tmin | Minimum 2-m Temperature | °C |
| wind_speed | ws | Wind Speed at 10-m | m/s |
| vapor_pressure_deficit | vpd | Vapor Pressure Deficit | kPa |
| vapor_pressure | vap | 2-m Vapor Pressure | kPa |
| snow_water_equivalent | swe | Snow Water Equivalent at End of Month | mm |
| shortwave_radiation_flux | srad | Downward Shortwave Radiation Flux | W/m² |
| soil_moisture | soil | Soil Moisture at End of Month | mm |
| runoff | q | Runoff | mm |
| precipitation | ppt | Accumulated Precipitation | mm |
| potential_evaporation | pet | Reference Evapotranspiration | mm |
| climatic_water_deficit | def | Climatic Water Deficit | mm |
| water_evaporation | aet | Actual Evapotranspiration | mm |
| palmer_drought_severity_index | PDSI | Palmer Drought Severity Index | unitless |
Selects which climate variable to download.
# Temperature and radiation
dataset = "max_temperature" # tmax
dataset = "min_temperature" # tmin
dataset = "shortwave_radiation_flux" # srad
# Water and moisture
dataset = "precipitation" # ppt
dataset = "potential_evaporation" # pet
dataset = "water_evaporation" # aet (actual evapotranspiration)
dataset = "soil_moisture" # soil
dataset = "runoff" # q
# Atmospheric variables
dataset = "wind_speed" # ws
dataset = "vapor_pressure" # vap
dataset = "vapor_pressure_deficit" # vpd
# Drought and composite indices
dataset = "climatic_water_deficit" # def
dataset = "palmer_drought_severity_index" # PDSI
dataset = "snow_water_equivalent" # sweControls data format returned.
TRUE: Returns raw raster data (NetCDF, SpatRaster
format)FALSE: Returns aggregated data (specific format depends
on configuration)Specifies which year(s) to download.
Available range: 1958 to present (most recent months have 2-3 month lag)
Restricts geographic coverage to Legal Amazon region.
TRUE: Downloads only data for Legal Amazon region (much
smaller files)FALSE: Downloads data for all Brazil (larger
files)Recommendation: Use TRUE to
significantly reduce download size for Amazon-focused research.
Data Size: TerraClimate raster data is substantial. Consider:
Recommendations: - Use
legal_amazon_only = TRUE to reduce size by ~95% - Download
single or 2-3 year periods rather than decades at once - Use high-speed
internet connection - Have at least 10-50 GB free disk space for
multi-year downloads
# download precipitation data for the Legal Amazon (2020)
precip <- load_climate(
dataset = "precipitation",
time_period = 2020,
legal_amazon_only = TRUE,
language = "eng"
)# download maximum temperature for multiple years, all of Brazil
max_temp <- load_climate(
dataset = "max_temperature",
time_period = 2010:2012,
language = "eng"
)Validation: Validated against independent station networks
Uncertainty: Varies by region; higher in data-sparse areas
Interpolation: Satellite and station data combined and downscaled to 4km
Reliability: Generally excellent for temperature and precipitation; water balance variables have higher uncertainty
Due to large file size: - Aggregate early: Summarize by month/year quickly to reduce memory use - Legal Amazon only: Massive size reduction if working in Amazon region - Subset years: Download only years of interest rather than decades - Extract points: If doing point-based analysis, extract specific coordinates to simplify data - Use cloud computing: Consider cloud platforms (Google Earth Engine) for very large analyses