Configuration File Reference — vamps(5)
This page is the authoritative reference for the VAMPS input file format.
It is derived from the vamps.5 man page.
For tutorial-style documentation see Configuration.
File format
The input file format is similar to Windows .ini files. All names and
sections are case-insensitive. String variable values preserve case, so
filenames are case-sensitive if the operating system is.
[vamps]
verbose = TRUE
# This is a comment
[environment]
caseid = Interception test file. Bisley catchment.\
Summer of 1995
The \ character breaks long strings over more than one line. Only the
first = sign is significant. Spaces within variable names are preserved
verbatim.
Variable types: floats, arrays (whitespace-separated floats), strings, integers, characters, boolean (0/1, FALSE/TRUE, NO/YES).
Allowed set names (--Output)
prePrecipitation [cm/day]
rlhRelative humidity [%]
heaHead at bottom [cm]
rdpRooting depth [cm]
temDry-bulb temperature [°C]
gwtGroundwater table [cm]
inrInterception [cm/day]
trfThroughfall [cm]
stfStemflow [cm]
pevPotential evaporation [cm/day]
spePotential soil evaporation [cm/day]
ptrPotential transpiration [cm/day]
qboFlow through bottom of profile [cm/day]
volActual water content [cm]
avtAverage theta in profile
laiLeaf area index
scaCanopy storage [cm]
iraIncoming radiation [W/m²]
nraNet radiation [W/m²]
refReflected radiation [W/m²]
winWind speed [m/s]
surSun-ratio [n/N]
[time]
stepsInteger number of steps in the current simulation. Must be ≤ the number of entries in the precipitation file.
starttimeDay at which the simulation should start. If not specified, simulation starts at the first step in the precipitation file. If both
starttimeandstartposare specified,starttimetakes precedence.startposPosition (line number, counting from 0) in the precipitation input file used as the start.
firststepDuration [days] assumed for the first timestep. Default 1.0.
[run]
outputfileFilename for output. Overridable with the
-ocommand-line option.runidNot currently used.
descriptionOptional string description.
[xout]
filenameFilename for extra output in column-type format. No extra output is generated if this variable is absent.
[determine]
canopyDetermine canopy water balance.
evaporationDetermine actual evaporation.
pevaporationDetermine potential evaporation.
soilmoistureDetermine soil-moisture profile.
[pevaporation]
method0 — Penman \(E_0\) (needs:
refrad,netrad,rhumid,windspeed,temp,inrad)1 — Penman \(E_0\) with sun-ratio (needs:
sunratio,rhumid,windspeed,temp,inrad)4 — Makkink (needs:
rhumid,windspeed,temp,inrad)
[evaporation]
method0 — evaporation = potential evaporation
1 — multiply potential evaporation by crop factor (needs
cropfac)2 — Penman–Monteith formula
cropfacCrop factor for method 1.
[interception]
method0 — Gash
1 — Rutter
2 — LAI fraction
3 — Calder
gammaMaximum interception loss per day \(\gamma\) [mm] (Calder).
deltaFitting parameter \(\delta\) (Calder).
E_avg/RAverage evaporation / average rainfall during a storm (Gash). If not set, Penman–Monteith with \(R_a = 0\) is used.
p_trFraction of water diverted to trunk (Gash, Rutter).
p_fFree throughfall coefficient (Gash, Rutter).
SCanopy storage [cm] (Gash, Rutter).
gashm0 or 1. If 1, adapted Gash model for sub-daily time-steps. Default 0.
laifracCanopy interception coefficient (LAI fraction method).
laiLeaf area index. Needed for the laifrac method.
[top]
systemInteger specifying the top-system module:
0 — empty (not implemented)
1 — bare soil
2 — full canopy (not yet implemented)
3 — partial canopy (not yet implemented)
4 — all canopy fluxes pre-computed
5 — old canopy.c (Penman–Monteith + Gash interception)
6 — Python-scripted top-system (requires
xtrapy)
soilevaporationMethod for soil evaporation when using the notree top-system (system = 1): 0 = E0SUNRAD, 1 = E0NETRAD, 2 = PENMON_NOSOIL, 3 = PENMON_SOIL, 4 = MAKKINK. Always needs
rlh,tem; additional requirements depend on the method.
[canopy]
layersNumber of canopy layers. Only one layer is currently supported.
Rnet_absorbFraction of total radiation absorbed by the canopy (0 < value < 1).
transpiration2 — Penman–Monteith
3 — read from
ptrin[ts]
zHeight of the canopy [m].
z_0Aerodynamic roughness length [m].
dZero plane displacement length [m].
rsCanopy resistance [s/m]. If absent,
estrs()is used.drytimeTime [days] for the canopy to dry.
wetevapWet-canopy evaporation rate [cm/day].
[roots]
depthRoot zone depth [cm].
swsinkSink term method: 0 = Feddes, 1 = Hoogland.
swhypr0 = linear, 1 = hyperbolic relation between
hlim3andhlim4.swupfuWater uptake function: 0 = Feddes, 1 = Hoogland, 2 = Prasad (1988), 3 = simple (no reduction).
cofszaIntercept a (Feddes, only if
swupfu= 1).cofszbSlope b (Feddes, only if
swupfu= 1).hlim1Pressure head [cm] — starting point for root extraction.
hlim2uPressure head [cm] — optimal extraction starts (upper layer).
hlim2lPressure head [cm] — optimal extraction starts (lower layers).
hlim3hPressure head [cm] — limiting point for high transpiration rate (0.5 cm/d).
hlim3lPressure head [cm] — limiting point for low transpiration rate (0.1 cm/d).
hlim3Pressure head [cm] — limiting point (Hoogland method).
hlim4Pressure head [cm] — wilting point; no root uptake below this.
[ts]
Must contain at least pre (precipitation).
prePrecipitation [cm]. Also determines simulation time-steps.
pevPotential evaporation [cm].
ptrPotential transpiration [cm].
spePotential soil evaporation [cm].
inrInterception [cm].
rdpRooting depth [cm] (spline-interpolated, needs ≥ 3 points).
qboFlux at bottom node [cm] (bottom condition 1).
heaHead at bottom node [cm] (bottom condition 4).
gwtGroundwater level [cm] (bottom condition 0).
rlhRelative humidity [%].
temTemperature [°C].
winWind speed [m/s].
nraNet radiation [W/m²].
iraIncoming radiation [W/m²].
laiLeaf area index.
scaCanopy storage [cm].
[soil]
outskipSkip every n timesteps in output.
bottomBottom boundary condition: 0 = groundwater table, 1 = given flux, 2 = seepage/infiltration, 3 = flux as function of head, 4 = given pressure head, 5 = zero flux, 6 = free drainage.
initprof0 — water content profile (needs
theta_initial)1 — pressure head profile (needs
h_initial)2 — calculate from groundwater level (needs
gw_initial)
gw_initialInitial groundwater level [cm below field level].
swreduSoil evaporation reduction: 0 = none, 1 = Black, 2 = Boesten, 3 = adapted Boesten.
cofredFactor alfa (Black) or beta (Boesten).
smoothRunning-average window for smoothing ksat and theta profiles.
layersNumber of computational soil layers.
pondmxMaximum ponding [cm]. Default 0.0.
gwlevelWater level at bottom [cm]. Needed for
bottom= 4.speed1 (slow) to 6 (fast) speed preset. Default 3.
dtmaxMaximum internal timestep [days].
dtminMinimum internal timestep [days].
tm_multMultiplier for dt estimation. Default 3.
maxitrMaximum number of iterations.
thetolTheta tolerance for convergence. Typical range: 1.0E-2 to 1.0E-5.
mbckIf 1, use mass-balance check for convergence instead of
thetol.mbalerrRequired mass-balance accuracy when
mbck= 1. Default 0.5E-3.solvemetMatrix solver: 0 = tridiagonal, 1 = band-diagonal, 2 = general.
noitIf 1, skip convergence check (fast but potentially inaccurate).
mktableIf TRUE, create lookup tables for \(\theta\)–\(K\).
tablesizeLookup table size. Default 300.
dumptablesIf TRUE, dump lookup tables to the output file initial section.
estdmcIf TRUE and
mktableTRUE, build dmc table from ts_slopes.verboseVerbose level (0 = silent).
smddepthDepth [cm] for SMD calculation.
fieldcapField capacity head [cm]. Default −100.0.
[drainage]
method0 = none, 1 = TOPOG-type (saturated), 2 = also unsaturated.
slopeSlope for lateral drainage calculation.
excludeArray of layer indices excluded from lateral drainage.
[soilsectionname]
This section can have any name. Referenced from [layer_n] via
soilsection.
methodSoil hydraulic model:
Value
Description
0
Clapp/Hornberger — parameters:
b,psisat,thetas,ksat1
Van Genuchten — parameters:
alpha,n,l,thetas,theta_residual,ksat2
Not yet implemented
3
Van Genuchten fit from (theta, pF) pairs
4
TOPOG_soil lookup table (
tablefile,tablefiletype)5
User-defined Python functions (
xtrapy)6
Brooks and Corey (1964) — parameters:
lambda,hb,thetas,theta_residual,ksatdescriptionOptional layer description.
ksatSaturated hydraulic conductivity.
kh/kvAnisotropy ratio (for lateral drainage).
thetasWater content at saturation.
psisatAir-entry pressure head [cm] — Clapp/Hornberger.
bParameter b — Clapp/Hornberger.
theta_residualResidual water content.
alpha\(\alpha\) [1/cm] — Van Genuchten.
l\(l\) — Van Genuchten (default 0.5).
n\(n\) — Van Genuchten.
lambdaPore-size distribution index \(\lambda\) — Brooks and Corey (method 6). Approximation from Van Genuchten: \(\lambda \approx n - 1\).
hbAir-entry (bubbling) pressure head [cm, must be negative] — Brooks and Corey (method 6). Approximation from Van Genuchten: \(h_b \approx -1/\alpha\). Example:
hb = -16.4.tablefileSoil table file path (method 4).
tablefiletype1 = TOPOG format, 2 = (psi theta k), 3 = (psi theta k dmc). All tables must have descending theta values.
[layer_n]
Only [layer_0] is mandatory.
thicknessLayer thickness [cm].
soilsectionName of the soil-type section for this layer.
Output file sections
[header]
run_start_timeTime at which the run started.
commandThe command that produced the file.
defaultsfileName of the defaults file used.
infilenameName of the VAMPS input file.
[initial]
stepsNumber of timesteps.
layersNumber of soil layers.
voliniInitial water content of profile [cm].
volsatSaturated water content of profile [cm].
zArray of layer depths [cm].
thetaInitial water content per layer.
hInitial head per layer.
kInitial unsaturated conductivity per layer.
as_aboveWhether a layer inherited settings from the layer above.
[t_n] (per-timestep output)
tActual date at timestep n.
interceptionCanopy interception [cm].
transpirationPotential transpiration [cm].
throughfallThroughfall [cm].
stemflowStemflow [cm].
dtLast sub-timestep size.
avgthetaAverage theta over the whole profile.
SMDSoil moisture deficit.
pondPonding [cm].
surface_runoffCumulative surface runoff [cm].
cumevaCumulative soil evaporation [cm].
cumtraCumulative transpiration [cm].
cumprecCumulative precipitation [cm].
cumintcCumulative interception [cm].
cqbotCumulative flux through the bottom [cm] (from pore volume change; not valid if profile is saturated).
cumtopCumulative flux through the top [cm].
qtopFlux through the top this timestep [cm/d].
qbotFlux through the bottom boundary this timestep [cm/d]. Positive values indicate downward flow out of the profile.
cumbotCumulative flux through the bottom boundary [cm].
cqbottsCumulative flux through the bottom within the current daily timestep [cm]. Reset to zero at the start of each timestep; useful for diagnosing sub-daily bottom outflow.
runotsCumulative surface runoff within the current daily timestep [cm]. Reset to zero at the start of each timestep.
soilevaporationActual (reduced) soil evaporation this timestep [cm/d]. May be less than
pot_soilevaporationwhen the near-surface layers are dry (swredu=1).pot_soilevaporationPotential soil evaporation this timestep [cm/d], as supplied by the top-system module.
precGross precipitation for this timestep [cm/d].
intcCanopy interception for this timestep [cm/d]. See also
interception.ptraPotential transpiration for this timestep [cm/d], as supplied by the top-system module.
rootextractCumulative actual root water extraction since the start of the run [cm]. Derived from the integral of
qrotover all sub-timesteps and layers. Used in the mass balance equation.roottsActual root water extraction rate for this daily timestep [cm/d], obtained by integrating
qrotover all sub-timesteps within the day and dividing by the timestep length. This is the true extracted transpiration; compare withptra(potential) andcumtra(cumulative potential).masbalMass balance residual [cm] at the end of the timestep:
masbal = volini + cumbot − cumdra − cumtop − rootextract − volact
A non-zero value indicates a solver error. Values smaller than ~0.01 cm are generally acceptable.
volactActual water volume in the entire soil profile [cm] at the end of the timestep.
thetaArray of volumetric water content per layer (length
layers). Also written in the[initial]section for the initial state.hArray of pressure heads per layer [cm] (length
layers). Also written in the[initial]section.kArray of unsaturated hydraulic conductivity per layer [cm/d] (length
layers). Also written in the[initial]section.gwlArray of length 2 containing the groundwater levels [cm].
qArray of fluxes at each node boundary [cm/d] (length
layers + 1).q[0]is the top boundary flux,q[layers]is the bottom boundary flux.inqArray of cumulative inflow at each node boundary within the current timestep [cm] (length
layers + 1).qrotArray of root water extraction rates per layer [cm/d] (length
layers). Each element is the total extraction from that layer in the current sub-timestep, not per unit depth. Summing over all layers gives the instantaneous actual transpiration rate (after Feddes stress reduction).howsatArray of relative saturation per layer (length
layers), defined as1 − (theta_s − theta). A value of 1 means the layer is at saturation.
Drainage variables (only present when lateral drainage is active, dodrain > 0)
cqdraCumulative lateral drainage for the current timestep [cm].
cumdraTotal cumulative lateral drainage since the start of the run [cm].
drainageArray of lateral drainage rates per layer [cm/d] (length
layers).
Iteration diagnostics
converrorNumber of convergence failures for this timestep.
itterAverage number of matrix solver iterations per sub-timestep.