Passes input data objects (parameters and meteorology) to the Fortran model code and returns the results
r_lwfbrook90(
b90f_input,
meteo,
precip,
output_log = TRUE,
chk_input = TRUE,
timelimit = Inf
)Brook90 input list object containing all the parameters required.
A data.table of daily meteorological data with columns: Date (dates), global radiation (globrad, W/m²), minimum and maximum air temperature (tmin, tmax, deg C), vapour pressure (vappress, kPa), wind speed (windspeed, m/s), precipipitation (prec, mm), and measured flow (mesfl, mm).
An optional data.table of precipitation interval data with 6 columns: year, month, day, interval-number (1:prec_interval), prec, mesflp.
Logical whether to print runtime output to console.
Logical whether to check for NaNs in model inputs.
Integer for setting a time limit (in seconds, default: Inf) for the duration of the model execution.
A list containing the daily and soil layer model outputs, along with an error code of the simulation.