prepare_site {r3PG} | R Documentation |
Check the site data for consistency
Description
Prepares the site table, by checking whether the input information is consistent.
Usage
prepare_site(site)
Arguments
site |
table containing the information about site data. It shall contain exactly one row.
latitude: site latitude in the WGS84 coordinate system.
altitude: site altitude, m a.s.l.
soil_class: soil class, according to table 2 user manual of 3PGpjs. 1 - Sandy; 2 - Sandy loam; 3 - Clay loam; 4 - Clay; 0 - No effect of available soil water on production.
asw_i: initial available soil water (mm).
asw_max: minimum available soil water (mm).
asw_min: maximum available soil water (mm).
from: year and month indicating the start of simulation. Provided in form of year-month. E.g. "2000-01".
to: year and month indicating the end of simulation. Provided in form of year-month. E.g. "2009-12", will include December 2009 as last simulation month.
|
Details
This function check the site table for run_3PG
.
Value
a data.frame with one row
See Also
run_3PG
, prepare_input
, prepare_parameters
, prepare_sizeDist
, prepare_thinning
Examples
# check site data
prepare_site( site = d_site)
[Package
r3PG version 0.1.6
Index]