
Download HadEX3 climate extremes data for a GeoJSON region
Source:R/aliases.R, R/hadex3.R
hadex3_geojson.RdDownloads and filters HadEX3 ETCCDI climate extremes data to a geographic region defined by a GeoJSON polygon.
Usage
HadEX3Geojson(...)
hadex3_geojson(
index,
start_year,
end_year,
geojson_file,
frequency = "annual",
baseline = "61-90",
output_dir = tempdir(),
use_cache = TRUE
)Arguments
- ...
Arguments passed to the main function (used by aliases).
- index
ETCCDI index name (e.g. "TXx", "Rx1day"). See
list_hadex3_indices().- start_year
Start year (1901-2018).
- end_year
End year (1901-2018).
- geojson_file
Path to a GeoJSON file defining the region.
- frequency
Temporal frequency: "annual" or "monthly" (default: "annual").
- baseline
Reference period for percentile-based indices: "61-90" (default) or "81-10". Only applies to annual frequency.
- output_dir
Directory for temporary files (default:
tempdir()).- use_cache
Whether to use cached data (default: TRUE).