Learn R Programming

meteoland (version 2.2.2)

with_meteo: 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))

Value

invisible meteo object ready to pipe in the interpolator creation

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

See Also

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

Examples

Run this code
# example meteo
data(meteoland_meteo_example)
with_meteo(meteoland_meteo_example)

Run the code above in your browser using DataLab