cs_module Module


Used by

  • module~~cs_module~~UsedByGraph module~cs_module cs_module proc~aqu_initial aqu_initial proc~aqu_initial->module~cs_module proc~cs_balance cs_balance proc~cs_balance->module~cs_module proc~cs_divert cs_divert proc~cs_divert->module~cs_module proc~cs_fert cs_fert proc~cs_fert->module~cs_module proc~cs_fert_read cs_fert_read proc~cs_fert_read->module~cs_module proc~cs_fert_wet cs_fert_wet proc~cs_fert_wet->module~cs_module proc~cs_hru_init cs_hru_init proc~cs_hru_init->module~cs_module proc~cs_irrig cs_irrig proc~cs_irrig->module~cs_module proc~cs_rain cs_rain proc~cs_rain->module~cs_module proc~cs_rctn_aqu cs_rctn_aqu proc~cs_rctn_aqu->module~cs_module proc~cs_rctn_hru cs_rctn_hru proc~cs_rctn_hru->module~cs_module proc~cs_sorb_hru cs_sorb_hru proc~cs_sorb_hru->module~cs_module proc~cs_uptake cs_uptake proc~cs_uptake->module~cs_module proc~cs_uptake_read cs_uptake_read proc~cs_uptake_read->module~cs_module proc~cs_urban_read cs_urban_read proc~cs_urban_read->module~cs_module proc~gwflow_ppag gwflow_ppag proc~gwflow_ppag->module~cs_module proc~header_const header_const proc~header_const->module~cs_module proc~hru_control hru_control proc~hru_control->module~cs_module proc~hru_cs_output hru_cs_output proc~hru_cs_output->module~cs_module proc~hru_output_allo hru_output_allo proc~hru_output_allo->module~cs_module proc~ru_cs_output ru_cs_output proc~ru_cs_output->module~cs_module proc~ru_read ru_read proc~ru_read->module~cs_module

Variables

Type Visibility Attributes Name Initial
type(object_cs_balance), public, dimension (:), allocatable :: hcsb_d
type(object_cs_balance), public, dimension (:), allocatable :: hcsb_m
type(object_cs_balance), public, dimension (:), allocatable :: hcsb_y
type(object_cs_balance), public, dimension (:), allocatable :: hcsb_a
type(object_cs_balance), public, dimension (:), allocatable :: ru_hru_csb_d
type(object_cs_balance), public, dimension (:), allocatable :: ru_hru_csb_m
type(object_cs_balance), public, dimension (:), allocatable :: ru_hru_csb_y
type(object_cs_balance), public, dimension (:), allocatable :: ru_hru_csb_a
real, public :: cs_basin_mo(87) = 0.
real, public :: cs_basin_yr(87) = 0.
real, public :: cs_basin_aa(87) = 0.
type(fert_db_cs), public, dimension(:), allocatable, save :: fert_cs
integer, public :: fert_cs_flag = 0
real, public, dimension(:,:), allocatable :: cs_uptake_kg
integer, public :: cs_uptake_on = 0
real, public, dimension(:,:), allocatable :: cs_urban_conc
type(output_csbal_header), public :: csb_hdr
type(output_cs_hdr_hru), public :: cs_hdr_hru

Derived Types

type, public ::  cs_balance

Components

Type Visibility Attributes Name Initial
real, public :: soil = 0.

|kg/ha |total mass in the soil profile

real, public :: surq = 0.

|kg/ha |mass lost in surface runoff in HRU

real, public :: sedm = 0.

|kg/ha |mass lost in sediment runoff in HRU

real, public :: latq = 0.

|kg/ha |mass in lateral flow in HRU

real, public :: urbq = 0.

|kg/ha |mass in urban runoff

real, public :: wetq = 0.

|kg/ha |mass in wetland outflow

real, public :: tile = 0.

|kg/ha |mass in tile flow in HRU

real, public :: perc = 0.

|kg/ha |mass leached past bottom of soil

real, public :: gwup = 0.

|kg/ha |mass from groundwater (to soil profile)

real, public :: wtsp = 0.

|kg/ha |mass in wetland seepage (to soil profile)

real, public :: irsw = 0.

|kg/ha |mass applied on soil via surface water irrigation

real, public :: irgw = 0.

|kg/ha |mass applied on soil via groundwater irrigation

real, public :: irwo = 0.

|kg/ha |mass applied on soil via irrigation from without (wo) the watershed

real, public :: rain = 0.

|kg/ha |mass added to soil via rainfall

real, public :: dryd = 0.

|kg/ha |mass added to soil via dry atmospheric deposition

real, public :: fert = 0.

|kg/ha |mass added to soil via fertilizer

real, public :: uptk = 0.

|kg/ha |mass taken up by crop roots

real, public :: rctn = 0.

|kg/ha |mass transferred by chemical reaction

real, public :: sorb = 0.

|kg/ha |mass transferred by sorption

real, public :: conc = 0.

|mg/L |concentration in soil water (averaged over all soil layers)

real, public :: srbd = 0.

|kg/ha |mass sorbed to soil

type, public ::  object_cs_balance

Components

Type Visibility Attributes Name Initial
type(cs_balance), public, dimension (:), allocatable :: cs

type, public ::  fert_db_cs

Components

Type Visibility Attributes Name Initial
character(len=16), public :: fertnm = " "
real, public :: seo4 = 0.

kg seo4/ha |fertilizer load of seo4 (kg/ha)

real, public :: seo3 = 0.

kg seo3/ha |fertilizer load of seo3 (kg/ha)

real, public :: boron = 0.

kg boron/ha |fertilizer load of boron (kg/ha)

type, public ::  output_csbal_header

Components

Type Visibility Attributes Name Initial
character(len=8), public :: yrc = "      yr"
character(len=8), public :: mon = "      mo"
character(len=8), public :: day = "    jday"
character(len=16), public :: latseo4 = "    latq_seo4"
character(len=16), public :: surseo4 = "    surq_seo4"
character(len=16), public :: sedseo4 = "    sedm_seo4"
character(len=16), public :: urbseo4 = "    urbq_seo4"
character(len=16), public :: wetseo4 = "    wetq_seo4"
character(len=16), public :: tileseo4 = "    tile_seo4"
character(len=16), public :: percseo4 = "    perc_seo4"
character(len=16), public :: gwupseo4 = "    gwup_seo4"
character(len=16), public :: wtspseo4 = "    wtsp_seo4"
character(len=16), public :: irswseo4 = "    irsw_seo4"
character(len=16), public :: irgwseo4 = "    irgw_seo4"
character(len=16), public :: irwoseo4 = "    irwo_seo4"
character(len=16), public :: rainseo4 = "    rain_seo4"
character(len=16), public :: drydseo4 = "    dryd_seo4"
character(len=16), public :: fertseo4 = "    fert_seo4"
character(len=16), public :: uptkseo4 = "    uptk_seo4"
character(len=16), public :: rctnseo4 = "  rct_sl_seo4"
character(len=16), public :: sorbseo4 = "  srb_sl_seo4"
character(len=16), public :: ptsoseo4 = "    ptso_seo4"
character(len=16), public :: poutseo4 = "   ptout_seo4"
character(len=16), public :: sldsseo4 = "  dis_sl_seo4"
character(len=16), public :: srbdseo4 = "  sbd_sl_seo4"
character(len=16), public :: gwseo4 = "      gw_seo4"
character(len=16), public :: rchgseo4 = "    rchg_seo4"
character(len=16), public :: seepseo4 = "    seep_seo4"
character(len=16), public :: rctaseo4 = "  rct_aq_seo4"
character(len=16), public :: srbaseo4 = "  srb_aq_seo4"
character(len=16), public :: aqdsseo4 = "  dis_aq_seo4"
character(len=16), public :: srdaseo4 = "  sbd_aq_seo4"
character(len=16), public :: latseo3 = "    latq_seo3"
character(len=16), public :: surseo3 = "    surq_seo3"
character(len=16), public :: sedseo3 = "    sedm_seo3"
character(len=16), public :: urbseo3 = "    urbq_seo3"
character(len=16), public :: wetseo3 = "    wetq_seo3"
character(len=16), public :: tileseo3 = "    tile_seo3"
character(len=16), public :: percseo3 = "    perc_seo3"
character(len=16), public :: gwupseo3 = "    gwup_seo3"
character(len=16), public :: wtspseo3 = "    wtsp_seo3"
character(len=16), public :: irswseo3 = "    irsw_seo3"
character(len=16), public :: irgwseo3 = "    irgw_seo3"
character(len=16), public :: irwoseo3 = "    irwo_seo3"
character(len=16), public :: rainseo3 = "    rain_seo3"
character(len=16), public :: drydseo3 = "    dryd_seo3"
character(len=16), public :: fertseo3 = "    fert_seo3"
character(len=16), public :: uptkseo3 = "    uptk_seo3"
character(len=16), public :: rctnseo3 = "  rct_sl_seo3"
character(len=16), public :: sorbseo3 = "  srb_sl_seo3"
character(len=16), public :: ptsoseo3 = "    ptso_seo3"
character(len=16), public :: poutseo3 = "   ptout_seo3"
character(len=16), public :: sldsseo3 = "  dis_sl_seo3"
character(len=16), public :: srbdseo3 = "  sbd_sl_seo3"
character(len=16), public :: gwseo3 = "      gw_seo3"
character(len=16), public :: rchgseo3 = "    rchg_seo3"
character(len=16), public :: seepseo3 = "    seep_seo3"
character(len=16), public :: rctaseo3 = "  rct_aq_seo3"
character(len=16), public :: srbaseo3 = "  srb_aq_seo3"
character(len=16), public :: aqdsseo3 = "  dis_aq_seo3"
character(len=16), public :: srdaseo3 = "  sbd_aq_seo3"
character(len=16), public :: latborn = "    latq_born"
character(len=16), public :: surborn = "    surq_born"
character(len=16), public :: sedborn = "    sedm_born"
character(len=16), public :: urbborn = "    urbq_born"
character(len=16), public :: wetborn = "    wetq_born"
character(len=16), public :: tileborn = "    tile_born"
character(len=16), public :: percborn = "    perc_born"
character(len=16), public :: gwupborn = "    gwup_born"
character(len=16), public :: wtspborn = "    wtsp_born"
character(len=16), public :: irswborn = "    irsw_born"
character(len=16), public :: irgwborn = "    irgw_born"
character(len=16), public :: irwoborn = "    irwo_born"
character(len=16), public :: rainborn = "    rain_born"
character(len=16), public :: drydborn = "    dryd_born"
character(len=16), public :: fertborn = "    fert_born"
character(len=16), public :: uptkborn = "    uptk_born"
character(len=16), public :: rctnborn = "  rct_sl_born"
character(len=16), public :: sorbborn = "  srb_sl_born"
character(len=16), public :: ptsoborn = "    ptso_born"
character(len=16), public :: poutborn = "   ptout_born"
character(len=16), public :: sldsborn = "  dis_sl_born"
character(len=16), public :: srbdborn = "  sbd_sl_born"
character(len=16), public :: gwborn = "      gw_born"
character(len=16), public :: rchgborn = "    rchg_born"
character(len=16), public :: seepborn = "    seep_born"
character(len=16), public :: rctaborn = "  rct_aq_born"
character(len=16), public :: srbaborn = "  srb_aq_born"
character(len=16), public :: aqdsborn = "  dis_aq_born"
character(len=16), public :: srdaborn = "  sbd_aq_born"

type, public ::  output_cs_hdr_hru

Components

Type Visibility Attributes Name Initial
character(len=6), public :: day = "  jday"
character(len=6), public :: mo = "   mon"
character(len=6), public :: day_mo = "   day"
character(len=6), public :: yrc = "    yr"
character(len=8), public :: isd = "   unit "
character(len=12), public :: id = " gis_id "
character(len=15), public :: seo4sl = "sl_seo4"
character(len=15), public :: seo3sl = "sl_seo3"
character(len=15), public :: bornsl = "sl_born"
character(len=15), public :: seo4sq = "surq_seo4"
character(len=15), public :: seo3sq = "surq_seo3"
character(len=15), public :: bornsq = "surq_born"
character(len=15), public :: seo4sd = "sedm_seo4"
character(len=15), public :: seo3sd = "sedm_seo3"
character(len=15), public :: bornsd = "sedm_born"
character(len=15), public :: seo4lq = "latq_seo4"
character(len=15), public :: seo3lq = "latq_seo3"
character(len=15), public :: bornlq = "latq_born"
character(len=15), public :: seo4ub = "urbq_seo4"
character(len=15), public :: seo3ub = "urbq_seo3"
character(len=15), public :: bornub = "urbq_born"
character(len=15), public :: seo4wt = "wetq_seo4"
character(len=15), public :: seo3wt = "wetq_seo3"
character(len=15), public :: bornwt = "wetq_born"
character(len=15), public :: seo4tq = "tile_seo4"
character(len=15), public :: seo3tq = "tile_seo3"
character(len=15), public :: borntq = "tile_born"
character(len=15), public :: seo4pc = "perc_seo4"
character(len=15), public :: seo3pc = "perc_seo3"
character(len=15), public :: bornpc = "perc_born"
character(len=15), public :: seo4gt = "gwup_seo4"
character(len=15), public :: seo3gt = "gwup_seo3"
character(len=15), public :: borngt = "gwup_born"
character(len=15), public :: seo4ws = "wtsp_seo4"
character(len=15), public :: seo3ws = "wtsp_seo3"
character(len=15), public :: bornws = "wtsp_born"
character(len=15), public :: seo4is = "irsw_seo4"
character(len=15), public :: seo3is = "irsw_seo3"
character(len=15), public :: bornis = "irsw_born"
character(len=15), public :: seo4ig = "irgw_seo4"
character(len=15), public :: seo3ig = "irgw_seo3"
character(len=15), public :: bornig = "irgw_born"
character(len=15), public :: seo4io = "irwo_seo4"
character(len=15), public :: seo3io = "irwo_seo3"
character(len=15), public :: bornio = "irwo_born"
character(len=15), public :: seo4rn = "rain_seo4"
character(len=15), public :: seo3rn = "rain_seo3"
character(len=15), public :: bornrn = "rain_born"
character(len=15), public :: seo4dd = "dryd_seo4"
character(len=15), public :: seo3dd = "dryd_seo3"
character(len=15), public :: borndd = "dryd_born"
character(len=15), public :: seo4fz = "fert_seo4"
character(len=15), public :: seo3fz = "fert_seo3"
character(len=15), public :: bornfz = "fert_born"
character(len=15), public :: seo4up = "uptk_seo4"
character(len=15), public :: seo3up = "uptk_seo3"
character(len=15), public :: bornup = "uptk_born"
character(len=15), public :: seo4rc = "rctn_seo4"
character(len=15), public :: seo3rc = "rctn_seo3"
character(len=15), public :: bornrc = "rctn_born"
character(len=15), public :: seo4sp = "sorb_seo4"
character(len=15), public :: seo3sp = "sorb_seo3"
character(len=15), public :: bornsp = "sorb_born"
character(len=15), public :: seo4c = "conc_seo4"
character(len=15), public :: seo3c = "conc_seo3"
character(len=15), public :: bornc = "conc_born"
character(len=15), public :: seo4srbd = "seo4_srbd"
character(len=15), public :: seo3srbd = "seo3_srbd"
character(len=15), public :: bornsrbd = "born_srbd"