cli_pgen Subroutine

subroutine cli_pgen(iwgn)

Uses

  • proc~~cli_pgen~~UsesGraph proc~cli_pgen cli_pgen module~basin_module basin_module proc~cli_pgen->module~basin_module module~climate_module climate_module proc~cli_pgen->module~climate_module module~hydrograph_module hydrograph_module proc~cli_pgen->module~hydrograph_module module~time_module time_module proc~cli_pgen->module~time_module module~hydrograph_module->module~basin_module module~hydrograph_module->module~time_module
~ ~ ~ PURPOSE ~ ~ ~
this subroutine generates precipitation data when the user chooses to 
simulate or when data is missing for particular days in the weather file

~ ~ ~ INCOMING VARIABLES ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
j           |none          |HRU number
pr_w(1,:,:) |none          |probability of wet day after dry day in month
pr_w(2,:,:) |none          |probability of wet day after wet day in month
rnd3(:)     |none          |random number between 0.0 and 1.0
rndseed(:,:)|none          |random number seeds 
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
rnd3(:)     |none          |random number between 0.0 and 1.0
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
Intrinsic: Log
SWAT: Aunif, Dstn1

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

skewed rainfall distribution precip for the next day

Arguments

Type IntentOptional Attributes Name
integer :: iwgn