hadex3_bbox: Download HadEX3 data on climate extremes for a bounding box

View source: R/hadex3.R

HadEX3BboxR Documentation

Download HadEX3 data on climate extremes for a bounding box

Description

Downloads HadEX3 data on ETCCDI climate extremes and filters the data to a geographic bounding box. The data is for 1901-2018 at a resolution of 1.25 x 1.875 degrees.

Usage

HadEX3Bbox(...)

hadex3_bbox(
  index,
  start_year,
  end_year,
  north,
  south,
  east,
  west,
  frequency = "annual",
  baseline = "61-90",
  output_dir = tempdir(),
  use_cache = TRUE
)

Arguments

...

Arguments that the aliases send to the primary function.

index

ETCCDI index name (e.g. "TXx", "Rx1day"). See list_hadex3_indices().

start_year

Start year (1901-2018).

end_year

End year (1901-2018).

north

North boundary (latitude).

south

South boundary (latitude).

east

East boundary (longitude).

west

West boundary (longitude).

frequency

Temporal frequency: "annual" or "monthly" (default: "annual").

baseline

Reference period for the indices that use percentiles: "61-90" (default) or "81-10". This argument applies only to the annual frequency.

output_dir

Directory for temporary files (default: tempdir()).

use_cache

If TRUE, use the data in the cache (default: TRUE).

Value

A data.frame with the columns: year (and month for monthly data), latitude, longitude, value, index.

Examples


# Annual maximum of the daily maximum temperature for Europe, 1981-2010
data <- hadex3_bbox(
  index = "TXx",
  start_year = 1981, end_year = 2010,
  north = 71, south = 36, east = 40, west = -10
)

# Monthly Rx1day for India
data <- hadex3_bbox(
  index = "Rx1day",
  start_year = 2000, end_year = 2018,
  north = 35, south = 8, east = 97, west = 68,
  frequency = "monthly"
)


varunayan documentation built on Oct. 30, 2026, 1:07 a.m.