Read the meteorology input for STICS ("climat.txt")
get_climate_txt(
workspace,
file_name = "climat.txt",
preserve = TRUE,
dirpath = lifecycle::deprecated(),
filename = lifecycle::deprecated()
)
Path of the workspace containing the STICS climate file to read
The meteorology file name (default to climat.txt
).
Logical, TRUE`` for keeping the STICS columns related to date calculation (year, month, day, julian), or only the Date column as a
POSIXctotherwise. Default to
TRUE`.
A data.frame of the input meteorological variables used as input for the STICS model.
The time-related variables are summarised into one POSIXct column named
date
.
path <- get_examples_path(file_type = "txt")
Meteo <- get_climate_txt(path)