cli_pgenhr Subroutine

subroutine cli_pgenhr()

Uses

  • proc~~cli_pgenhr~~UsesGraph proc~cli_pgenhr cli_pgenhr module~climate_module climate_module proc~cli_pgenhr->module~climate_module module~hydrograph_module hydrograph_module proc~cli_pgenhr->module~hydrograph_module module~time_module time_module proc~cli_pgenhr->module~time_module module~hydrograph_module->module~time_module module~basin_module basin_module module~hydrograph_module->module~basin_module

~ ~ ~ PURPOSE ~ ~ ~ this subroutine distributes daily rainfall exponentially within the day

~ ~ ~ INCOMING VARIABLES ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ hru_km(:) |km^2 |area of HRU in square kilometers idg(:) |none |array location of random number seed |used for a given process jj |none |HRU number rndseed(:,:) |none |random number generator seed ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ wst(:)%weat%ts(:) |mm H2O |rainfall during time step ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ LOCAL DEFINITIONS ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ j |none |HRU number ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~ Intrinsic: Log

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

need peak rainfall rate calculate peak rate using same method used for peak runoff generate random number between 0.0 and 1.0 because all input set to constant value, vv always the same vv => time to peak expressed as fraction of total storm duration calculate storm duration calculate amount of total rainfall fallen at time of peak rainfall and time of peak rainfall in units of minutes calculate constants for exponential rainfall distribution equation do before time of peak rainfall do while pt less than rtp after peak rainfall and before end of storm at end of storm

Arguments

None