write_atmosphere | R Documentation |
Write "ATMOSPH.IN" input file
write_atmosphere(
atm,
MaxAL = nrow(atm),
DailyVar = FALSE,
SinusVar = FALSE,
lLai = FALSE,
lBCCycles = FALSE,
lInterc = FALSE,
hCritS = 0,
round_digits = 2,
remove_scientific = TRUE
)
atm |
tibble of input data as defined in |
MaxAL |
Number of meteorological records (default: nrow(atm)) |
DailyVar |
TRUE if HYDRUS-1D is to generate daily variations in evaporation and transpiration (see section 2.7.2.)., otherwise: FALSE (default: FALSE) |
SinusVar |
TRUE if HYDRUS-1D is to generate sinusoidal variations in precipitation (see section 2.7.2.), otherwise: FALSE(default: FALSE) |
lLai |
Logical variable indicating that potential evapotranspiration is to be divided into potential evaporation and potential transpiration using eq. (2.75). (default: FALSE) |
lBCCycles |
TRUE if a set of boundary conditions is to be repeated multiple times, otherwise FALSE(default: FALSE) |
lInterc |
TRUE if interception is considered using eq. (2.78), otherwise FALSE (default: FALSE) |
hCritS |
Maximum allowed pressure head at the soil surface (L). (default: 0) |
round_digits |
digits used for rounding values (default: 2) of all columns besides "tAtm" |
remove_scientific |
if TRUE scientific notation of numbers is removed, otherwise not (default: TRUE) |
Creates ATMOSPH.IN input textfile
inputs <- tibble::tibble(tAtm = 1:10, Prec = 10, rSoil = 0.4)
atm <- prepare_atmosphere_input(inputs)
atm
atm_string <- write_atmosphere(atm = atm, MaxAL = nrow(atm))
cat(atm_string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.