Skip to contents

Performs a reverse lookup to identify the package or model family associated with a given hydrological model name.

Usage

get_family(model_str)

Arguments

model_str

A string specifying the name of a hydrological model (e.g., "GR4J").

Value

A string indicating the model's package or family name. Returns "none" if the model is not found.

Examples

get_family("GR4J")
#> [1] "airGR"
get_family("UnknownModel")
#> [1] "none"