rmacroliteLayers-methods: Fetch information (depths, thicknesses) on the layers in an...

Description Usage Arguments Value

Description

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.

Usage

1
2
3
4
rmacroliteLayers(x, ...)

## S3 method for class 'macroParFile'
rmacroliteLayers(x, ...)

Arguments

x

A macroParFile, as imported with rmacroliteImportParFile-methods

...

Additional parameters passed to specific methods. Currently not used.

Value

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).


julienmoeys/rmacrolite documentation built on May 22, 2019, 6:31 p.m.