
Last chance! 50% off unlimited learning
Sale ends in
Function to create the meteoland interpolator
create_meteo_interpolator(
meteo_with_topo,
params = NULL,
verbose = getOption("meteoland_verbosity", TRUE)
)
an interpolator object (stars)
Meteo object, as returned by with_meteo
Interpolation parameters as a list. Typically the result of
defaultInterpolationParams
.
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)
This function takes meteorology information and a list of interpolation parameters and creates the interpolator object to be ready to use.
Other interpolator functions: add_topo()
,
get_interpolation_params()
, read_interpolator()
,
set_interpolation_params()
, with_meteo()
,
write_interpolator()
# example meteo data
data(meteoland_meteo_example)
# create the interpolator with default params
with_meteo(meteoland_meteo_example) |>
create_meteo_interpolator()
# create the interpolator with some params changed
with_meteo(meteoland_meteo_example) |>
create_meteo_interpolator(params = list(debug = TRUE))
Run the code above in your browser using DataLab