climate_control Subroutine

subroutine climate_control()

Uses

  • proc~~climate_control~~UsesGraph proc~climate_control climate_control module~basin_module basin_module proc~climate_control->module~basin_module module~climate_module climate_module proc~climate_control->module~climate_module module~hydrograph_module hydrograph_module proc~climate_control->module~hydrograph_module module~maximum_data_module maximum_data_module proc~climate_control->module~maximum_data_module module~time_module time_module proc~climate_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 ~ ~ ~ ~ ~ ~

Temperature: Solar Radiation: Relative Humidity: simple dewpoint eqn from Lawrence 2005. Bull. Amer. Meteor. Soc. Wind Speed: Potential ET: Read in data !! if using a measured data Use HARGREAVES POTENTIAL EVAPOTRANSPIRATION METHOD Update CMI and Precip minus PET 30 day moving sum calculate climatic moisture index - cumulative p/pet Use Hargreaves Potential ET Method subtract the 30 day previous and add the current day precip/pet Calculate air temperature lag day for stream temperature replace current day temperature lag day is the next variable in array Calculate maximum half-hour rainfall fraction Base Zero Heat Units Climate Change Adjustments !!

Arguments

None

Calls

proc~~climate_control~~CallsGraph proc~climate_control climate_control cli_bounds_check cli_bounds_check proc~climate_control->cli_bounds_check cli_clgen cli_clgen proc~climate_control->cli_clgen cli_precip_control cli_precip_control proc~climate_control->cli_precip_control cli_rhgen cli_rhgen proc~climate_control->cli_rhgen cli_slrgen cli_slrgen proc~climate_control->cli_slrgen cli_tgen cli_tgen proc~climate_control->cli_tgen cli_weatgn cli_weatgn proc~climate_control->cli_weatgn cli_wndgen cli_wndgen proc~climate_control->cli_wndgen