📄 writea.f
字号:
subroutine writea
!! ~ ~ ~ PURPOSE ~ ~ ~
!! this subroutine writes annual output
!! ~ ~ ~ INCOMING VARIABLES ~ ~ ~
!! name |units |definition
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! bio_yrms(:) |metric tons/ha|annual biomass (dry weight) in the HRU
!! ch_d(:) |m |average depth of main channel
!! ch_s(2,:) |m/m |average slope of main channel
!! ch_w(2,:) |m |average width of main channel
!! curyr |none |current year of simulation (consecutive)
!! hrupest(:) |none |pesticide use flag:
!! | 0: no pesticides used in HRU
!! | 1: pesticides used in HRU
!! hrupsty(:,1,:)|mg pst |amount of pesticide type in surface runoff
!! |contribution to stream from HRU during year
!! |(in solution)
!! hrupsty(:,2,:)|mg pst |amount of pesticide type in surface runoff
!! |contribution to stream from HRU during year
!! |(sorbed to sediment)
!! hruyro(:,:) |varies |HRU annual output array
!! i |julian date |current day of simulation
!! id1 |julian date |first day of simulation in current year
!! ideg |none |channel degredation code
!! |0: do not compute channel degradation
!! |1: compute channel degredation (downcutting
!! | and widening)
!! iprint |none |print code:
!! |0 monthly
!! |1 daily
!! |2 annually
!! isproj |none |special project code:
!! |1 test rewind (run simulation twice)
!! iyr |year |current year of simulation (eg 1980)
!! lai_yrmx(:) |none |maximum leaf area index for the year in the
!! |HRU
!! i_mo |none |month of next day of simulation
!! mo_chk |none |month of current day of simulation
!! nhru |none |number of HRUs in watershed
!! npmx |none |number of different pesticides used in
!! |the simulation
!! nres |none |total number of reservoirs in the
!! |watershed
!! nyskip |none |number of years to skip output summarization
!! |and printing
!! rchyro(:,:) |varies |reach annual output array
!! res_seci(:) |m |secchi-disk depth
!! res_vol(:) |m^3 H2O |reservoir volume
!! resouty(1,:)|m^3/s |flow into reservoir during year
!! resouty(2,:)|m^3/s |flow out of reservoir during year
!! resouty(3,:)|metric tons |sediment entering reservoir during year
!! resouty(4,:)|metric tons |sediment leaving reservoir during year
!! resouty(5,:)|mg/L |sediment concentration in reservoir
!! |during year
!! resouty(6,:)|mg pst |pesticide entering reservoir during year
!! resouty(7,:)|mg pst |pesticide lost from reservoir through
!! |reactions during year
!! resouty(8,:)|mg pst |pesticide lost from reservoir through
!! |volatilization during year
!! resouty(9,:)|mg pst |pesticide moving from water to sediment
!! |through settling during year
!! resouty(10,:)|mg pst |pesticide moving from sediment to water
!! |through resuspension during year
!! resouty(11,:)|mg pst |pesticide moving from water to sediment
!! |through diffusion during year
!! resouty(12,:)|mg pst |pesticide lost from reservoir sediment layer
!! |through reactions during year
!! resouty(13,:)|mg pst |pesticide lost from reservoir sediment layer
!! |through burial during year
!! resouty(14,:)|mg pst |pesticide transported out of reservoir during
!! |year
!! resouty(15,:)|mg pst/m^3 |pesticide concentration in reservoir water
!! |during year
!! resouty(16,:)|mg pst/m^3 |pesticide concentration in reservoir sediment
!! |layer during year
!! resouty(17,:)|m^3 H2O |evaporation from reservoir during year
!! resouty(18,:)|m^3 H2O |seepage from reservoir during year
!! resouty(19,:)|m^3 H2O |precipitation on reservoir during year
!! resouty(22,:)|kg N |organic N entering reservoir during year
!! resouty(23,:)|kg N |organic N leaving reservoir during year
!! resouty(24,:)|kg P |organic P entering reservoir during year
!! resouty(25,:)|kg P |organic P leaving reservoir during year
!! resouty(26,:)|kg N |nitrate entering reservoir during year
!! resouty(27,:)|kg N |nitrate leaving reservoir during year
!! resouty(28,:)|kg N |nitrite entering reservoir during year
!! resouty(29,:)|kg N |nitrite leaving reservoir during year
!! resouty(30,:)|kg N |ammonia entering reservoir during year
!! resouty(31,:)|kg N |ammonia leaving reservoir during year
!! resouty(32,:)|kg P |mineral P entering reservoir during year
!! resouty(33,:)|kg P |mineral P leaving reservoir during year
!! resouty(34,:)|kg chla |chlorophyll-a entering reservoir during year
!! resouty(35,:)|kg chla |chlorophyll-a leaving reservoir during year
!! resouty(36,:)|mg P/L |organic P concentration in reservoir water
!! |during year
!! resouty(37,:)|mg P/L |mineral P concentration in reservoir water
!! |during year
!! resouty(38,:)|mg N/L |organic N concentration in reservoir water
!! |during year
!! resouty(39,:)|mg N/L |nitrate concentration in reservoir water
!! |during year
!! resouty(40,:)|mg N/L |nitrite concentration in reservoir water
!! |during year
!! resouty(41,:)|mg N/L |ammonia concentration in reservoir water
!! |during year
!! subtot |none |number of subbasins in watershed
!! subyro(:,:) |varies |subbasin annual output array
!! wshddayo(35)|mm H2O |amount of water stored in soil profile in
!! |watershed at end of day
!! wshdyro(1) |mm H2O |average amount of precipitation in watershed
!! |for the year
!! wshdyro(3) |mm H2O |surface runoff in watershed for year
!! wshdyro(4) |mm H2O |lateral flow contribution to streamflow in
!! |watershed for year
!! wshdyro(5) |mm H2O |water percolation past bottom of soil profile
!! |in watershed for year
!! wshdyro(6) |mm H2O |water yield to streamflow from HRUs in
!! |watershed for year
!! wshdyro(7) |mm H2O |actual evapotranspiration in watershed
!! |for year
!! wshdyro(8) |deg C |average maximum temperature in watershed for
!! |the year
!! wshdyro(9) |deg C |average minimum temperature in watershed for
!! |the year
!! wshdyro(12) |metric tons |sediment yield from HRUs in watershed for
!! |the year
!! wshdyro(40) |kg N/ha |organic N loading to stream in watershed for
!! |the year
!! wshdyro(41) |kg P/ha |organic P loading to stream in watershed for
!! |the year
!! wshdyro(42) |kg N/ha |nitrate loading to stream in surface runoff
!! |in watershed for the year
!! wshdyro(43) |kg P/ha |soluble P loading to stream in watershed for
!! |the year
!! wshdyro(44) |kg N/ha |plant uptake of N in watershed for the year
!! wshdyro(45) |kg N/ha |nitrate loading to stream in lateral flow
!! |in watershed for the year
!! wshdyro(46) |kg N/ha |nitrate percolation past bottom of soil
!! |profile in watershed for the year
!! wshdyro(104)|mm H2O |groundwater contribution to stream in
!! |watershed for the year
!! wshdyro(108)|mm H2O |potential evapotranspiration in watershed
!! |for the year
!! wshdyro(109)|mm H2O |drainage tile flow contribution to stream
!! |in watershed for the year
!! wtryr(:,:) |varies |HRU impoundment annual output array
!! yldanu(:) |metric tons/ha|annual yield (dry weight) in the HRU
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! ~ ~ ~ OUTGOING VARIABLES ~ ~ ~
!! name |units |definition
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! bio_aams(:) |metric tons/ha|average annual biomass (dry weight) in HRU
!! hruaao(:,:) |varies |HRU average annual output array
!! hrupsta(:,:,:)|varies |HRU average annual pesticide output array
!! hrupsty(:,:,:)|varies |HRU annual pesticide output array
!! hruyro(:,:) |varies |HRU annual output array
!! lai_aamx(:) |none |average annual maximum leaf area index in
!! |HRU
!! rchaao(:,:) |varies |reach average annual output array
!! rchyro(:,:) |varies |reach annual output array
!! resouta(:,:)|varies |reservoir average annual output array
!! resouty(:,:)|varies |reservoir annual output array
!! subaao(:,:) |varies |subbasin average annual output array
!! subyro(:,:) |varies |subbasin annual output array
!! wshdaao(:) |varies |watershed average annual output array
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -