HYPE
All Classes Namespaces Files Functions Variables Pages
Test List
Subprogram model_test_routines::check_actual_soil_evapotranspiration ()

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

Subprogram model_test_routines::check_aquifers (status)
Check aquifer depth/volume parameters consistent
Subprogram model_test_routines::check_atmospheric_deposition (status)

Check water classes is of vegtype water for atmospheric deposition

Check atmospheric nitrogen deposition input not negative

Check atmospheric phosphorus deposition parameters not negative

Subprogram model_test_routines::check_branchdata_generic (status)

Check that all branches source are in model set-up. TO LATE

Check that internal branches in multi-basin lakes have no ambigous input.

Subprogram model_test_routines::check_damdata_generic (status)

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.

Subprogram model_test_routines::check_eroded_filtering_delay ()

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

Subprogram model_test_routines::check_evaporation (status)

For each petmodel present in model check its needed input

Check actual soil evaporation input and parameters valid; specifics elsewhere

Subprogram model_test_routines::check_floodplains (status)

Check floodplain model: FloodData file exist and tracer evaporation behaviour valid (t1evap>=0,<=1)

Check and test floodplain options: specifics elsewhere

Subprogram model_test_routines::check_general_deep (status)
Check and test groundwater model options: specifics elsewhere
Subprogram model_test_routines::check_generic (status)

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 that region is larger than zero

Subprogram model_test_routines::check_geoclass_generic (status)

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 the number of slc-classes are greater than zero

Subprogram model_test_routines::check_geodata_generic (status)

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

Check subid range to be between one and max_subid

Subprogram model_test_routines::check_glaciers (status)

All glaciers in GeoData have index set

Glacier parameters for volume-area relationship positive

Glacier initialsation model option valid.

Subprogram model_test_routines::check_info_generic (status)

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 that subbasin weights set for flag weightsub:

Check substances for duplicates:

Subprogram model_test_routines::check_lakedata_generic (status)

Check lakebasin internal outlet linkage (only main).

Check lakebasin secondary outlet linkage.

Check dam build before removed

Subprogram model_test_routines::check_lakes (status)

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

Subprogram model_test_routines::check_mgmtdata_generic (status)

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).

Subprogram model_test_routines::check_nutrient_soil (status)

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 and test parameters for nutrient percolation

Check and test parameters for nutrient phosphorus balance.

Subprogram model_test_routines::check_nutrient_sources (status)

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.

Subprogram model_test_routines::check_observations (status)

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

Subprogram model_test_routines::check_outregion_generic (status)

Check that subids/outregid in outregion exist (are set)

Check that subid and outregid do not overlap

Subprogram model_test_routines::check_plant_uptake ()

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.

Subprogram model_test_routines::check_pointsourcedata (status)
Check PSTimeSeries: checking file and subid present
Subprogram model_test_routines::check_reggrw ()
Check and test groundwater model options: specifics elsewhere
Subprogram model_test_routines::check_regvol (status)

Check regulation volume: Regulation volume and varying threshold checked against lake depth

Check regulation settings: regvol and deltaw0 cannot be used together

Subprogram model_test_routines::check_river_wetlands (status)

Check river wetlands for correct input (area, depth and inflow part)

Check class wetlands for correct input (area only so far)

Subprogram model_test_routines::check_rivers (status)

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 lake river ice model options: specifics elsewhere

Subprogram model_test_routines::check_sediment_sedresusp (status)
Check sedresusp model valid
Subprogram model_test_routines::check_siltation (status)

Check that reservoirs in DamData has correct mode (dam)

Check siltation model valid

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)

Subprogram model_test_routines::check_snow (status)

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 snowmelt model options; specifics elsewhere

Check snow heat model options; parameters set

Subprogram model_test_routines::check_soil_leakage_as_input (status)

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)

Subprogram model_test_routines::check_soil_water (status)

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.

Subprogram model_test_routines::check_valid_river_rating_curve_data (ret)

Check positive rating curve coefficients (rate,exp) and consistent sections

Check positive rating curve coefficients (rate,exp)

Check positive rating curve coefficients (rate,exp)

Subprogram model_test_routines::check_veg_soil_surface (status)

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

Subprogram model_test_routines::valid_deepgroundwater_options (current_deepgroundwatermodel)

Check deep groundwater percolation parameters (rcgrw,rcgrwst,aqpercorr) and path (grwtolake).

Check deep groundwater percolation parameters (rcgrw,rcgrwst,aqpercorr) and path (grwtolake).

Check aquifer for valid data

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).

Subprogram model_test_routines::valid_erosion_options (current_erosionmodel)

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

Subprogram model_test_routines::valid_floodplain_options (current_floodplainmodel)
Check floodplain model option 2: parameters for snowmelt and saturated surface runoff has valid values as well as recession coefficient correction parameters (cmlt,mactrinf,srrcs,rrcscorr).
Subprogram model_test_routines::valid_frozensoil_options (current_frozensoilmodel)

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.

Subprogram model_test_routines::valid_growthstart_options (current_growthstartmodel)

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

Subprogram model_test_routines::valid_infiltration_options (current_infiltrationmodel)

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).

Subprogram model_test_routines::valid_lakeriverice_options (current_lakerivericemodel)

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)

Subprogram model_test_routines::valid_petmodel_options (current_petmodel)

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.

Subprogram model_test_routines::valid_siltation_model (siltationmodel)

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)

Subprogram model_test_routines::valid_snowdensity_options (current_snowdensitymodel)

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 snow density of new snow parameter set (>0)

Subprogram model_test_routines::valid_snowheat_options (current_snowheatmodel)

Check snow heat model 1: parameters set (sndens0,snkika)

Check snow density of new snow parameter set (>0)

Subprogram model_test_routines::valid_snowmelt_options (current_snowmeltmodel)

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)

Subprogram model_test_routines::valid_surfacerunoff_options (current_surfacerunoffmodel)

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.

Check surface runoff model 4: parameters set