<!--
  ######################################################################

  ##       ####  ######  ######## ##        #######   #######  ########
  ##        ##  ##    ## ##       ##       ##     ## ##     ## ##     ##
  ##        ##  ##       ##       ##       ##     ## ##     ## ##     ##
  ##        ##   ######  ######   ##       ##     ## ##     ## ##     ##
  ##        ##        ## ##       ##       ##     ## ##     ## ##     ##
  ##        ##  ##    ## ##       ##       ##     ## ##     ## ##     ##
  ######## ####  ######  ##       ########  #######   #######  ########

  ######################################################################

TEMPLATE SETTINGS FILE Authors JvdK, PB

TIPS:
You can use builtin path variables in this template and reference to other paths in a relative way:
  - SettingsPath: Path to the settings file
  - SettingsDir: alias for SettingsPath
  - ProjectPath: path to project root dir
  - ProjectDir: alias for ProjectPath
  ex: <textvar name="PathRoot" value="$(SettingsPath)/../../myrootfolder">
-->


<lfsettings>

	<!--######################   LFOPTIONS    ######################-->
	<lfoptions>

		<!--
		**************************************************************
		MODELLING AND REPORTING
		**************************************************************
		-->
		<group>
	    <setoption choice="0" name="TemperatureInKelvin"/>
	    <setoption choice="1" name="gridSizeUserDefined"/>

	    # options to turn hydrological modules on/off
	    <setoption choice="0" name="groundwaterSmooth"/>
	    <setoption choice="1" name="wateruse"/>
	    <setoption choice="1" name="TransientWaterDemandChange"/>
			<setoption choice="1" name="TransientLandUseChange"/>
	    <setoption choice="0" name="useWaterDemandAveYear"/>
	    <setoption choice="1" name="wateruseRegion"/>
	    <setoption choice="0" name="cropsEPIC"/>
	    <setoption choice="1" name="drainedIrrigation"/>
	    <setoption choice="1" name="riceIrrigation"/>
	    <setoption choice="1" name="openwaterevapo"/>
	    <setoption choice="0" name="simulateLakes"/>
	    <setoption choice="1" name="simulateReservoirs"/>
	    <setoption choice="1" name="SplitRouting"/>

	    # use inflow data
	    <setoption choice="0" name="inflow"/>

	    # option to compute indicators
	    <setoption choice="0" name="indicator"/>

	    # option to initialize Lisflood
	    <setoption choice="0" name="InitLisflood"/>
	    <setoption choice="0" name="InitLisfloodwithoutsplit"/>

	    # option to read/write NetCDF
	    <setoption choice="1" name="readNetcdfStack"/>
	    <setoption choice="1" name="writeNetcdfStack"/>
	    <setoption choice="1" name="writeNetcdf"/>
		</group>

		<!--
		**************************************************************
		REPORT TIME SERIES
		**************************************************************
		-->
		<group>
	    # report discharge TS
	    <setoption choice="0" name="repDischargeTs"/>

	    # report gauges and sites
	    <setoption choice="0" name="repStateSites"/>
	    <setoption choice="0" name="repRateSites"/>
	    <setoption choice="0" name="repStateUpsGauges"/>
	    <setoption choice="0" name="repRateUpsGauges"/>
	    <setoption choice="0" name="repMeteoUpsGauges"/>

	    # report reservoirs and lakes
	    <setoption choice="0" name="repsimulateLakes"/>
	    <setoption choice="0" name="repsimulateReservoirs"/>
		</group>

		<!--
		**************************************************************
		REPORT MAPS
		**************************************************************
		-->
		<group>
	    # report state maps
	    <setoption choice="0" name="repStateMaps"/>

	    # report end maps
	    <setoption choice="1" name="repEndMaps"/>

	    # report maps
			<setoption choice="0" name="repDischargeMaps"/>
	    <setoption choice="0" name="repSurfaceRunoffMaps"/>
	    <setoption choice="0" name="repTotalRunoffMaps"/>
	    <setoption choice="0" name="repPrefFlowMaps"/>
	    <setoption choice="0" name="repTaMaps"/>
	    <setoption choice="0" name="repRainMaps"/>
	    <setoption choice="0" name="repSnowMaps"/>
	    <setoption choice="0" name="repSnowCoverMaps"/>
	    <setoption choice="0" name="repSnowMeltMaps"/>
	    <setoption choice="0" name="repThetaMaps"/>
	    <setoption choice="0" name="repThetaForestMaps"/>
			<setoption choice="0" name="repThetaIrrigationMaps"/>
			<setoption choice="0" name="repPercolationMaps"/>
			<setoption choice="0" name="repUZMaps"/>
			<setoption choice="0" name="repUZOutflowMaps"/>
			<setoption choice="0" name="repGwPercUZLZMaps"/>
	    <setoption choice="1" name="repLZMaps"/>
	    <setoption choice="0" name="repLZOutflowMaps"/>
	    <setoption choice="0" name="repGwLossMaps"/>
	    <setoption choice="0" name="repRWS"/>
	    <setoption choice="0" name="repPFMaps"/>
	    <setoption choice="0" name="repTotalAbs"/>
	    <setoption choice="0" name="repTotalWUse"/>
	    <setoption choice="0" name="repWIndex"/>
		</group>

	</lfoptions>


	<!--######################    LFUSER      ######################-->
	<lfuser>

		<!--
		**************************************************************
		GENERAL SETUP
		**************************************************************
		-->
		<group>

			<!--netCDF parameters-->
			<group>

				<comment>Optimization of netCDF I/O through chunking and caching</comment>

				<textvar name="NetCDFTimeChunks" value="-1">
					<comment>
					The option "NetCDFTimeChunks" may take the following values:
					- "-1"                         : Load everything upfront
					- "[positive integer number]"  : Chunk size defined by user
					- "auto"                       : Let xarray to decide
					</comment>
				</textvar>

				<textvar name="MapsCaching" value="False">
					<comment>
						The option "MapsCaching" may take the following values:
						- "True"   : Cache maps during execution
						- "False"  : No caching
					</comment>
				</textvar>

				<textvar name="OutputMapsChunks" value="1">
					<comment>
						The option "OutputMapsChunks" may take the following values:
						- "[positive integer number]"  : Dump outputs to disk every X steps (default 1)
					</comment>
				</textvar>

				<textvar name="OutputMapsDataType" value="float64">
					<comment>
						The option "OutputMapsDataType" sets the output data type and may take the following values:
						- "float64"
						- "float32"
					</comment>
				</textvar>
			</group>

			<!--PARALLELIZED KINEMATIC ROUTING-->
			<group>
				<textvar name="numCPUs_parallelKinematicWave" value="0">
					<comment>
					!-- Parallelisation of the kinematic wave routing (via openMP multi-threading).
					The option "numCPUs_parallelKinematicWave" may take the following values:
						- "0"           : auto-detection of the machine/node's number of CPUs (all CPUs are used minus 1)
											(do not set it if other simulations are running on the same machine/node)
						- "1"           : serial execution (not parallel)
						- "2", "3", ... : manual setting of the number of parallel threads.
										  (if exceeding the number of CPUs, the option is set to "0") -->
					</comment>
				</textvar>
			</group>

			<!--PARALLELISATION WITH NUMBA (USED IN SOILLOOP)-->
			<group>
				<textvar name="numCPUs_parallelNumba" value="0">
					<comment>
					!-- Parallelisation of using Numba runtime compiled library .
					The option "numCPUs_parallelNumba" may take the following values:
						- "0"           : set to NUMBA_NUM_THREADS Environment Variable
										  (if NUMBA_NUM_THREADS is not set, will take the number of CPU cores determined by python's multiprocessing.cpu_count())
						- "1"           : serial execution (not parallel)
						- "2", "3", ... : manual setting of the number of parallel threads.
										  (if exceeding NUMBA_NUM_THREADS, the value is set to NUMBA_NUM_THREADS) -->
					</comment>
				</textvar>
			</group>

			<!--AREA AND OUTLETS-->
			<group>
				<textvar name="proj4_params" value="+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +no_defs">
					<comment>
					This is necessary when using projected coordinates (x,y)
					</comment>
				</textvar>

				<textvar name="MaskMap" value="$(PathMaps)/general/my_mask.nc">
					<comment>
					Boolean map with the catchment extent
						/perm/mo/mocm/proj/efas/hprot/staticMaps/areawithdeadsea.map
						/perm/mo/mocm/proj/efas/hprot/staticMaps/work/DrinaMask.map
						/sbsDrina/DrinaMask.map
						/perm/mo/mocm/proj/efas/xdom/data/staticData/lisflood/area
						/perm/mo/mocm/proj/efas/hprot/staticMaps/areawithdeadsea.map
						/perm/mo/mocm/proj/efas/hprot/sbs/pontelagoscuro_sbs.map
						70 40 0.1 -8.6 43.3  # Douro
						30 30 0.1 6.0 52.0
					Clone map
						col row cellsize xupleft yupleft
						300 200 0.1 -15 25   -> Niger
						3600 1500 0.1 -180 90 -> World
						$(PathRoot)\areamaps\areaEurope.map
						$(PathRoot)\areamaps\AreaPo.map
					or  pcraster maps or netcdf maps, e.g.
						Rhine areaLobith.map
						Niger areaLokoja.map
						Po areaPo.map
						Danube areaDanube.map
						Sava areaSava.map
					</comment>
				</textvar>

				<textvar name="Gauges" value="$(PathMaps)/general/outlets.nc">
					<comment>
					Nominal map with gauge locations, i.e., cells for which simulated discharge
					is written to file(1,2,3, etc)
						lat lon (lat2 lon2 ...)
					or  pcraster maps or netcdf maps
						./mapsNetcdf/maps/outlets_World.map
						$(PathMaps)/outlets.map
					e.g.
						Lobith/Rhine 6.15 51.85
						Bratislava/Danube 17.15 48.15
						Niger/Lokoja 6.75 7.85 0.45 15.65
					</comment>
				</textvar>

				<textvar name="netCDFtemplate" value="$(PathMaps)/general/template.nc">
					<comment>
					netcdf template used to copy metadata information for writing netcdf
					$(PathEvapo)/$(PrefixE0)
					</comment>
				</textvar>

				<textvar name="Latitude" value="$(PathTopography)/lat.map">
					<comment>
					latitude map to be used for snow/ice modelling
					</comment>
				</textvar>
			</group>

			<!--TIME-RELATED CONSTANTS-->
			<group>
				<textvar name="CalendarConvention" value="proleptic_gregorian">
					<comment>
					Calendar convention
					</comment>
				</textvar>

				<textvar name="CalendarDayStart" value="02/01/1979 00:00">
					<comment>
					Reference day and time
					</comment>
				</textvar>

				<textvar name="StepStart" value="02/01/1979 00:00">
					<comment>
					Date and time of the first time step in the simulation
					</comment>
				</textvar>

				<textvar name="StepEnd" value="01/01/1990 00:00">
					<comment>
					Date and time of the last time step in the simulation
					</comment>
				</textvar>

				<textvar name="timestepInit" value="01/02/1979 00:00">
					<comment>
					If initial condition are stored as netCDF with different time steps.
					this variable indicates which time step to use, either as a date e.g.
					1/1/2010 or as a number e.g. 5
					</comment>
				</textvar>

				<textvar name="ReportSteps" value="1..9999">
					<comment>
					Timesteps at which to write model state maps (i.e. only
					those maps that would be needed to define initial conditions
					for succeeding model run).
					Three ways to define it:
						* specific timesteps:
							"10,20,40"
						* regular timesteps:
							"start+increment..end"
							"1..9999"
						* last timestep:
							"endtime"
					</comment>
				</textvar>

				<textvar name="DtSec" value="86400">
					<comment>
					timestep [seconds]
					</comment>
				</textvar>

				<textvar name="DtSecChannel" value="14400">
					<comment>
						Sub time step [seconds] used for kinematic wave channel routing
						Within the model,the smallest out of DtSecChannel and DtSec is used
							14400 -> 4 h timestps
					</comment>
				</textvar>

			</group>

			<!--MONTE CARLO, KALMAN FILTER-->
			<group>
				<textvar name="EnsMembers" value="2">
					<comment>
					Number of sample to use in MonteCarlo simulations
					</comment>
				</textvar>

				<textvar name="nrCores" value="2">
					<comment>
					Number of cores of the computer to use in MonteCarlo simulations
					This only works with Linux, if set to 1 no forking will be used
					</comment>
				</textvar>

				<textvar name="FilterSteps" value="10">
					<comment>
					Time steps at which to write model state maps (i.e. only
					those maps that would be needed to define initial conditions
					for succeeding model run)
					</comment>
				</textvar>
			</group>

		</group>


		<!--
		**************************************************************
		FILE PATHS
		**************************************************************
		-->
		<group>

			<textvar name="PathRoot" value="$(SettingsPath)">
				<comment>
				Root directory for maps, tables and parameters
				</comment>
			</textvar>

			<textvar name="PathOut" value="$(PathRoot)/results/warmup">
				<comment>
				Output path (org=$(PathRoot)/out)
				</comment>
			</textvar>

			<textvar name="PathInit" value="$(PathRoot)/results/initial">
				<comment>
				Directory used to save of the initial value maps.
				E.g.: lzavin.nc (org=$(PathRoot)/outPo)
				</comment>
			</textvar>

			<textvar name="PathMaps" value="$(PathRoot)/maps">
				<comment>
				Static maps path
					/perm/mo/mocm/proj/efas/xdom/data/staticData/lisflood
				Maps path
				</comment>
			</textvar>

			<textvar name="PathInflow" value="$(PathRoot)/inflow">
				<comment>
				Inflow path
				</comment>
			</textvar>

			<textvar name="PathParams" value="$(PathRoot)/parameters">
				<comment>
				Calibration parameter path
				</comment>
			</textvar>

			<textvar name="PathTables" value="$(PathRoot)/tables">
				<comment>
				Tables path
				</comment>
			</textvar>

			<textvar name="PathChannels" value="$(PathMaps)/channels">
				<comment>
				Directory containing the maps related to channel routing
				</comment>
			</textvar>

			<textvar name="PathLandCover" value="$(PathMaps)/land_cover">
				<comment>
				Directory containing the maps related to land cover
				</comment>
			</textvar>

			<textvar name="PathLandUse" value="$(PathMaps)/land_use/static">
				<comment>
				Directory containing maps for land use fractions and related land use maps
				</comment>
			</textvar>

			<textvar name="PathLandUseChange" value="$(PathMaps)/land_use/dynamic">
				<comment>
				Maps for transient land use changes every 5 years
				</comment>
			</textvar>

			<textvar name="PathMeteo" value="$(PathRoot)/meteo">
				<comment>
				Meteo path
					./meteoWatch
				</comment>
			</textvar>

			<textvar name="PathSoilHyd" value="$(PathMaps)/soil_hydraulics">
				<comment>
				Directory containing the maps related to soil hydraulics
				</comment>
			</textvar>

			<textvar name="PathTopography" value="$(PathMaps)/topography">
				<comment>
				Directory containing maps related to the topography of the catchment
				</comment>
			</textvar>

			<textvar name="PathLAI" value="$(PathMaps)/vegetation">
				<comment>
				Leaf Area Index maps path
				</comment>
			</textvar>

			<textvar name="PathWaterUse" value="$(PathMaps)/water_use">
				<comment>
				Water use maps path
					$(PathMaps)/waterdemand19902014
				</comment>
			</textvar>

			<textvar name="PathVarWaterfraction" value="$(PathRoot)/variablewater">
				<comment>
				variable water fraction maps path
				</comment>
			</textvar>

		</group>


		<!--
		**************************************************************
		CALIBRATION PARAMETERS
		**************************************************************
		-->
		<group>

			<comment>with .nc format: than working with smaller sub-areas is possible</comment>

			<textvar name="UpperZoneTimeConstant" value="10">
				<comment>
				Time constant [days] for the linear reservoir that represents the upper groundwater zone.
				This is the average time a water 'particle' remains in the reservoir
				if we had a stationary system (average inflow=average outflow)
					default: 10
					$(PathParams)/params_UpperZoneTimeConstant.nc
				</comment>
			</textvar>

			<textvar name="LowerZoneTimeConstant" value="100">
				<comment>
				Time constant [days] for the linear reservoir that represents the lower groundwater zone.
				This is the average time a water 'particle' remains in the reservoir
				if we had a stationary system (average inflow=average outflow)
					default: 100
					$(PathParams)/params_LowerZoneTimeConstant.nc
				</comment>
			</textvar>

			<textvar name="GwPercValue" value="0.5">
				<comment>
				Maximum rate of percolation [mm/day] from the upper to the lower groundwater zones
					default: 0.5
					$(PathParams)/params_GwPercValue.nc
				</comment>
			</textvar>

			<textvar name="GwLoss" value="0">
				<comment>
				Maximum percolation rate from the lower groundwater zone [mm/days]. GWLoss
				it’s lost beyond the catchment boundaries or to deep groundwater systems.
				A value of 0 (closed lower boundary) is recommended as a starting value.
					default: 0.0
					$(PathParams)/params_GwLoss.nc
				</comment>
			</textvar>

			<textvar name="LZThreshold" value="$(PathSoilHyd)/lzthreshold.nc">
				<comment>
				Water storage [mm] in the lower groundwater zone below which baseflow stops,
				i.e., the flow from the lower groundwater zone into the river
				threshold value [mm] of the water storage in the lower groundwater zone.
				</comment>
			</textvar>

			<textvar name="b_Xinanjiang" value="0.7">
				<comment>
				Power coefficient in the Xinanjiang distribution function [-]
					default: 0.7 [-]
					$(PathParams)/params_b_Xinanjiang.nc
				</comment>
			</textvar>

			<textvar name="PowerPrefFlow" value="3.5">
				<comment>
				Power that controls the increase of preferential
				flow with increased soil moisture storage [-]
					default: 3.5 [-]
					$(PathParams)/params_PowerPrefFlow.nc
				</comment>
			</textvar>

			<textvar name="CalChanMan" value="2.0">
				<comment>
				Multiplier [-] applied to channel Manning's n
					default: 2.0 [-]
					$(PathParams)/params_CalChanMan1.nc
				</comment>
			</textvar>

			<textvar name="CalChanMan2" value="3.0">
				<comment>
				Multiplier [-] applied to channel Manning's n for the second line of routing, i.e., the overbank flow
					default: 3.0 [-]
					$(PathParams)/params_CalChanMan2.nc
				</comment>
			</textvar>

			<textvar name="SnowMeltCoef" value="4">
				<comment>
				Degree-day factor [mm / (°C · day)] in the snow melt process.
				SRM: 0.45 cm C-1 day-1 ( = 4.50 mm C-1 day-1), Kwadijk: 18 mm C-1 month-1 (= 0.59 mm C-1 day-1)
				See also Martinec et al., 1998.
					default: 4.0 [mm C-1 day-1]
					$(PathParams)/params_SnowMeltCoef.nc
				</comment>
			</textvar>

			<textvar name="LakeMultiplier" value="$(PathParams)/params_LakeMultiplier">
				<comment>
				Multiplier applied to the lake parameter alpha that defines outflow: Q = mult · alpha · H²
					default: 1.0 [-]
					$(PathParams)/params_LakeMultiplier.nc
				</comment>
			</textvar>

			<textvar name="adjust_Normal_Flood" value="0.8">
				<comment>
				Parameter of the reservoir simulation that adjusts the balance between normal and flood storage
				It ranges between 0.01 and 0.99; larger values results in keeping the outflow longer at normal
				values (rnormq).
					default: 0.8 [-]
					$(PathParams)/params_adjust_Normal_Flood.nc
				</comment>
			</textvar>

			<textvar name="ReservoirRnormqMult" value="1.0">
				<comment>
				Parameter that multiplies the reservoir's normal outflow (rnormq).
				It ranges 0.5 - 2
					default: 1.0 [-]
					$(PathParams)/params_ReservoirRnormqMult.nc
				</comment>
			</textvar>

			<textvar name="AvWaterRateThreshold" value="5.0">
				<comment>
				Critical amount of available water (expressed in [mm/day]!), above which 'Days Since Last Rain' parameter is
				set to 1
					default: 5.0 [mm/day] (not included in calibration)
				</comment>
			</textvar>

			<textvar name="QSplitMult" value="2">
				<comment>
				Multiplier of the average discharge that determines the bankful discharge. Discharge over this bankful
				value triggers the second line of the kinematic wave routing.
				THIS NEEDS TO BE AMENDED BY ADDING THE RIGHT PATH TO $(PathParams)
					default: 2.0 [-]
				</comment>
			</textvar>

			<textvar name="ChanBottomWMult" value="1.0">
				<comment>
				PBchange
				Multiplier applied to ChanBottomWidth
				</comment>
			</textvar>

			<textvar name="ChanDepthTMult" value="1.0">
				<comment>
				Multiplier [] applied to ChanDepthThreshold
				</comment>
			</textvar>

			<textvar name="ChanSMult" value="1.0">
				<comment>
				Multiplier []  applied to ChanSdXdY
				</comment>
			</textvar>
		</group>


		<!--
		**************************************************************
		PARAMETERS
		**************************************************************
		-->
		<group>

			<!--EVAPO(TRANSPI)RATION AND INTERCEPTION-->
			<group>
				<comment>
				Suggested parameterisation strategy:
				- leave all these parameters at their default values.
				  In some very special cases CalEvaporation may be set to some
				  value other than one
				</comment>

				<textvar name="PrScaling" value="1">
					<comment>
					Multiplier [-] applied to potential precipitation rates
					</comment>
				</textvar>

				<textvar name="CalEvaporation" value="1.0">
					<comment>
					Multiplier [-] applied to potential evapo(transpi)ration rates
					</comment>
				</textvar>

				<textvar name="LeafDrainageTimeConstant" value="1">
					<comment>
					Residence time [days] of the linear reservoir that represents intercepted water
						default: 1 [day], all water either evaporates of drains within one day
					</comment>
				</textvar>

				<textvar name="kdf" value="0.72">
					<comment>
					Average extinction coefficient for the diffuse radiation flux.
					It varies with crop from 0.4 to 1.1 (Goudriaan (1977))
					</comment>
				</textvar>

				<textvar name="SMaxSealed" value="1.0">
					<comment>
					Maximum depression storage for water on impervious surface.
					This water does not cause surface runoff  [mm]
					</comment>
				</textvar>
			</group>

			<!--EVAPORATION FROM OPEN WATER-->
			<group>
				<textvar name="FracMaxWater" value="$(PathMaps)/fracmaxwater.nc">
					<comment>
					Fraction of maximum extend of water
					</comment>
				</textvar>

				<textvar name="LakeMask" value="$(PathMaps)/lakes/lakemask.nc">
					<comment>
					Mask with Lakes from GLWD database
					</comment>
				</textvar>
			</group>

			<!--SNOW AND FROST-->
			<group>
				<comment>
				Suggested parameterisation strategy:
				- estimate SnowFactor from prior data (if available), otherwise use 1
				- use SnowMeltCoef as a calibration constant
				- leave all other parameters at default
				</comment>

				<textvar name="SnowFactor" value="1">
					<comment>
					Multiplier [-] applied to precipitation that falls as snow
						default: 1 [-]
					</comment>
				</textvar>

				<textvar name="SnowSeasonAdj" value="1.0">
					<comment>
					Seasonal variation [mm / (°C · day)] of the degree-day factor, of wich
					"SnowMeltCoef" is the average value
					</comment>
				</textvar>

				<textvar name="TempMelt" value="1.0">
					<comment>
					Temperature threshold [°C] below which snow melts
					</comment>
				</textvar>

				<textvar name="TempSnow" value="1.0">
					<comment>
					Temperature threshold [°C] below which precipitation occurs as snow
					</comment>
				</textvar>

				<textvar name="TemperatureLapseRate" value="0.0065">
					<comment>
					Temperature gradient with altitude [°C / m].
					It is actually the opposite of the gradient, since temperature goes down
					with altitude.
					</comment>
				</textvar>

				<textvar name="Afrost" value="0.97">
					<comment>
					Daily decay coefficient [day-1], (Handbook of Hydrology, p. 7.28)
					</comment>
				</textvar>

				<textvar name="Kfrost" value="0.57">
					<comment>
					Snow depth reduction coefficient, [cm-1], (HH, p. 7.28)
					</comment>
				</textvar>

				<textvar name="SnowWaterEquivalent" value="0.45">
					<comment>
					Snow water equivalent, (based on snow density of 450 kg/m3) (e.g. Tarboton and Luce, 1996)
					</comment>
				</textvar>

				<textvar name="FrostIndexThreshold" value="56">
					<comment>
					Frost index threshold above which soil is considered frozen; therefore,
					infiltration, percolation and capillary rise stop.
					Molnau and Bissel found a value 56-85 for NW USA.
					</comment>
				</textvar>
			</group>

			<!--IRRIGATION AND WATER ABSTRACTION-->
			<group>
				<textvar name="IrrigationEfficiency" value="0.75">
					<comment>
					Field application irrigation efficiency [-]: max 1, ~0.90 drip irrigation, ~0.75 sprinkling
						Default: 0.75 [-]
						$(PathMaps)/irrigation_efficiency_baseline.nc
					</comment>
				</textvar>

				<textvar name="ConveyanceEfficiency" value="0.80">
					<comment>
					conveyance efficiency [-]: around 0.80 for average channel
					</comment>
				</textvar>

				<textvar name="IrrigationType" value="1">
					<comment>
					IrrigationType (value between 0 and 1) is used here to distinguish between additional adding water until fieldcapacity (value set to 1) or not (value set to 0)
					</comment>
				</textvar>

				<textvar name="IrrigationMult" value="1.20">
					<comment>
					Factor [-] to irrigation water demand
					More than the transpiration is added e.g to prevent salinisation
					</comment>
				</textvar>

				<textvar name="IrrigationWaterReUseM3" value="0.0">
					<comment>
					Annual amount (m3) of treated wastewater reused for irrigation
					</comment>
				</textvar>

				<textvar name="IrrigationWaterReUseNumDays" value="143">
					<comment>
					Number of days over which the annual amount of treated wastewater for irrigation is used
					</comment>
				</textvar>

				<textvar name="LivestockConsumptiveUseFraction" value="0.15">
					<comment>
					Consumptive Use (1-Recycling ratio) for livestock water use (0-1) [-]
					</comment>
				</textvar>

				<textvar name="IndustryConsumptiveUseFraction" value="0.15">
					<comment>
					Consumptive Use (1-Recycling ratio) for industrial water use (0-1) [-]
					</comment>
				</textvar>

				<textvar name="EnergyConsumptiveUseFraction" value="0.33">
					<comment>
					Consumptive Use (1-Recycling ratio) for energy water use (0-1) [-]
					Source: Torcellini et al. (2003) "Consumptive Use for US Power Production"
					map advised by Neil Edwards, Energy Industry
					the UK and small French rivers the consumptive use varies between 1:2 and 1:3, so 0.33-0.50
					For plants along big rivers like Rhine and Danube the 0.025 is ok
					EnergyConsumptiveUseFraction=0.025
						$(PathMaps)/energyconsumptiveuse.nc
					</comment>
				</textvar>

				<textvar name="DomesticConsumptiveUseFraction" value="0.20">
					<comment>
					Consumptive Use (1-Recycling ratio) for domestic water use (0-1) [-]
					Source: EEA (2005) State of Environment
					</comment>
				</textvar>

				<textvar name="LeakageFraction" value="0.2">
					<comment>
					Fraction of leakage on public water supply (0=no leakage, 1=100% leakage)
						0.2
						$(PathMaps)/leakage.map
					</comment>
				</textvar>

				<textvar name="LeakageWaterLoss" value="0.75">
					<comment>
					The water that is lost from leakage (lost) (0-1) [-]
					</comment>
				</textvar>

				<textvar name="LeakageReductionFraction" value="0.0">
					<comment>
					Leakage reduction fraction (e.g. 50% = 0.5 as compared to current Leakage) (baseline=0, maximum=1) [-]
					</comment>
				</textvar>

				<textvar name="WaterSavingFraction" value="0.0">
					<comment>
					Water savings fraction (e.g. 10% = 0.1 as compared to current Use (baseline=0, maximum=1) [-]
					scenwsav.map
					</comment>
				</textvar>

				<textvar name="WaterReUseFraction" value="0.0">
					<comment>
					Fraction of water re-used in industry (e.g. 50% = 0.5 = half of the water is re-used, used twice (baseline=0, maximum=1) [-]
					scenruse.map
					</comment>
				</textvar>

				<textvar name="FirstDayOfMonth" value="$(PathTables)/firstdayofmonth.txt">
					<comment>
					table with days for each water use maps
					1st column: range of days; 2nd column: suffix of wuse map
					</comment>
				</textvar>

				<textvar name="MapIrrigationCropCoef" value="$(PathLandCover)/cropcoef_i.nc">
					<comment>
					Irrigation crop coefficient [-]
					</comment>
				</textvar>

				<textvar name="MapIrrigationCropGroupNumber" value="$(PathMaps)/land_cover/cropgrpn_i.nc">
					<comment>
					Irrigation crop group number [-]
					</comment>
				</textvar>

				<textvar name="Population" value="$(PathWaterUse)/pop_static.nc">
					<comment>
					Population [units]
					</comment>
				</textvar>

				<textvar name="PopulationMaps" value="$(PathWaterUse)/pop_daily.nc">
					<comment>
					Population
					</comment>
				</textvar>

				<textvar name="LandUseMask" value="$(PathLandUse)/lusemask.nc">
					<comment>
					Land Use Mask
					</comment>
				</textvar>

				<textvar name="WaterUseMaps" value="$(PathOut)/wuse">
					<comment>
					Reported water use [m3/s], depending on the availability of discharge
					</comment>
				</textvar>

				<textvar name="WaterUseTS" value="$(PathOut)/wateruseUps.tss">
					<comment>
					Time series of upstream water use at gauging stations
					</comment>
				</textvar>

				<textvar name="StepsWaterUseTS" value="$(PathOut)/stepsWaterUse.tss">
					<comment>
					Number of sub-steps needed for water use routine
					</comment>
				</textvar>

				<textvar name="maxNoWateruse" value="5">
					<comment>
					maximum number of loops for calculating the use of water
					= distance water is taken for water consuption
					</comment>
				</textvar>

				<textvar name="WUsePercRemain" value="0.5">
					<comment>
					percentage of water which remains in the channel
					e.g. 0.2 -> 20 percent of discharge is not taken out
					</comment>
				</textvar>

				<textvar name="WUseRegion" value="$(PathWaterUse)/waterregion.nc"/>
			</group>

			<!--GROUNDWATER-->
			<group>
				<comment>
				Suggested parameterisation strategy:
				- leave GwLossFraction at 0 unless prior information show groundwater loss
				  is important
				- use UpperZoneTimeConstant, LowerZoneTimeConstant,
				   GwPercValue as calibration constants
				- calibrate on  GwLossFraction if necessary
				</comment>

				<textvar name="LZSmoothRange" value="5">
					<comment>
					width [number of cells] of the window used to smooth groundwater depletion in the lower zone
					after groundwater abstraction
					</comment>
				</textvar>

				<textvar name="GroundwaterBodies" value="$(PathSoilHyd)/gwbodies.nc">
					<comment>
					map of aquifers (0/1), used to smoothen the groundwater lower zone near extraction areas
						$(PathMaps)/gwbodiesNew.map
					</comment>
				</textvar>
			</group>

			<!--TRANSMISSION LOSSES-->
			<group>
				<comment>
				Suggested parameterisation strategy:
				- Use TransSub as calibration constant leave all other parameters at default values
				</comment>

				<textvar name="TransSub" value="0.3">
					<comment>
					Transmission loss function parameter
					</comment>
				</textvar>

				<textvar name="TransPower1" value="2.0">
					<comment>
					PBchange
					Transmission loss function parameter
					</comment>
				</textvar>

				<textvar name="TransArea" value="1.0E+10">
					<comment>
					PBchange
					downstream area taking into account for transmission loss
					</comment>
				</textvar>

				<textvar name="UpAreaTrans" value="$(PathTopography)/upArea_repaired.nc">
					<comment>
					upstream area
					</comment>
				</textvar>
			</group>

			<!--ROUTING PARAMETERS-->
			<group>
				<comment>
				Suggested parameterisation strategy:
				- Use CalChanMan as calibration constant to fine-tune timing of
				  channel routing, leave all other parameters at default values
				</comment>

				<textvar name="beta" value="0.6">
					<comment>
					kinematic wave parameter beta [-]: 0.6 is for broad sheet flow
					</comment>
				</textvar>

				<textvar name="OFDepRef" value="5">
					<comment>
					Reference depth of overland flow [mm], used to compute
					overland flow Alpha for kinematic wave
					</comment>
				</textvar>

				<textvar name="GradMin" value="0.001">
					<comment>
					Minimum slope gradient [-] (for kin. wave: slope cannot be 0)
					</comment>
				</textvar>

				<textvar name="ChanGradMin" value="0.0001">
					<comment>
					Minimum channel gradient [-] (for kin. wave: slope cannot be 0)
					</comment>
				</textvar>
			</group>

			<!--NUMERICS-->
			<group>
				<comment>
				Important: do not change, default value of 0.4 generally combines
				sufficient numerical accuracy within a limited number of sub-steps
				</comment>

				<textvar name="CourantCrit" value="0.4">
					<comment>
					Minimum value for Courant condition in soil moisture routine. Always less than or equal to 1.
					Small values result in improved numerical accuracy, at the expense of increased
					computing time (more sub-steps needed). If reported time series of soil moisture contain
					large jumps, lowering CourantCrit should fix this
					</comment>
				</textvar>
			</group>

		</group>


		<!--
		#**************************************************************
		# INITIAL CONDITIONS
		#**************************************************************
		-->
		<group>

			<!--WATER BALANCE MODEL-->
			<group>

				<comment>maps or single values</comment>

				<textvar name="OFDirectInitValue" value="0">
					<comment>
					Initial overland flow storage [m3], direct runoff fraction
						default: 0 [m3]
					</comment>
				</textvar>

				<textvar name="OFOtherInitValue" value="0">
					<comment>
					Initial overland flow storage [m3], other fraction
					</comment>
				</textvar>

				<textvar name="OFForestInitValue" value="0">
					<comment>
					Initial overland flow storage [m3], forest fraction
					</comment>
				</textvar>

				<textvar name="SnowCoverAInitValue" value="0">
					<comment>
					initial snow depth in snow zone A [mm]
					</comment>
				</textvar>

				<textvar name="SnowCoverBInitValue" value="0">
					<comment>
					initial snow depth in snow zone B [mm]
					</comment>
				</textvar>

				<textvar name="SnowCoverCInitValue" value="0">
					<comment>
					initial snow depth in snow zone C [mm]
					</comment>
				</textvar>

				<textvar name="FrostIndexInitValue" value="0">
					<comment>
					initial Frost Index value [degC/day]
					</comment>
				</textvar>

				<textvar name="CumIntInitValue" value="0">
					<comment>
					water stored as cumulative interception [mm]
					</comment>
				</textvar>

				<textvar name="UZInitValue" value="0">
					<comment>
					water stored in the groundwater upper store [mm]
					</comment>
				</textvar>

				<textvar name="DSLRInitValue" value="1">
					<comment>
					days since last rainfall [days]
					</comment>
				</textvar>
			</group>

			<!--SOIL AND CHANNELS-->
			<group>

				<comment>
				The following variables can also be initialized in the model
				internally. if you want this to happen, set them to bogus value
				-9999
				</comment>

				<textvar name="ThetaInit1Value" value="-9999">
					<comment>
					initial soil moisture content in layer 1a (superficial soil layer) [mm3/mm3]
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaInit2Value" value="-9999">
					<comment>
					initial soil moisture content layer 1b (upper soil layer)  [mm3/mm3]
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaInit3Value" value="-9999">
					<comment>
					initial soil moisture content layer 2 (lower soil layer)  [mm3/mm3]
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="LZInitValue" value="-9999">
					<comment>
					water stored in the groundwater lower zone [mm]
						-9999: use steady-state storage
					</comment>
				</textvar>

				<textvar name="TotalCrossSectionAreaInitValue" value="-9999">
					<comment>
					initial cross-sectional area of flow in channel [m2]
						-9999: use half bankfull
					</comment>
				</textvar>

				<textvar name="CrossSection2AreaInitValue" value="-9999">
					<comment>
					initial channel cross-section area [m2] for 2nd routing channel, i.e., overbank flow
						-9999: use 0
					</comment>
				</textvar>

				<textvar name="PrevSideflowInitValue" value="-9999">
					<comment>
					initial lateral inflow for 1st line of routing [m2/s]
						-9999: use 0
					</comment>
				</textvar>

				<textvar name="LakeInitialLevelValue" value="-9999">
					<comment>
					Initial lake level [m]
						-9999 sets initial value to steady-state level
					</comment>
				</textvar>

				<textvar name="LakePrevInflowValue" value="-9999">
					<comment>
					Lake inflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
						-9999 sets initial value equal to PrevDischarge (ChanQ(t))
					</comment>
				</textvar>

				<textvar name="LakePrevOutflowValue" value="-9999">
					<comment>
					Lake outflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
						-9999 sets initial value
					</comment>
				</textvar>

				<textvar name="PrevDischarge" value="-9999">
					<comment>
					initial discharge [m3/s] from previous run for lakes, reservoirs and transmission loss ChanQ
					only needed for lakes reservoirs and transmission loss
						-9999: use 0
					</comment>
				</textvar>
			</group>

			<!--FOREST-->
			<group>

				<comment>maps or single values</comment>

				<textvar name="CumIntForestInitValue" value="0">
					<comment>
					cumulative interception [mm]
					</comment>
				</textvar>

				<textvar name="UZForestInitValue" value="0">
					<comment>
					water in upper groundwater store [mm]
					</comment>
				</textvar>

				<textvar name="DSLRForestInitValue" value="1">
					<comment>
					days since last rainfall
					</comment>
				</textvar>

				<textvar name="ThetaForestInit1Value" value="-9999">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1a (superficial soil layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaForestInit2Value" value="-9999">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1b (upper soil layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaForestInit3Value" value="-9999">
					<comment>
					initial soil moisture content [mm3/mm3] layer 2 (lower soil layer)
						-9999: use field capacity values
					</comment>
				</textvar>
			</group>

			<!--IRRIGATION-->
			<group>

				<comment>maps or single values</comment>

				<textvar name="CumIntIrrigationInitValue" value="0">
					<comment>
					cumulative interception [mm]
					</comment>
				</textvar>

				<textvar name="UZIrrigationInitValue" value="0">
					<comment>
					water stored in groundwater upper store [mm]
					</comment>
				</textvar>

				<textvar name="DSLRIrrigationInitValue" value="1">
					<comment>
					days since last rainfall
					</comment>
				</textvar>

				<textvar name="ThetaIrrigationInit1Value" value="-9999">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1a (superficial soil layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaIrrigationInit2Value" value="-9999">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1b (upper soil layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaIrrigationInit3Value" value="-9999">
					<comment>
					initial soil moisture content [mm3/mm3] layer 2 (lower soil layer)
						-9999: use field capacity values
					</comment>
				</textvar>
			</group>

			<!--IMPERVIOUS AREAS-->
			<group>

				<comment>maps or single values</comment>

				<textvar name="CumIntSealedInitValue" value="0">
					<comment>
					cumulative interception [mm]
					</comment>
				</textvar>

			</group>

		</group>


		<!--
		**************************************************************
		PREFIXES FOR METEO AND VEGETATION RELATED VARIABLES
		**************************************************************
		-->
		<group>
			<textvar name="PrefixPrecipitation" value="tp">
				<comment>
				prefix for precipitation maps
				</comment>
			</textvar>

			<textvar name="PrefixTavg" value="2t">
				<comment>
				prefix for average temperature maps
				</comment>
			</textvar>

			<textvar name="PrefixE0" value="e0">
				<comment>
				prefix for potential evaporation rate from open water surface (E0) maps
				</comment>
			</textvar>

			<textvar name="PrefixES0" value="es">
				<comment>
				prefix for potential evaporation from soil (ES0) maps
				</comment>
			</textvar>

			<textvar name="PrefixET0" value="eT0">
				<comment>
				prefix for potential reference evapotranspiration (ET0) maps
				</comment>
			</textvar>

			<textvar name="PrefixLAIForest" value="laif">
				<comment>
				prefix for leaf area index (LAI) maps for the forest land use fraction
				</comment>
			</textvar>

			<textvar name="PrefixLAIIrrigation" value="laii">
				<comment>
				prefix for leaf area index (LAI) maps for the irrigation land use fraction
				</comment>
			</textvar>

			<textvar name="PrefixLAIOther" value="laio">
				<comment>
				prefix for leaf area index (LAI) maps for the other land use fraction
				</comment>
			</textvar>

			<textvar name="PrefixWaterUseDomestic" value="dom">
				<comment>
				prefix for domestic water use maps
				</comment>
			</textvar>

			<textvar name="PrefixWaterUseLivestock" value="liv">
				<comment>
				prefix for livestock water use maps
				</comment>
			</textvar>

			<textvar name="PrefixWaterUseEnergy" value="ene">
				<comment>
				prefix for energy water use maps
				</comment>
			</textvar>

			<textvar name="PrefixWaterUseIndustry" value="ind">
				<comment>
				prefix for industry water use maps
				</comment>
			</textvar>

			<textvar name="PrefixVarWaterFraction" value="varw">
				<comment>
				prefix for variable water fraction
				</comment>
			</textvar>
		</group>


		<!--
		**************************************************************
		VARIABLES RELATED TO OPTIONS
		**************************************************************
		-->
		<group>

			<comment>
			These all need to have some (real or bogus) value,
			even for options that are not actually used!
			</comment>

			<!--RESERVOIRS-->
			<group>
				<textvar name="DtSecReservoirs" value="14400">
					<comment>
					Sub time step used for reservoir simulation [s]. Within the model,
					the smallest out of "DtSecReservoirs" and "DtSec" is used.
					</comment>
				</textvar>

				<textvar name="ReservoirInitialFillValue" value="-9999">
					<comment>
					Initial reservoir fill fraction [-]
						-9999 sets initial fill to normal storage limit
					if you're not using the reservoir option, enter some bogus value
					</comment>
				</textvar>
			</group>

			<!--LAKES-->
			<group>
				<textvar name="TabLakeAvNetInflowEstimate" value="$(PathTables)/lakes/lakeavinflow_463.txt">
					<comment>
					Estimate of average net inflow into lake (=inflow - evaporation) [m3 / s]
					It is used to calculate steady-state lake level in case "LakeInitialLevelValue"
					is set to -9999
					</comment>
				</textvar>
			</group>

			<!--POLDERS-->
			<group>
				<textvar name="mu" value="0.49">
					<comment>
					Weir constant [-] (Do not change!)
					</comment>
				</textvar>

				<textvar name="PolderInitialLevelValue" value="0">
					<comment>
					Initial water level in polder [m]
					</comment>
				</textvar>
			</group>

			<!--DYNAMIC WAVE-->
			<group>
				<textvar name="CourantDynamicCrit" value="0.5">
					<comment>
					Critical Courant number for dynamic wave. Values range
					between 0-1 (smaller values result in greater numerical accuracy,
					but also increase computational time)
					</comment>
				</textvar>

				<textvar name="DynWaveConstantHeadBoundary" value="0">
					<comment>
					Constant head [m] at most downstream pixel (relative to altitude
					at most downstream pixel)
					</comment>
				</textvar>
			</group>

			<!--INFLOW HYDROGRAPH-->
			<group>
				<textvar name="InflowPoints" value="$(PathInflow)/inflowPoints.nc">
					<comment>
					OPTIONAL: nominal map with locations of (measured)
					inflow hydrographs [m3 / s]
					</comment>
				</textvar>

				<textvar name="QInTS" value="$(PathInflow)/inflowHyd.tss">
					<comment>
					OPTIONAL: observed or simulated input hydrographs as
					time series [m3 / s]
					Note that identifiers in time series correspond to
					InflowPoints map (also optional)
					</comment>
				</textvar>
			</group>

			<!--PF REPORTING-->
			<group>
				<textvar name="HeadMax" value="1E+7">
					<comment>
					Maximum capillary head [cm]. This value is used if Theta equals residual soil
					moisture content (value of HeadMax is arbitrary). Only needed for pF computation,
					otherwise doesn't influence model results at all)
					</comment>
				</textvar>

				<comment>
				PF MAPS
				</comment>

				<textvar name="PF1ForestMaps" value="$(PathOut)/pf0_forest">
					<comment>
					Reported pF soil layer 1a, forest land use fraction
					</comment>
				</textvar>

				<textvar name="PF2ForestMaps" value="$(PathOut)/pf1_forest">
					<comment>
					Reported pF soil layer 1b, forest land use fraction
					</comment>
				</textvar>

				<textvar name="PF3ForestMaps" value="$(PathOut)/pf2_forest">
					<comment>
					Reported pF layer  2, forest land use fraction
					</comment>
				</textvar>

				<textvar name="PF1IrrigationMaps" value="$(PathOut)/pf0_irrig">
					<comment>
					Reported pF soil layer 1a, irrigated land use fraction
					</comment>
				</textvar>

				<textvar name="PF2IrrigationMaps" value="$(PathOut)/pf1_irrig">
					<comment>
					Reported pF soil layer 1b, irrigated land use fraction
					</comment>
				</textvar>

				<textvar name="PF3IrrigationMaps" value="$(PathOut)/pf2_irrig">
					<comment>
					Reported pF soil layer 2, irrigated land use fraction
					</comment>
				</textvar>

				<textvar name="PF1OtherMaps" value="$(PathOut)/pf0_other">
					<comment>
					Reported pF soil layer 1a for the other land use fraction
					</comment>
				</textvar>

				<textvar name="PF2OtherMaps" value="$(PathOut)/pf1_other">
					<comment>
					Reported pF soil layer  1b for the other land use fraction
					</comment>
				</textvar>

				<textvar name="PF3OtherMaps" value="$(PathOut)/pf2_other">
					<comment>
					Reported pF soil layer  2 for the other land use fraction
					</comment>
				</textvar>
			</group>

		</group>

	</lfuser>


	<!--######################   LFBINDING    ######################-->
	<lfbinding>

		<comment>More lowe-level control over model in- and output</comment>

		<!--
		**************************************************************
		GENERAL SETUP
		**************************************************************
		-->
		<group>

			<!--NETCDF PARAMETERS-->
			<group>
				<textvar name="NetCDFTimeChunks" value="$(NetCDFTimeChunks)"/>
				<textvar name="MapsCaching" value="$(MapsCaching)"/>
				<textvar name="OutputMapsChunks" value="$(OutputMapsChunks)"/>
				<textvar name="OutputMapsDataType" value="$(OutputMapsDataType)"/>
			</group>

			<!--PARALLELIZATION-->
			<group>
				<textvar name="numCPUs_parallelKinematicWave" value="$(numCPUs_parallelKinematicWave)"/>
				<textvar name="numCPUs_parallelNumba" value="$(numCPUs_parallelNumba)"/>
			</group>

			<!--AREA AND OUTLETS-->
			<group>
				<textvar name="proj4_params" value="$(proj4_params)">
					<comment>
					This is necessary when using projected coordinates (x,y)
					</comment>
				</textvar>

				<textvar name="MaskMap" value="$(MaskMap)">
					<comment>
					Clone map
					</comment>
				</textvar>

				<textvar name="Latitude" value="$(Latitude)">
					<comment>
					latitude map to be used for snow/ice modelling
					</comment>
				</textvar>

				<textvar name="netCDFtemplate" value="$(netCDFtemplate)">
					<comment>
					netcdf template used to copy metadata information for writing netcdf
					</comment>
				</textvar>
			</group>

			<!--TIME-RELATED CONSTANTS-->
			<group>

				<textvar name="CalendarConvention" value="$(CalendarConvention)">
					<comment>
					Calendar convention
					</comment>
				</textvar>

				<textvar name="CalendarDayStart" value="$(CalendarDayStart)">
					<comment>
					Calendar day is back!
					Calendar day number of 1st day in model run
					e.g. 1st of January: 1; 1st of June 151 (or 152 in leap year)
					Needed to read out LAI tables correctly
					</comment>
				</textvar>

				<textvar name="DtSec" value="$(DtSec)">
					<comment>
					timestep [seconds] (60*60*24)
					</comment>
				</textvar>

				<textvar name="DtSecChannel" value="$(DtSecChannel)">
					<comment>
					Sub time step used for kinematic wave channel routing [seconds]
					Within the model,the smallest out of DtSecChannel and DtSec is used
					</comment>
				</textvar>

				<textvar name="StepStart" value="$(StepStart)">
					<comment>
					Number of first time step in simulation
					</comment>
				</textvar>

				<textvar name="StepEnd" value="$(StepEnd)">
					<comment>
					Number of last time step in simulation
					</comment>
				</textvar>

			</group>

		</group>


		<!--
		**************************************************************
		PARAMETERS
		**************************************************************
		-->
		<group>

			<!--EVAPO(TRANSPI)RATION AND INTERCEPTION-->
			<group>

				<comment>
				Suggested parameterisation strategy:
				- leave all these parameters at their default values.
				  in some very special cases CalEvaporation may be set to some
				  value other than one
				</comment>

				<textvar name="PrScaling" value="$(PrScaling)">
					<comment>
					Multiplier applied to potential precipitation rates [-]
					</comment>
				</textvar>

				<textvar name="CalEvaporation" value="$(CalEvaporation)">
					<comment>
					Multiplier applied to potential evapo(transpi)ration rates [-]
					</comment>
				</textvar>

				<textvar name="LeafDrainageTimeConstant" value="$(LeafDrainageTimeConstant)">
					<comment>
					Time constant for water in interception store [days]
					</comment>
				</textvar>

				<textvar name="kdf" value="$(kdf)">
					<comment>
					Average extinction coefficient [-] for the diffuse radiation flux
					varies with crop from 0.4 to 1.1 (Goudriaan (1977))
					</comment>
				</textvar>

				<textvar name="AvWaterRateThreshold" value="$(AvWaterRateThreshold)">
					<comment>
					Critical amount of available water (expressed in [mm/day]!), above which 'Days Since Last Rain' parameter is
					set to 1
					</comment>
				</textvar>

				<textvar name="SMaxSealed" value="$(SMaxSealed)">
					<comment>
					maximum depression storage for water on impervious surface
					which is not immediatly causing surface runoff  [mm]
					</comment>
				</textvar>

			</group>

			<!--EVAPORATION FROM OPEN WATER-->
			<group>

				<textvar name="WFractionMaps" value="$(PathVarWaterfraction)/$(PrefixVarWaterFraction)">
					<comment>
					water use daily maps with a (in this case negative) volume of water [cu m/s]
					</comment>
				</textvar>

				<textvar name="WFracOfDay" value="$(PathTables)/WFracOfDay.txt">
					<comment>
					table with days for each water use maps
					1st column: range of days; 2nd column: suffix of wuse map
					</comment>
				</textvar>

				<textvar name="FracMaxWater" value="$(FracMaxWater)">
					<comment>
					Percentage of maximum extend of water
					</comment>
				</textvar>

				<textvar name="LakeMask" value="$(LakeMask)">
					<comment>
					Mask with Lakes from GLWD database
					</comment>
				</textvar>

				<textvar name="maxNoEva" value="10">
					<comment>
					  maximum number of loops for calculating evaporation
					  = distance water is taken to satisfy the need of evaporation from open water
					</comment>
				</textvar>

				<textvar name="EvaOpenMaps" value="$(PathOut)/evaop">
					<comment>
					Reported evaporation from open water [mm]
					</comment>
				</textvar>

				<textvar name="EvaOpenTS" value="$(PathOut)/evaopenUps.tss">
					<comment>
					Time series of upstream water evaporation from open water at gauging stations
					</comment>
				</textvar>

			</group>

			<!--SNOW AND FROST-->
			<group>

				<comment>
				Suggested parameterisation strategy:
				- estimate SnowFactor from prior data (if available), otherwise use 1
				- use SnowMeltCoef as a calibration constant
				- leave all other parameters at default
				</comment>

				<textvar name="SnowFactor" value="$(SnowFactor)">
					<comment>
					Multiplier applied to precipitation that falls as snow
					</comment>
				</textvar>

				<textvar name="SnowMeltCoef" value="$(SnowMeltCoef)">
					<comment>
					Snowmelt coefficient [mm C-1 day-1)]
					See also Martinec et al., 1998.
					</comment>
				</textvar>

				<textvar name="SnowSeasonAdj" value="$(SnowSeasonAdj)">
					<comment>
					range [mm C-1 day-1] of the seasonal variation
					SnowMeltCoef is the average value
					</comment>
				</textvar>

				<textvar name="TempMelt" value="$(TempMelt)">
					<comment>
					Average temperature [deg C]  at which snow melts
					</comment>
				</textvar>

				<textvar name="TempSnow" value="$(TempSnow)">
					<comment>
					Average temperature [deg C] below which precipitation is snow
					</comment>
				</textvar>

				<textvar name="TemperatureLapseRate" value="$(TemperatureLapseRate)">
					<comment>
					Temperature lapse rate with altitude [deg C / m]
					</comment>
				</textvar>

				<textvar name="Afrost" value="$(Afrost)">
					<comment>
					Daily decay coefficient [day-1], (Handbook of Hydrology, p. 7.28)
					</comment>
				</textvar>

				<textvar name="Kfrost" value="$(Kfrost)">
					<comment>
					Snow depth reduction coefficient, [cm-1], (HH, p. 7.28)
					</comment>
				</textvar>

				<textvar name="SnowWaterEquivalent" value="$(SnowWaterEquivalent)">
					<comment>
					Snow water equivalent, (based on snow density of 450 kg/m3) (e.g. Tarboton and Luce, 1996)
					</comment>
				</textvar>

				<textvar name="FrostIndexThreshold" value="$(FrostIndexThreshold)">
					<comment>
					Degree Days Frost Threshold (stops infiltration, percolation and capillary rise)
					Molnau and Bissel found a value 56-85 for NW USA.
					</comment>
				</textvar>

			</group>

			<!--INFILTRATION-->
			<group>

				<comment>
				Suggested parameterisation strategy:
				- use b_Xinanjiang and PowerPrefFlow as calibration constants
				</comment>

				<textvar name="b_Xinanjiang" value="$(b_Xinanjiang)">
					<comment>
					Power in Xinanjiang distribution function [-]
					</comment>
				</textvar>

				<textvar name="PowerPrefFlow" value="$(PowerPrefFlow)">
					<comment>
					Power that controls increase of proportion of preferential
					flow with increased soil moisture storage [-]
					</comment>
				</textvar>

			</group>

			<!--GROUNDWATER-->
			<group>

				<comment>
				Suggested parameterisation strategy:

				- leave GwLossFraction at 0 unless prior information show groundwater loss
				  is important
				- use all other parameters as calibration constants
				</comment>

				<textvar name="UpperZoneTimeConstant" value="$(UpperZoneTimeConstant)">
					<comment>
					Time constant for water in upper zone [days]
					</comment>
				</textvar>

				<textvar name="LowerZoneTimeConstant" value="$(LowerZoneTimeConstant)">
					<comment>
					Time constant for water in lower zone [days]
					This is the average time a water 'particle' remains in the reservoir
					if we had a stationary system (average inflow=average outflow)
					</comment>
				</textvar>

				<textvar name="GwPercValue" value="$(GwPercValue)">
					<comment>
					Maximum rate of percolation going from the Upper to the Lower
					response box [mm/day]
					</comment>
				</textvar>

				<textvar name="GwLoss" value="$(GwLoss)">
					<comment>
					Maximum percolation rate from the lower groundwater zone [mm/days]. GWLoss
					it’s lost beyond the catchment boundaries or to deep groundwater systems.
					A value of 0 (closed lower boundary) is recommended as a starting value.
					</comment>
				</textvar>

			</group>

			<!--TRANSMISSION LOSSES-->
			<group>

				<comment>
				Suggested parameterisation strategy:
				- Use TransSub as calibration constant leave all other parameters at default values
				</comment>

				<textvar name="TransPower1" value="$(TransPower1)">
					<comment>
					PBchange
					Transmission loss function parameter
					</comment>
				</textvar>

				<textvar name="TransSub" value="$(TransSub)">
					<comment>
					PBchange
					Transmission loss function parameter
					</comment>
				</textvar>

				<textvar name="TransArea" value="$(TransArea)">
					<comment>
					PBchange
					downstream area taking into account for transmission loss
					</comment>
				</textvar>

				<textvar name="UpAreaTrans" value="$(UpAreaTrans)">
					<comment>
					upstream area
					</comment>
				</textvar>

			</group>

			<!--ROUTING -->
			<group>

				<comment>
				Suggested parameterisation strategy:
				- Use CalChanMan as calibration constant to fine-tune timing of
				  channel routing, leave all other parameters at default values
				</comment>

				<textvar name="CalChanMan" value="$(CalChanMan)">
					<comment>
					Multiplier applied to Channel Manning's n
					</comment>
				</textvar>

				<textvar name="CalChanMan2" value="$(CalChanMan2)">
					<comment>
					Multiplier applied to Channel Manning's n for second routing line
					</comment>
				</textvar>

				<textvar name="QSplitMult" value="$(QSplitMult)">
					<comment>
					Multiplier applied to average Q to split into a second line of routing
					</comment>
				</textvar>

				<textvar name="ChanBottomWMult" value="$(ChanBottomWMult)">
					<comment>
					Multiplier applied to ChanBottomWidth
					</comment>
				</textvar>

				<textvar name="ChanDepthTMult" value="$(ChanDepthTMult)">
					<comment>
					Multiplier applied to ChanDepthThreshold
					</comment>
				</textvar>

				<textvar name="ChanSMult" value="$(ChanSMult)">
					<comment>
					Multiplier applied to ChanSdXdY
					</comment>
				</textvar>

				<textvar name="beta" value="$(beta)">
					<comment>
					kinematic wave parameter: 0.6 is for broad sheet flow
					</comment>
				</textvar>

				<textvar name="OFDepRef" value="$(OFDepRef)">
					<comment>
					Reference depth of overland flow [mm], used to compute
					overland flow Alpha for kin. wave
					</comment>
				</textvar>

				<textvar name="GradMin" value="$(GradMin)">
					<comment>
					Minimum slope gradient (for kin. wave: slope cannot be 0)
					</comment>
				</textvar>

				<textvar name="ChanGradMin" value="$(ChanGradMin)">
					<comment>
					Minimum channel gradient (for kin. wave: slope cannot be 0)
					</comment>
				</textvar>

			</group>

			<!--NUMERICS-->
			<group>

				<comment>
				Important: do not change, default value of 0.4 generally combines
				sufficient numerical accuracy within a limited number of sub-steps
				</comment>

				<textvar name="CourantCrit" value="$(CourantCrit)">
					<comment>
					Minimum value for Courant condition in soil moisture routine. Always less than or equal to 1.
					Small values result in improved numerical accuracy, at the expense of increased
					computing time (more sub-steps needed). If reported time series of soil moisture contain
					large jumps, lowering CourantCrit should fix this
					</comment>
				</textvar>

			</group>

		</group>


		<!--
		**************************************************************
		INITIAL CONDITIONS
		**************************************************************
		-->
		<group>

			<!--WATER BALANCE MODEL-->
			<group>

				<comment>
				can be either maps or single values
				</comment>

				<textvar name="LZAvInflowMap" value="$(PathInit)/lzavin">
					<comment>
					Reported map of average percolation rate from upper to
					lower groundwater zone (reported for end of simulation) [mm/day]
					Do not include extension, since LISFLOOD already defines the .nc
					(netCDF) extension
					</comment>
				</textvar>

				<textvar name="AvgDis" value="$(PathInit)/avgdis">
					<comment>
					Average discharge map [m3/s] used to define when to use the second
					line in the channel split routing
					Do not include extension, since LISFLOOD already defines the .nc
					(netCDF) extension
					</comment>
				</textvar>

				<textvar name="timestepInit" value="$(timestepInit)">
					<comment>
					if init condition are stored as netCDF with different time steps
					this variable indicates which time step to use
					Either as date e.g. 1/1/2010 or as number e.g. 5
					</comment>
				</textvar>

				<textvar name="OFDirectInitValue" value="$(OFDirectInitValue)">
					<comment>
					Initial overland flow storage [m3], direct runoff fraction
					</comment>
				</textvar>

				<textvar name="OFOtherInitValue" value="$(OFOtherInitValue)">
					<comment>
					Initial overland flow storage [m3], other fraction
					</comment>
				</textvar>

				<textvar name="OFForestInitValue" value="$(OFForestInitValue)">
					<comment>
					Initial overland flow storage [m3], forest fraction
				</comment>
				</textvar>

				<textvar name="SnowCoverAInitValue" value="$(SnowCoverAInitValue)">
					<comment>
					initial snow depth in snow zone A [mm]
					</comment>
				</textvar>

				<textvar name="SnowCoverBInitValue" value="$(SnowCoverBInitValue)">
					<comment>
					initial snow depth in snow zone B [mm]
					</comment>
				</textvar>

				<textvar name="SnowCoverCInitValue" value="$(SnowCoverCInitValue)">
					<comment>
					initial snow depth in snow zone C [mm]
					</comment>
				</textvar>

				<textvar name="FrostIndexInitValue" value="$(FrostIndexInitValue)">
					<comment>
					initial Frost Index value [degC/day]
					</comment>
				</textvar>

				<textvar name="CumIntInitValue" value="$(CumIntInitValue)">
					<comment>
					cumulative interception [mm]
					</comment>
				</textvar>

				<textvar name="UZInitValue" value="$(UZInitValue)">
					<comment>
					water in groundwater upper store [mm]
					</comment>
				</textvar>

				<textvar name="DSLRInitValue" value="$(DSLRInitValue)">
					<comment>
					days since last rainfall
					</comment>
				</textvar>

			</group>

			<!--SOIL AND CHANNELS-->
			<group>

				<comment>
				The following variables can also be initialized in the model
				internally. if you want this to happen set them to bogus value
				of -9999
				</comment>

				<textvar name="LZInitValue" value="$(LZInitValue)">
					<comment>
					water in groundwater lower store [mm]
						-9999: use steady-state storage
					</comment>
				</textvar>

				<textvar name="TotalCrossSectionAreaInitValue" value="$(TotalCrossSectionAreaInitValue)">
					<comment>
					initial cross-sectional area of flow in channel[m2]
						-9999: use half bankfull
					</comment>
				</textvar>

				<textvar name="ThetaInit1Value" value="$(ThetaInit1Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1a (superficial layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaInit2Value" value="$(ThetaInit2Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1b (upper layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaInit3Value" value="$(ThetaInit3Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 2 (lower layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="CrossSection2AreaInitValue" value="$(CrossSection2AreaInitValue)">
					<comment>
					initial channel cross-section area [m2] for 2nd routing channel
						-9999: use 0
					</comment>
				</textvar>

				<textvar name="PrevSideflowInitValue" value="$(PrevSideflowInitValue)">
					<comment>
					initial lateral inflow for 1st line of routing [m2/s]
						-9999: use 0
					</comment>
				</textvar>

				<textvar name="PrevDischarge" value="$(PrevDischarge)">
					<comment>
					initial discharge [m3/s] from previous run for lakes, reservoirs and transmission loss
					only needed for lakes reservoirs and transmission loss
						-9999: use 0
					</comment>
				</textvar>

			</group>

			<!--FOREST-->
			<group>

				<comment>
				maps or single values
				</comment>

				<textvar name="CumIntForestInitValue" value="$(CumIntForestInitValue)">
					<comment>
					cumulative interception [mm]
					</comment>
				</textvar>

				<textvar name="UZForestInitValue" value="$(UZForestInitValue)">
					<comment>
					water in groundwater upper store [mm]
					</comment>
				</textvar>

				<textvar name="DSLRForestInitValue" value="$(DSLRForestInitValue)">
					<comment>
					days since last rainfall for forest fraction
					</comment>
				</textvar>

				<textvar name="ThetaForestInit1Value" value="$(ThetaForestInit1Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1a (superficial layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaForestInit2Value" value="$(ThetaForestInit2Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1b (upper layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaForestInit3Value" value="$(ThetaForestInit3Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 2 (lower layer)
						-9999: use field capacity values
					</comment>
				</textvar>

			</group>

			<!--IRRIGATION-->
			<group>

				<comment>
				maps or single values
				</comment>

				<textvar name="CumIntIrrigationInitValue" value="$(CumIntIrrigationInitValue)">
					<comment>
					cumulative interception [mm]
					</comment>
				</textvar>

				<textvar name="UZIrrigationInitValue" value="$(UZIrrigationInitValue)">
					<comment>
					water in groundwater upper store [mm]
					</comment>
				</textvar>

				<textvar name="DSLRIrrigationInitValue" value="$(DSLRIrrigationInitValue)">
					<comment>
					days since last rainfall for irrigation
					</comment>
				</textvar>

				<textvar name="ThetaIrrigationInit1Value" value="$(ThetaIrrigationInit1Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1a (superficial layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaIrrigationInit2Value" value="$(ThetaIrrigationInit2Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 1b (upper layer)
						-9999: use field capacity values
					</comment>
				</textvar>

				<textvar name="ThetaIrrigationInit3Value" value="$(ThetaIrrigationInit3Value)">
					<comment>
					initial soil moisture content [mm3/mm3] layer 2 (lower layer)
						-9999: use field capacity values
					</comment>
				</textvar>

			</group>

			<!--IMPERVIOUS AREAS-->
			<group>
				<textvar name="CumIntSealedInitValue" value="$(CumIntSealedInitValue)">
					<comment>
					cumulative depression storage [mm]
					</comment>
				</textvar>
			</group>

		</group>


		<!--
		**************************************************************
		INPUTS
		**************************************************************
		-->
		<group>

			<!--TIME-VARYING INPUT MAPS-->
			<group>

				<!--meteorological forcing-->
				<group>

					<textvar name="PrecipitationMaps" value="$(PathMeteo)/$(PrefixPrecipitation)">
						<comment>
						precipitation [mm/day]
						</comment>
					</textvar>

					<textvar name="TavgMaps" value="$(PathMeteo)/$(PrefixTavg)">
						<comment>
						average daily temperature [C]
						</comment>
					</textvar>

					<textvar name="E0Maps" value="$(PathMeteo)/$(PrefixE0)">
						<comment>
						daily reference evaporation (free water) [mm/day]
						</comment>
					</textvar>

					<textvar name="ES0Maps" value="$(PathMeteo)/$(PrefixES0)">
						<comment>
						daily reference evaporation (soil) [mm/day]
						</comment>
					</textvar>

					<textvar name="ET0Maps" value="$(PathMeteo)/$(PrefixET0)">
						<comment>
						daily reference evapotranspiration (crop) [mm/day]
						</comment>
					</textvar>

				</group>

				<!--vegetation-->
				<group>
					<textvar name="LAIOtherMaps" value="$(PathLAI)/$(PrefixLAIOther)">
						<comment>
						leaf area index [m2/m2]
						</comment>
					</textvar>

					<textvar name="LAIForestMaps" value="$(PathLAI)/$(PrefixLAIForest)">
						<comment>
						leaf area index [m2/m2]
						</comment>
					</textvar>

					<textvar name="LAIIrrigationMaps" value="$(PathLAI)/$(PrefixLAIIrrigation)">
						<comment>
						leaf area index [m2/m2]
						</comment>
					</textvar>

					<textvar name="LAIOfDay" value="$(PathTables)/laiofday.txt">
						<comment>
						table with days for each LAI maps
						1st column: range of days; 2nd column: suffix of LAI map
						</comment>
					</textvar>
				</group>

				<!--water use-->
				<group>

					<textvar name="FirstDayOfMonth" value="$(PathTables)/firstdayofmonth.txt">
						<comment>
						table with days for each water use maps
						1st column: range of days; 2nd column: suffix of wuse map
						</comment>
					</textvar>

					<textvar name="DomesticDemandMaps" value="$(PathWaterUse)/$(PrefixWaterUseDomestic)">
						<comment>
						Domestic water abstraction daily maps [mm]
						</comment>
					</textvar>

					<textvar name="LivestockDemandMaps" value="$(PathWaterUse)/$(PrefixWaterUseLivestock)">
						<comment>
						Livestock water abstraction daily maps [mm]
						</comment>
					</textvar>

					<textvar name="EnergyDemandMaps" value="$(PathWaterUse)/$(PrefixWaterUseEnergy)">
						<comment>
						Energy water abstraction daily maps [mm]
						</comment>
					</textvar>

					<textvar name="IndustrialDemandMaps" value="$(PathWaterUse)/$(PrefixWaterUseIndustry)">
						<comment>
						Industry water abstraction daily maps [mm]
						</comment>
					</textvar>

					<textvar name="LivestockConsumptiveUseFraction" value="$(LivestockConsumptiveUseFraction)">
						<comment>
						Consumptive Use (1-Recycling ratio) for livestock water use (0-1)
						</comment>
					</textvar>

					<textvar name="IndustryConsumptiveUseFraction" value="$(IndustryConsumptiveUseFraction)">
						<comment>
						Consumptive Use (1-Recycling ratio) for industrial water use (0-1)
						</comment>
					</textvar>

					<textvar name="EnergyConsumptiveUseFraction" value="$(EnergyConsumptiveUseFraction)">
						<comment>
							Consumptive Use (1-Recycling ratio) for energy water use (0-1)
							Source: Torcellini et al. (2003) "Consumptive Use for US Power Production"
							map advised by Neil Edwards, Energy Industry
							the UK and small French rivers the consumptive use varies between 1:2 and 1:3, so 0.33-0.50
							For plants along big rivers like Rhine and Danube the 0.025 is ok
							EnergyConsumptiveUseFraction=0.025
						</comment>
					</textvar>

					<textvar name="DomesticConsumptiveUseFraction" value="$(DomesticConsumptiveUseFraction)">
						<comment>
							Consumptive Use (1-Recycling ratio) for domestic water use (0-1)
							Source: EEA (2005) State of Environment
						</comment>
					</textvar>

					<textvar name="LeakageFraction" value="$(LeakageFraction)">
						<comment>
						   Fraction of leakage of public water supply (0=no leakage, 1=100% leakage)
						</comment>
					</textvar>

					<textvar name="LeakageWaterLoss" value="$(LeakageWaterLoss)">
						<comment>
						   The water that is lost from leakage (lost) (0-1)
						</comment>
					</textvar>

					<textvar name="LeakageReductionFraction" value="$(LeakageReductionFraction)">
						<comment>
						   Leakage reduction fraction (e.g. 50% = 0.5 as compared to current Leakage) (baseline=0, maximum=1)
						</comment>
					</textvar>

					<textvar name="WaterSavingFraction" value="$(WaterSavingFraction)">
						<comment>
						  Water savings fraction (e.g. 10% = 0.1 as compared to current Use (baseline=0, maximum=1)
						  scenwsav.map
						</comment>
					</textvar>

					<textvar name="WaterReUseFraction" value="$(WaterReUseFraction)">
						<comment>
						   Fraction of water re-used in industry (e.g. 50% = 0.5 = half of the water is re-used, used twice (baseline=0, maximum=1
						   scenruse.map
						</comment>
					</textvar>

					<textvar name="IrrigationEfficiency" value="$(IrrigationEfficiency)">
						<comment>
						Field application irrigation efficiency max 1, ~0.90 drip irrigation, ~0.75 sprinkling
						</comment>
					</textvar>

					<textvar name="ConveyanceEfficiency" value="$(ConveyanceEfficiency)">
						<comment>
						conveyance efficiency, around 0.80 for average channel
						</comment>
					</textvar>

					<textvar name="IrrigationType" value="$(IrrigationType)">
						<comment>
						IrrigationType (value between 0 and 1) is used here to distinguish between additional adding water until fieldcapacity (value set to 1) or not (value set to 0)
						</comment>
					</textvar>

					<textvar name="IrrigationMult" value="$(IrrigationMult)">
						<comment>
						Factor to irrigation water demand
						More than the transpiration is added e.g to prevent salinisation
						</comment>
					</textvar>

					<textvar name="IrrigationWaterReUseM3" value="$(IrrigationWaterReUseM3)">
						<comment>
						Annual amount (m3) of treated wastewater reused for irrigation
						</comment>
					</textvar>

					<textvar name="IrrigationWaterReUseNumDays" value="$(IrrigationWaterReUseNumDays)">
						<comment>
						Number of days over which the annual amount of treated wastewater for irrigation is used
						</comment>
					</textvar>

					<textvar name="MapIrrigationCropCoef" value="$(MapIrrigationCropCoef)">
						<comment>
						Irrigation crop coefficient
						</comment>
					</textvar>

					<textvar name="MapIrrigationCropGroupNumber" value="$(MapIrrigationCropGroupNumber)">
						<comment>
						Irrigation crop group number
						</comment>
					</textvar>

					<textvar name="Population" value="$(Population)">
						<comment>
						Population
						</comment>
					</textvar>

					<textvar name="PopulationMaps" value="$(PopulationMaps)">
						<comment>
						Population
						</comment>
					</textvar>

					<textvar name="LandUseMask" value="$(LandUseMask)">
						<comment>
						Land Use Mask
						</comment>
					</textvar>

					<textvar name="WaterUseMaps" value="$(WaterUseMaps)">
						<comment>
						Reported water use [cu m/s], depending on the availability of discharge
						</comment>
					</textvar>

					<textvar name="WaterUseTS" value="$(WaterUseTS)">
						<comment>
						Time series of upstream water use at gauging stations
						</comment>
					</textvar>

					<textvar name="StepsWaterUseTS" value="$(StepsWaterUseTS)">
						<comment>
						Number of sub-steps needed for water use
						routine
						</comment>
					</textvar>

					<textvar name="maxNoWateruse" value="$(maxNoWateruse)">
						<comment>
						  maximum number of loops for calculating the use of water
						  = distance water is taken for water consuption
						</comment>
					</textvar>

					<textvar name="WUsePercRemain" value="$(WUsePercRemain)">
						<comment>
						  percentage of water which remains in the channel
						  e.g. 0.2 -> 20 percent of discharge is not taken out
						</comment>
					</textvar>

					<textvar name="WUseRegion" value="$(WUseRegion)"/>

				</group>

				<!--rice irrigation-->
				<group>
					<textvar name="RiceFlooding" value="10.0">
						<comment>
						water amount in mm per day
						10 mm for 10 days (total 10cm water)
						</comment>
					</textvar>

					<textvar name="RicePercolation" value="2.0">
						<comment>
						FAO: percolation for heavy clay soils: PERC = 2 mm/day
						</comment>
					</textvar>

					<textvar name="RicePlantingDay1" value="$(PathWaterUse)/riceplantingday1.nc">
						<comment>
						map with starting day of the year
						</comment>
					</textvar>

					<textvar name="RiceHarvestDay1" value="$(PathWaterUse)/riceharvestday1.nc">
						<comment>
						map with starting day of the year
						</comment>
					</textvar>

					<textvar name="RicePlantingDay2" value="$(PathWaterUse)/riceplantingday2.nc">
						<comment>
						map with starting day of the year
						</comment>
					</textvar>

					<textvar name="RiceHarvestDay2" value="$(PathWaterUse)/riceharvestday2.nc">
						<comment>
						map with starting day of the year
						</comment>
					</textvar>
				</group>

			</group>

			<!--TIME-FIXED MAPS AND TABLES-->
			<group>

				<!--topography maps-->
				<group>
					<textvar name="Ldd" value="$(PathTopography)/ldd_repaired.nc">
						<comment>
						local drain direction map (1-9)
							$(PathTopography)/ldd.map
						</comment>
					</textvar>

					<textvar name="Grad" value="$(PathTopography)/gradient.nc">
						<comment>
						slope gradient [-] (0.50 -&gt; tangent=0.5, angle=26.5 degrees)
						</comment>
					</textvar>

					<textvar name="ElevationStD" value="$(PathTopography)/elvstd.nc">
						<comment>
						Elevation standard deviation [m], i.e. altitude difference elevation within pixel.
						Used for sub-pixel modelling of snow accumulation
						and melt
						</comment>
					</textvar>

					<textvar name="Gauges" value="$(Gauges)">
						<comment>
						Nominal map with gauge locations (i.e cells for which simulated discharge
						is written to file(1,2,3 etc)
							outlets.map
						</comment>
					</textvar>

					<textvar name="Sites" value="$(PathMaps)/sites.map">
						<comment>
						map with monitoring sites (1,2,3 etc)
						</comment>
					</textvar>

					<textvar name="PixelLengthUser" value="$(PathTopography)/pixleng.nc">
						<comment>
						optional map with pixel length [m], only needed in case map attributes
						are not in [m] (e.g. lat / lon systems)
						</comment>
					</textvar>

					<textvar name="PixelAreaUser" value="$(PathTopography)/pixarea.nc">
						<comment>
						optional map with pixel area [m2], only needed in case map attributes
						are not in [m] (e.g. lat / lon systems)
						</comment>
					</textvar>
				</group>

				<!--soil-->
				<group>
					<comment>
					Suggested parameterisation strategy:
					- use b_Xinanjiang and PowerPrefFlow as calibration constants
					</comment>

					<textvar name="SoilDepth1" value="$(PathLandCover)/soildepth1_o.nc">
						<comment>
						Soil depth for 1st layer: 1a (superficial layer)
						Minimum Soil Depth [mm] for superficial soil layer
						For Europe it is  50 mm
						For Africa it is 200 mm
						</comment>
					</textvar>

					<textvar name="SoilDepth2" value="$(PathLandCover)/soildepth2_o.nc">
						<comment>
						Soil depth for 2nd layer: 1b (upper layer)
						Minimum Soil Depth [mm] for second soil layer
						</comment>
					</textvar>

					<textvar name="SoilDepth3" value="$(PathLandCover)/soildepth3_o.nc">
						<comment>
						Soil depth for 2nd layer: 2 (lower layer)
						Minimum Soil Depth [mm] for second soil layer
						</comment>
					</textvar>

					<textvar name="SoilDepth1Forest" value="$(PathLandCover)/soildepth1_f.nc">
						<comment>
						Soil depth for 1st layer: 1a
						Minimum Soil Depth [mm] for upper soil layer
						For Europe it is  50 mm
						For Africa it is 200 mm
						</comment>
					</textvar>

					<textvar name="SoilDepth2Forest" value="$(PathLandCover)/soildepth2_f.nc">
						<comment>
						Soil depth for 2nd layer: 1b
						Minimum Soil Depth [mm] for lower soil layer
						</comment>
					</textvar>

					<textvar name="SoilDepth3Forest" value="$(PathLandCover)/soildepth3_f.nc">
						<comment>
						Soil depth for 2nd layer: 2
						Minimum Soil Depth [mm] for lower soil layer  300
						</comment>
					</textvar>
				</group>

				<!--land use/land cover-->
				<group>
					<textvar name="DirectRunoffFraction" value="$(PathLandUse)/fracsealed.nc">
						<comment>
						urban area (0-1)
						</comment>
					</textvar>

					<textvar name="DirectRunoffFractionMaps" value="$(PathLandUseChange)/fracsealed">
						<comment>
						stack of Direct Runoff fraction maps (0-1)
						</comment>
					</textvar>

					<textvar name="ForestFraction" value="$(PathLandUse)/fracforest.nc">
						<comment>
						forest fraction of a pixel (0-1)
						</comment>
					</textvar>

					<textvar name="ForestFractionMaps" value="$(PathLandUseChange)/fracforest">
						<comment>
						stack of forest fraction maps (0-1)
							$(PathLandUseChange)/
						</comment>
					</textvar>

					<textvar name="WaterFraction" value="$(PathLandUse)/fracwater.nc">
						<comment>
						fraction of a pixel covered by water bodies (0-1)
						</comment>
					</textvar>

					<textvar name="WaterFractionMaps" value="$(PathLandUseChange)/fracwater">
						<comment>
						$(PathLandUseChange)/
						stack of water fraction maps (0-1)
						</comment>
					</textvar>

					<textvar name="OtherFraction" value="$(PathLandUse)/fracother.nc">
						<comment>
						fraction of a pixel covered by other uses (0-1)
						</comment>
					</textvar>

					<textvar name="OtherFractionMaps" value="$(PathLandUseChange)/fracother">
						<comment>
						$(PathLandUseChange)/
						stack of other fraction maps (0-1)
						</comment>
					</textvar>

					<textvar name="IrrigationFraction" value="$(PathLandUse)/fracirrigated.nc">
						<comment>
						irrigated area fraction of a pixel (0-1)
						</comment>
					</textvar>

					<textvar name="IrrigationFractionMaps" value="$(PathLandUseChange)/fracirrigated">
						<comment>
						$(PathLandUseChange)/
						stack of Irrigation fraction maps (0-1)
						</comment>
					</textvar>

					<textvar name="DrainedFraction" value="0.1">
						<comment>
						$(PathLandUse)/fracDrained.map
						drained fraction from irrigated area  (0-1)
						</comment>
					</textvar>

					<textvar name="RiceFraction" value="$(PathLandUse)/fracrice.nc">
						<comment>
						rice fraction of a pixel (0-1)
						</comment>
					</textvar>

					<textvar name="RiceFractionMaps" value="$(PathLandUseChange)/fracrice">
						<comment>
						stack of rice fraction maps (0-1)
						</comment>
					</textvar>

					<textvar name="FractionGroundwaterUsed" value="$(PathLandUse)/fracgwused.nc">
						<comment>
						groundwater used fraction of a pixel (0-1)
						</comment>
					</textvar>

					<textvar name="FractionNonConventionalWaterUsed" value="$(PathLandUse)/fracncused.nc">
						<comment>
						NonConventionalWaterUsed (0-1)
						</comment>
					</textvar>

					<textvar name="FractionLakeReservoirWaterUsed" value="0.25">
						<comment>
						lake and reservoir water used, fraction of a pixel (0-1)
						</comment>
					</textvar>

					<textvar name="EFlowThreshold" value="0">
						<comment>
						Environmental flow threshold [m3/s[ below which water abstraction stops.
						E.g. the 10th percentile discharge of the baseline run
							$(PathMaps)/eflow.map
						</comment>
					</textvar>

					<textvar name="MapCropCoef" value="$(PathLandCover)/cropcoef_o.nc">
						<comment>
						map with crop coefficient for each land use; values ranging from 0.75 to 1.25;
						source: Supit, p.83 CFET
						</comment>
					</textvar>

					<textvar name="MapCropGroupNumber" value="$(PathLandCover)/cropgrpn_o.nc">
						<comment>
						map with crop group number; table 6.1 and 6.2 in WOFOST 6.0, Supit, 1994: p. 86
						</comment>
					</textvar>

					<textvar name="MapN" value="$(PathLandCover)/mannings_o.nc">
						<comment>
						$(PathLandCover)/manngs_2000_250m.map
						table with Manning's roughness [m^(1/3) s^(-1)] for each CORINE landcover class
						</comment>
					</textvar>

					<textvar name="MapForestCropCoef" value="$(PathLandCover)/cropcoef_f.nc">
						<comment>
						map with crop coefficient for each land use; values ranging from 0.75 to 1.25;
						source: Supit, p.83 CFET
						</comment>
					</textvar>

					<textvar name="MapForestCropGroupNumber" value="$(PathLandCover)/cropgrpn_f.nc">
						<comment>
						map with crop group number; table 6.1 and 6.2 in WOFOST 6.0, Supit, 1994: p. 86
						</comment>
					</textvar>

					<textvar name="MapForestN" value="$(PathLandCover)/mannings_f.nc">
						<comment>
						map with Manning's roughness [m^(1/3) s^(-1)] for each CORINE landcover class
						</comment>
					</textvar>
				</group>

				<!--channels-->
				<group>

					<!--Variable Channel NoSubStepChannel-->

					<textvar name="UpLimit" value="1.0E+9">
						<comment>
						UpArea do be included in max. celerity
						</comment>
					</textvar>

					<textvar name="NoSubStepsChan" value="$(PathOut)/NoSubStepsChannel.tss">
						<comment>
						variable Number of sub steps for the kinematic wave routing
						</comment>
					</textvar>

					<!--Channel maps-->

					<textvar name="Channels" value="$(PathChannels)/chan.nc">
						<comment>
						Boolean map with value 1 at channel pixels and 0 at all other pixels
						IMPORTANT: IF NON-CHANNEL PIXELS HAVE MISSING VALUES,
						THEN THIS  MAY RESULT IN INCORRECT RESULTS
						</comment>
					</textvar>

					<textvar name="ChanGrad" value="$(PathChannels)/changrad.nc">
						<comment>
						Channel gradient (fraction, dy/dx)
						</comment>
					</textvar>

					<textvar name="ChanMan" value="$(PathChannels)/chanman.nc">
						<comment>
						Channel Manning's n [m^(1/3) s^(-1)]
						</comment>
					</textvar>

					<textvar name="ChanLength" value="$(PathChannels)/chanlength.nc">
						<comment>
						Channel length [m]
						</comment>
					</textvar>

					<textvar name="ChanBottomWidth" value="$(PathChannels)/chanbw.nc">
						<comment>
						Channel bottom width [m]
						</comment>
					</textvar>

					<textvar name="ChanSdXdY" value="$(PathChannels)/chans.nc">
						<comment>
						Channel side slope, expressed as gradient
						!! expressed as dx/dy !!! (NOT dy/dx, which would perhaps be more logical)
						</comment>
					</textvar>

					<textvar name="FloodPlainWidth" value="$(PathChannels)/chanflpn.nc">
						<comment>
						Floodplain Width [m]
						</comment>
					</textvar>

					<textvar name="ChanDepthThreshold" value="$(PathChannels)/chanbnkf.nc">
						<comment>
						Bankfull channel depth [m]
						</comment>
					</textvar>
				</group>

				<!--topsoil physical parameters (hypres)-->
				<group>
					<comment>
					Each parameter is defined for upper (1a and 1b) and
					lower (2) soil layers
					</comment>

					<textvar name="MapThetaSat1" value="$(PathSoilHyd)/thetas1_o.nc">
						<comment>
						Soil moisture content at saturation [V/V] [mm3/mm3] for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaSat2" value="$(PathSoilHyd)/thetas2_o.nc">
						<comment>
						Soil moisture content at saturation [V/V] [mm3/mm3] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaSat3" value="$(PathSoilHyd)/thetas3.nc">
						<comment>
						Soil moisture content at saturation [V/V] [mm3/mm3] for soil layer 2 (lower soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaRes1" value="$(PathSoilHyd)/thetar1.nc">
						<comment>
						Residual soil moisture content [V/V] [mm3/mm3]  for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaRes2" value="$(PathSoilHyd)/thetar2.nc">
						<comment>
						Residual soil moisture content [V/V] [mm3/mm3] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaRes3" value="$(PathSoilHyd)/thetar3.nc">
						<comment>
						Residual soil moisture content [V/V] [mm3/mm3] for soil layer 2 (lower soil layer)
						</comment>
					</textvar>

					<textvar name="MapLambda1" value="$(PathSoilHyd)/lambda1_o.nc">
						<comment>
						Pore-size index (Van Genuchten m and n are calculated from this)
						Lambda is acually 1-n  [-]
						</comment>
					</textvar>

					<textvar name="MapLambda2" value="$(PathSoilHyd)/lambda2_o.nc">
						<comment>
						Pore-size index (Van Genuchten m and n are calculated from this)
						Lambda is acually 1-n [-]
						</comment>
					</textvar>

					<textvar name="MapLambda3" value="$(PathSoilHyd)/lambda3.nc">
						<comment>
						Pore-size index (Van Genuchten m and n are calculated from this)
						Lambda is acually 1-n  [-]
						</comment>
					</textvar>

					<textvar name="MapGenuAlpha1" value="$(PathSoilHyd)/genua1_o.nc">
						<comment>
						Van Genuchten parameter Alpha [1/cm]  for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapGenuAlpha2" value="$(PathSoilHyd)/genua2_o.nc">
						<comment>
						Van Genuchten parameter Alpha [1/cm] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapGenuAlpha3" value="$(PathSoilHyd)/genua3.nc">
						<comment>
						Van Genuchten parameter Alpha [1/cm] for soil layer 2 (lower soil layer)
						</comment>
					</textvar>

					<textvar name="MapKSat1" value="$(PathSoilHyd)/ksat1_o.nc">
						<comment>
						Saturated conductivity [mm/day] for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapKSat2" value="$(PathSoilHyd)/ksat2_o.nc">
						<comment>
						Saturated conductivity [mm/day] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapKSat3" value="$(PathSoilHyd)/ksat3.nc">
						<comment>
						Saturated conductivity [mm/day] for soil layer 2 (lower soil layer)
						</comment>
					</textvar>
				</group>

				<!--topsoil physical parameters (hypres) for forest-->
				<group>
					<comment>
					Each parameter is defined for 1a and 1b
					Normal parameter is taken for the lower soil layer
					</comment>

					<textvar name="MapThetaSat1Forest" value="$(PathSoilHyd)/thetas1_f.nc">
						<comment>
						Soil moisture content at saturation [V/V] [mm3/mm3] for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaSat2Forest" value="$(PathSoilHyd)/thetas2_f.nc">
						<comment>
						Soil moisture content at saturation [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="MapThetaRes1Forest" value="$(PathSoilHyd)/thetar1.nc">
						<comment>
						Residual soil moisture content [V/V] [mm3/mm3] for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapThetaRes2Forest" value="$(PathSoilHyd)/thetar2.nc">
						<comment>
						Residual soil moisture content [V/V] [mm3/mm3] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapLambda1Forest" value="$(PathSoilHyd)/lambda1_f.nc">
						<comment>
						Pore-size index (Van Genuchten m and n are calculated from this) for soil layer 1a (superficial soil layer)
						Lambda is acually 1-n [-] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapLambda2Forest" value="$(PathSoilHyd)/lambda2_f.nc">
						<comment>
						Pore-size index (Van Genuchten m and n are calculated from this)
						Lambda is acually 1-n [-] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapGenuAlpha1Forest" value="$(PathSoilHyd)/genua1_f.nc">
						<comment>
						Van Genuchten parameter Alpha [1/cm] for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapGenuAlpha2Forest" value="$(PathSoilHyd)/genua2_f.nc">
						<comment>
						Van Genuchten parameter Alpha [1/cm] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>

					<textvar name="MapKSat1Forest" value="$(PathSoilHyd)/ksat1_f.nc">
						<comment>
						Saturated conductivity [mm/day] for soil layer 1a (superficial soil layer)
						</comment>
					</textvar>

					<textvar name="MapKSat2Forest" value="$(PathSoilHyd)/ksat2_f.nc">
						<comment>
						Saturated conductivity [mm/day] for soil layer 1b (upper soil layer)
						</comment>
					</textvar>
				</group>

				<!--reservoirs-->
				<group>
					<!--Input maps-->

					<textvar name="DtSecReservoirs" value="$(DtSecReservoirs)">
						<comment>
						Sub time step used for reservoir simulation [s]. Within the model,
						the smallest out of DtSecReservoirs and DtSec is used.
						</comment>
					</textvar>

					<textvar name="ReservoirSites" value="$(PathMaps)/reservoirs/reservoirs.nc">
						<comment>
						Map with the location of reservoirs (number)
						</comment>
					</textvar>

					<textvar name="ReservoirInitialFillValue" value="$(ReservoirInitialFillValue)">
						<comment>
						Initial reservoir storage (fraction)
						</comment>
					</textvar>

					<!--Input tables-->

					<textvar name="TabTotStorage" value="$(PathTables)/reservoirs/rstor.txt">
						<comment>
						Total reservoir storage capacity [m3]
						</comment>
					</textvar>

					<textvar name="TabConservativeStorageLimit" value="$(PathTables)/reservoirs/rclim.txt">
						<comment>
						Conservative reservoir storage (fraction, typically 0.07)
						</comment>
					</textvar>

					<textvar name="TabNormalStorageLimit" value="$(PathTables)/reservoirs/rnlim.txt">
						<comment>
						Normal reservoir storage limit (fraction, typically 0.65)
						</comment>
					</textvar>

					<textvar name="TabFloodStorageLimit" value="$(PathTables)/reservoirs/rflim.txt">
						<comment>
						Flood reservoir storage limit (fraction, typically 0.90)
						</comment>
					</textvar>

					<textvar name="TabNonDamagingOutflowQ" value="$(PathTables)/reservoirs/rndq.txt">
						<comment>
						Non damaging reservoir outflow Q [m3 / s]
						</comment>
					</textvar>

					<textvar name="TabNormalOutflowQ" value="$(PathTables)/reservoirs/rnormq.txt">
						<comment>
						Normal outflow Q [m3 / s]
						</comment>
					</textvar>

					<textvar name="TabMinOutflowQ" value="$(PathTables)/reservoirs/rminq.txt">
						<comment>
						Minimum reservoir outflow Q [m3 / s]
						</comment>
					</textvar>

					<!--Output time series-->

					<textvar name="ReservoirInflowTS" value="$(PathOut)/qresin.tss">
						<comment>
						name of output TSS file with Reservoir Inflow
						</comment>
					</textvar>

					<textvar name="ReservoirOutflowTS" value="$(PathOut)/qresout.tss">
						<comment>
						name of output TSS file with Reservoir Outflow
						</comment>
					</textvar>

					<textvar name="ReservoirFillTS" value="$(PathOut)/resfill.tss">
						<comment>
						name of output TSS file with Reservoir Filling
						</comment>
					</textvar>

					<textvar name="ReservoirStorageM3TS" value="$(PathOut)/resstor.tss">
						<comment>
						name of output TSS file with Reservoir storage [m3]
						</comment>
					</textvar>

					<textvar name="ReservoirFillState" value="$(PathOut)/rsfil">
						<comment>
						name of output map(s) with Reservoir Filling
						</comment>
					</textvar>

					<textvar name="adjust_Normal_Flood" value="$(adjust_Normal_Flood)">
						<comment>
						adjusting the balance between normal and flood storage [-]
						big values (= closer to 1.0 = close to flood) results in keeping the outflow longer at rnormq
						</comment>
					</textvar>

					<textvar name="ReservoirRnormqMult" value="$(ReservoirRnormqMult)">
						<comment>
						Multiplier [-] for rservoir rnormq (normal outflow)
						fraction of the value in table rnormq.txt range: 0.5 - 2
						</comment>
					</textvar>
				</group>

				<!--lakes-->
				<group>
					<!--Input maps-->

					<textvar name="LakeSites" value="$(PathMaps)/lakes/lakes.nc">
						<comment>
						Map with location of lakes
						</comment>
					</textvar>

					<textvar name="LakeInitialLevelValue" value="$(LakeInitialLevelValue)">
						<comment>
						Initial lake level [m]
							-9999 sets initial value to steady-state level
						</comment>
					</textvar>

					<textvar name="LakePrevInflowValue" value="$(LakePrevInflowValue)">
						<comment>
						Lake inflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
							-9999 sets initial value equal to PrevDischarge (ChanQ(t))
						</comment>
					</textvar>

					<textvar name="LakePrevOutflowValue" value="$(LakePrevOutflowValue)">
						<comment>
						Lake outflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
							-9999 sets initial value
						</comment>
					</textvar>

					<textvar name="TabLakeAvNetInflowEstimate" value="$(TabLakeAvNetInflowEstimate)">
						<comment>
						Estimate of average net inflow into lake (=inflow - evaporation) [m3 / s]
						Used to calculated steady-state lake level in case LakeInitialLevelValue
						is set to -9999
						</comment>
					</textvar>

					<!--Input tables-->

					<textvar name="TabLakeArea" value="$(PathTables)/lakes/lakearea_463.txt">
						<comment>
						Lake surface area [m2]
						</comment>
					</textvar>

					<textvar name="TabLakeA" value="$(PathTables)/lakes/lakea_463_RW_F.txt">
						<comment>
						Lake parameter A [m/s]
						</comment>
					</textvar>

					<textvar name="LakeMultiplier" value="$(LakeMultiplier)">
						<comment>
						Multiplier applied to the lake parameter A
						</comment>
					</textvar>

					<!--Output time series-->

					<textvar name="LakeInflowTS" value="$(PathOut)/qLakeIn.tss">
						<comment>
						Output timeseries file with lake inflow [m3 /s]
						</comment>
					</textvar>

					<textvar name="LakeOutflowTS" value="$(PathOut)/qLakeOut.tss">
						<comment>
						Output timeseries file with lake outflow [m3 /s]
						</comment>
					</textvar>

					<textvar name="LakeLevelTS" value="$(PathOut)/hLake.tss">
						<comment>
						Output timeseries file with lake level [m]
						</comment>
					</textvar>

					<textvar name="LakeLevelState" value="$(PathOut)/lakeh">
						<comment>
						Output map(s) with lake level [m]
						</comment>
					</textvar>

					<textvar name="LakePrevInflowState" value="$(PathOut)/lakeprevinq">
						<comment>
						Output map with lake inflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
							-9999 sets initial value equal to PrevDischarge (ChanQ(t))
						</comment>
					</textvar>

					<textvar name="LakePrevOutflowState" value="$(PathOut)/lakeprevoutq">
						<comment>
						Output map with lake outflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
							-9999 sets initial value
						</comment>
					</textvar>
				</group>

				<!--polders-->
				<group>
					<textvar name="mu" value="$(mu)">
						<comment>
						Weir constant (fixed) [-]
						</comment>
					</textvar>

					<textvar name="PolderSites" value="$(PathMaps)/polders/polders.map">
						<comment>
						Map with polder locations
						</comment>
					</textvar>

					<textvar name="PolderInitialLevelValue" value="$(PolderInitialLevelValue)">
						<comment>
						Initial water level in polders [m]
						</comment>
					</textvar>

					<!--Tables-->

					<textvar name="TabPolderTotalCapacity" value="$(PathTables)/polders/poldcap.txt">
						<comment>
						Polder maximum storage capacity [cu m]
						</comment>
					</textvar>

					<textvar name="TabPolderArea" value="$(PathTables)/polders/poldarea.txt">
						<comment>
						Area of polder [sq m]
						</comment>
					</textvar>

					<textvar name="TabPolderOFWidth" value="$(PathTables)/polders/poldofw.txt">
						<comment>
						Width of polder outlet/inlet [m]
						</comment>
					</textvar>

					<textvar name="TabPolderBottomLevel" value="$(PathTables)/polders/poldblevel.txt">
						<comment>
						Polder bottom level, measured from channel bottom [m]
						</comment>
					</textvar>

					<textvar name="TabPolderOpeningTime" value="$(PathTables)/polders/poldtopen.txt">
						<comment>
						Time step at which polder opens in case of regulated polder (use bogus value of -9999 in table in case of unregulated polder)
						</comment>
					</textvar>

					<textvar name="TabPolderReleaseTime" value="$(PathTables)/polders/poldtrelease.txt">
						<comment>
						Time step at which water stored in polder is released again(use bogus value of -9999 in table in case of unregulated polder)
						</comment>
					</textvar>

					<!--Output-->

					<textvar name="PolderFluxTS" value="$(PathOut)/qPolder.tss">
						<comment>
						name of output TSS file with polder flux [cu m / s]. Positive for flow from channel to polder, negative for polder to channel
						</comment>
					</textvar>

					<textvar name="PolderLevelTS" value="$(PathOut)/hPolder.tss">
						<comment>
						name of output TSS file with polder level [m]
						</comment>
					</textvar>

					<textvar name="PolderLevelState" value="$(PathOut)/hpol">
						<comment>
						name of output map(s) with polder level
						</comment>
					</textvar>
				</group>

				<!--inflow hydrograph-->
				<group>
					<textvar name="InflowPoints" value="$(InflowPoints)">
						<comment>
						OPTIONAL: nominal map with locations of (measured)
						inflow hydrographs
						</comment>
					</textvar>

					<textvar name="QInTS" value="$(QInTS)">
						<comment>
						Observed or simulated input hydrographs as
						time series [m3 / s]
						Note that identifiers in time series correspond to
						InflowPoints map (also optional)
						</comment>
					</textvar>
				</group>

				<!--dynamic wave-->
				<group>

					<textvar name="CourantDynamicCrit" value="$(CourantDynamicCrit)">
						<comment>
						Critical Courant number for dynamic wave
						value between 0-1 (smaller values result in greater numerical accuracy,
						but also increase computational time)
						</comment>
					</textvar>

					<textvar name="DynWaveConstantHeadBoundary" value="$(DynWaveConstantHeadBoundary)">
						<comment>
						Constant head [m] at most downstream pixel (relative to altitude
						at most downstream pixel)
						</comment>
					</textvar>

					<!--Maps-->

					<textvar name="ChannelsDynamic" value="$(PathMaps)/chandyn.map">
						<comment>
						Boolean map with value 1 at channel pixels where dynamic wave is
						used, and 0 at all other pixels
						</comment>
					</textvar>

					<textvar name="ChanBottomLevel" value="$(PathMaps)/chblevel.map">
						<comment>
						Channel bottom level [m]
						</comment>
					</textvar>

					<textvar name="ChanCrossSections" value="$(PathMaps)/chanxsect.map">
						<comment>
						Nominal map with channel cross section IDs
						</comment>
					</textvar>

					<!--Tables-->

					<textvar name="TabCrossSections" value="$(PathTables)/chanxsect.txt">
						<comment>
						Table with cross section parameters (H,A,P)
						</comment>
					</textvar>

				</group>

				<!--pF reporting-->
				<group>

					<!--pF parameters-->

					<textvar name="HeadMax" value="$(HeadMax)">
						<comment>
						Maximum capillary head [cm]. This value is used if Theta equals residual soil
						moisture content (value of HeadMax is arbitrary). Only needed for pF computation,
						otherwise doesn't influence model results at all)
						</comment>
					</textvar>

					<!--pF maps-->

					<textvar name="PF1Maps" value="$(PathOut)/pftop">
						<comment>
						Reported pF upper soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF2Maps" value="$(PathOut)/pfsub">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF3Maps" value="$(PathOut)/pfbot">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF1ForestMaps" value="$(PathOut)/pfFoT">
						<comment>
						Reported pF upper soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF2ForestMaps" value="$(PathOut)/pfFoS">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>

					<!--pF timeseries: values at SITES-->

					<textvar name="PF1TS" value="$(PathOut)/pFTop.tss">
						<comment>
						Reported pF upper soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF2TS" value="$(PathOut)/pFSub.tss">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF1ForestTS" value="$(PathOut)/pFForestTop.tss">
						<comment>
						Reported pF upper soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF2ForestTS" value="$(PathOut)/pFForestSub.tss">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>

					<!--pF timeseries: average values upstream of gauges-->

					<textvar name="PF1AvUpsTS" value="$(PathOut)/pFTopUps.tss">
						<comment>
						Reported pF upper soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF2AvUpsTS" value="$(PathOut)/pFSubUps.tss">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF1ForestAvUpsTS" value="$(PathOut)/pFForestTopUps.tss">
						<comment>
						Reported pF upper soil layer [-]
						</comment>
					</textvar>

					<textvar name="PF2ForestAvUpsTS" value="$(PathOut)/pFForestSubUps.tss">
						<comment>
						Reported pF lower soil layer [-]
						</comment>
					</textvar>
				</group>

				<!--Ad's addition-->
				<group>

					<textvar name="LZThreshold" value="$(LZThreshold)">
						<comment>
						threshold value below which there is no outflow to the channel [mm]
						</comment>
					</textvar>

					<textvar name="LZSmoothRange" value="$(LZSmoothRange)">
						<comment>
						length of the window used to smooth the LZ zone [number of cells]
						</comment>
					</textvar>

					<textvar name="GroundwaterBodies" value="$(GroundwaterBodies)">
						<comment>
						map of aquifers (0/1), used to smoothen LZ near extraction areas
						</comment>
					</textvar>

					<!--Water demand output maps-->
					<group>

						<textvar name="DefineEndofYear" value="304">
							<comment>
							day of the year when the yearly endcalculation is done e.g. 31/10/xxxx = 304
							</comment>
						</textvar>

						<textvar name="TotalAbsGroundwater" value="$(PathOut)/tAbsGW">
							<comment>
							TotalAbstractionFromGroundwater [mm]
							</comment>
						</textvar>

						<textvar name="TotalAbsSurface" value="$(PathOut)/tAbsS">
							<comment>
							TotalAbstractionFromSurfaceWater [mm]
							</comment>
						</textvar>

						<textvar name="TotalAbsSurfaceRegion" value="$(PathOut)/rAbsS">
							<comment>
							TotalAbstractionFromSurfaceWater [mm] summed up for water regions
							</comment>
						</textvar>

						<textvar name="TotalAbsSurfaceGroundwaterRegion" value="$(PathOut)/rAbsGW">
							<comment>
							Total Abstraction From SurfaceWater and Groundwater [mm] summed up for water regions, montly values
							</comment>
						</textvar>

						<textvar name="TotalPaddyRiceIrrigationAbstractionM3" value="$(PathOut)/tAbsPdRc">
							<comment>
							TotalPaddyRiceIrrigationAbstraction [m3]
							</comment>
						</textvar>

						<textvar name="WEI_Cns" value="$(PathOut)/WeiC">
							<comment>
							Water Exploitation Index - Consumption; for water regions (this is the official EU WEI+): consumption / internal and external availability
							</comment>
						</textvar>

						<textvar name="WEI_Abs" value="$(PathOut)/WeiA">
							<comment>
							Water Exploitation Index - Abstraction; for water regions: abstraction / internal and external availability
							</comment>
						</textvar>

						<textvar name="WEI_Dem" value="$(PathOut)/WeiD">
							<comment>
							Water Exploitation Index - Demand; for water regions: demand / internal and external availability
							</comment>
						</textvar>

						<textvar name="WEI_Plus" value="$(PathOut)/WeiPlus">
							<comment>
							Water Exploitation Index - Consumption; for water regions
							</comment>
						</textvar>

						<textvar name="RegionMonthInternalFlowM3" value="$(PathOut)/RgIn">
							<comment>
							Internal available water
							</comment>
						</textvar>

						<textvar name="RegionMonthExternalInflowM3" value="$(PathOut)/RgEx">
							<comment>
							External available water
							</comment>
						</textvar>

						<textvar name="RegionMonthConsumptionRequiredM3" value="$(PathOut)/RgWCR">
							<comment>
							Region Water Consumption
							</comment>
						</textvar>

						<textvar name="RegionMonthConsumptionActualM3" value="$(PathOut)/RgWCA">
							<comment>
							Region Water Consumption
							</comment>
						</textvar>

						<textvar name="RegionMonthReservoirAndLakeStorageM3" value="$(PathOut)/RsLk">
							<comment>
							Reservoir and Lake storage in m3 at end of month
							</comment>
						</textvar>

						<textvar name="RegionMonthWaterAbstractedfromLakesReservoirsM3" value="$(PathOut)/RLAbs">
							<comment>
							Reservoir and Lake abstraction in m3
							</comment>
						</textvar>

						<textvar name="RegionMonthIrrigationShortageM3" value="$(PathOut)/IrSh">
							<comment>
							Irrigation water shortage in m3 for month
							</comment>
						</textvar>

						<textvar name="PotentialSurfaceWaterAvailabilityForIrrigationM3" value="$(PathOut)/PotIrgM3">
							<comment>
							Surface water availability in m3 for potential irrigation for each day
							</comment>
						</textvar>

						<textvar name="MonthETpotMM" value="$(PathOut)/ETpot">
							<comment>
							Monthly evapotranspiration deficit in mm
							</comment>
						</textvar>

						<textvar name="MonthETactMM" value="$(PathOut)/ETact">
							<comment>
							Monthly evapotranspiration deficit in mm
							</comment>
						</textvar>

						<textvar name="MonthETdifMM" value="$(PathOut)/ETdif">
							<comment>
							Monthly evapotranspiration deficit in mm
							</comment>
						</textvar>

						<textvar name="WaterDependencyIndex" value="$(PathOut)/WDI">
							<comment>
							Monthly Water Dependency Index (0-1) (De Roo 2015)
							WDI = Upstream Inflow Actually Used / Total Water Demand
							Values close to 1 give extreme dependency on upstream water
							</comment>
						</textvar>

						<textvar name="WaterSecurityIndex" value="$(PathOut)/WSI">
							<comment>
							Monthly Water Security Index (0-1) (De Roo 2015)
							WSI = Upstream Inflow Actually Used / Upstream Inflow Available
							Values close to 1 give extreme vulnerability to upstream water
							</comment>
						</textvar>

						<textvar name="WaterSustainabilityIndex" value="$(PathOut)/WTI">
							<comment>
							Monthly Water Sustainability Index (0-1) (De Roo 2015)
							WTI = 1-SurfaceWaterDeficit / TotalWaterDemand
							Values of 1 indicate complete sustainable conditions, no water deficit
							Values less than 1 indicate that considerable deep groundwater resources or desalinated water is used
							</comment>
						</textvar>

						<textvar name="FalkenmarkM3Capita1" value="$(PathOut)/Fk1">
							<comment>
							Monthly Falkenmark 1 Index (tochanm3)
							</comment>
						</textvar>

						<textvar name="FalkenmarkM3Capita2" value="$(PathOut)/Fk2">
							<comment>
							Monthly Falkenmark 2 Index (tochanm3+reservoirlakeabstraction)
							</comment>
						</textvar>

						<textvar name="FalkenmarkM3Capita3" value="$(PathOut)/Fk3">
							<comment>
							Monthly Falkenmark 3 Index (tochanm3+reservoirlakeabstraction+externalinflow)
							</comment>
						</textvar>

						<textvar name="TotalAbstractionFromGroundwaterM3" value="$(PathOut)/TotAbsGW">
							<comment>
							Abstraction from groundwater in m3 per timestep
							</comment>
						</textvar>

						<textvar name="TotalAbstractionFromSurfaceWaterM3" value="$(PathOut)/TotAbsSW">
							<comment>
							Abstraction from surface water in m3 per timestep
							</comment>
						</textvar>

						<textvar name="AreaTotalAbstractionFromSurfaceWaterM3" value="$(PathOut)/ATAbsSW">
							<comment>
							Region abstraction from surface water in m3 per timestep
							</comment>
						</textvar>

						<textvar name="AreatotalWaterAbstractedfromLakesReservoirsM3" value="$(PathOut)/ATAbsLR">
							<comment>
							Region Total Abstraction From Lakes and Reservoirs in m3, per timestep
							</comment>
						</textvar>

						<textvar name="LakeAbstractionM3" value="$(PathOut)/LakesAbs">
							<comment>
							Lake Abstraction per timestep in m3
							</comment>
						</textvar>

						<textvar name="ReservoirAbstractionM3" value="$(PathOut)/ResAbs">
							<comment>
							ReservoirAbstraction per timestep in M3
							</comment>
						</textvar>

						<textvar name="ReservoirStorageM3" value="$(PathOut)/ResStor">
							<comment>
							ReservoirStorage in M3
							</comment>
						</textvar>

						<textvar name="LakeStorageM3" value="$(PathOut)/LakeStor">
							<comment>
							LakeStorage in M3
							</comment>
						</textvar>

						<textvar name="AreatotalIrrigationUseM3" value="$(PathOut)/ATIrgUse">
							<comment>
							AreatotalIrrigationUseM3
							</comment>
						</textvar>

						<textvar name="FractionAbstractedFromChannels" value="$(PathOut)/FrChan">
							<comment>
							FractionAbstractedFromChannels
							</comment>
						</textvar>

						<textvar name="EFlowIndicator" value="$(PathOut)/Eflow">
							<comment>
							EFlowIndicator (1 on day with ChanQ smaller than EflowThreshold, 0 on normal days)
							</comment>
						</textvar>

						<textvar name="consumption_required_domestic_M3MonthRegion" value="$(PathOut)/consReqDomM3MonReg"/>

						<textvar name="consumption_required_energy_M3MonthRegion" value="$(PathOut)/consReqEneM3MonReg"/>

						<textvar name="consumption_required_industry_M3MonthRegion" value="$(PathOut)/consReqIndM3MonReg"/>

						<textvar name="consumption_required_livestock_M3MonthRegion" value="$(PathOut)/consReqLivM3MonReg"/>

						<textvar name="consumption_required_irrigation_M3MonthRegion" value="$(PathOut)/consReqIrrM3MonReg"/>

						<textvar name="consumption_actual_irrigation_M3MonthRegion" value="$(PathOut)/consActIrrM3MonReg"/>

						<textvar name="abstraction_allSources_required_irrigation_M3MonthRegion" value="$(PathOut)/absAllSrcReqIrrM3MonReg"/>

						<textvar name="abstraction_allSources_actual_irrigation_M3MonthRegion" value="$(PathOut)/absAllSrcActIrrM3MonReg"/>

						<textvar name="abstraction_SwGw_required_irrigation_M3MonthRegion" value="$(PathOut)/absSwGwReqIrrM3MonReg"/>

						<textvar name="abstraction_SwGw_actual_irrigation_M3MonthRegion" value="$(PathOut)/absSwGwActIrrM3MonReg"/>

						<textvar name="UpstreamInflowM3" value="$(PathOut)/upstreamInflowAvailableM3MonReg"/>

						<textvar name="LocalFreshwaterM3" value="$(PathOut)/localWaterAvailableMonReg"/>

						<textvar name="LocalTotalWaterDemandM3" value="$(PathOut)/localWaterDemandMonReg"/>

						<textvar name="UpstreamInflowUsedM3" value="$(PathOut)/upstreamInflowUsedMonReg"/>

						<textvar name="FossilGroundwaterUsedM3" value="$(PathOut)/fossilGroundwaterUsedMonReg"/>

					</group>

					<!--Peter's addition-->
					<group>
						<textvar name="actETPUpsTS" value="$(PathOut)/actEvapo.tss">
							<comment>
							[mm]
							</comment>
						</textvar>

						<textvar name="RunLossUpsTS" value="$(PathOut)/runLoss.tss">
							<comment>
							[mm]
							</comment>
						</textvar>

						<textvar name="EvaOpenWaterAvUpsTS" value="$(PathOut)/evaopen.tss">
							<comment>
							[mm]
							</comment>
						</textvar>
					</group>

				</group>

			</group>

		</group>


		<!--
		**************************************************************
		OUTPUTS
		**************************************************************
		-->
		<group>

			<!--MAPS-->
			<group>

				<textvar name="DischargeMaps" value="$(PathOut)/dis">
					<comment>
					Reported discharge [cu m/s] (average over the model timesteps) (AvgDis)
					</comment>
					</textvar>

				<textvar name="TopSoilMoistureMaps" value="$(PathOut)/wt">
					<comment>
					Reported Topsoil moisture [%]
					</comment>
				</textvar>

				<textvar name="SurfaceSoilMoistureMaps" value="$(PathOut)/wta">
					<comment>
					Reported Topsoil moisture [%]
					</comment>
				</textvar>

				<textvar name="DisMaps" value="$(PathOut)/q">
					<comment>
					Reported discharge [cu m/s] at the end of a timestep
					</comment>
				</textvar>

				<textvar name="MaskDischargeMaps" value="$(PathOut)/dism">
					<comment>
					Reported discharge [cu m/s] but cut by a discharge mask map
					</comment>
				</textvar>

				<textvar name="WaterLevelMaps" value="$(PathOut)/wl">
					<comment>
					Reported water level [m]  % False by default
					</comment>
				</textvar>

				<!--state variables at selected time steps-->
				<group>
					<comment>
						The variable "repStateMaps" (lfoptions) activates the generation of these maps.
						The time steps to be reported are set through the variable "ReportSteps" (lfuser)
						Only for initialisation of succeeding runs
					</comment>

					<textvar name="Theta1State" value="$(PathOut)/tha">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2State" value="$(PathOut)/thb">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3State" value="$(PathOut)/thc">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 2 (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZState" value="$(PathOut)/uz">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

					<textvar name="LZState" value="$(PathOut)/lz">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="DSLRState" value="$(PathOut)/dslr">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="WaterDepthState" value="$(PathOut)/wdept">
						<comment>
						Reported water depth
						</comment>
					</textvar>

					<textvar name="OFDirectState" value="$(PathOut)/ofdir">
						<comment>
						Reported overland flow water volume [m3] for direct fraction on catchment surface
						</comment>
					</textvar>

					<textvar name="OFOtherState" value="$(PathOut)/ofoth">
						<comment>
						Reported overland flow water volume [m3] for other fraction on catchment surface
						</comment>
					</textvar>

					<textvar name="OFForestState" value="$(PathOut)/offor">
						<comment>
						Reported overland flow water volume [m3] for forest fraction on catchment surface
						</comment>
					</textvar>

					<textvar name="ChanCrossSectionState" value="$(PathOut)/chcro">
						<comment>
						Reported chan cross-section area [m2]
						</comment>
					</textvar>

					<textvar name="SnowCoverAState" value="$(PathOut)/scova">
						<comment>
						Reported snow cover in snow zone A [mm]
						</comment>
					</textvar>

					<textvar name="SnowCoverBState" value="$(PathOut)/scovb">
						<comment>
						Reported snow cover in snow zone B [mm]
						</comment>
					</textvar>

					<textvar name="SnowCoverCState" value="$(PathOut)/scovc">
						<comment>
						Reported snow cover in snow zone C [mm]
						</comment>
					</textvar>

					<textvar name="FrostIndexState" value="$(PathOut)/frost">
						<comment>
						Reported frost index [degC/day]
						</comment>
					</textvar>

					<textvar name="CumInterceptionState" value="$(PathOut)/cum">
						<comment>
						Reported interception storage [mm]
						</comment>
					</textvar>

					<textvar name="CrossSection2State" value="$(PathOut)/ch2cr">
						<comment>
						Reported cross section area 2nd line of routing [m2]
						</comment>
					</textvar>

					<textvar name="ChSideState" value="$(PathOut)/chside">
						<comment>
						Reported channel side flow [m2/s]
						</comment>
					</textvar>

					<textvar name="ChanQState" value="$(PathOut)/chanq">
						<comment>
						Reported istantaneous discharge at end of computation step [cu m/s] ChanQ
						</comment>
					</textvar>

					<textvar name="DSLRForestState" value="$(PathOut)/dslrf">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="CumInterceptionForestState" value="$(PathOut)/cumf">
						<comment>
						Reported interception storage [mm]
						</comment>
					</textvar>

					<textvar name="Theta1ForestState" value="$(PathOut)/thfa">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2ForestState" value="$(PathOut)/thfb">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3ForestState" value="$(PathOut)/thfc">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 2 (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZForestState" value="$(PathOut)/uzf">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

					<textvar name="CumIntSealedState" value="$(PathOut)/cseal">
						<comment>
						cumulative interception [mm]
						</comment>
					</textvar>

					<textvar name="DSLRIrrigationState" value="$(PathOut)/dslri">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="CumInterceptionIrrigationState" value="$(PathOut)/cumi">
						<comment>
						Reported interception storage [mm]
						</comment>
					</textvar>

					<textvar name="Theta1IrrigationState" value="$(PathOut)/thia">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2IrrigationState" value="$(PathOut)/thib">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3IrrigationState" value="$(PathOut)/thic">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 2 (lowerupper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZIrrigationState" value="$(PathOut)/uzi">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

					<textvar name="TaOtherMaps" value="$(PathOut)/Ta_other">
						<comment>
						Reported transpiration maps, other fraction [mm]
						</comment>
					</textvar>

					<textvar name="TaForestMapa" value="$(PathOut)/Ta_forest">
						<comment>
						Reported transpiration maps, forest fraction [mm]
						</comment>
					</textvar>

					<textvar name="TaIrrigationMaps" value="$(PathOut)/Ta_irr">
						<comment>
						Reported transpiration maps, irrigated fraction [mm]
						</comment>
					</textvar>

					<textvar name="TaPixelMaps" value="$(PathOut)/Ta_pixel">
						<comment>
						Reported transpiration maps, weighted sum over the fractions of each pixel [mm]
						</comment>
					</textvar>

				</group>

				<!--"end" maps, a.k.a. reported output maps called "end"-->
				<group>
					<comment>
						The variable "repEndMaps" (lfoptions) activates the generation of these maps
						Same as above, but always at last time step
						Support for these "end" maps will most likely be discontinued some time soon
					</comment>

					<textvar name="Theta1End" value="$(PathOut)/tha_end">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2End" value="$(PathOut)/thb_end">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3End" value="$(PathOut)/thc_end">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 2 (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZEnd" value="$(PathOut)/uz_end">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

					<textvar name="LZEnd" value="$(PathOut)/lz_end">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="DSLREnd" value="$(PathOut)/dslr_end">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="WaterDepthEnd" value="$(PathOut)/wdept_end">
						<comment>
						Reported water depth [m]
						</comment>
					</textvar>

					<textvar name="OFDirectEnd" value="$(PathOut)/ofdir_end">
						<comment>
						Reported overland flow water volume [m3] for direct fraction on catchment surface
						</comment>
					</textvar>

					<textvar name="OFOtherEnd" value="$(PathOut)/ofoth_end">
						<comment>
						Reported overland flow water volume [m3] for other fraction on catchment surface
						</comment>
					</textvar>

					<textvar name="OFForestEnd" value="$(PathOut)/offor_end">
						<comment>
						Reported overland flow water volume [m3] for forest fraction on catchment surface
						</comment>
					</textvar>

					<textvar name="ChanCrossSectionEnd" value="$(PathOut)/chcro_end">
						<comment>
						Reported chan cross-section area [m2]
						</comment>
					</textvar>

					<textvar name="SnowCoverAEnd" value="$(PathOut)/scova_end">
						<comment>
						Reported snow cover in snow zone A [mm]
						</comment>
					</textvar>

					<textvar name="SnowCoverBEnd" value="$(PathOut)/scovb_end">
						<comment>
						Reported snow cover in snow zone B [mm]
						</comment>
					</textvar>

					<textvar name="SnowCoverCEnd" value="$(PathOut)/scovc_end">
						<comment>
						Reported snow cover in snow zone C [mm]
						</comment>
					</textvar>

					<textvar name="FrostIndexEnd" value="$(PathOut)/frost_end">
						<comment>
						Reported frost index [degC/day]
						</comment>
					</textvar>

					<textvar name="CumInterceptionEnd" value="$(PathOut)/cum_end">
						<comment>
						Reported interception storage [mm]
						</comment>
					</textvar>

					<textvar name="LakeLevelEnd" value="$(PathOut)/lakeh_end">
						<comment>
						Reported lake level [m]
						</comment>
					</textvar>

					<textvar name="LakePrevInflowEnd" value="$(PathOut)/lakeprevinq_end">
						<comment>
						Reported lake inflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
						-9999 sets initial value equal to PrevDischarge (ChanQ(t))
						</comment>
					</textvar>

					<textvar name="LakePrevOutflowEnd" value="$(PathOut)/lakeprevoutq_end">
						<comment>
						Reported lake outflow at previous routing sub-step (ChanQ(t-1)) [m3/s]
						-9999 sets initial value
						</comment>
					</textvar>

					<textvar name="LakeStorageM3" value="$(PathOut)/lakest_end">
						<comment>
						Reported lake storage [m3]
						</comment>
					</textvar>

					<textvar name="ReservoirFillEnd" value="$(PathOut)/rsfil_end">
						<comment>
						Reported reservoir filling [-]
						</comment>
					</textvar>

					<textvar name="CrossSection2End" value="$(PathOut)/ch2cr_end">
						<comment>
						Reported cross section area 2nd line of rounting [m2]
						</comment>
					</textvar>

					<textvar name="ChSideEnd" value="$(PathOut)/chside_end">
						<comment>
						Reported channel side flow [m2/s]
						</comment>
					</textvar>

					<textvar name="ChanQEnd" value="$(PathOut)/chanq_end">
						<comment>
						Reported istantaneous discharge at end of computation step [cu m/s] ChanQ
						</comment>
					</textvar>

					<textvar name="DischargeEnd" value="$(PathOut)/dis_end">
						<comment>
						Reported discharge [cu m/s] (average over the model timesteps) (AvgDis)
						</comment>
					</textvar>

					<textvar name="DSLRForestEnd" value="$(PathOut)/dslrf_end">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="CumInterceptionForestEnd" value="$(PathOut)/cumf_end">
						<comment>
						Reported interception storage [mm]
						</comment>
					</textvar>

					<textvar name="Theta1ForestEnd" value="$(PathOut)/thfa_end">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2ForestEnd" value="$(PathOut)/thfb_end">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3ForestEnd" value="$(PathOut)/thfc_end">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 2 (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZForestEnd" value="$(PathOut)/uzf_end">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

					<textvar name="CumIntSealedEnd" value="$(PathOut)/cseal_end">
						<comment>
						cumulative interception [mm]
						</comment>
					</textvar>

					<textvar name="DSLRIrrigationEnd" value="$(PathOut)/dslri_end">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="CumInterceptionIrrigationEnd" value="$(PathOut)/cumi_end">
						<comment>
						Reported interception storage [mm]
						</comment>
					</textvar>

					<textvar name="Theta1IrrigationEnd" value="$(PathOut)/thia_end">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2IrrigationEnd" value="$(PathOut)/thib_end">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3IrrigationEnd" value="$(PathOut)/thic_end">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 1c (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZIrrigationEnd" value="$(PathOut)/uzi_end">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

				</group>

				<!--individual driving meteorological variables (at every timestep)-->
				<group>

					<comment>
					only if reporting of each respective variable is switched on
						default: all switched off
					Note reporting is done as a quantity per time step, not as
					an intensity (as in meteo input!)
					</comment>

					<textvar name="PrecipitationMapsOut" value="$(PathOut)/pr">
						<comment>
						Precipitation [mm per time step]
						</comment>
					</textvar>

					<textvar name="TavgMapsOut" value="$(PathOut)/tav">
						<comment>
						Average DAILY temperature [degrees C]
						</comment>
					</textvar>

					<textvar name="ETRefMapsOut" value="$(PathOut)/et">
						<comment>
						Potential reference evapotranspiration [mm per time step]
						</comment>
					</textvar>

					<textvar name="ESRefMapsOut" value="$(PathOut)/es">
						<comment>
						Potential evaporation from bare soil surface [mm per time step]
						</comment>
					</textvar>

					<textvar name="EWRefMapsOut" value="$(PathOut)/ew">
						<comment>
						Potential evaporation from open water surface [mm per time step]
						</comment>
					</textvar>

				</group>

				<!--individual state variables (at every timestep)-->
				<group>
					<comment>
					only if reporting of each respective variable is switched on
						default: all switched off
					</comment>

					<textvar name="Theta1Maps" value="$(PathOut)/tha">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2Maps" value="$(PathOut)/thb">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3Maps" value="$(PathOut)/thc">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 2 (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="ThetaMaps" value="$(PathOut)/th">
						<comment>
						Reported volumetric soil moisture content for  combined
						soil layer 1 and 2 [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZMaps" value="$(PathOut)/uz">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

					<textvar name="LZMaps" value="$(PathOut)/lz">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="LZMaps0" value="$(PathOut)/lzn">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="LZMaps1" value="$(PathOut)/lz1">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="LZMaps2" value="$(PathOut)/lz2">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="LZMaps3" value="$(PathOut)/lz3">
						<comment>
						Reported storage in lower response box [mm]
						</comment>
					</textvar>

					<textvar name="DSLRMaps" value="$(PathOut)/dslr">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="WaterDepthMaps" value="$(PathOut)/wdept">
						<comment>
						Reported water depth [m]
						</comment>
					</textvar>

					<textvar name="OFDirectMaps" value="$(PathOut)/ofdir">
						<comment>
						Reported overland flow water volume [m3] for direct runoff fraction on catchment surfac
						</comment>
					</textvar>

					<textvar name="OFOtherMaps" value="$(PathOut)/ofoth">
						<comment>
						Reported overland flow water volume [m3] for other fraction on catchment surfac
						</comment>
					</textvar>

					<textvar name="OFForestMaps" value="$(PathOut)/offor">
						<comment>
						Reported overland flow water volume [m3] for forest fraction on catchment surfac
						</comment>
					</textvar>

					<textvar name="ChanCrossSectionMaps" value="$(PathOut)/chcro">
						<comment>
						Reported channel cross-section area [m2]
						</comment>
					</textvar>

					<textvar name="SnowCoverMaps" value="$(PathOut)/scov">
						<comment>
						Reported snow cover [mm]
						</comment>
					</textvar>

					<textvar name="FrostIndexMaps" value="$(PathOut)/frost">
						<comment>
						Reported frost index [degC/day]
						</comment>
					</textvar>

					<textvar name="CumInterceptionMaps" value="$(PathOut)/cum">
						<comment>
						Reported interception storage, other fraction [mm]
						</comment>
					</textvar>


					<textvar name="DSLRForestMaps" value="$(PathOut)/dslrf">
						<comment>
						Reported days since last rain
						</comment>
					</textvar>

					<textvar name="CumInterceptionForestMaps" value="$(PathOut)/cumf">
						<comment>
						Reported interception storage, forest fraction [mm]
						</comment>
					</textvar>

					<textvar name="Theta1ForestMaps" value="$(PathOut)/thfa">
						<comment>
						Reported volumetric soil moisture content for
						soil layer 1a (superficial layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta2ForestMaps" value="$(PathOut)/thfb">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 1b (upper layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="Theta3ForestMaps" value="$(PathOut)/thfc">
						<comment>
						Reported volumetric soil moisture content for both
						soil layer 2 (lower layer) [V/V] [mm3/mm3]
						</comment>
					</textvar>

					<textvar name="UZForestMaps" value="$(PathOut)/uzF">
						<comment>
						Reported storage in upper response box [mm]
						</comment>
					</textvar>

				</group>

				<!--individual rate variables (at every timestep)-->
				<group>

					<comment>
					only if reporting of each respective variable is switched on
						default: all switched off
					</comment>

					<textvar name="RainMaps" value="$(PathOut)/rain">
					<comment>
					Reported rain (excluding snow)[mm]
					</comment>
					</textvar>

					<textvar name="SnowMaps" value="$(PathOut)/snow">
					<comment>
					Reported snow (excluding rain)[mm]
					</comment>
					</textvar>

					<textvar name="SnowMeltMaps" value="$(PathOut)/smelt">
					<comment>
					Reported snowmelt [mm]
					</comment>
					</textvar>

					<textvar name="InterceptionMaps" value="$(PathOut)/int">
					<comment>
					Reported interception [mm]
					</comment>
					</textvar>

					<textvar name="TaMaps" value="$(PathOut)/tact">
					<comment>
					Reported transpiration [mm]
					</comment>
					</textvar>

					<textvar name="ESActMaps" value="$(PathOut)/esact">
					<comment>
					Reported soil evaporation [mm]
					</comment>
					</textvar>

					<textvar name="EWIntMaps" value="$(PathOut)/ewint">
					<comment>
					Reported evaporation of intercepted water [mm]
					</comment>
					</textvar>

					<textvar name="ETActMaps" value="$(PathOut)/etact">
					<comment>
					Reported actual evapotranspiration [mm]
					</comment>
					</textvar>

					<textvar name="LeafDrainageMaps" value="$(PathOut)/ldra">
					<comment>
					Reported leaf drainage [mm]
					</comment>
					</textvar>

					<textvar name="InfiltrationMaps" value="$(PathOut)/inf">
					<comment>
					Reported infiltration [mm]
					</comment>
					</textvar>

					<textvar name="PrefFlowMaps" value="$(PathOut)/pflow">
					<comment>
					Reported preferential flow [mm]
					</comment>
					</textvar>

					<textvar name="Percolation1ato1bOtherMaps" value="$(PathOut)/Percolation1ato1bOther">
					<comment>
					Reported percolation from soil layer 1a to soil layer 1b, other fraction  [mm]
					</comment>
					</textvar>

					<textvar name="Percolation1ato1bForestMaps" value="$(PathOut)/Percolation1ato1bForest">
					<comment>
					Reported percolation from soil layer 1a to soil layer 1b, forest fraction  [mm]
					</comment>
					</textvar>

					<textvar name="Percolation1ato1bIrrigationMaps" value="$(PathOut)/Percolation1ato1bIrrigation">
					<comment>
					Reported percolation from soil layer 1a to soil layer 1b, irrigation fraction  [mm]
					</comment>
					</textvar>

					<textvar name="Percolation1bto2OtherMaps" value="$(PathOut)/Percolation1bto2Other">
					<comment>
					Reported percolation from soil layer 1b to soil layer 2, other fraction  [mm]
					</comment>
					</textvar>

					<textvar name="Percolation1bto2ForestMaps" value="$(PathOut)/Percolation1bto2Forest">
					<comment>
					Reported percolation from soil layer 1b to soil layer 2, forest fraction  [mm]
					</comment>
					</textvar>

					<textvar name="Percolation1bto2IrrigationMaps" value="$(PathOut)/Percolation1bto2Irrigation">
					<comment>
					Reported percolation from soil layer 1b to soil layer 2, irrigation fraction  [mm]
					</comment>
					</textvar>

					<textvar name="SeepSubToGWOtherMaps" value="$(PathOut)/sgwOther">
					<comment>
					Reported seepage to groundwater(from soil layer 2 to groundwater), other fraction [mm]
					</comment>
					</textvar>

					<textvar name="SeepSubToGWForestMaps" value="$(PathOut)/sgwForest">
					<comment>
					Reported seepage to groundwater(from soil layer 2 to groundwater), forest fraction [mm]
					</comment>
					</textvar>

					<textvar name="SeepSubToGWIrrigationMaps" value="$(PathOut)/sgwIrrigation">
					<comment>
					Reported seepage to groundwater(from soil layer 2 to groundwater), irrigation fraction [mm]
					</comment>
					</textvar>

					<textvar name="SeepSubToGWMaps" value="$(PathOut)/sgwPixel">
					<comment>
					Reported seepage to groundwater(from soil layer 2 to groundwater), weighted sum over the fraction of each pixel [mm]
					</comment>
					</textvar>

					<textvar name="AvailGWMaps" value="$(PathOut)/agw">
						<comment>
						Reported available groundwater LZ + GWLoss [mm]
						</comment>
					</textvar>

					<textvar name="SurfaceRunoffMaps" value="$(PathOut)/srun">
					<comment>
					Reported surface runoff [mm]
					</comment>
					</textvar>

					<textvar name="UZOutflowMaps" value="$(PathOut)/quz">
					<comment>
					Reported upper zone outflow [mm]
					</comment>
					</textvar>

					<textvar name="LZOutflowMaps" value="$(PathOut)/qlz">
						<comment>
						Reported lower zone outflow [mm]
						</comment>
					</textvar>

					<textvar name="FastRunoffMaps" value="$(PathOut)/frun">
					<comment>
					Reported fast runoff = surface + UZ [mm]
					</comment>
					</textvar>

					<textvar name="GwLossMaps" value="$(PathOut)/gwl">
					<comment>
					Reported GWloss [mm]
					</comment>
					</textvar>

					<textvar name="TotalRunoffMaps" value="$(PathOut)/trun">
					<comment>
					Reported total runoff [mm]
					</comment>
					</textvar>

					<textvar name="TotalToChanMaps" value="$(PathOut)/ttoc">
					<comment>
					Reported total runoff that enters the channel: groundwater + surface runoff [mm]
					</comment>
					</textvar>

					<textvar name="DirectRunoffMaps" value="$(PathOut)/dirrun">
					<comment>
					Reported Direct Runoff [mm]
					</comment>
					</textvar>

					<textvar name="FlowVelocityMSecMaps" value="$(PathOut)/v">
					<comment>
					Reported FlowVelocityMSecMaps [m/s]
					</comment>
					</textvar>

					<textvar name="TravelDistanceMMaps" value="$(PathOut)/trdistm">
					<comment>
					Reported TravelDistance [m]
					</comment>
					</textvar>

					<textvar name="GwPercUZLZMaps" value="$(PathOut)/uz2lz">
						<comment>
						Reported percolation from upper to lower groundwater zone [mm]
						</comment>
					</textvar>

					<textvar name="EWIntForestMaps" value="$(PathOut)/ewintF">
					<comment>
					Reported evaporation of intercepted water [mm]
					</comment>
					</textvar>

					<textvar name="ESActForestMaps" value="$(PathOut)/esactF">
					<comment>
					Reported soil evaporation [mm]
					</comment>
					</textvar>

					<textvar name="LeafDrainageForestMaps" value="$(PathOut)/ldraF">
					<comment>
					Reported leaf drainage Forest[mm]
					</comment>
					</textvar>

					<textvar name="InterceptionForestMaps" value="$(PathOut)/intF">
					<comment>
					Reported interception forest [mm]
					</comment>
					</textvar>

					<textvar name="InfiltrationForestMaps" value="$(PathOut)/infF">
					<comment>
					Reported infiltration [mm]
					</comment>
					</textvar>

					<textvar name="TaForestMaps" value="$(PathOut)/tactF">
					<comment>
					Reported transpiration forest [mm]
					</comment>
					</textvar>

					<textvar name="PrefFlowForestMaps" value="$(PathOut)/pflowF">
					<comment>
					Reported preferential flow [mm]
					</comment>
					</textvar>

					<textvar name="PercolationForestMaps" value="$(PathOut)/to2suF">
					<comment>
					Reported percolation from 1st to 2nd soil layer [mm]
					</comment>
					</textvar>

					<textvar name="SeepSubToGWForestMaps" value="$(PathOut)/sgwF">
					<comment>
					Reported seepage to groundwater[mm]
					</comment>
					</textvar>

					<textvar name="UZOutflowForestMaps" value="$(PathOut)/quzF">
					<comment>
					Reported upper zone outflow [mm]
					</comment>
					</textvar>

					<textvar name="GwPercUZLZForestMaps" value="$(PathOut)/uz2lzF">
						<comment>
						Reported percolation from upper to lower zone [mm]
						</comment>
					</textvar>

					<textvar name="GwPercLossForestMaps" value="$(PathOut)/lossF">
					<comment>
					Reported loss from lower zone [mm]
					</comment>
					</textvar>

					<textvar name="GwPercLossMaps" value="$(PathOut)/loss">
					<comment>
					Reported loss from lower zone [mm]
					</comment>
					</textvar>

					<textvar name="Theta1IrrigationMaps" value="$(PathOut)/thia">
					<comment>
					Reported volumetric soil moisture content for
					soil layer 1a [V/V] [mm3/mm3]
					</comment>
					</textvar>

					<textvar name="Theta2IrrigationMaps" value="$(PathOut)/thib">
					<comment>
					Reported volumetric soil moisture content for both
					soil layer 1b [V/V] [mm3/mm3]
					</comment>
					</textvar>

					<textvar name="Theta3IrrigationMaps" value="$(PathOut)/thic">
					<comment>
					Reported volumetric soil moisture content for both
					soil layer 2 [V/V] [mm3/mm3]
					</comment>
					</textvar>

				</group>

				<!--miscellaneous output maps and timeseries-->
				<group>

					<textvar name="LZAvInflowTS" value="$(PathOut)/lzAvIn.tss">
						<comment>
						Time series of average percolation rate from upper to
						lower groundwater zone (reported at sites) [mm/day]
						</comment>
					</textvar>

					<textvar name="LZAvInflowAvUpsTS" value="$(PathOut)/lzAvInUps.tss">
						<comment>
						Time series of average percolation rate from upper to
						lower groundwater zone (average for upstream area of each gauge) [mm/day]
						</comment>
					</textvar>

					<textvar name="SMStressMap" value="$(PathOut)/smstress">
						<comment>
						Reported number of days in simulation with soil moisture stress [days]
						</comment>
					</textvar>

					<textvar name="SMStressForestMap" value="$(PathOut)/smstressForest">
						<comment>
						Reported number of days in simulation with soil moisture stress for forest fraction [days]
						</comment>
					</textvar>

					<textvar name="RWSMaps" value="$(PathOut)/rws">
						<comment>
						Reported soil transpiration reduction factor [-] for other landuse
						values below 1 indicate soil moisture stress
						</comment>
					</textvar>

					<textvar name="RWSForestMaps" value="$(PathOut)/rwsF">
						<comment>
						Reported soil transpiration reduction factor [-]
						values below 1 indicate soil moisture stress
						</comment>
					</textvar>

				</group>

			</group>

			<!--TIME SERIES-->
			<group>

				<textvar name="DisTS" value="$(PathOut)/disWin.tss">
					<comment>
					Reported discharge [cu m/s]
					</comment>
				</textvar>

				<textvar name="ChanqTS" value="$(PathOut)/chanqWin.tss">
					<comment>
					Reported discharge over last routing sub-step [m3/s]
					</comment>
				</textvar>

				<textvar name="WaterLevelTS" value="$(PathOut)/waterLevel.tss">
					<comment>
					Reported water level [m]
					</comment>
				</textvar>

				<!--output at sites: state variables-->
				<group>

					<textvar name="WaterDepthTS" value="$(PathOut)/wDepth.tss">
						<comment>
						Water depth on soil surface [mm]
						</comment>
					</textvar>

					<textvar name="SnowCoverTS" value="$(PathOut)/scov.tss">
						<comment>
						Depth of snow cover on soil surface [mm]
						</comment>
					</textvar>

					<textvar name="CumInterceptionTS" value="$(PathOut)/cumInt.tss">
						<comment>
						Water stored as interception [mm]
						</comment>
					</textvar>

					<textvar name="Theta1TS" value="$(PathOut)/th1a.tss">
						<comment>
						Soil moisture layer 1a [cu mm / cu mm]
						</comment>
					</textvar>

					<textvar name="Theta2TS" value="$(PathOut)/th1b.tss">
						<comment>
						Soil moisture layer 1b [cu mm / cu mm]
						</comment>
					</textvar>

					<textvar name="Theta3TS" value="$(PathOut)/th2.tss">
						<comment>
						Soil moisture layer 2 [cu mm / cu mm]
						</comment>
					</textvar>

					<textvar name="UZTS" value="$(PathOut)/uz.tss">
						<comment>
						Storage in upper groundwater zone [mm]
						</comment>
					</textvar>

					<textvar name="LZTS" value="$(PathOut)/lz.tss">
						<comment>
						Storage in lower groundwater zone [mm]
						</comment>
					</textvar>

					<textvar name="DSLRTS" value="$(PathOut)/dslr.tss">
						<comment>
						Days since last rain [days]
						</comment>
					</textvar>

					<textvar name="FrostIndexTS" value="$(PathOut)/frost.tss">
						<comment>
						Frost index [degC/day]
						</comment>
					</textvar>

					<textvar name="DSLRTSForest" value="$(PathOut)/dslrForest.tss">
						<comment>
						Days since last rain [days]
						</comment>
					</textvar>

				</group>

				<!--output at sites: rate variables-->
				<group>

					<textvar name="RainTS" value="$(PathOut)/rain.tss">
						<comment>
						Rain (excluding snow) [mm]
						</comment>
					</textvar>

					<textvar name="SnowTS" value="$(PathOut)/snow.tss">
						<comment>
						Snow (excluding rain) [mm]
						</comment>
					</textvar>

					<textvar name="SnowmeltTS" value="$(PathOut)/snowMelt.tss">
						<comment>
						Reported snowmelt [mm]
						</comment>
					</textvar>

					<textvar name="InterceptionTS" value="$(PathOut)/interception.tss">
						<comment>
						Reported interception [mm]
						</comment>
					</textvar>

					<textvar name="TaTS" value="$(PathOut)/tAct.tss">
						<comment>
						Reported transpiration [mm]
						</comment>
					</textvar>

					<textvar name="ESActTS" value="$(PathOut)/esAct.tss">
						<comment>
						Reported soil evaporation [mm]
						</comment>
					</textvar>

					<textvar name="EWIntTS" value="$(PathOut)/ewIntAct.tss">
						<comment>
						Reported evaporation from interception storage [mm]
						</comment>
					</textvar>

					<textvar name="LeafDrainageTS" value="$(PathOut)/leafDrainage.tss">
						<comment>
						Reported leaf drainage [mm]
						</comment>
					</textvar>

					<textvar name="InfiltrationTS" value="$(PathOut)/infiltration.tss">
						<comment>
						Reported infiltration [mm]
						</comment>
					</textvar>

					<textvar name="PrefFlowTS" value="$(PathOut)/prefFlow.tss">
						<comment>
						Reported preferential flow [mm]
						</comment>
					</textvar>

					<textvar name="PercolationTS" value="$(PathOut)/dTopToSub.tss">
						<comment>
						Reported percolation from 1st to 2nd soil layer [mm]
						</comment>
					</textvar>

					<textvar name="SeepSubToGWTS" value="$(PathOut)/dSubToUz.tss">
						<comment>
						Reported seepage to groundwater[mm]
						</comment>
					</textvar>

					<textvar name="SurfaceRunoffTS" value="$(PathOut)/surfaceRunoff.tss">
						<comment>
						Reported surface runoff [mm]
						</comment>
					</textvar>

					<textvar name="UZOutflowTS" value="$(PathOut)/qUz.tss">
						<comment>
						Reported upper zone outflow [mm]
						</comment>
					</textvar>

					<textvar name="LZOutflowTS" value="$(PathOut)/qLz.tss">
						<comment>
						Reported lower zone outflow [mm]
						</comment>
					</textvar>

					<textvar name="TotalRunoffTS" value="$(PathOut)/totalRunoff.tss">
						<comment>
						Reported total runoff [mm]
						</comment>
					</textvar>

					<textvar name="GwPercUZLZTS" value="$(PathOut)/percUZLZ.tss">
						<comment>
						Reported percolation from upper to lower zone [mm]
						</comment>
					</textvar>

					<textvar name="GwLossTS" value="$(PathOut)/loss.tss">
						<comment>
						Reported loss from lower zone [mm]
						</comment>
					</textvar>

				</group>

				<!--average values upstream of gauges: meteorological forcing-->
				<group>
					<comment>
					only if repMeteoUpsGauges option is activated
					</comment>

					<textvar name="PrecipitationAvUpsTS" value="$(PathOut)/precipUps.tss">
					<comment>
					Precipitation [mm/time step]
					</comment>
					</textvar>

					<textvar name="TavgAvUpsTS" value="$(PathOut)/tAvgUps.tss">
					<comment>
					Average temperature  [deg C]
					</comment>
					</textvar>

					<textvar name="ETRefAvUpsTS" value="$(PathOut)/etUps.tss">
					<comment>
					Reference evapotranspiration [mm/time step]
					</comment>
					</textvar>

					<textvar name="ESRefAvUpsTS" value="$(PathOut)/esUps.tss">
					<comment>
					Potential soil evaporation [mm/time step]
					</comment>
					</textvar>

					<textvar name="EWRefAvUpsTS" value="$(PathOut)/ewUps.tss">
					<comment>
					Potential open water evaporation [mm/time step]
					</comment>
					</textvar>

				</group>

				<!--average values upstream of gauges: state variables-->
				<group>
					<comment>
					only if repStateUpsGauges option is activated
					</comment>

					<textvar name="WaterDepthAvUpsTS" value="$(PathOut)/wDepthUps.tss">
					<comment>
					Water depth on soil surface [mm]
					</comment>
					</textvar>

					<textvar name="SnowCoverAvUpsTS" value="$(PathOut)/scovUps.tss">
						<comment>
						Depth of snow cover on soil surface [mm]
						</comment>
					</textvar>

					<textvar name="CumInterceptionAvUpsTS" value="$(PathOut)/cumInterceptionUps.tss">
					<comment>
					Water stored as interception [mm]
					</comment>
					</textvar>

					<textvar name="Theta1AvUpsTS" value="$(PathOut)/thTopUps.tss">
					<comment>
					Soil moisture upper layer [mm3/mm3]
					</comment>
					</textvar>

					<textvar name="Theta2AvUpsTS" value="$(PathOut)/thSubUps.tss">
					<comment>
					Soil moisture lower layer [mm3/mm3]
					</comment>
					</textvar>

					<textvar name="UZAvUpsTS" value="$(PathOut)/uzUps.tss">
						<comment>
						Storage in upper groundwater zone [mm]
						</comment>
					</textvar>

					<textvar name="LZAvUpsTS" value="$(PathOut)/lzUps.tss">
						<comment>
						Storage in lower groundwater zone [mm]
						</comment>
					</textvar>

					<textvar name="DSLRAvUpsTS" value="$(PathOut)/dslrUps.tss">
					<comment>
					Days since last rain [days]
					</comment>
					</textvar>

					<textvar name="FrostIndexAvUpsTS" value="$(PathOut)/frostUps.tss">
					<comment>
					Frost index [degC/day]
					</comment>
					</textvar>

					<textvar name="DSLRForestAvUpsTS" value="$(PathOut)/dslrUpsForest.tss">
					<comment>
					Days since last rain [days]
					</comment>
					</textvar>

				</group>

				<!--average values upstream of gauges: rate variables-->
				<group>

					<comment>
					only if repRateUpsGauges option is activated
					</comment>

					<textvar name="RainAvUpsTS" value="$(PathOut)/rainUps.tss">
					<comment>
					Rain (excluding snow) [mm]
					</comment>
					</textvar>

					<textvar name="SnowAvUpsTS" value="$(PathOut)/snowUps.tss">
					<comment>
					Snow (excluding rain) [mm]
					</comment>
					</textvar>

					<textvar name="SnowmeltAvUpsTS" value="$(PathOut)/snowMeltUps.tss">
					<comment>
					Snow melt [mm]
					</comment>
					</textvar>

					<textvar name="InterceptionAvUpsTS" value="$(PathOut)/interceptionUps.tss">
					<comment>
					Interception [mm]
					</comment>
					</textvar>

					<textvar name="TaAvUpsTS" value="$(PathOut)/tActUps.tss">
					<comment>
					Actual transpiration [mm]
					</comment>
					</textvar>

					<textvar name="ESActAvUpsTS" value="$(PathOut)/esActUps.tss">
					<comment>
					Actual evaporation [mm]
					</comment>
					</textvar>

					<textvar name="EWIntAvUpsTS" value="$(PathOut)/ewIntActUps.tss">
					<comment>
					Evaporation from interception storage [mm]
					</comment>
					</textvar>

					<textvar name="LeafDrainageAvUpsTS" value="$(PathOut)/leafDrainageUps.tss">
					<comment>
					Leaf drainage [mm]
					</comment>
					</textvar>

					<textvar name="InfiltrationAvUpsTS" value="$(PathOut)/infUps.tss">
					<comment>
					Infiltration [mm]
					</comment>
					</textvar>

					<textvar name="PrefFlowAvUpsTS" value="$(PathOut)/prefFlowUps.tss">
					<comment>
					Preferential flow [mm]
					</comment>
					</textvar>

					<textvar name="PercolationAvUpsTS" value="$(PathOut)/dTopToSubUps.tss">
					<comment>
					Percolation upper to lower soil layer [mm]
					</comment>
					</textvar>

					<textvar name="SeepSubToGWAvUpsTS" value="$(PathOut)/dSubToUzUps.tss">
					<comment>
					Seepage from lower soil layer to groundwater [mm]
					</comment>
					</textvar>

					<textvar name="SurfaceRunoffAvUpsTS" value="$(PathOut)/surfaceRunoffUps.tss">
						<comment>
						Surface runoff [mm]
						</comment>
					</textvar>

					<textvar name="UZOutflowAvUpsTS" value="$(PathOut)/qUzUps.tss">
						<comment>
						Outflow from upper groundwater zone (to channel) [mm]
						</comment>
					</textvar>

					<textvar name="LZOutflowAvUpsTS" value="$(PathOut)/qLzUps.tss">
						<comment>
						Outflow from lower groundwater zone (to channel) [mm]
						</comment>
					</textvar>

					<textvar name="TotalRunoffAvUpsTS" value="$(PathOut)/totalRunoffUps.tss">
					<comment>
					Total runoff [mm]
					</comment>
					</textvar>

					<textvar name="GwPercUZLZAvUpsTS" value="$(PathOut)/percUZLZUps.tss">
						<comment>
						Reported percolation from upper to lower groundwater zone [mm]
						</comment>
					</textvar>

					<textvar name="GwLossAvUpsTS" value="$(PathOut)/lossUps.tss">
						<comment>
						Reported loss from lower zone [mm]
						</comment>
					</textvar>

				</group>

				<!--numerics-->
				<group>

					<textvar name="WaterMassBalanceTSS" value="$(PathOut)/mbError.tss">
						<comment>
						Reported mass balance error at outlet [cu m]
						</comment>
					</textvar>

					<textvar name="MassBalanceMMTSS" value="$(PathOut)/mbErrorMm.tss">
						<comment>
						Reported mass balance error at outlet (as mm water slice)
						</comment>
					</textvar>

					<textvar name="MassBalanceErrorSplitRoutingTSS" value="$(PathOut)/mbErrorSplitRoutingM3.tss">
						<comment>
						Reported mass balance error due to the split routing module, for each catchment [m3]
						</comment>
					</textvar>

					<textvar name="OutletDischargeErrorSplitRoutingTSS" value="$(PathOut)/OutletDischargeErrorSplitRoutingM3S.tss">
						<comment>
						Reported discharge error at the outlet as a consequence of the mass balance error within the split routing module, for each catchment [m3/s]
						</comment>
					</textvar>

					<textvar name="MBErrorStorageRatioTSS" value="$(PathOut)/MBErrorStorageRatio.tss">
						<comment>
						Reported ratio between the mass balance error and the water volume storage, for each catchment [m3/m3]
						</comment>
					</textvar>

					<textvar name="AverageFractionsCatchmentTSS" value="$(PathOut)/AverageFractionsCatchment.tss">
						<comment>
						Average value of the sum of the fractions within a catchment: this value must be 1.0 in order to avoid mass balace errors! [-]
						</comment>
					</textvar>

					<textvar name="Th1LTResTS" value="$(PathOut)/thTopLtRes.tss">
						<comment>
						Number of cells with Theta lower than
						residual soil moisture content
						(should ALWAYS be zero, if not something is
						seriously wrong!!!)
						TEST ONLY!! REMOVE OR HIDE IN FINAL VERSION!!
						</comment>
					</textvar>

					<textvar name="Th2LTResTS" value="$(PathOut)/thSubLtRes.tss">
						<comment>
						Number of cells with Theta lower than
						residual soil moisture content
						(should ALWAYS be zero, if not something is
						seriously wrong!!!)
						TEST ONLY!! REMOVE OR HIDE IN FINAL VERSION!!
						</comment>
					</textvar>

					<textvar name="StepsSoilTS" value="$(PathOut)/stepsSoil.tss">
						<comment>
						Number of sub-steps needed for soil moisture
						routine
						</comment>
					</textvar>

				</group>

			</group>

		</group>


	</lfbinding>


	<prolog>
		areamap MaskMap;
		timer StepStart StepEnd 1;
		ReportSteps=$(ReportSteps);
	</prolog>

</lfsettings>
