get_climate_txt {SticsRFiles} | R Documentation |
Read STICS input meteorology file
Description
Read the meteorology input for STICS ("climat.txt")
Usage
get_climate_txt(
workspace,
file_name = "climat.txt",
preserve = TRUE,
dirpath = lifecycle::deprecated(),
filename = lifecycle::deprecated()
)
Arguments
workspace |
Path of the workspace containing the STICS climate file to read |
file_name |
The meteorology file name (default to |
preserve |
Logical, |
dirpath |
|
filename |
Value
A data.frame of the input meteorological variables used as input for the STICS model.
Note
The time-related variables are summarised into one POSIXct column named
date
.
Examples
path <- get_examples_path(file_type = "txt")
Meteo <- get_climate_txt(path)
[Package SticsRFiles version 1.4.0 Index]