detect_exeve {evapoRe}R Documentation

Detect Extreme Evaporation Events (ExEvE)

Description

The function detect_exeve identifies extreme evaporation events based on standardized evaporation and extreme thresholds.

Usage

detect_exeve(x, EXTREMES_THRES = 0.95, LOW_THRES = 0.8)

Arguments

x

A data.table containing columns: lon, lat, date, and value, representing daily evaporation values.

EXTREMES_THRES

Numeric. Quantile threshold used to define extreme evaporation events. Default is 0.95.

LOW_THRES

Numeric. Lower quantile threshold. Default is 0.80.

Value

A data.table with original columns and added columns:

Examples


# Example using an RDS file (only run if file exists)
evap_path <- file.path(tempdir(), "czechia_evap_gleam.rds")
if (file.exists(evap_path)) {
  evap <- readRDS(evap_path)
  events <- detect_exeve(evap)
}


[Package evapoRe version 1.0.1 Index]