IHEWAengine.engine1.SurfWAT package

Submodules

IHEWAengine.engine1.SurfWAT.Create_input_nc module

IHEWAengine.engine1.SurfWAT.Example_Run module

IHEWAengine.engine1.SurfWAT.Part0_Add_Inlets module

Created on Thu Mar 29 14:08:21 2018

@author: tih

IHEWAengine.engine1.SurfWAT.Part0_Add_Inlets.run(input_nc, Inflow_Text_Files)[source]

This functions add inflow to the runoff dataset before the channel routing. The inflow must be a text file with a certain format. The first line of this format are the latitude and longitude. Hereafter for each line the time (ordinal time) and the inflow (m3/month) seperated with one space is defined. See example below:

lat lon 733042 156225.12 733073 32511321.2 733102 212315.25 733133 2313266.554

IHEWAengine.engine1.SurfWAT.Part1_Channel_Routing module

Created on Mon Mar 12 15:26:15 2018

@author: tih

IHEWAengine.engine1.SurfWAT.Part1_Channel_Routing.Run(Runoff_in_m3_month, flow_directions, Basin)[source]

IHEWAengine.engine1.SurfWAT.Part2_Create_Dictionaries module

IHEWAengine.engine1.SurfWAT.Part3_Reservoirs module

Created on Mon Mar 12 15:26:44 2018

@author: tih

IHEWAengine.engine1.SurfWAT.Part3_Reservoirs.Add_Reservoirs(output_nc, Diff_Water_Volume, Regions)[source]
IHEWAengine.engine1.SurfWAT.Part3_Reservoirs.Calc_Diff_Storage(Area_Reservoir_Values, popt)[source]
IHEWAengine.engine1.SurfWAT.Part3_Reservoirs.Calc_Regions(input_nc, output_nc, input_JRC, Boundaries)[source]
IHEWAengine.engine1.SurfWAT.Part3_Reservoirs.Find_Area_Volume_Relation(region, input_JRC, input_nc)[source]
IHEWAengine.engine1.SurfWAT.Part3_Reservoirs.GEE_calc_reservoir_area(region, Startdate, Enddate)[source]
IHEWAengine.engine1.SurfWAT.Part3_Reservoirs.Run(input_nc, output_nc, input_JRC)[source]

IHEWAengine.engine1.SurfWAT.Part4_Withdrawals module

IHEWAengine.engine1.SurfWAT.Run_SurfWAT module

Created on Mon Mar 12 15:11:17 2018

@author: tih

IHEWAengine.engine1.SurfWAT.Run_SurfWAT.main(input_nc, output_nc, input_JRC, Inflow_Text_Files, include_reservoirs=1)[source]

IHEWAengine.engine1.SurfWAT.ihewaengine module

Document structure

class IHEWAengine.engine1.SurfWAT.ihewaengine.Engine(conf)[source]

Bases: object

This Engine class

Load base.yml file.

Parameters

conf (dict) – User defined configuration data from yaml file.

Module contents

class IHEWAengine.engine1.SurfWAT.Engine(conf)[source]

Bases: object

This Engine class

Load base.yml file.

Parameters

conf (dict) – User defined configuration data from yaml file.