Skip to contents

Read the data

Climate series for an area, or daily air temperature at points.

cd_catalog()
Load and parse a STAC catalog
cd_catalog_default()
Default STAC catalog URL
cd_extract()
Extract zonal mean time series for an AOI
cd_extract_daily()
Extract daily air temperature at points
cd_crop()
Crop and mask a raster to an AOI

Compare a series with a baseline or between two windows, test its trend, and tabulate the result. These take any annual series in cd’s long format.

cd_baseline()
Compute climatological baseline
cd_anomaly()
Compute climate anomalies
cd_compare()
Compare arbitrary time windows
cd_trend()
Compute trend statistics
cd_summary()
Format trend results as a reporting table

Plots

cd_plot_timeseries()
Plot climate anomaly time series
cd_plot_comparison()
Plot time window comparison

Variables, periods and seasons

cd_variables()
Climate variable metadata
cd_periods()
Valid temporal aggregation periods
cd_seasons()
Default meteorological season definitions

Cache

Files are cached after the first read and downloaded again only when they are republished.

cd_cache_clear()
Clear the cd cache
cd_cache_fetch()
Fetch a remote COG through the on-disk cache
cd_cache_info()
Show cd cache info
cd_cache_path()
Get cd cache directory path

Publishing the catalog

For maintainers. A scheduled workflow uses these to write the published files and catalog; users do not need them.

cd_aggregate()
Aggregate monthly rasters to seasonal and annual periods
cd_cog_write()
Write a SpatRaster as a Cloud-Optimized GeoTIFF
cd_stac_catalog()
Generate a static STAC catalog from COGs
cd_s3_push()
Push files to S3

Downloading from the Copernicus Climate Data Store

An alternative route to monthly ERA5-Land through the Copernicus Climate Data Store. The published catalog is not built this way.

cd_fetch()
Download ERA5-Land climate data
cd_derive()
Derive climate variables from raw ERA5-Land fields