| r_lwfbrook90 | R Documentation |
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
)
b90f_input |
Brook90 input list object containing all the parameters required. |
meteo |
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). |
precip |
An optional data.table of precipitation interval data with 6 columns: year, month, day, interval-number (1:prec_interval), prec, mesflp. |
output_log |
Logical whether to print runtime output to console. |
chk_input |
Logical whether to check for NaNs in model inputs. |
timelimit |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.