soil_nutcarb_write Subroutine

subroutine soil_nutcarb_write(out_freq)

Uses

  • proc~~soil_nutcarb_write~~UsesGraph proc~soil_nutcarb_write soil_nutcarb_write module~basin_module basin_module proc~soil_nutcarb_write->module~basin_module module~calibration_data_module calibration_data_module proc~soil_nutcarb_write->module~calibration_data_module module~carbon_module carbon_module proc~soil_nutcarb_write->module~carbon_module module~hydrograph_module hydrograph_module proc~soil_nutcarb_write->module~hydrograph_module module~organic_mineral_mass_module organic_mineral_mass_module proc~soil_nutcarb_write->module~organic_mineral_mass_module module~soil_module soil_module proc~soil_nutcarb_write->module~soil_module module~hydrograph_module->module~basin_module module~time_module time_module module~hydrograph_module->module~time_module module~organic_mineral_mass_module->module~carbon_module module~soil_module->module~carbon_module
~ ~ ~ PURPOSE ~ ~ ~
this subroutine writes HRU output to the output.hru file

~ ~ ~ INCOMING VARIABLES ~ ~ ~
name          |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
gw_q(:)       |mm H2O        |groundwater contribution to streamflow from
                             |HRU on current day
hru_ha(:)     |ha            |area of HRU in hectares
hru_km(:)     |km^2          |area of HRU in square kilometers
ihru          |none          |HRU number
rchrg(:)      |mm H2O        |amount of water recharging both aquifers on
                             |current day in HRU
surfq(:)      |mm H2O        |surface runoff generated on day in HRU
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ LOCAL DEFINITIONS ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
ii          |none          |counter
j           |none          |HRU number
sb          |none          |subbasin number
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~

sum the output for the entire soil profile !!!! added for new output write !!nbs hru loop

summing hru output for the basin write all carbon, organic n and p, and mineral n and p for the soil profile, plants, and residue

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: out_freq