Skip to contents

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)

Value

invisible meteo object ready to pipe in the interpolator creation

Details

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

Examples

# example meteo
data(meteoland_meteo_example)
with_meteo(meteoland_meteo_example)
#>  Checking meteorology object...
#>  meteorology object ok