add_topo: Add topography data to meteo object

View source: R/tidy_meteo_and_topo.R

add_topoR Documentation

Add topography data to meteo object

Description

Add topography data to meteo object

Usage

add_topo(meteo, topo, verbose = getOption("meteoland_verbosity", TRUE))

Arguments

meteo

meteo object

topo

topo object

verbose

Logical indicating if the function must show messages and info. Default value checks "meteoland_verbosity" option and if not set, defaults to TRUE. It can be turned off for the function with FALSE, or session wide with options(meteoland_verbosity = FALSE)

Details

When using meteo data without topography info to create an interpolator, topography must be added

Value

meteo with the topography info added

See Also

Other interpolator functions: create_meteo_interpolator(), get_interpolation_params(), read_interpolator(), set_interpolation_params(), with_meteo(), write_interpolator()

Examples

# example meteo
data(meteoland_meteo_no_topo_example)
# example topo
data(meteoland_topo_example)
# add topo
with_meteo(meteoland_meteo_no_topo_example) |>
  add_topo(meteoland_topo_example)


meteoland documentation built on Aug. 21, 2023, 5:10 p.m.