Check parameters for actual soil evaporation (lp,t1evap,epotdist) valid.
Check soil temperature reduction of evaporation, if used (tredA>0.0) parameters checked if positive/valid
Check water classes is of vegtype water for atmospheric deposition
Check atmospheric nitrogen deposition input not negative
Check atmospheric phosphorus deposition parameters not negative
Check that all branches source are in model set-up. TO LATE
Check that internal branches in multi-basin lakes have no ambigous input.
Check that production flow is given in some form; If qprod1<=0 then require qinfmed>=0, if qprod1>0 then require qprod2>=0.
Check dam build before removed
Check if reduced production flow (limqprod) at low water levels is correctly given (0-1).
Checks for positive regulation volume, production flow amplitude between zero and one, and minimum production flow not negative.
Check parameters for temporary delay of SS and PP from surface runoff and tile drains (pprelmax, pprelexp) greater or equal to zero
Check GeoData input (buffer, closewater) and parameters (bufffilt, innerfilt, otherfilt, macrofilt) used for filtering
For each petmodel present in model check its needed input
Check actual soil evaporation input and parameters valid; specifics elsewhere
Check floodplain model: FloodData file exist and tracer evaporation behaviour valid (t1evap>=0,<=1)
Check that each class with area that has a crop (and secondary crop) has information about that crop in CropData
Check that soil temperature is calculated (parameters set) for WQ-simulations.
Check soil water holding capacities: wcfc,wcwp and wcep between zero and one.
Check modeloptions within range: The modeloptions are checked for illegal choices of numbers
Check snow albedo parameter ranges: The snalbmin shall always be less than snalbmax as well as they shall never be a negative value.
Check that for all soil types and for their soillayers the sum of wilting point, field capacity and effective porosity are within the range greater than zero to less than or equal to one
Check soildepth: Check that all layers have an increasing depths (last layer can have the same depth as previous one)
Check soil type code greater than zero
Check landuse code greater than zero
Check that there is only one class defined for each special class: ilake, olake, glacier, mriver, lriver, iwet, owet.
Check that at least some subbasins have area greater than zero
Check that if subbasin area is positive, slc-fraction are given.
Check subbasin slope greater or equal to zero
Check river length greater or equal to zero
Check the sum of the slc fractions to be 1 with a tolerance of plus minus 0.1 percent
Check that lake depths, both ilake and olake, are positive.
Check that each secondary crop fraction is between zero and one.
Check that each and everyone of the slcs' fractions are greater or equal to zero
Check subbasin linkage (main and branch) and subbasin calculation order.
Check abstractions; outlet lake present when water is abstracted from that lake.
Check abstractions; no abstractions when no lakes are simulated
All glaciers in GeoData have index set
Check simulation period: positive number of time steps, output time steps and proper dates.
Check timeoutput and mapoutput variables for duplicates:
Check significant figures for rounding error of missing value (<4 signfigures):
Check lakebasin internal outlet linkage (only main).
Check that lakes and dams have rating curve set (if needed)
Check that lakes with two outlets have a branch defined
Check for valid ilake connectivity model options
Check for valid surface water temperature model options
Check that lakes and dams have larger depth than regulation depth
Check that input data are given for all irrigated subbasins (gw_part,local_eff).
Check that input data are given for all subbasins (subids,reciever).
Check that a defined regional source is in the model set-up
Check that input data (region_eff) are given for all subbasins irrigated by regional source.
Check that input data are given for all irrigated subbasins (subids).
Check and test initial values set larger or larger and equal to zero.
Check soil denitrification parameters larger or equal to zero.
Check and test parameters for nutrient soil pool transformations.
Check non point source/local rural household source: flow not negative, landarea present, nutrient concentration not negative (N and P)
Check application of plant residues: day of application >=0, amount >=0, fraction ploughed down and fraction of fast degrading type between 0 and 1.
Check fertilization input: day of application >0, amount of fertilization >=0, fraction ploughed dow to second soil layer between 0 and 1, period length of application between 0 and 366.
Check Pobs, Tobs, TMINobs, TMAXobs, RHobs, SFobs, SWobs, Uobs, UWobs, VWobs: checking station ids, timeperiods, consistency and missing or other negative illegal values if file is present
Check Pobs, Tobs, TMINobs, TMAXobs, RHobs, SFobs, SWobs, Uobs, UWobs, VWobs: checking station ids, timeperiods, consistency and missing or other negative illegal values if file is present
Check Qobs: checking timeperiods and positive values if file is present
Check Xoms: checking stations, timeperiods and positive values if file is present
Check Wobs: checking stations and timeperiods if file is present
Check Xobs: checking timeperiods and geodata connections if file is present
Check ForcKey: checking temperature elevations higher than lowest natural point
Check fraction of area given for secondary crops
Check wilting point water volume larger than zero.
Check CropData input for beginning and end of growing season, plant uptake (fraction from upper soil layer and NP-relation) as well as parameters for plant uptake set.
Check regulation volume: Regulation volume and varying threshold checked against lake depth
Check regulation settings: regvol and deltaw0 cannot be used together
Check river wetlands for correct input (area, depth and inflow part)
Check river flow model options: specifics elsewhere
Check river rating curve data. Coefficients of rating curve positive.
Check parameters and input data for hydraulic geometry. Parameters hygeomf, hygeomm, hygeomc, hygeomg positive.
Check that reservoirs in DamData has correct mode (dam)
Check that lakes in LakeData has increasing flushing interval (simple lakes)
Check that lakes in LakeData has correct mode (simple lakes)
Check multi-basin lake flushing interval is increasing (except for dayno which may be around new year).
Check that lakes in LakeData has correct mode (multi-basin lakes)
Check that reservoirs in DamData has increasing flushing interval (dam)
Check snow model: snow liquid fraction parameters set
Check snowfall model options; forcing data exist or threshold parameters set to calculate fraction of precipitation.
Check snowfall distribution model options; forcing data exist or threshold parameters set to calculate fraction of precipitation.
Check snow density model options; specifics elsewhere
Check snow evaporation model options; parameters set.
Check that soil leakage input is greater or equal to zero (not for T2 though) For modeloption soilleakage 3 only the data of the first year is checked.
Check that soil leakage input is greater or equal to zero (not for T2 though) or missing
Check that soil leakage input is greater or equal to zero (not for T2 though) or missing
Check that soil leakage input is greater or equal to zero (not for T2 though)
Check and test infiltration model options: specifics elsewhere
Check and test surfacerunoff model options: specifics elsewhere
Check and test frozen soil model options: specifics elsewhere
Check parameters for soil temperature (deepmem, surfmem larger than one timestep/day), and positive depth relationship (depthrel).
Check that soil temperature is calculated (parameters set) for WQ-simulations.
Check positive rating curve coefficients (rate,exp) and consistent sections
Check and test specified growthstart model for valid options: specific test specified elsewhere
Check plant uptake parameters larger or equal to zero, secondary crops given as input and wilting point above zero.
Check if erosion is simulated: parameters can be used to turn it off
Check specified erosion model for valid options
Check filtering of eroded material (and in future release pool): specific test specified elsewhere
Check deep groundwater percolation parameters (rcgrw,rcgrwst,aqpercorr) and path (grwtolake).
Check deep groundwater percolation parameters (rcgrw,rcgrwst,aqpercorr) and path (grwtolake).
Check aquifer i.e. deepgroundwater model 2: AquiferData file existance, percolation delay and return factor adjustment parameters set (aqdelcorr,aqretcorr >=-1), for nitrogen simulation a valid denitrification parameters (denitaq,hsatINsoil>=0).
Checks for erosionmodel 0: Existance of CropData.txt, allowed values for parameters for soil characteristics (soilcoh,soilerod,sreroexp, incorr,oncorr,phoscorr), crop cover and ground cover between zero and one.
Checks for erosion model 1: parameters for soil erosion (erodluse,erodsoil,erodslope,erodexp,erodindex), and erosion index for each subbasins
Check frozensoil model 1 and 2: positive parameters for frozen soil, ice expansion within (0,1) and soil temperature parameters set.
Check frozensoil model 0: No ice, but ice expansion parameter still used/checked.
Checks for growthstartmodel 1: degree day accumulation method, earliest starting date (firstday) and dayhour limit (daylength) for degreeday accumulation set (positive) as well as degreedaysum determining saw date (gddsow>0).
Checks for growthstartmodel 0: sowing date set
Checks for growthstartmodel 4: temperature over limit period, earliest starting date (firstday) as well as number of consequtive days (accdays>0).
Check latitude set and between +-90 degree, necessary for southern hemisphere and/or growthstart model 1
Check sum of macropore flow and saturated surface runoff fractions larger than zero
Check organic part of nitrogen atmospheric deposition is between zero and one.
Check infiltration model 1: frozen soil parameters have valid values (>=0).
Check ice breakup porosity parameters set positive and in range
Check ice freezing temperature not negative (licetf,ricetf)
Check lake and river ice parameters set (licekika,ricekika,licekexp, ricekexp,licetmelt,ricetmelt > 0) and that a water class exist.
Check for new heat transfer model (lakerivericemodel 2): heat transfer parameters correctly given (tcflake,scflake,tcfriver,scfriver >0 or ccfriver,lcfriver,ccflake,lcflake>0, and limt2exch>=0) stability parameters correct (stbcorr1-stbcorr3>=0)
Check for simple air-water temperature exchange model (lakerivericemodel 1): exchange parameters (t2trlake,t2trriver) valid (>0).
Check heat flux from water to ice (ricecwi,liceqhmn,riceqhmx,liceqhw>=0)
Check petmodel 5 (FAO Penman Monteith reference crop evapotranspiration): Temperature forcing valid, elevation and latitude given and evaporation parameters (kc,alb) valid. Additional forcing or parameters present.
Check petmodel 4 (Priestly Taylor): Temperature forcing valid, elevation and latitude given and evaporation parameters (kc,alb,alfapt) valid. Additional forcing or parameters present.
Check petmodel 2 (Modified Jensen-Haise/McGuinness following Oudin et al (2005)): Temperature forcing valid, latitude given and evaporation parameters (kc,jhtadd,jhtscale) valid
Check petmodel 1 (HYPE original model (without Xobs replacement)): Temperature forcing valid and evaporation rate parameter (cevp) positive.
Check petmodel 0 (HYPE original model (with Xobs replacement, if available)): Temperature forcing valid and evaporation rate parameter (cevp) positive.
Check petmodel 3 (Hargreaves-Samani): Temperature forcing valid, elevation and latitude given and evaporation parameters (kc,krs) valid. Additional forcing present.
Check that for all subbasins the fractions of clay, sand and silt are between zero and one
Check that for all subbasins the sum of fractions of clay, sand and silt are one (approximately)
Check snow density model 1 (depending on compactation factor): parameters set (sdnsrate,sdnsradd,sdnsmax)
Check snow density model 0 (depending on age of snow): parameters set (snowdensdt,ricesndens,licesndens)
Check temperature and radiation index model, with/without snowcover scaling and refreezing (snowmelt model option 2): parameters for snow melt set (snalbmin,snalbmax,snalbkexp,cmrad,cmrefr), forcing from solar radiation or minimum and maximum temperature or elevation and parameter (krs) given.
Check snowmelt coefficient and efficiency of snowcover fraction set (cmlt>=0,fsceff between zero and one)
Check surface runoff and macropore flow model parameters have valid values
Check surface runoff model 1: parameters set
Check surface runoff model 2: parameters set
Check surface runoff model 3: parameters set
Check sum of macropore flow and saturated surface runoff fractions less than or equal to one.