cli_weatgn Subroutine

subroutine cli_weatgn(iwgn)

Uses

  • proc~~cli_weatgn~~UsesGraph proc~cli_weatgn cli_weatgn module~climate_module climate_module proc~cli_weatgn->module~climate_module

~ ~ ~ PURPOSE ~ ~ ~ this subroutine generates weather parameters used to simulate the impact of precipitation on the other climatic processes

~ ~ ~ INCOMING VARIABLES ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ rnd2(:) |none |random number between 0.0 and 1.0 rnd8(:) |none |random number between 0.0 and 1.0 rnd9(:) |none |random number between 0.0 and 1.0 rndseed(:,:)|none |random number generator seeds wgnold(:,:) |none |previous value of wgncur(:) ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ rnd2(:) |none |random number between 0.0 and 1.0 rnd8(:) |none |random number between 0.0 and 1.0 rnd9(:) |none |random number between 0.0 and 1.0 wgncur(:,:) |none |parameter to predict the impact of precip on |other weather attributes wgnold(:,:) |none |previous value of wgncur(:,:) ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

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

~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~ SWAT: Aunif, Dstn1

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

set random number array values for max temp for min temp for radiation

Arguments

Type IntentOptional Attributes Name
integer :: iwgn