climate_module Module


Used by

  • module~~climate_module~~UsedByGraph module~climate_module climate_module proc~actions actions proc~actions->module~climate_module proc~aqu_1d_control aqu_1d_control proc~aqu_1d_control->module~climate_module proc~cal_conditions cal_conditions proc~cal_conditions->module~climate_module proc~ch_rthr ch_rthr proc~ch_rthr->module~climate_module proc~ch_rtmusk ch_rtmusk proc~ch_rtmusk->module~climate_module proc~ch_rtpath ch_rtpath proc~ch_rtpath->module~climate_module proc~ch_temp1 ch_temp1 proc~ch_temp1->module~climate_module proc~ch_watqual4 ch_watqual4 proc~ch_watqual4->module~climate_module proc~channel_control channel_control proc~channel_control->module~climate_module proc~channel_om_output channel_om_output proc~channel_om_output->module~climate_module proc~channel_output channel_output proc~channel_output->module~climate_module proc~cli_atmodep_time_control cli_atmodep_time_control proc~cli_atmodep_time_control->module~climate_module proc~cli_bounds_check cli_bounds_check proc~cli_bounds_check->module~climate_module proc~cli_clgen cli_clgen proc~cli_clgen->module~climate_module proc~cli_hmeas cli_hmeas proc~cli_hmeas->module~climate_module proc~cli_initwgn cli_initwgn proc~cli_initwgn->module~climate_module proc~cli_lapse cli_lapse proc~cli_lapse->module~climate_module proc~cli_petmeas cli_petmeas proc~cli_petmeas->module~climate_module proc~cli_pgen cli_pgen proc~cli_pgen->module~climate_module proc~cli_pgenhr cli_pgenhr proc~cli_pgenhr->module~climate_module proc~cli_pmeas cli_pmeas proc~cli_pmeas->module~climate_module proc~cli_precip_control cli_precip_control proc~cli_precip_control->module~climate_module proc~cli_read_atmodep cli_read_atmodep proc~cli_read_atmodep->module~climate_module proc~cli_read_atmodep_cs cli_read_atmodep_cs proc~cli_read_atmodep_cs->module~climate_module proc~cli_read_atmodep_salt cli_read_atmodep_salt proc~cli_read_atmodep_salt->module~climate_module proc~cli_rhgen cli_rhgen proc~cli_rhgen->module~climate_module proc~cli_slrgen cli_slrgen proc~cli_slrgen->module~climate_module proc~cli_smeas cli_smeas proc~cli_smeas->module~climate_module proc~cli_staread cli_staread proc~cli_staread->module~climate_module proc~cli_tgen cli_tgen proc~cli_tgen->module~climate_module proc~cli_tmeas cli_tmeas proc~cli_tmeas->module~climate_module proc~cli_weatgn cli_weatgn proc~cli_weatgn->module~climate_module proc~cli_wgnread cli_wgnread proc~cli_wgnread->module~climate_module proc~cli_wmeas cli_wmeas proc~cli_wmeas->module~climate_module proc~cli_wndgen cli_wndgen proc~cli_wndgen->module~climate_module proc~climate_control climate_control proc~climate_control->module~climate_module proc~co2_read co2_read proc~co2_read->module~climate_module proc~conditions conditions proc~conditions->module~climate_module proc~cs_rain cs_rain proc~cs_rain->module~climate_module proc~cs_uptake_read cs_uptake_read proc~cs_uptake_read->module~climate_module proc~ero_eiusle ero_eiusle proc~ero_eiusle->module~climate_module proc~ero_ovrsed ero_ovrsed proc~ero_ovrsed->module~climate_module proc~ero_pkq ero_pkq proc~ero_pkq->module~climate_module proc~ero_ysed ero_ysed proc~ero_ysed->module~climate_module proc~et_act et_act proc~et_act->module~climate_module proc~et_pot et_pot proc~et_pot->module~climate_module proc~gcycl gcycl proc~gcycl->module~climate_module proc~hru_control hru_control proc~hru_control->module~climate_module proc~hru_hyds hru_hyds proc~hru_hyds->module~climate_module proc~hru_lte_read hru_lte_read proc~hru_lte_read->module~climate_module proc~hru_lum_init hru_lum_init proc~hru_lum_init->module~climate_module proc~hru_urban hru_urban proc~hru_urban->module~climate_module proc~hru_urbanhr hru_urbanhr proc~hru_urbanhr->module~climate_module proc~hyd_read_connect hyd_read_connect proc~hyd_read_connect->module~climate_module proc~hydro_init hydro_init proc~hydro_init->module~climate_module proc~nut_nrain nut_nrain proc~nut_nrain->module~climate_module proc~path_ls_process path_ls_process proc~path_ls_process->module~climate_module proc~pl_biomass_gro pl_biomass_gro proc~pl_biomass_gro->module~climate_module proc~pl_community pl_community proc~pl_community->module~climate_module proc~pl_dormant pl_dormant proc~pl_dormant->module~climate_module proc~pl_leaf_drop pl_leaf_drop proc~pl_leaf_drop->module~climate_module proc~pl_leaf_senes pl_leaf_senes proc~pl_leaf_senes->module~climate_module proc~pl_nut_demand pl_nut_demand proc~pl_nut_demand->module~climate_module proc~pl_tstr pl_tstr proc~pl_tstr->module~climate_module proc~plant_init plant_init proc~plant_init->module~climate_module proc~regres regres proc~regres->module~climate_module proc~res_control res_control proc~res_control->module~climate_module proc~res_cs res_cs proc~res_cs->module~climate_module proc~res_hydro res_hydro proc~res_hydro->module~climate_module proc~res_nutrient res_nutrient proc~res_nutrient->module~climate_module proc~res_sediment res_sediment proc~res_sediment->module~climate_module proc~res_weir_release res_weir_release proc~res_weir_release->module~climate_module proc~rls_routesurf rls_routesurf proc~rls_routesurf->module~climate_module proc~salt_rain salt_rain proc~salt_rain->module~climate_module proc~salt_roadsalt salt_roadsalt proc~salt_roadsalt->module~climate_module proc~salt_roadsalt_read salt_roadsalt_read proc~salt_roadsalt_read->module~climate_module proc~salt_uptake_read salt_uptake_read proc~salt_uptake_read->module~climate_module proc~sd_channel_control2 sd_channel_control2 proc~sd_channel_control2->module~climate_module proc~sd_channel_control3 sd_channel_control3 proc~sd_channel_control3->module~climate_module proc~sd_channel_sediment3 sd_channel_sediment3 proc~sd_channel_sediment3->module~climate_module proc~sq_canopyint sq_canopyint proc~sq_canopyint->module~climate_module proc~sq_greenampt sq_greenampt proc~sq_greenampt->module~climate_module proc~sq_snom sq_snom proc~sq_snom->module~climate_module proc~stmp_solt stmp_solt proc~stmp_solt->module~climate_module proc~swift_output swift_output proc~swift_output->module~climate_module proc~swr_subwq swr_subwq proc~swr_subwq->module~climate_module proc~wet_cs wet_cs proc~wet_cs->module~climate_module proc~wet_salt wet_salt proc~wet_salt->module~climate_module proc~wetland_control wetland_control proc~wetland_control->module~climate_module

Variables

Type Visibility Attributes Name Initial
integer, public :: ppet_ndays = 30
integer, public :: ppet_mce = 0
real, public, dimension (:,:), allocatable :: frad
real, public, dimension (:,:), allocatable :: wgncur
real, public, dimension (:,:), allocatable :: wgnold
integer, public, dimension (:), allocatable :: elevp
integer, public, dimension (:), allocatable :: elevt
integer, public, dimension (:), allocatable :: idg
integer, public, dimension (:,:), allocatable :: rndseed
real, public, dimension (:), allocatable :: rnd2
real, public, dimension (:), allocatable :: rnd3
real, public, dimension (:), allocatable :: rnd8
real, public, dimension (:), allocatable :: rnd9
integer, public :: rndseed_cond = 748932582
real, public, dimension(:), allocatable :: co2y
type(weather_generator_db), public, dimension(:), allocatable :: wgn
type(weather_generator_db), public, dimension(:), allocatable :: wgn_orig
type(wgn_parms), public, dimension(:), allocatable :: wgn_pms
type(wind_direction_db), public, dimension(:), allocatable :: wnd_dir
type(weather_daily), public :: w
type(weather_station), public, dimension(:), allocatable :: wst
type(climate_measured_data), public, dimension(:), allocatable :: pcp
type(climate_measured_data), public, dimension(:), allocatable :: tmp
type(climate_measured_data), public, dimension(:), allocatable :: slr
type(climate_measured_data), public, dimension(:), allocatable :: hmd
type(climate_measured_data), public, dimension(:), allocatable :: wnd
type(climate_measured_data), public, dimension(:), allocatable :: petm
type(atmospheric_deposition), public, dimension(:), allocatable :: atmodep
type(atmospheric_deposition_control), public, save :: atmodep_cont
character(len=1), public :: salt_atmo = "n"
character(len=1), public :: cs_atmo = "n"
type(object_deposition_cs), public, dimension (:), allocatable :: atmodep_salt
type(object_deposition_cs), public, dimension (:), allocatable :: atmodep_cs
type(object_road_salt), public, dimension (:), allocatable :: rdapp_salt
character(len=50), public, dimension(:), allocatable :: wst_n
character(len=50), public, dimension(:), allocatable :: wgn_n
character(len=50), public, dimension(:), allocatable :: pcp_n
character(len=50), public, dimension(:), allocatable :: tmp_n
character(len=50), public, dimension(:), allocatable :: slr_n
character(len=50), public, dimension(:), allocatable :: hmd_n
character(len=50), public, dimension(:), allocatable :: wnd_n
character(len=50), public, dimension(:), allocatable :: atmo_n
character(len=50), public, dimension(:), allocatable :: petm_n

Derived Types

type, public ::  weather_generator_db

Components

Type Visibility Attributes Name Initial
real, public :: lat = 0.0

degrees |latitude of weather station used to compile data

real, public :: long = 0.0

degrees |longitude of weather station

real, public :: elev = 0.0

|elevation of weather station used to compile weather generator data

real, public :: rain_yrs = 10.0

none |number of years of recorded maximum 0.5h rainfall used to calculate values for rainhhmx(:)

real, public, dimension (12) :: tmpmx = 0.

deg C |avg monthly maximum air temperature

real, public, dimension (12) :: tmpmn = 0.

deg C |avg monthly minimum air temperature

real, public, dimension (12) :: tmpstdmx = 0.

deg C |standard deviation for avg monthly maximum air temperature

real, public, dimension (12) :: tmpstdmn = 0.

deg C |standard deviation for avg monthly minimum air temperature

real, public, dimension (12) :: pcpmm = 0.

mm |amount of precipitation in month

real, public, dimension (12) :: pcpstd = 0.

mm/day |standard deviation for the average daily

real, public, dimension (12) :: pcpskw = 0.

none |skew coefficient for the average daily precipitation

real, public, dimension (12) :: pr_wd = 0.

none |probability of wet day after dry day in month

real, public, dimension (12) :: pr_ww = 0.

none |probability of wet day after wet day in month

real, public, dimension (12) :: pcpd = 0.

days |average number of days of precipitation in the month

real, public, dimension (12) :: rainhmx = 0.

mm |maximum 0.5 hour rainfall in month

real, public, dimension (12) :: solarav = 0.

MJ/m^2/day |average daily solar radiation for the month

real, public, dimension (12) :: dewpt = 0.

deg C |average dew point temperature for the month

real, public, dimension (12) :: windav = 0.

m/s |average wind speed for the month

type, public ::  wgn_parms

Components

Type Visibility Attributes Name Initial
real, public, dimension (12) :: pr_wdays = 0.

none |proportion of wet days in a month

real, public, dimension (12) :: pcpmean = 0.

mm/day |average amount of precipitation falling in one day for the month

real, public :: daylmn = 0.

|minimum day length

real, public :: daylth = 0.

|day length threshhold to trigger dormancy

real, public :: latsin = 0.

|sine of latitude

real, public :: latcos = 0.

|cosine of latitude

real, public :: phutot = 0.

|total base zero heat units for year

real, public :: pcpdays = 0.

|days of precip in year

real, public :: tmp_an = 0.

|average annual air temperature

real, public :: pcp_an = 0.

|average annual precipitation

real, public :: ppet_an = 0.

|average annual precip/pet

real, public :: precip_sum = 0.

|30 day sum of PET (mm)

real, public :: pet_sum = 0.

|30 day sum of PRECIP (mm)

real, public :: p_pet_rto = 0.

|30 day sum of PRECIP/PET ratio

real, public, dimension (12) :: pcf = 0.

|normalization factor for precipitation

real, public, dimension (12) :: amp_r = 0.

|alpha factor for rain(mo max 0.5h rain)

real, public, dimension (12) :: pet = 0.

|average monthly PET (mm)

integer, public, dimension (:), allocatable :: mne_ppet

none |next element in precip-pet linked list

real, public, dimension (:), allocatable :: precip_mce

mm |precip on current day of 30 day list

real, public, dimension (:), allocatable :: pet_mce

mm |pet on current day of 30 day list

integer, public :: ireg = 1

|annual precip category-1 <= 508 mm; 2 > 508 and <= 1016 mm; 3 > 1016 mm/yr

integer, public :: idewpt = 0

|0=dewpoint; 1=rel humididty input

type, public ::  wind_direction_db

Components

Type Visibility Attributes Name Initial
character(len=16), public :: name = "default-uniform"
real, public, dimension (12,16) :: dir = 1.

1-16 |avg monthly wind direstion

type, public ::  weather_daily

Components

Type Visibility Attributes Name Initial
real, public :: precip = 0.
real, public :: precip_next = 0.

mm |precip generated for next day

real, public :: tmax = 0.
real, public :: tmin = 0.
real, public :: tave = 0.
real, public :: solrad = 0.
real, public :: solradmx = 0.
real, public :: rhum = 0.
real, public :: dewpt = 0.
real, public :: windsp = 0.
real, public :: pet = 0.0
real, public :: wndir = 0.
real, public :: phubase0 = 0.

deg C |cumulative base 0 heat units

real, public :: ppet = 0.

mm/mm |climatic moisture index - cumulative p/pet

real, public :: daylength = 0.

hr |day length

real, public :: precip_half_hr = 0.

frac |fraction of total rainfall on day that occurs |during 0.5h highest intensity rainfall

character(len=3), public :: precip_prior_day = "dry"

|"dry" or "wet"

real, public, dimension(:), allocatable :: ts

mm |subdaily precip - current day

real, public, dimension(:), allocatable :: ts_next

mm |subdaily precip - next day

type, public ::  weather_codes_station

Components

Type Visibility Attributes Name Initial
integer, public :: wgn = 1

weather generator station number

integer, public :: pgage = 0

gage number for rainfall (sim if generating)

integer, public :: tgage = 0

gage number fo temperature (sim if generating)

integer, public :: sgage = 0

gage number for solar radiation (sim if generating)

integer, public :: hgage = 0

gage number for relative humidity (sim if generating)

integer, public :: wgage = 0

gage number for windspeed (sim if generating)

integer, public :: petgage = 0

number of pet gage files used in sim

integer, public :: atmodep = 0

atmospheric depostion data file locator

type, public ::  weather_codes_station_char

Components

Type Visibility Attributes Name Initial
character(len=50), public :: wgn = ""

weather generator name

character(len=50), public :: pgage = ""

gage name for rainfall

character(len=50), public :: tgage = ""

gage name for temperature

character(len=50), public :: sgage = ""

gage name for solar radiation

character(len=50), public :: hgage = ""

gage name for relative humidity

character(len=50), public :: wgage = ""

gage name for windspeed

character(len=50), public :: petgage = ""

name of pet gage ?

character(len=50), public :: atmodep = ""

atmospheric depostion data file locator

type, public ::  weather_station

Components

Type Visibility Attributes Name Initial
character(len=50), public :: name = "Farmer Branch IL"
real, public :: lat = 0.
type(weather_codes_station_char), public :: wco_c
type(weather_codes_station), public :: wco
type(weather_daily), public :: weat
real, public :: precip_aa = 0.
real, public :: pet_aa = 0.
integer, public :: pcp_ts = 0
real, public, dimension(12) :: rfinc = 0
real, public, dimension(12) :: tmpinc = 0
real, public, dimension(12) :: radinc = 0
real, public, dimension(12) :: huminc = 0
real, public, dimension(:), allocatable :: tlag
real, public :: airlag_temp = 0.
integer, public :: tlag_mne = 1

type, public ::  climate_change_variables

Components

Type Visibility Attributes Name Initial
character(len=50), public :: name = "Increment or Scenario"
integer, public :: ref_yr = 0
real, public :: co2inc = 0
real, public, dimension(12) :: rfinc = 0
real, public, dimension(12) :: tmpinc = 0
real, public, dimension(12) :: radinc = 0
real, public, dimension(12) :: huminc = 0
real, public :: co2scen = 0
real, public, dimension(12) :: rfscen = 0
real, public, dimension(12) :: tmpscen = 0
real, public, dimension(12) :: radscen = 0
real, public, dimension(12) :: humscen = 0

type, public ::  climate_measured_data

Components

Type Visibility Attributes Name Initial
character(len=50), public :: filename = ""
real, public :: lat = 0.

latitude of raingage

real, public :: long = 0.

longitude of raingage

real, public :: elev = 0.

elevation of raingage

integer, public :: nbyr = 0

number of years of daily rainfall

integer, public :: tstep = 0

timestep of precipitation

integer, public :: days_gen = 0

number of missing days - generated

integer, public :: yrs_start = 1

number of years of simulation before record starts

integer, public :: start_day = 0

daily precip start julian day

integer, public :: start_yr = 0

daily precip start year

integer, public :: end_day = 0

daily precip end julian day

integer, public :: end_yr = 0

daily precip end year

real, public, dimension (12) :: mean_mon = 0.

same as variable unit |mean monthly measured value

real, public, dimension (12) :: max_mon = 0.

same as variable unit |maximum monthly measured value

real, public, dimension (12) :: min_mon = 0.

same as variable unit |minimum monthly measured value

real, public, dimension (:,:), allocatable :: ts
real, public, dimension (:,:), allocatable :: ts2
real, public, dimension (:,:,:), allocatable :: tss

type, public ::  atmospheric_deposition

Components

Type Visibility Attributes Name Initial
real, public :: nh4_rf = 1.

ave annual ammonia in rainfall - mg/l

real, public :: no3_rf = .2

ave annual nitrate in rainfall - mg/l

real, public :: nh4_dry = 0.

ave annual ammonia dry deposition - kg/ha/yr

real, public :: no3_dry = 0.

ave annual nitrate dry deposition - kg/ha/yr

character(len=50), public :: name = ""
real, public, dimension(:), allocatable :: nh4_rfmo
real, public, dimension(:), allocatable :: no3_rfmo
real, public, dimension(:), allocatable :: nh4_drymo
real, public, dimension(:), allocatable :: no3_drymo
real, public, dimension(:), allocatable :: nh4_rfyr
real, public, dimension(:), allocatable :: no3_rfyr
real, public, dimension(:), allocatable :: nh4_dryyr
real, public, dimension(:), allocatable :: no3_dryyr

type, public ::  atmospheric_deposition_control

Components

Type Visibility Attributes Name Initial
integer, public :: num_sta = 0
character(len=2), public :: timestep = ""
integer, public :: ts = 0
integer, public :: mo_init = 0
integer, public :: yr_init = 0
integer, public :: num = 0
integer, public :: first = 1

type, public ::  atmospheric_deposition_cs

Components

Type Visibility Attributes Name Initial
real, public :: rf = 0.

concentration in rainfall - mg/l

real, public :: dry = 0.

dry deposition - kg/ha/yr

real, public, dimension(:), allocatable :: rfmo
real, public, dimension(:), allocatable :: drymo
real, public, dimension(:), allocatable :: rfyr
real, public, dimension(:), allocatable :: dryyr

type, public ::  object_deposition_cs

Components

Type Visibility Attributes Name Initial
type(atmospheric_deposition_cs), public, dimension (:), allocatable :: salt
type(atmospheric_deposition_cs), public, dimension (:), allocatable :: cs

type, public ::  road_salt

Components

Type Visibility Attributes Name Initial
real, public :: road = 0.

ave annual salt ion loading via road salt application (kg/ha)

real, public, dimension(:,:), allocatable :: roadday

daily salt ion loading via road salt application (kg/ha)

real, public, dimension(:), allocatable :: roadmo

monthly salt ion loading via road salt application (kg/ha)

real, public, dimension(:), allocatable :: roadyr

yearly salt ion loading via road salt application (kg/ha)

type, public ::  object_road_salt

Components

Type Visibility Attributes Name Initial
type(road_salt), public, dimension (:), allocatable :: salt