subroutine command()
proc~~command~~UsesGraph
proc~command
command
module~aquifer_module
aquifer_module
proc~command->module~aquifer_module
module~basin_module
basin_module
proc~command->module~basin_module
module~channel_module
channel_module
proc~command->module~channel_module
module~constituent_mass_module
constituent_mass_module
proc~command->module~constituent_mass_module
module~gwflow_module
gwflow_module
proc~command->module~gwflow_module
module~hru_lte_module
hru_lte_module
proc~command->module~hru_lte_module
module~hru_module
hru_module
proc~command->module~hru_module
module~hydrograph_module
hydrograph_module
proc~command->module~hydrograph_module
module~maximum_data_module
maximum_data_module
proc~command->module~maximum_data_module
module~organic_mineral_mass_module
organic_mineral_mass_module
proc~command->module~organic_mineral_mass_module
module~reservoir_module
reservoir_module
proc~command->module~reservoir_module
module~ru_module
ru_module
proc~command->module~ru_module
module~sd_channel_module
sd_channel_module
proc~command->module~sd_channel_module
module~soil_module
soil_module
proc~command->module~soil_module
module~time_module
time_module
proc~command->module~time_module
module~hydrograph_module->module~basin_module
module~hydrograph_module->module~time_module
module~carbon_module
carbon_module
module~organic_mineral_mass_module->module~carbon_module
module~soil_module->module~carbon_module
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
~ ~ ~ PURPOSE ~ ~ ~
for every day of simulation, this subroutine steps through the command
lines in the watershed configuration (.fig) file. Depending on the
command code on the .fig file line, a command loop is accessed
~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
SWAT: subbasin, route, routres, transfer, recmon
SWAT: recepic, save, recday, recyear
~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
hru and ru can have hyrdographs that lag into next day
assume only one day is saved for all other objects
if incoming object is not an hru or ru, send total hyd to surface runoff
multiply inflow hyd by the fraction of incoming
add flow hydrographs for each incoming object
artificial channel - length=0 - no transformations
output channel morphology
compute flashiness index
write object output for entire simulation
print all output files
print water allocation output
print manure allocation output
carbon output for testing ***jga
write carbon in soil, plant, and residue at end of the day
write carbon in soil, plant, and residue at end the month
write carbon in soil, plant, and residue at end of year
write carbon in soil, plant, and residue at end the simulation
Arguments
None
proc~~command~~CallsGraph
proc~command
command
1000
1000
proc~command->1000
aqu_1d_control
aqu_1d_control
proc~command->aqu_1d_control
aqu_cs_output
aqu_cs_output
proc~command->aqu_cs_output
aqu_pesticide_output
aqu_pesticide_output
proc~command->aqu_pesticide_output
aqu_salt_output
aqu_salt_output
proc~command->aqu_salt_output
aquifer_output
aquifer_output
proc~command->aquifer_output
basin_aqu_pest_output
basin_aqu_pest_output
proc~command->basin_aqu_pest_output
basin_aquifer_output
basin_aquifer_output
proc~command->basin_aquifer_output
basin_ch_pest_output
basin_ch_pest_output
proc~command->basin_ch_pest_output
basin_chanbud_output
basin_chanbud_output
proc~command->basin_chanbud_output
basin_chanmorph_output
basin_chanmorph_output
proc~command->basin_chanmorph_output
basin_channel_output
basin_channel_output
proc~command->basin_channel_output
basin_ls_pest_output
basin_ls_pest_output
proc~command->basin_ls_pest_output
basin_output
basin_output
proc~command->basin_output
basin_recall_output
basin_recall_output
proc~command->basin_recall_output
basin_res_pest_output
basin_res_pest_output
proc~command->basin_res_pest_output
basin_reservoir_output
basin_reservoir_output
proc~command->basin_reservoir_output
basin_sdchannel_output
basin_sdchannel_output
proc~command->basin_sdchannel_output
ch_cs_output
ch_cs_output
proc~command->ch_cs_output
ch_salt_output
ch_salt_output
proc~command->ch_salt_output
cha_pesticide_output
cha_pesticide_output
proc~command->cha_pesticide_output
channel_output
channel_output
proc~command->channel_output
constit_hyd_mult
constit_hyd_mult
proc~command->constit_hyd_mult
cs_balance
cs_balance
proc~command->cs_balance
cs_str_output
cs_str_output
proc~command->cs_str_output
flow_dur_curve
flow_dur_curve
proc~command->flow_dur_curve
gwflow_simulate
gwflow_simulate
proc~command->gwflow_simulate
hru_carbon_output
hru_carbon_output
proc~command->hru_carbon_output
hru_control
hru_control
proc~command->hru_control
hru_cs_output
hru_cs_output
proc~command->hru_cs_output
hru_lte_control
hru_lte_control
proc~command->hru_lte_control
hru_lte_output
hru_lte_output
proc~command->hru_lte_output
hru_output
hru_output
proc~command->hru_output
hru_pathogen_output
hru_pathogen_output
proc~command->hru_pathogen_output
hru_pesticide_output
hru_pesticide_output
proc~command->hru_pesticide_output
hru_salt_output
hru_salt_output
proc~command->hru_salt_output
hyddep_output
hyddep_output
proc~command->hyddep_output
hydin_output
hydin_output
proc~command->hydin_output
hydout_output
hydout_output
proc~command->hydout_output
lsu_output
lsu_output
proc~command->lsu_output
manure_demand_output
manure_demand_output
proc~command->manure_demand_output
manure_source_output
manure_source_output
proc~command->manure_source_output
obj_output
obj_output
proc~command->obj_output
recall_cs
recall_cs
proc~command->recall_cs
recall_nut
recall_nut
proc~command->recall_nut
recall_output
recall_output
proc~command->recall_output
recall_salt
recall_salt
proc~command->recall_salt
res_control
res_control
proc~command->res_control
res_cs_output
res_cs_output
proc~command->res_cs_output
res_pesticide_output
res_pesticide_output
proc~command->res_pesticide_output
res_salt_output
res_salt_output
proc~command->res_salt_output
reservoir_output
reservoir_output
proc~command->reservoir_output
ru_control
ru_control
proc~command->ru_control
ru_cs_output
ru_cs_output
proc~command->ru_cs_output
ru_output
ru_output
proc~command->ru_output
ru_salt_output
ru_salt_output
proc~command->ru_salt_output
salt_balance
salt_balance
proc~command->salt_balance
sd_chanbud_output
sd_chanbud_output
proc~command->sd_chanbud_output
sd_chanmorph_output
sd_chanmorph_output
proc~command->sd_chanmorph_output
sd_channel_control3
sd_channel_control3
proc~command->sd_channel_control3
sd_channel_output
sd_channel_output
proc~command->sd_channel_output
soil_nutcarb_write
soil_nutcarb_write
proc~command->soil_nutcarb_write
water_allocation_output
water_allocation_output
proc~command->water_allocation_output
wet_cs_output
wet_cs_output
proc~command->wet_cs_output
wet_salt_output
wet_salt_output
proc~command->wet_salt_output
wetland_output
wetland_output
proc~command->wetland_output
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.