merge_2soils: Merge two soil input datafiles

Description Usage Arguments Value

Description

Merge datafiles from two soil data sources (source 1 overrides source 2) and choose some or none of the variables to come from one source only.

Usage

1
2
merge_2soils(fmaster, fmaster1, fmaster2, fslayer, fslayer1, fslayer2,
  fstexture, fstexture1, fstexture2, var_from2 = NULL)

Arguments

fmaster

A character string. Path to the target master file.

fmaster1

A character string. Path to master file derived from extracting from soil data source 1

fmaster2

A character string. Path to master file derived from extracting from soil data source 2

fslayer

A character string. Path to the target soil layer structure file.

fslayer1

A character string. Path to soil layer file derived from data source 1

fslayer2

A character string. Path to soil layer file derived from data source 2

fstexture

A character string. Path to the target soil texture input file.

fstexture1

A character string. Path to soil texture file derived from data source 1

fstexture2

A character string. Path to soil texture file derived from data source 2

var_from2

A vector of character strings. Variables of the soil texture file, which will be take values from source2 if available even if source1 is available

Value

A logical value. This function is called for its side effects, i.e., storing updated/new files to fmaster, fslayer, and fstexture.


Burke-Lauenroth-Lab/SoilWat_R_Wrapper documentation built on May 6, 2019, 8:52 a.m.