read_apsim_soils {apsimx} | R Documentation |
Read in a soils (XML) file into a list of ‘soil_profile’ objects
Description
APSIM soils can be stored as XML files (soils) and reading them in converts them into a list of individual objects of class ‘soil_profile’
Usage
read_apsim_soils(file, src.dir = ".", verbose = TRUE)
Arguments
file |
name of the file (the extension sohuld be .soils) |
src.dir |
directory containing the .soils file (defaults to the current directory) |
verbose |
whether to print additional information about the progress of reading the individual soils in. |
Examples
extd.dir <- system.file("extdata", package = "apsimx")
sls <- read_apsim_soils("Clarion.soils", src.dir = extd.dir)
[Package apsimx version 2.7.7 Index]