with_meteo: Ensure meteo object is ready to create an interpolator object

View source: R/tidy_meteo_and_topo.R

with_meteoR Documentation

Ensure meteo object is ready to create an interpolator object

Description

Check integrity of meteo objects

Usage

with_meteo(meteo, verbose = getOption("meteoland_verbosity", TRUE))

Arguments

meteo

meteo 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

This function is the first step in the creation of a meteoland interpolator, ensuring the meteo provided contains all the required elements

Value

invisible meteo object ready to pipe in the interpolator creation

See Also

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

Examples

# example meteo
data(meteoland_meteo_example)
with_meteo(meteoland_meteo_example)


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