Description Usage Arguments Value
Fetch information on the layers (i.e "horizons") in an imported MACRO par-file: thicknesses [cm], start and end dephs [cm], number of numerical layers. These values are based on, or corresponds to the parameters NHORIZON (par-file header), NHORIZON (PROPERTIES section), NLAYER (par-file header), HTICK and NLAYER (PROPERTIES ROPERTIES section) in MACRO par-files.
1 2 3 4 | rmacroliteLayers(x, ...)
## S3 method for class 'macroParFile'
rmacroliteLayers(x, ...)
|
x |
A |
... |
Additional parameters passed to specific methods. Currently not used. |
Returns a list with two items, "layer"
(layer-specific parameters) and "site"
(site-specific parameters, i.e. parameters that do
not vary with depth or with the crop). "layer"
is
a data.frame
with the following
columns layer_no
, thick_cm
,
depth_from_cm
, depth_to_cm
and
nb_num_layers
(the thickness [cm], the upper and
lower depths [cm] and the number of numerical layers,
respectively). "site"
is a vector of named
numeric values, with the following itemps
nb_horizons1
(the number of layers/ horizons;
parameter NHORIZON, header of the par-file),
nb_horizons2
(parameter NHORIZONS, PHYSICAL PARAMETERS section of the par-file)
nb_horizons3
(parameter NHORIZONS, PROPERTIES section of the par-file)
and nb_num_layers
(the total number number of
numerical layers; parameter NLAYER in the par-file
header).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.