cli_precip_control Subroutine

subroutine cli_precip_control(istart)

Uses

  • proc~~cli_precip_control~~UsesGraph proc~cli_precip_control cli_precip_control module~basin_module basin_module proc~cli_precip_control->module~basin_module module~climate_module climate_module proc~cli_precip_control->module~climate_module module~hydrograph_module hydrograph_module proc~cli_precip_control->module~hydrograph_module module~maximum_data_module maximum_data_module proc~cli_precip_control->module~maximum_data_module module~time_module time_module proc~cli_precip_control->module~time_module module~hydrograph_module->module~basin_module module~hydrograph_module->module~time_module

~ ~ ~ PURPOSE ~ ~ ~ this subroutine controls weather inputs to SWAT. Precipitation and temperature data is read in and the weather generator is called to fill in radiation, wind speed and relative humidity as well as missing precipitation and temperatures. Adjustments for climate changes studies are also made in this subroutine.

~ ~ ~ INCOMING VARIABLES ~ ~ ~ name |units |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ elevp(:) |m |elevation of precipitation gage station elevt(:) |m |elevation of temperature gage station welev(:) |m |elevation of weather station used to compile |weather generator data ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ LOCAL DEFINITIONS ~ ~ ~ name |units |definition ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~ Intrinsic: Max, Min SWAT: pmeas, tmeas, smeas, hmeas, wmeas SWAT: pgen, tgen, weatgn, clgen, slrgen, rhgen, wndgen

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

set current day to next day (that was previously calculated) simulated precip measured precip check to see if out of bounds (simulation starts before or ends after precip data) subdaily precip simulate missing data daily precip simulate missing data sum to get ave annual precip for SWIFT input

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: istart

Calls

proc~~cli_precip_control~~CallsGraph proc~cli_precip_control cli_precip_control cli_bounds_check cli_bounds_check proc~cli_precip_control->cli_bounds_check cli_pgen cli_pgen proc~cli_precip_control->cli_pgen cli_pgenhr cli_pgenhr proc~cli_precip_control->cli_pgenhr