SUEWS API Site
Documentation of SUEWS source code
Modules | Variables
suews_ctrl_const.f95 File Reference

Go to the source code of this file.

Modules

module  allocatearray
 
module  initial
 
module  data_in
 
module  snowmod
 
module  defaultnotused
 
module  time
 
module  mod_grav
 
module  thresh
 
module  gas
 
module  mod_z
 
module  resist
 
module  moist
 
module  gis_data
 
module  sues_data
 
module  vegphenogy
 
module  filename
 
module  initialcond
 
module  colnamesmodeldailystate
 
module  colnamesinputfiles
 
module  wherewhen
 
module  mathconstants
 
module  physconstants
 

Variables

integer, parameter allocatearray::maxnumberofgrids = 10000
 
integer, parameter allocatearray::maxlinesmet = 8640
 
integer, parameter allocatearray::nsurf = 7
 
integer, parameter allocatearray::nvegsurf = 3
 
integer, parameter allocatearray::nsurfincsnow = nsurf + 1
 
integer, parameter allocatearray::ndepth = 5
 
integer, parameter allocatearray::nlayer_max = 100
 
integer, parameter allocatearray::nspec = 1
 
integer, parameter allocatearray::nsw = 1
 
integer, parameter allocatearray::nlw = 1
 
integer, parameter allocatearray::ncol = 1
 
integer, parameter allocatearray::pavsurf = 1
 
integer, parameter allocatearray::bldgsurf = 2
 
integer, parameter allocatearray::conifsurf = 3
 
integer, parameter allocatearray::decidsurf = 4
 
integer, parameter allocatearray::grasssurf = 5
 
integer, parameter allocatearray::bsoilsurf = 6
 
integer, parameter allocatearray::watersurf = 7
 
integer, parameter allocatearray::excesssurf = 8
 
integer, parameter allocatearray::nsurfdonotreceivedrainage = 0
 
integer, parameter allocatearray::ivconif = 1
 
integer, parameter allocatearray::ivdecid = 2
 
integer, parameter allocatearray::ivgrass = 3
 
real(kind(1d0)), dimension(nsurfallocatearray::sfr_surf
 
integer, parameter allocatearray::ncolumnssiteselect = 105
 
integer, parameter allocatearray::ncolumnsnonveg = 24
 
integer, parameter allocatearray::ncolumnsveg = 38
 
integer, parameter allocatearray::ncolumnswater = 22
 
integer, parameter allocatearray::ncolumnssnow = 25
 
integer, parameter allocatearray::ncolumnssoil = 9
 
integer, parameter allocatearray::ncolumnsconductance = 13
 
integer, parameter allocatearray::ncolumnsohmcoefficients = 4
 
integer, parameter allocatearray::ncolumnsestmcoefficients = 52
 
integer, parameter allocatearray::ncolumnsanthropogenic = 39
 
integer, parameter allocatearray::ncolumnsirrigation = 26
 
integer, parameter allocatearray::ncolumnsprofiles = 25
 
integer, parameter allocatearray::ncolumnswgwaterdist = 10
 
integer, parameter allocatearray::ncolumnsbiogen = 9
 
integer, parameter allocatearray::ncolumnsmetforcingdata = 24
 
integer, parameter allocatearray::ncolsestmdata = 13
 
integer, parameter allocatearray::ncolumnsdataoutsuews = 87
 
integer, parameter allocatearray::ncolumnsdataoutsnow = 103
 
integer, parameter allocatearray::ncolumnsdataoutsolweig = 31
 
integer, parameter allocatearray::ncolumnsdataoutbeers = 34
 
integer, parameter allocatearray::ncolumnsdataoutbl = 22
 
integer, parameter allocatearray::ncolumnsdataoutestm = 5 + 27
 
integer, parameter allocatearray::ncolumnsdataoutehc = 5 + 7*2 + 15*(1 + 4 + 2)*2
 
integer, parameter allocatearray::ncolumnsdataoutdailystate = 49
 
integer, parameter allocatearray::ncolumnsdataoutrsl = 30*4 + 5 + 13 + 2
 
integer, parameter allocatearray::ncolumnsdataoutdebug = 5 + 103 + 14 + 5 + 4 + 3 + 1
 
integer, parameter allocatearray::ncolumnsdataoutspartacus = 5 + 7 + 4*15 + 3 + 6*15 + 2*15 + 4
 
character(len=20), dimension(ncolumnssiteselectallocatearray::headersiteselect_file
 
character(len=20), dimension(ncolumnsnonvegallocatearray::headernonveg_file
 
character(len=20), dimension(ncolumnsnonvegallocatearray::headernonveg_reqd
 
character(len=20), dimension(ncolumnsvegallocatearray::headerveg_file
 
character(len=20), dimension(ncolumnsvegallocatearray::headerveg_reqd
 
character(len=20), dimension(ncolumnswaterallocatearray::headerwater_file
 
character(len=20), dimension(ncolumnswaterallocatearray::headerwater_reqd
 
character(len=20), dimension(ncolumnssnowallocatearray::headersnow_file
 
character(len=20), dimension(ncolumnssnowallocatearray::headersnow_reqd
 
character(len=20), dimension(ncolumnssoilallocatearray::headersoil_file
 
character(len=20), dimension(ncolumnssoilallocatearray::headersoil_reqd
 
character(len=20), dimension(ncolumnsconductanceallocatearray::headercond_file
 
character(len=20), dimension(ncolumnsconductanceallocatearray::headercond_reqd
 
character(len=20), dimension(ncolumnsohmcoefficientsallocatearray::headerohmcoefficients_file
 
character(len=20), dimension(ncolumnsohmcoefficientsallocatearray::headerohmcoefficients_reqd
 
character(len=20), dimension(ncolumnsestmcoefficientsallocatearray::headerestmcoefficients_file
 
character(len=20), dimension(ncolumnsestmcoefficientsallocatearray::headerestmcoefficients_reqd
 
character(len=20), dimension(ncolumnsanthropogenicallocatearray::headeranthropogenic_file
 
character(len=20), dimension(ncolumnsanthropogenicallocatearray::headeranthropogenic_reqd
 
character(len=20), dimension(ncolumnsirrigationallocatearray::headerirrigation_file
 
character(len=20), dimension(ncolumnsirrigationallocatearray::headerirrigation_reqd
 
character(len=20), dimension(ncolumnsprofilesallocatearray::headerprofiles_file
 
character(len=20), dimension(ncolumnsprofilesallocatearray::headerprofiles_reqd
 
character(len=20), dimension(ncolumnswgwaterdistallocatearray::headerwgwaterdist_file
 
character(len=20), dimension(ncolumnswgwaterdistallocatearray::headerwgwaterdist_reqd
 
character(len=20), dimension(ncolumnsbiogenallocatearray::headerbiogen_file
 
character(len=20), dimension(ncolumnsbiogenallocatearray::headerbiogen_reqd
 
integer, dimension(:), allocatable allocatearray::usecolumnsdataout
 
character(len=14 *ncolumnsdataoutsuewsallocatearray::headeruse
 
character(len=14 *ncolumnsdataoutsuewsallocatearray::formatuse
 
character(len=14 *ncolumnsdataoutsuewsallocatearray::headerusenosep
 
character(len=14 *ncolumnsdataoutsuewsallocatearray::formatusenosep
 
character(len=52 *ncolumnsdataoutsuewsallocatearray::longnmuse
 
character(len=14 *ncolumnsdataoutsuewsallocatearray::unitsuse
 
character(len=3 *ncolumnsdataoutsuewsallocatearray::aggreguse
 
character(len=4 *ncolumnsdataoutsuewsallocatearray::colnosuse
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::siteselect
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::nonveg_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::veg_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::water_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::snow_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::soil_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::conductance_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::ohmcoefficients_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::estmcoefficients_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::anthropogenic_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::irrigation_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::profiles_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::wgwaterdist_coeff
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::biogen_coeff
 
integer, dimension(:), allocatable allocatearray::grididmatrix
 
integer, dimension(:), allocatable allocatearray::grididmatrix0
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::surfacechar
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::metforcingdata
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::metforcingdata_grid
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::estmforcingdata
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::modeldailystate
 
real(kind(1d0)), dimension(:), allocatable allocatearray::dailystatefirstopen
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::modeloutputdata
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutsuews
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutrsl
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutbl
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutsolweig
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutbeers
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutdebug
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutspartacus
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutsnow
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutestm
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutehc
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dataoutdailystate
 
real(kind(1d0)), dimension(5) allocatearray::datetimeline
 
real(kind(1d0)), dimension(ncolumnsdataoutsuews - 5) allocatearray::dataoutlinesuews
 
real(kind(1d0)), dimension(ncolumnsdataoutsnow - 5) allocatearray::dataoutlinesnow
 
real(kind(1d0)), dimension(ncolumnsdataoutrsl - 5+12) allocatearray::dataoutlinersl
 
real(kind(1d0)), dimension(ncolumnsdataoutsolweig - 5) allocatearray::dataoutlinesolweig
 
real(kind(1d0)), dimension(ncolumnsdataoutbeers - 5) allocatearray::dataoutlinebeers
 
real(kind(1d0)), dimension(ncolumnsdataoutdebugallocatearray::dataoutlinedebug
 
real(kind(1d0)), dimension(ncolumnsdataoutspartacusallocatearray::dataoutlinespartacus
 
real(kind(1d0)), dimension(ncolumnsdataoutdailystate - 5) allocatearray::dailystateline
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::metfordisagg
 
real(kind(1d0)), dimension(:), allocatable allocatearray::metfordisaggprev
 
real(kind(1d0)), dimension(:), allocatable allocatearray::metfordisaggnext
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::estmfordisagg
 
real(kind(1d0)), dimension(:), allocatable allocatearray::estmfordisaggprev
 
real(kind(1d0)), dimension(:), allocatable allocatearray::estmfordisaggnext
 
real(kind(1d0)), dimension(0:23, 2) allocatearray::ahprof_24hr
 
real(kind(1d0)), dimension(0:23, 2) allocatearray::humactivity_24hr
 
real(kind(1d0)), dimension(0:23, 2) allocatearray::traffprof_24hr
 
real(kind(1d0)), dimension(0:23, 2) allocatearray::popprof_24hr
 
real(kind(1d0)), dimension(0:23, 2) allocatearray::wuprofm_24hr
 
real(kind(1d0)), dimension(0:23, 2) allocatearray::wuprofa_24hr
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::ts5mindata
 
real(kind(1d0)), dimension(:), allocatable allocatearray::ts5mindata_ir
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tair24hr
 
real(kind(1d0)), dimension(ncolumnsdataoutestm - 5) allocatearray::dataoutlineestm
 
real(kind(1d0)), dimension(ncolumnsdataoutehc - 5) allocatearray::dataoutlineehc
 
integer allocatearray::ctp_enusewd = 1
 
integer allocatearray::ctp_enusewe = 2
 
integer allocatearray::ctp_wumanuwd = 3
 
integer allocatearray::ctp_wumanuwe = 4
 
integer allocatearray::ctp_wuautowd = 5
 
integer allocatearray::ctp_wuautowe = 6
 
integer allocatearray::ctp_snowcwd = 7
 
integer allocatearray::ctp_snowcwe = 8
 
integer allocatearray::ctp_humactivitywd = 9
 
integer allocatearray::ctp_humactivitywe = 10
 
integer allocatearray::ctp_traffprofwd = 11
 
integer allocatearray::ctp_traffprofwe = 12
 
integer allocatearray::ctp_popprofwd = 13
 
integer allocatearray::ctp_popprofwe = 14
 
real(kind(1d0)), dimension(nsurfallocatearray::addwater
 
real(kind(1d0)), dimension(nsurfallocatearray::addwaterrunoff
 
real(kind(1d0)), dimension(nsurfallocatearray::chang
 
real(kind(1d0)), dimension(nsurfallocatearray::drain
 
real(kind(1d0)), dimension(nsurfallocatearray::evap
 
real(kind(1d0)), dimension(nsurfallocatearray::runoff
 
real(kind(1d0)), dimension(nsurfallocatearray::runoffsoil
 
real(kind(1d0)), dimension(nsurfallocatearray::smd_nsurf
 
real(kind(1d0)), dimension(nsurfallocatearray::smd_nsurfout
 
real(kind(1d0)), dimension(nsurfallocatearray::soilstore_surf
 
real(kind(1d0)), dimension(nsurfallocatearray::soilstoreold
 
real(kind(1d0)), dimension(nsurfallocatearray::state_surf
 
real(kind(1d0)), dimension(nsurfallocatearray::stateout
 
real(kind(1d0)), dimension(nsurfallocatearray::stateold
 
real(kind(1d0)), dimension(nsurfallocatearray::rss_nsurf
 
real(kind(1d0)), dimension(nsurfallocatearray::wetthresh_surf
 
real(kind(1d0)), dimension(nsurfallocatearray::statelimit_surf
 
real(kind(1d0)), dimension(1) allocatearray::waterdepth
 
real(kind(1d0)), dimension(nsurfallocatearray::sathydraulicconduct
 
real(kind(1d0)), dimension(nsurfallocatearray::soildepth
 
real(kind(1d0)), dimension(nsurfallocatearray::soilstorecap_surf
 
real(kind(1d0)), dimension(nsurf+1, nsurf - 1) allocatearray::waterdist
 
real(kind(1d0)), dimension(6, nsurfallocatearray::storedrainprm
 
integer, parameter allocatearray::ndays = 366
 
real(kind(1d0)), dimension(nvegsurfallocatearray::gdd_id
 
real(kind(1d0)), dimension(nvegsurfallocatearray::gdd_id_prev
 
real(kind(1d0)), dimension(nvegsurfallocatearray::sdd_id
 
real(kind(1d0)) allocatearray::tmin_id
 
real(kind(1d0)) allocatearray::tmax_id
 
real(kind(1d0)) allocatearray::lenday_id
 
real(kind(1d0)), dimension(12) allocatearray::hdd_id
 
real(kind(1d0)), dimension(9) allocatearray::wuday_id
 
real(kind(1d0)), dimension(9) allocatearray::wuday_id_prev
 
real(kind(1d0)), dimension(nvegsurfallocatearray::lai_id
 
real(kind(1d0)), dimension(nvegsurfallocatearray::lai_id_prev
 
real(kind(1d0)) allocatearray::albmin_dectr
 
real(kind(1d0)) allocatearray::albmax_dectr
 
real(kind(1d0)) allocatearray::capmin_dec
 
real(kind(1d0)) allocatearray::capmax_dec
 
real(kind(1d0)) allocatearray::pormin_dec
 
real(kind(1d0)) allocatearray::pormax_dec
 
real(kind(1d0)) allocatearray::albmin_evetr
 
real(kind(1d0)) allocatearray::albmax_evetr
 
real(kind(1d0)) allocatearray::albmin_grass
 
real(kind(1d0)) allocatearray::albmax_grass
 
real(kind(1d0)), dimension(nvegsurf, maxnumberofgridsallocatearray::gdd_id_grids
 
real(kind(1d0)), dimension(nvegsurf, maxnumberofgridsallocatearray::sdd_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::tmin_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::tmax_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::lenday_id_grids
 
real(kind(1d0)), dimension(12, maxnumberofgridsallocatearray::hdd_id_grids
 
real(kind(1d0)), dimension(9, maxnumberofgridsallocatearray::wuday_id_grids
 
real(kind(1d0)), dimension(nvegsurf, maxnumberofgridsallocatearray::lai_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::decidcap_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::albdectr_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::albevetr_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::albgrass_id_grids
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::porosity_id_grids
 
real(kind(1d0)) allocatearray::decidcap_id
 
real(kind(1d0)) allocatearray::albdectr_id
 
real(kind(1d0)) allocatearray::albevetr_id
 
real(kind(1d0)) allocatearray::albgrass_id
 
real(kind(1d0)) allocatearray::porosity_id
 
real(kind(1d0)) allocatearray::xbo
 
real(kind(1d0)), dimension(nvegsurfallocatearray::baset
 
real(kind(1d0)), dimension(nvegsurfallocatearray::basete
 
real(kind(1d0)), dimension(nvegsurfallocatearray::gddfull
 
real(kind(1d0)), dimension(nvegsurfallocatearray::sddfull
 
real(kind(1d0)), dimension(nvegsurfallocatearray::laimin
 
real(kind(1d0)), dimension(nvegsurfallocatearray::laimax
 
real(kind(1d0)), dimension(nvegsurfallocatearray::maxconductance
 
real(kind(1d0)), dimension(4, nvegsurfallocatearray::laipower
 
integer, dimension(nvegsurfallocatearray::laitype
 
real(kind(1d0)), dimension(nvegsurfallocatearray::biogenco2code
 
real(kind(1d0)), dimension(nvegsurfallocatearray::alpha_bioco2
 
real(kind(1d0)), dimension(nvegsurfallocatearray::beta_bioco2
 
real(kind(1d0)), dimension(nvegsurfallocatearray::theta_bioco2
 
real(kind(1d0)), dimension(nvegsurfallocatearray::alpha_enh_bioco2
 
real(kind(1d0)), dimension(nvegsurfallocatearray::beta_enh_bioco2
 
real(kind(1d0)), dimension(nvegsurfallocatearray::resp_a
 
real(kind(1d0)), dimension(nvegsurfallocatearray::resp_b
 
real(kind(1d0)), dimension(nvegsurfallocatearray::min_res_bioco2
 
real(kind(1d0)), dimension(nsurfallocatearray::alb
 
real(kind(1d0)), dimension(nsurfallocatearray::emis
 
real(kind(1d0)) allocatearray::bulkalbedo
 
real(kind(1d0)), dimension(nsurfallocatearray::tsurf_ind
 
real(kind(1d0)), dimension(nsurfallocatearray::tsurf_ind_snow
 
real(kind(1d0)), dimension(nsurfallocatearray::tsurf_ind_nosnow
 
real(kind(1d0)), dimension(nsurfallocatearray::kup_ind
 
real(kind(1d0)), dimension(nsurfallocatearray::kup_ind_snow
 
real(kind(1d0)), dimension(nsurfallocatearray::kup_ind_nosnow
 
real(kind(1d0)), dimension(nsurfallocatearray::lup_ind
 
real(kind(1d0)), dimension(nsurfallocatearray::lup_ind_snow
 
real(kind(1d0)), dimension(nsurfallocatearray::lup_ind_nosnow
 
real(kind(1d0)), dimension(nsurfallocatearray::qn1_ind
 
real(kind(1d0)), dimension(nsurfallocatearray::qn1_ind_snow
 
real(kind(1d0)), dimension(nsurfallocatearray::qn1_ind_nosnow
 
real(kind(1d0)) allocatearray::narp_lat
 
real(kind(1d0)) allocatearray::narp_long
 
real(kind(1d0)) allocatearray::narp_year
 
real(kind(1d0)) allocatearray::narp_tz
 
real(kind(1d0)) allocatearray::narp_alb_snow
 
real(kind(1d0)) allocatearray::narp_emis_snow
 
real(kind(1d0)) allocatearray::narp_trans_site
 
real(kind(1d0)), dimension(365) allocatearray::narp_g
 
integer allocatearray::narp_nperhour
 
real(kind(1d0)), dimension(:), allocatable allocatearray::narp_kdown_hr
 
real(kind(1d0)), parameter allocatearray::deg2rad = 0.017453292
 
real(kind(1d0)), parameter allocatearray::rad2deg = 57.29577951
 
real(kind(1d0)), parameter allocatearray::sigma_sb = 5.67E-8
 
real(kind(1d0)), dimension(nsurf+1, 4, 3) allocatearray::ohm_coef
 
real(kind(1d0)), dimension(nsurf+1) allocatearray::ohm_threshsw
 
real(kind(1d0)), dimension(nsurf+1) allocatearray::ohm_threshwd
 
real(kind(1d0)) allocatearray::a1
 
real(kind(1d0)) allocatearray::a2
 
real(kind(1d0)) allocatearray::a3
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tair_av_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::qn_av_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::qn_s_av_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::dqndt_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::dqnsdt_grids
 
real(kind(1d0)) allocatearray::qn_av
 
real(kind(1d0)) allocatearray::dqndt
 
real(kind(1d0)) allocatearray::tair_av
 
real(kind(1d0)) allocatearray::qn_s_av
 
real(kind(1d0)) allocatearray::dqnsdt
 
real(kind(1d0)), dimension(nsurfallocatearray::changsnow
 
real(kind(1d0)), dimension(nsurfallocatearray::maxsnowvol
 
real(kind(1d0)), dimension(nsurfallocatearray::snowwater
 
real(kind(1d0)), dimension(nsurfallocatearray::ev_snow
 
real(kind(1d0)), dimension(nsurfallocatearray::mw_ind
 
real(kind(1d0)), dimension(nsurfallocatearray::mw_indday
 
real(kind(1d0)), dimension(nsurfallocatearray::runoffsnow
 
real(kind(1d0)), dimension(nsurfallocatearray::snowdens
 
real(kind(1d0)), dimension(nsurfallocatearray::snowfrac
 
real(kind(1d0)), dimension(nsurfallocatearray::icefrac
 
real(kind(1d0)), dimension(nsurfallocatearray::snowinit
 
real(kind(1d0)), dimension(nsurfallocatearray::snowdepth
 
real(kind(1d0)), dimension(nsurfallocatearray::snowtosurf
 
real(kind(1d0)), dimension(nsurfallocatearray::volswe
 
real(kind(1d0)), dimension(nsurfallocatearray::statefraction
 
real(kind(1d0)), dimension(nsurfallocatearray::freezmelt
 
real(kind(1d0)), dimension(nsurfallocatearray::qm_freezstate
 
real(kind(1d0)), dimension(nsurfallocatearray::freezstate
 
real(kind(1d0)), dimension(nsurfallocatearray::freezstatevol
 
real(kind(1d0)), dimension(nsurfallocatearray::qm_melt
 
real(kind(1d0)), dimension(nsurfallocatearray::qm_rain
 
real(kind(1d0)), dimension(nsurfallocatearray::rainonsnow
 
real(kind(1d0)), dimension(nsurfallocatearray::snowpacklimit
 
real(kind(1d0)), dimension(nsurfallocatearray::deltaqi
 
real(kind(1d0)), dimension(nsurf, maxnumberofgridsallocatearray::icefrac_grids
 
real(kind(1d0)), dimension(nsurfallocatearray::snowpack
 
real(kind(1d0)), dimension(nsurfallocatearray::snowpackold
 
integer, dimension(nsurfallocatearray::heig
 
integer, dimension(nsurfallocatearray::snowcoverforms
 
integer, dimension(nsurfallocatearray::snowcalcswitch = 0
 
integer, parameter allocatearray::nconns = 8
 
real(kind(1d0)), dimension(nconnsallocatearray::gridtofrac
 
real(kind(1d0)), dimension(nconnsallocatearray::gridto
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::a1anohm
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::a2anohm
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::a3anohm
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::mahanohm
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::boanohmstart
 
real(kind(1d0)), dimension(maxnumberofgridsallocatearray::boanohmend
 
real(kind(1d0)), dimension(nsurfallocatearray::cpanohm
 
real(kind(1d0)), dimension(nsurfallocatearray::kkanohm
 
real(kind(1d0)), dimension(nsurfallocatearray::chanohm
 
integer allocatearray::nlayer
 
integer, dimension(:), allocatable allocatearray::nlayer_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::sfr_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tsfc_roof
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::k_roof
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::cp_roof
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::dz_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tin_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::alb_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::emis_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::state_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::statelimit_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::wetthresh_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::soilstore_roof
 
real(kind(1d0)), dimension(:), allocatable allocatearray::soilstorecap_roof
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::temp_roof
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::tsfc_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::sfr_roof_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::k_roof_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::cp_roof_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dz_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::tin_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::alb_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::emis_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::state_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::statelimit_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::wetthresh_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::soilstore_roof_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::soilstorecap_roof_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::temp_roof_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::sfr_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tsfc_wall
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::k_wall
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::cp_wall
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::dz_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tin_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::alb_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::emis_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::state_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::statelimit_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::wetthresh_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::soilstore_wall
 
real(kind(1d0)), dimension(:), allocatable allocatearray::soilstorecap_wall
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::temp_wall
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::tsfc_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::sfr_wall_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::k_wall_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::cp_wall_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dz_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::tin_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::alb_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::emis_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::state_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::statelimit_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::wetthresh_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::soilstore_wall_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::soilstorecap_wall_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::temp_wall_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tsfc_surf
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::k_surf
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::cp_surf
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::dz_surf
 
real(kind(1d0)), dimension(:), allocatable allocatearray::tin_surf
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::temp_surf
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::tsfc_surf_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::k_surf_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::cp_surf_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::dz_surf_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::tin_surf_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::temp_surf_grids
 
real(kind(1d0)), dimension(:), allocatable allocatearray::height
 
real(kind(1d0)), dimension(:), allocatable allocatearray::building_frac
 
real(kind(1d0)), dimension(:), allocatable allocatearray::veg_frac
 
real(kind(1d0)), dimension(:), allocatable allocatearray::building_scale
 
real(kind(1d0)), dimension(:), allocatable allocatearray::veg_scale
 
real(kind(1d0)), dimension(:), allocatable allocatearray::veg_ext
 
real(kind(1d0)), dimension(:), allocatable allocatearray::veg_fsd
 
real(kind(1d0)), dimension(:), allocatable allocatearray::veg_contact_fraction
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::roof_albedo_dir_mult_fact
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::wall_specular_frac
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::height_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::building_frac_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::veg_frac_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::building_scale_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::veg_scale_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::veg_ext_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::veg_fsd_grids
 
real(kind(1d0)), dimension(:, :), allocatable allocatearray::veg_contact_fraction_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::roof_albedo_dir_mult_fact_grids
 
real(kind(1d0)), dimension(:, :, :), allocatable allocatearray::wall_specular_frac_grids
 
integer allocatearray::n_vegetation_region_urban
 
integer allocatearray::n_stream_sw_urban
 
integer allocatearray::n_stream_lw_urban
 
real(kind(1d0)) allocatearray::sw_dn_direct_frac
 
real(kind(1d0)) allocatearray::air_ext_sw
 
real(kind(1d0)) allocatearray::air_ssa_sw
 
real(kind(1d0)) allocatearray::veg_ssa_sw
 
real(kind(1d0)) allocatearray::air_ext_lw
 
real(kind(1d0)) allocatearray::air_ssa_lw
 
real(kind(1d0)) allocatearray::veg_ssa_lw
 
real(kind(1d0)) allocatearray::veg_fsd_const
 
real(kind(1d0)) allocatearray::veg_contact_fraction_const
 
real(kind(1d0)) allocatearray::ground_albedo_dir_mult_fact
 
logical allocatearray::use_sw_direct_albedo
 
real(kind(1d0)), dimension(5, nsurfincsnowallocatearray::zsurf_suewssurfs
 
real(kind(1d0)), dimension(5, nsurfincsnowallocatearray::ksurf_suewssurfs
 
real(kind(1d0)), dimension(5, nsurfincsnowallocatearray::rsurf_suewssurfs
 
integer allocatearray::cc
 
integer, parameter allocatearray::ccendsi = ncolumnsSiteSelect
 
integer, dimension(nsurfallocatearray::c_albmin = (/(cc, cc=ccEndSI + 0*nsurf + 1, ccEndSI + 0*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_albmax = (/(cc, cc=ccEndSI + 1*nsurf + 1, ccEndSI + 1*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_emis = (/(cc, cc=ccEndSI + 2*nsurf + 1, ccEndSI + 2*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_stormin = (/(cc, cc=ccEndSI + 3*nsurf + 1, ccEndSI + 3*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_stormax = (/(cc, cc=ccEndSI + 4*nsurf + 1, ccEndSI + 4*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wetthresh = (/(cc, cc=ccEndSI + 5*nsurf + 1, ccEndSI + 5*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_statelimit = (/(cc, cc=ccEndSI + 6*nsurf + 1, ccEndSI + 6*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_dreq = (/(cc, cc=ccEndSI + 7*nsurf + 1, ccEndSI + 7*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_drcoef1 = (/(cc, cc=ccEndSI + 8*nsurf + 1, ccEndSI + 8*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_drcoef2 = (/(cc, cc=ccEndSI + 9*nsurf + 1, ccEndSI + 9*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_soiltcode = (/(cc, cc=ccEndSI + 10*nsurf + 1, ccEndSI + 10*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_snowlimpat = (/(cc, cc=ccEndSI + 11*nsurf + 1, ccEndSI + 11*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_snowlimrem = (/(cc, cc=ccEndSI + 12*nsurf + 1, ccEndSI + 12*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_cpanohm = (/(cc, cc=ccEndSI + 13*nsurf + 1, ccEndSI + 13*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_kkanohm = (/(cc, cc=ccEndSI + 14*nsurf + 1, ccEndSI + 14*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_chanohm = (/(cc, cc=ccEndSI + 15*nsurf + 1, ccEndSI + 15*nsurf + nsurf, 1)/)
 
integer, parameter allocatearray::ccendi = (ccEndSI + 15*nsurf + nsurf)
 
integer, dimension(nvegsurfallocatearray::c_baset = (/(cc, cc=ccEndI + 0*nvegsurf + 1, ccEndI + 0*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_basete = (/(cc, cc=ccEndI + 1*nvegsurf + 1, ccEndI + 1*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_gddfull = (/(cc, cc=ccEndI + 2*nvegsurf + 1, ccEndI + 2*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_sddfull = (/(cc, cc=ccEndI + 3*nvegsurf + 1, ccEndI + 3*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_laimin = (/(cc, cc=ccEndI + 4*nvegsurf + 1, ccEndI + 4*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_laimax = (/(cc, cc=ccEndI + 5*nvegsurf + 1, ccEndI + 5*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_porositymin = (/(cc, cc=ccEndI + 6*nvegsurf + 1, ccEndI + 6*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_porositymax = (/(cc, cc=ccEndI + 7*nvegsurf + 1, ccEndI + 7*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_gsmax = (/(cc, cc=ccEndI + 8*nvegsurf + 1, ccEndI + 8*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_laieq = (/(cc, cc=ccEndI + 9*nvegsurf + 1, ccEndI + 9*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_leafgp1 = (/(cc, cc=ccEndI + 10*nvegsurf + 1, ccEndI + 10*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_leafgp2 = (/(cc, cc=ccEndI + 11*nvegsurf + 1, ccEndI + 11*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_leafop1 = (/(cc, cc=ccEndI + 12*nvegsurf + 1, ccEndI + 12*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_leafop2 = (/(cc, cc=ccEndI + 13*nvegsurf + 1, ccEndI + 13*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_biogenco2code = (/(cc, cc=ccEndI + 14*nvegsurf + 1, ccEndI + 14*nvegsurf + nvegsurf, 1)/)
 
integer, parameter allocatearray::ccendp = (ccEndI + 14*nvegsurf + nvegsurf)
 
integer allocatearray::c_waterdepth = (ccEndP + 1)
 
integer, parameter allocatearray::ccendw = (ccEndP + 1)
 
integer allocatearray::c_snowrmfactor = (ccEndW + 1)
 
integer allocatearray::c_snowtmfactor = (ccEndW + 2)
 
integer allocatearray::c_snowalbmin = (ccEndW + 3)
 
integer allocatearray::c_snowalbmax = (ccEndW + 4)
 
integer allocatearray::c_snowemis = (ccEndW + 6)
 
integer allocatearray::c_snowtau_a = (ccEndW + 7)
 
integer allocatearray::c_snowtau_f = (ccEndW + 8)
 
integer allocatearray::c_snowplimalb = (ccEndW + 9)
 
integer allocatearray::c_snowsdmin = (ccEndW + 10)
 
integer allocatearray::c_snowsdmax = (ccEndW + 11)
 
integer allocatearray::c_snowtau_r = (ccEndW + 12)
 
integer allocatearray::c_snowcrwmin = (ccEndW + 13)
 
integer allocatearray::c_snowcrwmax = (ccEndW + 14)
 
integer allocatearray::c_snowplimsnow = (ccEndW + 15)
 
integer, parameter allocatearray::ccendsn = (ccEndW + 15)
 
integer, dimension(nsurfallocatearray::c_soildepth = (/(cc, cc=ccEndSn + 0*nsurf + 1, ccEndSn + 0*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_soilstcap = (/(cc, cc=ccEndSn + 1*nsurf + 1, ccEndSn + 1*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_ksat = (/(cc, cc=ccEndSn + 2*nsurf + 1, ccEndSn + 2*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_soildens = (/(cc, cc=ccEndSn + 3*nsurf + 1, ccEndSn + 3*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_soilinfrate = (/(cc, cc=ccEndSn + 4*nsurf + 1, ccEndSn + 4*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_obssmdepth = (/(cc, cc=ccEndSn + 5*nsurf + 1, ccEndSn + 5*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_obssmmax = (/(cc, cc=ccEndSn + 6*nsurf + 1, ccEndSn + 6*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_obssnrfrac = (/(cc, cc=ccEndSn + 7*nsurf + 1, ccEndSn + 7*nsurf + nsurf, 1)/)
 
integer, parameter allocatearray::ccendso = (ccEndSn + 7*nsurf + nsurf)
 
integer allocatearray::c_gsg1 = (ccEndSo + 1)
 
integer allocatearray::c_gsg2 = (ccEndSo + 2)
 
integer allocatearray::c_gsg3 = (ccEndSo + 3)
 
integer allocatearray::c_gsg4 = (ccEndSo + 4)
 
integer allocatearray::c_gsg5 = (ccEndSo + 5)
 
integer allocatearray::c_gsg6 = (ccEndSo + 6)
 
integer allocatearray::c_gsth = (ccEndSo + 7)
 
integer allocatearray::c_gstl = (ccEndSo + 8)
 
integer allocatearray::c_gss1 = (ccEndSo + 9)
 
integer allocatearray::c_gss2 = (ccEndSo + 10)
 
integer allocatearray::c_gskmax = (ccEndSo + 11)
 
integer allocatearray::c_gsmodel = (ccEndSo + 12)
 
integer, parameter allocatearray::ccendgs = (ccEndSo + 12)
 
integer, dimension(nsurfincsnowallocatearray::c_ohmcode_swet = (/(cc, cc=ccEndGs + 0*nsurfIncSnow + 1, ccEndGs + 0*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_ohmcode_sdry = (/(cc, cc=ccEndGs + 1*nsurfIncSnow + 1, ccEndGs + 1*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_ohmcode_wwet = (/(cc, cc=ccEndGs + 2*nsurfIncSnow + 1, ccEndGs + 2*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_ohmcode_wdry = (/(cc, cc=ccEndGs + 3*nsurfIncSnow + 1, ccEndGs + 3*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a1_swet = (/(cc, cc=ccEndGs + 4*nsurfIncSnow + 1, ccEndGs + 4*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a2_swet = (/(cc, cc=ccEndGs + 5*nsurfIncSnow + 1, ccEndGs + 5*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a3_swet = (/(cc, cc=ccEndGs + 6*nsurfIncSnow + 1, ccEndGs + 6*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a1_sdry = (/(cc, cc=ccEndGs + 7*nsurfIncSnow + 1, ccEndGs + 7*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a2_sdry = (/(cc, cc=ccEndGs + 8*nsurfIncSnow + 1, ccEndGs + 8*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a3_sdry = (/(cc, cc=ccEndGs + 9*nsurfIncSnow + 1, ccEndGs + 9*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a1_wwet = (/(cc, cc=ccEndGs + 10*nsurfIncSnow + 1, ccEndGs + 10*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a2_wwet = (/(cc, cc=ccEndGs + 11*nsurfIncSnow + 1, ccEndGs + 11*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a3_wwet = (/(cc, cc=ccEndGs + 12*nsurfIncSnow + 1, ccEndGs + 12*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a1_wdry = (/(cc, cc=ccEndGs + 13*nsurfIncSnow + 1, ccEndGs + 13*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a2_wdry = (/(cc, cc=ccEndGs + 14*nsurfIncSnow + 1, ccEndGs + 14*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_a3_wdry = (/(cc, cc=ccEndGs + 15*nsurfIncSnow + 1, ccEndGs + 15*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_ohmthresh_sw = (/(cc, cc=ccEndGs + 16*nsurfIncSnow + 1, ccEndGs + 16*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_ohmthresh_wd = (/(cc, cc=ccEndGs + 17*nsurfIncSnow + 1, ccEndGs + 17*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, dimension(nsurfincsnowallocatearray::c_estmcode = (/(cc, cc=ccEndGs + 18*nsurfIncSnow + 1, ccEndGs + 18*nsurfIncSnow + nsurfIncSnow, 1)/)
 
integer, parameter allocatearray::ccendo = (ccEndGs + 18*nsurfIncSnow + nsurfIncSnow)
 
integer allocatearray::c_baset_hc = (ccEndO + 1)
 
integer allocatearray::c_qf_a1 = (ccEndO + 2)
 
integer allocatearray::c_qf_b1 = (ccEndO + 3)
 
integer allocatearray::c_qf_c1 = (ccEndO + 4)
 
integer allocatearray::c_qf_a2 = (ccEndO + 5)
 
integer allocatearray::c_qf_b2 = (ccEndO + 6)
 
integer allocatearray::c_qf_c2 = (ccEndO + 7)
 
integer allocatearray::c_ahmin_wd = (ccEndO + 8)
 
integer allocatearray::c_ahmin_we = (ccEndO + 9)
 
integer allocatearray::c_ahslopeheating_wd = (ccEndO + 10)
 
integer allocatearray::c_ahslopeheating_we = (ccEndO + 11)
 
integer allocatearray::c_ahslopecooling_wd = (ccEndO + 12)
 
integer allocatearray::c_ahslopecooling_we = (ccEndO + 13)
 
integer allocatearray::c_tcriticheating_we = (ccEndO + 14)
 
integer allocatearray::c_tcriticheating_wd = (ccEndO + 15)
 
integer allocatearray::c_tcriticcooling_we = (ccEndO + 16)
 
integer allocatearray::c_tcriticcooling_wd = (ccEndO + 17)
 
integer allocatearray::c_enprofwd = (ccEndO + 18)
 
integer allocatearray::c_enprofwe = (ccEndO + 19)
 
integer allocatearray::c_co2mwd = (ccEndO + 20)
 
integer allocatearray::c_co2mwe = (ccEndO + 21)
 
integer allocatearray::c_traffprofwd = (ccEndO + 22)
 
integer allocatearray::c_traffprofwe = (ccEndO + 23)
 
integer allocatearray::c_popprofwd = (ccEndO + 24)
 
integer allocatearray::c_popprofwe = (ccEndO + 25)
 
integer allocatearray::c_minqfmetab = (ccEndO + 26)
 
integer allocatearray::c_maxqfmetab = (ccEndO + 27)
 
integer allocatearray::c_minfcmetab = (ccEndO + 28)
 
integer allocatearray::c_maxfcmetab = (ccEndO + 29)
 
integer allocatearray::c_frpddwe = (ccEndO + 30)
 
integer allocatearray::c_frfossilfuel_heat = (ccEndO + 31)
 
integer allocatearray::c_frfossilfuel_nonheat = (ccEndO + 32)
 
integer allocatearray::c_ef_umolco2perj = (ccEndO + 33)
 
integer allocatearray::c_enef_v_jkm = (ccEndO + 34)
 
integer allocatearray::c_fcef_v_kgkmwd = (ccEndO + 35)
 
integer allocatearray::c_fcef_v_kgkmwe = (ccEndO + 36)
 
integer allocatearray::c_co2pointsource = (ccEndO + 37)
 
integer allocatearray::c_trafficunits = (ccEndO + 38)
 
integer, parameter allocatearray::ccenda = (ccEndO + 38)
 
integer allocatearray::c_iestart = (ccEndA + 1)
 
integer allocatearray::c_ieend = (ccEndA + 2)
 
integer allocatearray::c_intwu = (ccEndA + 3)
 
integer allocatearray::c_faut = (ccEndA + 4)
 
integer allocatearray::c_h_maintain = (ccEndA + 5)
 
integer, dimension(3) allocatearray::c_ie_a = (/(cc, cc=ccEndA + 5 + 0*3 + 1, ccEndA + 5 + 0*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_ie_m = (/(cc, cc=ccEndA + 5 + 1*3 + 1, ccEndA + 5 + 1*3 + 3, 1)/)
 
integer, dimension(7) allocatearray::c_daywat = (/(cc, cc=ccEndA + 11 + 0*7 + 1, ccEndA + 11 + 0*7 + 7, 1)/)
 
integer, dimension(7) allocatearray::c_daywatper = (/(cc, cc=ccEndA + 11 + 1*7 + 1, ccEndA + 11 + 1*7 + 7, 1)/)
 
integer, parameter allocatearray::ccendir = (ccEndA + 11 + 1*7 + 7)
 
integer, dimension(24) allocatearray::c_hrprofenusewd = (/(cc, cc=ccEndIr + 0*24 + 1, ccEndIr + 0*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofenusewe = (/(cc, cc=ccEndIr + 1*24 + 1, ccEndIr + 1*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofwumanuwd = (/(cc, cc=ccEndIr + 2*24 + 1, ccEndIr + 2*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofwumanuwe = (/(cc, cc=ccEndIr + 3*24 + 1, ccEndIr + 3*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofwuautowd = (/(cc, cc=ccEndIr + 4*24 + 1, ccEndIr + 4*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofwuautowe = (/(cc, cc=ccEndIr + 5*24 + 1, ccEndIr + 5*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofsnowcwd = (/(cc, cc=ccEndIr + 6*24 + 1, ccEndIr + 6*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofsnowcwe = (/(cc, cc=ccEndIr + 7*24 + 1, ccEndIr + 7*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofhumactivitywd = (/(cc, cc=ccEndIr + 8*24 + 1, ccEndIr + 8*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofhumactivitywe = (/(cc, cc=ccEndIr + 9*24 + 1, ccEndIr + 9*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrproftraffwd = (/(cc, cc=ccEndIr + 10*24 + 1, ccEndIr + 10*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrproftraffwe = (/(cc, cc=ccEndIr + 11*24 + 1, ccEndIr + 11*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofpopwd = (/(cc, cc=ccEndIr + 12*24 + 1, ccEndIr + 12*24 + 24, 1)/)
 
integer, dimension(24) allocatearray::c_hrprofpopwe = (/(cc, cc=ccEndIr + 13*24 + 1, ccEndIr + 13*24 + 24, 1)/)
 
integer, parameter allocatearray::ccendpr = (ccEndIr + 13*24 + 24)
 
integer, dimension(nsurfallocatearray::c_wgtopaved = (/(cc, cc=ccEndPr + 0*nsurf + 1, ccEndPr + 0*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtobldgs = (/(cc, cc=ccEndPr + 1*nsurf + 1, ccEndPr + 1*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtoevetr = (/(cc, cc=ccEndPr + 2*nsurf + 1, ccEndPr + 2*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtodectr = (/(cc, cc=ccEndPr + 3*nsurf + 1, ccEndPr + 3*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtograss = (/(cc, cc=ccEndPr + 4*nsurf + 1, ccEndPr + 4*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtobsoil = (/(cc, cc=ccEndPr + 5*nsurf + 1, ccEndPr + 5*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtowater = (/(cc, cc=ccEndPr + 6*nsurf + 1, ccEndPr + 6*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtorunoff = (/(cc, cc=ccEndPr + 7*nsurf + 1, ccEndPr + 7*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::c_wgtosoilstore = (/(cc, cc=ccEndPr + 8*nsurf + 1, ccEndPr + 8*nsurf + nsurf, 1)/)
 
integer, parameter allocatearray::cbendwg = (ccEndPr + 8*nsurf + nsurf)
 
integer, dimension(nvegsurfallocatearray::c_alpha_bioco2 = (/(cc, cc=cBEndWG + 0*nvegsurf + 1, cBEndWG + 0*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_beta_bioco2 = (/(cc, cc=cBEndWG + 1*nvegsurf + 1, cBEndWG + 1*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_theta_bioco2 = (/(cc, cc=cBEndWG + 2*nvegsurf + 1, cBEndWG + 2*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_alpha_enh_bioco2 = (/(cc, cc=cBEndWG + 3*nvegsurf + 1, cBEndWG + 3*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_beta_enh_bioco2 = (/(cc, cc=cBEndWG + 4*nvegsurf + 1, cBEndWG + 4*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_resp_a = (/(cc, cc=cBEndWG + 5*nvegsurf + 1, cBEndWG + 5*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_resp_b = (/(cc, cc=cBEndWG + 6*nvegsurf + 1, cBEndWG + 6*nvegsurf + nvegsurf, 1)/)
 
integer, dimension(nvegsurfallocatearray::c_min_res_bioco2 = (/(cc, cc=cBEndWG + 7*nvegsurf + 1, cBEndWG + 7*nvegsurf + nvegsurf, 1)/)
 
integer, parameter allocatearray::ccendb = (cBEndWG + 7*nvegsurf + nvegsurf)
 
integer, dimension(nsurfincsnowallocatearray::c_surf_thick1 = [(cc, cc=ccEndB + 0*nsurfIncSnow + 1, ccEndB + 0*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_k1 = [(cc, cc=ccEndB + 1*nsurfIncSnow + 1, ccEndB + 1*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_rhocp1 = [(cc, cc=ccEndB + 2*nsurfIncSnow + 1, ccEndB + 2*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_thick2 = [(cc, cc=ccEndB + 3*nsurfIncSnow + 1, ccEndB + 3*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_k2 = [(cc, cc=ccEndB + 4*nsurfIncSnow + 1, ccEndB + 4*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_rhocp2 = [(cc, cc=ccEndB + 5*nsurfIncSnow + 1, ccEndB + 5*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_thick3 = [(cc, cc=ccEndB + 6*nsurfIncSnow + 1, ccEndB + 6*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_k3 = [(cc, cc=ccEndB + 7*nsurfIncSnow + 1, ccEndB + 7*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_rhocp3 = [(cc, cc=ccEndB + 8*nsurfIncSnow + 1, ccEndB + 8*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_thick4 = [(cc, cc=ccEndB + 9*nsurfIncSnow + 1, ccEndB + 9*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_k4 = [(cc, cc=ccEndB + 10*nsurfIncSnow + 1, ccEndB + 10*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_rhocp4 = [(cc, cc=ccEndB + 11*nsurfIncSnow + 1, ccEndB + 11*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_thick5 = [(cc, cc=ccEndB + 12*nsurfIncSnow + 1, ccEndB + 12*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_k5 = [(cc, cc=ccEndB + 13*nsurfIncSnow + 1, ccEndB + 13*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, dimension(nsurfincsnowallocatearray::c_surf_rhocp5 = [(cc, cc=ccEndB + 14*nsurfIncSnow + 1, ccEndB + 14*nsurfIncSnow + nsurfIncSnow, 1)]
 
integer, parameter allocatearray::ccendestmb = (ccEndB + 14*nsurfIncSnow + nsurfIncSnow)
 
integer allocatearray::c_wall_thick1 = (ccEndESTMB + 1)
 
integer allocatearray::c_wall_k1 = (ccEndESTMB + 2)
 
integer allocatearray::c_wall_rhocp1 = (ccEndESTMB + 3)
 
integer allocatearray::c_wall_thick2 = (ccEndESTMB + 4)
 
integer allocatearray::c_wall_k2 = (ccEndESTMB + 5)
 
integer allocatearray::c_wall_rhocp2 = (ccEndESTMB + 6)
 
integer allocatearray::c_wall_thick3 = (ccEndESTMB + 7)
 
integer allocatearray::c_wall_k3 = (ccEndESTMB + 8)
 
integer allocatearray::c_wall_rhocp3 = (ccEndESTMB + 9)
 
integer allocatearray::c_wall_thick4 = (ccEndESTMB + 10)
 
integer allocatearray::c_wall_k4 = (ccEndESTMB + 11)
 
integer allocatearray::c_wall_rhocp4 = (ccEndESTMB + 12)
 
integer allocatearray::c_wall_thick5 = (ccEndESTMB + 13)
 
integer allocatearray::c_wall_k5 = (ccEndESTMB + 14)
 
integer allocatearray::c_wall_rhocp5 = (ccEndESTMB + 15)
 
integer allocatearray::c_internal_thick1 = (ccEndESTMB + 16)
 
integer allocatearray::c_internal_k1 = (ccEndESTMB + 17)
 
integer allocatearray::c_internal_rhocp1 = (ccEndESTMB + 18)
 
integer allocatearray::c_internal_thick2 = (ccEndESTMB + 19)
 
integer allocatearray::c_internal_k2 = (ccEndESTMB + 20)
 
integer allocatearray::c_internal_rhocp2 = (ccEndESTMB + 21)
 
integer allocatearray::c_internal_thick3 = (ccEndESTMB + 22)
 
integer allocatearray::c_internal_k3 = (ccEndESTMB + 23)
 
integer allocatearray::c_internal_rhocp3 = (ccEndESTMB + 24)
 
integer allocatearray::c_internal_thick4 = (ccEndESTMB + 25)
 
integer allocatearray::c_internal_k4 = (ccEndESTMB + 26)
 
integer allocatearray::c_internal_rhocp4 = (ccEndESTMB + 27)
 
integer allocatearray::c_internal_thick5 = (ccEndESTMB + 28)
 
integer allocatearray::c_internal_k5 = (ccEndESTMB + 29)
 
integer allocatearray::c_internal_rhocp5 = (ccEndESTMB + 30)
 
integer allocatearray::c_nroom = (ccEndESTMB + 31)
 
integer allocatearray::c_alb_ibld = (ccEndESTMB + 32)
 
integer allocatearray::c_em_ibld = (ccEndESTMB + 33)
 
integer allocatearray::c_ch_iwall = (ccEndESTMB + 34)
 
integer allocatearray::c_ch_iroof = (ccEndESTMB + 35)
 
integer allocatearray::c_ch_ibld = (ccEndESTMB + 36)
 
integer, parameter allocatearray::ccendestmm = (ccEndESTMB + 36)
 
integer, dimension(3) allocatearray::c_surf_thick1_paved = (/(cc, cc=ccEndESTMM + 0*3 + 1, ccEndESTMM + 0*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_k1_paved = (/(cc, cc=ccEndESTMM + 1*3 + 1, ccEndESTMM + 1*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_rhocp1_paved = (/(cc, cc=ccEndESTMM + 2*3 + 1, ccEndESTMM + 2*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_thick2_paved = (/(cc, cc=ccEndESTMM + 3*3 + 1, ccEndESTMM + 3*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_k2_paved = (/(cc, cc=ccEndESTMM + 4*3 + 1, ccEndESTMM + 4*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_rhocp2_paved = (/(cc, cc=ccEndESTMM + 5*3 + 1, ccEndESTMM + 5*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_thick3_paved = (/(cc, cc=ccEndESTMM + 6*3 + 1, ccEndESTMM + 6*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_k3_paved = (/(cc, cc=ccEndESTMM + 7*3 + 1, ccEndESTMM + 7*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_rhocp3_paved = (/(cc, cc=ccEndESTMM + 8*3 + 1, ccEndESTMM + 8*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_thick4_paved = (/(cc, cc=ccEndESTMM + 9*3 + 1, ccEndESTMM + 9*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_k4_paved = (/(cc, cc=ccEndESTMM + 10*3 + 1, ccEndESTMM + 10*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_rhocp4_paved = (/(cc, cc=ccEndESTMM + 11*3 + 1, ccEndESTMM + 11*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_thick5_paved = (/(cc, cc=ccEndESTMM + 12*3 + 1, ccEndESTMM + 12*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_k5_paved = (/(cc, cc=ccEndESTMM + 13*3 + 1, ccEndESTMM + 13*3 + 3, 1)/)
 
integer, dimension(3) allocatearray::c_surf_rhocp5_paved = (/(cc, cc=ccEndESTMM + 14*3 + 1, ccEndESTMM + 14*3 + 3, 1)/)
 
integer, parameter allocatearray::ccendestmmp = (ccEndESTMM + 14*3 + 3)
 
integer, dimension(5) allocatearray::c_surf_thick1_bldgs = (/(cc, cc=ccEndESTMMP + 0*5 + 1, ccEndESTMMP + 0*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_k1_bldgs = (/(cc, cc=ccEndESTMMP + 1*5 + 1, ccEndESTMMP + 1*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_rhocp1_bldgs = (/(cc, cc=ccEndESTMMP + 2*5 + 1, ccEndESTMMP + 2*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_thick2_bldgs = (/(cc, cc=ccEndESTMMP + 3*5 + 1, ccEndESTMMP + 3*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_k2_bldgs = (/(cc, cc=ccEndESTMMP + 4*5 + 1, ccEndESTMMP + 4*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_rhocp2_bldgs = (/(cc, cc=ccEndESTMMP + 5*5 + 1, ccEndESTMMP + 5*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_thick3_bldgs = (/(cc, cc=ccEndESTMMP + 6*5 + 1, ccEndESTMMP + 6*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_k3_bldgs = (/(cc, cc=ccEndESTMMP + 7*5 + 1, ccEndESTMMP + 7*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_rhocp3_bldgs = (/(cc, cc=ccEndESTMMP + 8*5 + 1, ccEndESTMMP + 8*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_thick4_bldgs = (/(cc, cc=ccEndESTMMP + 9*5 + 1, ccEndESTMMP + 9*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_k4_bldgs = (/(cc, cc=ccEndESTMMP + 10*5 + 1, ccEndESTMMP + 10*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_rhocp4_bldgs = (/(cc, cc=ccEndESTMMP + 11*5 + 1, ccEndESTMMP + 11*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_thick5_bldgs = (/(cc, cc=ccEndESTMMP + 12*5 + 1, ccEndESTMMP + 12*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_k5_bldgs = (/(cc, cc=ccEndESTMMP + 13*5 + 1, ccEndESTMMP + 13*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_surf_rhocp5_bldgs = (/(cc, cc=ccEndESTMMP + 14*5 + 1, ccEndESTMMP + 14*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_thick1_bldgs = (/(cc, cc=ccEndESTMMP + 15*5 + 1, ccEndESTMMP + 15*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_k1_bldgs = (/(cc, cc=ccEndESTMMP + 16*5 + 1, ccEndESTMMP + 16*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_rhocp1_bldgs = (/(cc, cc=ccEndESTMMP + 17*5 + 1, ccEndESTMMP + 17*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_thick2_bldgs = (/(cc, cc=ccEndESTMMP + 18*5 + 1, ccEndESTMMP + 18*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_k2_bldgs = (/(cc, cc=ccEndESTMMP + 19*5 + 1, ccEndESTMMP + 19*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_rhocp2_bldgs = (/(cc, cc=ccEndESTMMP + 20*5 + 1, ccEndESTMMP + 20*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_thick3_bldgs = (/(cc, cc=ccEndESTMMP + 21*5 + 1, ccEndESTMMP + 21*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_k3_bldgs = (/(cc, cc=ccEndESTMMP + 22*5 + 1, ccEndESTMMP + 22*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_rhocp3_bldgs = (/(cc, cc=ccEndESTMMP + 23*5 + 1, ccEndESTMMP + 23*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_thick4_bldgs = (/(cc, cc=ccEndESTMMP + 24*5 + 1, ccEndESTMMP + 24*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_k4_bldgs = (/(cc, cc=ccEndESTMMP + 25*5 + 1, ccEndESTMMP + 25*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_rhocp4_bldgs = (/(cc, cc=ccEndESTMMP + 26*5 + 1, ccEndESTMMP + 26*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_thick5_bldgs = (/(cc, cc=ccEndESTMMP + 27*5 + 1, ccEndESTMMP + 27*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_k5_bldgs = (/(cc, cc=ccEndESTMMP + 28*5 + 1, ccEndESTMMP + 28*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_wall_rhocp5_bldgs = (/(cc, cc=ccEndESTMMP + 29*5 + 1, ccEndESTMMP + 29*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_thick1_bldgs = (/(cc, cc=ccEndESTMMP + 30*5 + 1, ccEndESTMMP + 30*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_k1_bldgs = (/(cc, cc=ccEndESTMMP + 31*5 + 1, ccEndESTMMP + 31*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_rhocp1_bldgs = (/(cc, cc=ccEndESTMMP + 32*5 + 1, ccEndESTMMP + 32*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_thick2_bldgs = (/(cc, cc=ccEndESTMMP + 33*5 + 1, ccEndESTMMP + 33*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_k2_bldgs = (/(cc, cc=ccEndESTMMP + 34*5 + 1, ccEndESTMMP + 34*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_rhocp2_bldgs = (/(cc, cc=ccEndESTMMP + 35*5 + 1, ccEndESTMMP + 35*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_thick3_bldgs = (/(cc, cc=ccEndESTMMP + 36*5 + 1, ccEndESTMMP + 36*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_k3_bldgs = (/(cc, cc=ccEndESTMMP + 37*5 + 1, ccEndESTMMP + 37*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_rhocp3_bldgs = (/(cc, cc=ccEndESTMMP + 38*5 + 1, ccEndESTMMP + 38*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_thick4_bldgs = (/(cc, cc=ccEndESTMMP + 39*5 + 1, ccEndESTMMP + 39*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_k4_bldgs = (/(cc, cc=ccEndESTMMP + 40*5 + 1, ccEndESTMMP + 40*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_rhocp4_bldgs = (/(cc, cc=ccEndESTMMP + 41*5 + 1, ccEndESTMMP + 41*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_thick5_bldgs = (/(cc, cc=ccEndESTMMP + 42*5 + 1, ccEndESTMMP + 42*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_k5_bldgs = (/(cc, cc=ccEndESTMMP + 43*5 + 1, ccEndESTMMP + 43*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_internal_rhocp5_bldgs = (/(cc, cc=ccEndESTMMP + 44*5 + 1, ccEndESTMMP + 44*5 + 5, 1)/)
 
integer, dimension(5) allocatearray::c_nroom_bldgs = (ccEndESTMMP + 44*5 + 5 + 1)
 
integer, dimension(5) allocatearray::c_alb_ibld_bldgs = (ccEndESTMMP + 44*5 + 5 + 2)
 
integer, dimension(5) allocatearray::c_em_ibld_bldgs = (ccEndESTMMP + 44*5 + 5 + 3)
 
integer, dimension(5) allocatearray::c_ch_iwall_bldgs = (ccEndESTMMP + 44*5 + 5 + 4)
 
integer, dimension(5) allocatearray::c_ch_iroof_bldgs = (ccEndESTMMP + 44*5 + 5 + 5)
 
integer, dimension(5) allocatearray::c_ch_ibld_bldgs = (ccEndESTMMP + 44*5 + 5 + 6)
 
integer, parameter allocatearray::maxncols_c = (ccEndESTMMP + 44*5 + 5 + 6)
 
integer, parameter allocatearray::ccmod = 32
 
integer, dimension(nsurfallocatearray::cmod_state = (/(cc, cc=ccMOD + 0*nsurf + 1, ccMOD + 0*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::cmod_soilstate = (/(cc, cc=ccMOD + 1*nsurf + 1, ccMOD + 1*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::cmod_snowwaterstate = (/(cc, cc=ccMOD + 2*nsurf + 1, ccMOD + 2*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::cmod_snowpack = (/(cc, cc=ccMOD + 3*nsurf + 1, ccMOD + 3*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::cmod_snowfrac = (/(cc, cc=ccMOD + 4*nsurf + 1, ccMOD + 4*nsurf + nsurf, 1)/)
 
integer, dimension(nsurfallocatearray::cmod_snowdens = (/(cc, cc=ccMOD + 5*nsurf + 1, ccMOD + 5*nsurf + nsurf, 1)/)
 
integer, parameter allocatearray::maxncols_cmod = ccMOD + 5*nsurf + nsurf
 
integer, parameter allocatearray::ccmds = 30
 
integer, dimension(nsurfallocatearray::cmds_snowdens = (/(cc, cc=ccMDS + 0*nsurf + 1, ccMDS + 0*nsurf + nsurf, 1)/)
 
integer, parameter allocatearray::maxncols_cmds = ccMDS + 0*nsurf + nsurf
 
integer, parameter allocatearray::cts_iy = 1
 
integer, parameter allocatearray::cts_id = 2
 
integer, parameter allocatearray::cts_it = 3
 
integer, parameter allocatearray::cts_imin = 4
 
integer, parameter allocatearray::cts_tiair = 5
 
integer, parameter allocatearray::cts_tsurf = 6
 
integer, parameter allocatearray::cts_troof = 7
 
integer, parameter allocatearray::cts_troad = 8
 
integer, parameter allocatearray::cts_twall = 9
 
integer, parameter allocatearray::cts_twall_n = 10
 
integer, parameter allocatearray::cts_twall_e = 11
 
integer, parameter allocatearray::cts_twall_s = 12
 
integer, parameter allocatearray::cts_twall_w = 13
 
integer initial::firstyear
 
integer initial::lastyear
 
integer initial::firstgrid
 
integer initial::lastgrid
 
integer initial::numberofgrids
 
integer initial::gridcounter
 
integer initial::readblocksmetdata
 
integer initial::readblocksorigmetdata
 
integer initial::readlinesmetdata
 
integer initial::readlinesorigmetdata
 
integer initial::readlinesorigestmdata
 
integer initial::readlinesorigmetdatamax
 
integer initial::readlinesorigestmdatamax
 
integer initial::nlinesorigmetdata
 
integer initial::nlinesorigestmdata
 
integer initial::nlinesmetdata
 
integer initial::nlinesestmdata
 
integer initial::nlinessiteselect
 
integer initial::nlinesnonveg
 
integer initial::nlinesveg
 
integer initial::nlineswater
 
integer initial::nlinessnow
 
integer initial::nlinessoil
 
integer initial::nlinesconductance
 
integer initial::nlinesohmcoefficients
 
integer initial::nlinesestmcoefficients
 
integer initial::nlinesanthropogenic
 
integer initial::nlinesirrigation
 
integer initial::nlinesprofiles
 
integer initial::nlineswgwaterdist
 
integer initial::nlinesbiogen
 
integer initial::nlines
 
integer initial::skippedlines
 
integer initial::skippedlinesorig
 
integer initial::skippedlinesorigestm
 
integer initial::iv5
 
character(len=90) data_in::progname = 'SUEWS_V2021a'
 
character(len=20) data_in::filecode
 
character(len=150) data_in::fileinputpath
 
character(len=150) data_in::fileoutputpath
 
character(len=150) data_in::fileout
 
character(len=150) data_in::filechoices
 
character(len=150) data_in::filestateinit
 
character(len=150) data_in::filemet
 
character(len=150) data_in::fileorigmet
 
character(len=150) data_in::fileorigestm
 
character(len=150) data_in::filedscdmet
 
character(len=150) data_in::filedscdestm
 
character(len=150) data_in::filedaily
 
character(len=150) data_in::fileestmts
 
character(len=150) data_in::solweigpoiout
 
character(len=150) data_in::blout
 
character(len=150) data_in::fileout_tt
 
character(len=150) data_in::estmout_tt
 
integer data_in::skipheadersiteinfo = 2
 
integer data_in::skipheadermet = 1
 
integer data_in::emissionsmethod
 
integer data_in::basetmethod
 
integer data_in::cbluse
 
integer data_in::multiplemetfiles
 
integer data_in::multipleinitfiles
 
integer data_in::multipleestmfiles
 
integer data_in::multiplelayoutfiles
 
integer data_in::keeptstepfilesin
 
integer data_in::keeptstepfilesout
 
integer data_in::resolutionfilesin
 
integer data_in::resolutionfilesout
 
integer data_in::resolutionfilesinestm
 
integer data_in::writeoutoption
 
integer data_in::netradiationmethod
 
integer data_in::ohmincqf
 
integer data_in::storageheatmethod
 
integer data_in::snowuse
 
integer data_in::smdmethod
 
integer data_in::waterusemethod
 
integer data_in::roughlenmommethod
 
integer data_in::disaggmethod
 
integer data_in::disaggmethodestm
 
integer data_in::raindisaggmethod
 
integer data_in::rainamongn
 
integer data_in::kdownzen
 
integer data_in::suppresswarnings = 1
 
integer data_in::diagmethod
 
integer data_in::diagnose
 
integer data_in::diagnosedisagg
 
integer data_in::diagnosedisaggestm
 
integer data_in::diagqn
 
integer data_in::diagqs
 
integer, dimension(5) data_in::multrainamongn
 
real(kind(1d0)), dimension(5) data_in::multrainamongnupperi
 
integer data_in::albedochoice
 
integer data_in::inputmetformat
 
integer data_in::evapmethod
 
integer data_in::laicalcyes
 
integer data_in::writedailystate
 
integer data_in::ldown_option
 
integer data_in::lfnout
 
integer data_in::lfnoutc
 
integer data_in::lfnold
 
integer data_in::outputformats
 
real(kind(1d0)) data_in::timezone
 
real(kind(1d0)) data_in::alpha_qhqe
 
real(kind(1d0)) data_in::alt
 
real(kind(1d0)) data_in::avkdn
 
real(kind(1d0)) data_in::avrh
 
real(kind(1d0)) data_in::avts
 
real(kind(1d0)) data_in::avu1
 
real(kind(1d0)) data_in::avu10_ms
 
real(kind(1d0)) data_in::azimuth
 
real(kind(1d0)) data_in::baset_hc
 
real(kind(1d0)) data_in::buildenergyuse
 
real(kind(1d0)) data_in::co2mwd
 
real(kind(1d0)) data_in::co2mwe
 
real(kind(1d0)) data_in::co2pointsource
 
real(kind(1d0)) data_in::e_mod
 
real(kind(1d0)) data_in::ef_umolco2perj
 
real(kind(1d0)) data_in::emis_snow
 
real(kind(1d0)) data_in::enef_v_jkm
 
real(kind(1d0)) data_in::enprofwd
 
real(kind(1d0)) data_in::enprofwe
 
real(kind(1d0)) data_in::fc
 
real(kind(1d0)) data_in::fc_anthro
 
real(kind(1d0)) data_in::fc_biogen
 
real(kind(1d0)) data_in::fc_build
 
real(kind(1d0)) data_in::fc_metab
 
real(kind(1d0)) data_in::fc_photo
 
real(kind(1d0)) data_in::fc_point
 
real(kind(1d0)) data_in::fc_respi
 
real(kind(1d0)) data_in::fc_traff
 
real(kind(1d0)) data_in::fcld
 
real(kind(1d0)) data_in::fcld_obs
 
real(kind(1d0)) data_in::frfossilfuel_heat
 
real(kind(1d0)) data_in::frfossilfuel_nonheat
 
real(kind(1d0)) data_in::frpddwe
 
real(kind(1d0)) data_in::h_mod
 
real(kind(1d0)) data_in::kclear
 
real(kind(1d0)) data_in::kdiff
 
real(kind(1d0)) data_in::kdir
 
real(kind(1d0)) data_in::kup
 
real(kind(1d0)) data_in::lai_obs
 
real(kind(1d0)) data_in::lat
 
real(kind(1d0)) data_in::ldown
 
real(kind(1d0)) data_in::ldown_obs
 
real(kind(1d0)) data_in::lng
 
real(kind(1d0)) data_in::lup
 
real(kind(1d0)) data_in::maxfcmetab
 
real(kind(1d0)) data_in::maxqfmetab
 
real(kind(1d0)) data_in::minfcmetab
 
real(kind(1d0)) data_in::minqfmetab
 
real(kind(1d0)) data_in::popdensnighttime
 
real(kind(1d0)) data_in::popprofwd
 
real(kind(1d0)) data_in::popprofwe
 
real(kind(1d0)) data_in::precip
 
real(kind(1d0)) data_in::precip_hr
 
real(kind(1d0)) data_in::press_hpa
 
real(kind(1d0)) data_in::pres_kpa
 
real(kind(1d0)) data_in::q2_gkg
 
real(kind(1d0)) data_in::qe
 
real(kind(1d0)) data_in::qe_obs
 
real(kind(1d0)) data_in::qf_build
 
real(kind(1d0)) data_in::qf_metab
 
real(kind(1d0)) data_in::qf_traff
 
real(kind(1d0)) data_in::qf_obs
 
real(kind(1d0)) data_in::qf_sahp
 
real(kind(1d0)) data_in::qf_sahp_base
 
real(kind(1d0)) data_in::qf_sahp_heat
 
real(kind(1d0)) data_in::qf_sahp_ac
 
real(kind(1d0)) data_in::qh
 
real(kind(1d0)) data_in::qh_obs
 
real(kind(1d0)) data_in::qh_r
 
real(kind(1d0)) data_in::qn1
 
real(kind(1d0)) data_in::qn1_bup
 
real(kind(1d0)) data_in::qn1_obs
 
real(kind(1d0)) data_in::qn1_s
 
real(kind(1d0)) data_in::qn1_snowfree
 
real(kind(1d0)) data_in::qs_obs
 
real(kind(1d0)) data_in::qsanohm
 
real(kind(1d0)) data_in::qsestm
 
real(kind(1d0)) data_in::snow
 
real(kind(1d0)) data_in::snowfrac_obs
 
real(kind(1d0)) data_in::temp_c
 
real(kind(1d0)) data_in::t2_c
 
real(kind(1d0)) data_in::trafficunits
 
real(kind(1d0)) data_in::traffprofwd
 
real(kind(1d0)) data_in::traffprofwe
 
real(kind(1d0)) data_in::trans_site
 
real(kind(1d0)) data_in::tsurf
 
real(kind(1d0)) data_in::wdir
 
real(kind(1d0)) data_in::wu_m3
 
real(kind(1d0)) data_in::xsmd
 
real(kind(1d0)) data_in::year
 
real(kind(1d0)) data_in::zenith_deg
 
real(kind(1d0)), dimension(2) data_in::qf_a
 
real(kind(1d0)), dimension(2) data_in::qf_b
 
real(kind(1d0)), dimension(2) data_in::qf_c
 
real(kind(1d0)), dimension(2) data_in::ah_min
 
real(kind(1d0)), dimension(2) data_in::ah_slope_heating
 
real(kind(1d0)), dimension(2) data_in::ah_slope_cooling
 
real(kind(1d0)), dimension(2) data_in::fcef_v_kgkm
 
real(kind(1d0)), dimension(2) data_in::popdensdaytime
 
real(kind(1d0)), dimension(2) data_in::baset_heating
 
real(kind(1d0)), dimension(2) data_in::baset_cooling
 
real(kind(1d0)), dimension(2) data_in::trafficrate
 
real(kind(1d0)), dimension(2) data_in::qf0_beu
 
integer data_in::startdls
 
integer data_in::enddls
 
integer data_in::ncblstep
 
real(kind(1d0)) data_in::drainrt
 
real(kind(1d0)) data_in::rainbucket
 
real(kind(1d0)) data_in::raincover
 
real(kind(1d0)) data_in::rainmaxres
 
real(kind(1d0)) data_in::rainres
 
real(kind(1d0)) data_in::tempveg
 
real(kind(1d0)) data_in::absl
 
real(kind(1d0)) data_in::absk
 
real(kind(1d0)) data_in::heightgravity
 
real(kind(1d0)) data_in::transmin
 
real(kind(1d0)) data_in::transmax
 
integer data_in::posture
 
integer data_in::usevegdem
 
integer data_in::row
 
integer data_in::col
 
integer data_in::onlyglobal
 
integer data_in::solweigpoi_out
 
integer data_in::tmrt_out
 
integer data_in::lup2d_out
 
integer data_in::ldown2d_out
 
integer data_in::kup2d_out
 
integer data_in::kdown2d_out
 
integer data_in::gvf_out
 
integer data_in::solweig_ldown
 
integer data_in::outinterval
 
integer data_in::runforgrid
 
character(len=150) data_in::dsmpath
 
character(len=150) data_in::dsmname
 
character(len=150) data_in::cdsmname
 
character(len=150) data_in::tdsmname
 
character(len=150) data_in::svfpath
 
character(len=150) data_in::svfsuffix
 
character(len=150) data_in::buildingsname
 
real(kind(1d0)) snowmod::adjmeltfact
 
real(kind(1d0)) snowmod::snowfallcum
 
real(kind(1d0)) snowmod::fwh
 
real(kind(1d0)) snowmod::lvs_j_kg
 
real(kind(1d0)) snowmod::mwh
 
real(kind(1d0)) snowmod::mwstore
 
real(kind(1d0)) snowmod::preciplimit
 
real(kind(1d0)) snowmod::preciplimitalb
 
real(kind(1d0)) snowmod::qm
 
real(kind(1d0)) snowmod::qmfreez
 
real(kind(1d0)) snowmod::qmrain
 
real(kind(1d0)) snowmod::qn1_snow
 
real(kind(1d0)) snowmod::qn1_nosnow
 
real(kind(1d0)) snowmod::radmeltfact
 
real(kind(1d0)) snowmod::snowalb
 
real(kind(1d0)) snowmod::snowalbmin
 
real(kind(1d0)) snowmod::snowalbmax
 
real(kind(1d0)) snowmod::snowdensmin
 
real(kind(1d0)) snowmod::snowdensmax
 
real(kind(1d0)) snowmod::snowlimbldg
 
real(kind(1d0)) snowmod::snowlimpaved
 
real(kind(1d0)) snowmod::swe
 
real(kind(1d0)) snowmod::tau_a
 
real(kind(1d0)) snowmod::tau_f
 
real(kind(1d0)) snowmod::tau_r
 
real(kind(1d0)) snowmod::tempmeltfact
 
real(kind(1d0)) snowmod::volday
 
real(kind(1d0)) snowmod::zf
 
real(kind(1d0)) snowmod::waterholdcapfrac
 
real(kind(1d0)) snowmod::crwmin
 
real(kind(1d0)) snowmod::crwmax
 
real(kind(1d0)), dimension(2) snowmod::snowremoval = 0
 
real(kind(1d0)), dimension(0:23, 2) snowmod::snowprof_24hr
 
integer snowmod::snowfractionchoice = 2
 
real(kind(1d0)) defaultnotused::notused = -55.55
 
real(kind(1d0)) defaultnotused::reall
 
real(kind(1d0)) defaultnotused::nan = -999
 
real(kind(1d0)) defaultnotused::pnan = 999
 
integer defaultnotused::notusedi = -55
 
integer defaultnotused::ios_out
 
integer defaultnotused::errorchoice
 
integer defaultnotused::warningchoice
 
integer time::iy
 
integer time::id
 
integer time::it
 
integer time::imin
 
integer time::isec
 
integer time::dls
 
real(kind(1d0)) time::dectime
 
real(kind(1d0)) time::tstepcount
 
integer time::nofdaysthisyear
 
integer time::dt_since_start
 
integer time::iy_prev_t
 
integer time::id_prev_t
 
real(kind(1d0)) mod_grav::grav = 9.80665
 
real(kind(1d0)) thresh::ipthreshold_mmhr = 10
 
real(kind(1d0)) gas::comp = 0.9995
 
real(kind(1d0)) gas::epsil = 0.62197
 
real(kind(1d0)) gas::epsil_gkg = 621.97
 
real(kind(1d0)) gas::dry_gas = 8.31451
 
real(kind(1d0)) gas::gas_ct_wat = 461.05
 
real(kind(1d0)) gas::molar = 0.028965
 
real(kind(1d0)) gas::molar_wat_vap = 0.0180153
 
real(kind(1d0)) gas::gas_ct_dry = 8.31451/0.028965
 
real(kind(1d0)) gas::gas_ct_wv = 8.31451/0.0180153
 
real(kind(1d0)) mod_z::zzd
 
real(kind(1d0)) mod_z::z0m
 
real(kind(1d0)) mod_z::zdm
 
real(kind(1d0)) mod_z::z0m_in
 
real(kind(1d0)) mod_z::zdm_in
 
real(kind(1d0)) mod_z::z
 
real(kind(1e10)) mod_z::z0v
 
real(kind(1d0)) resist::th
 
real(kind(1d0)) resist::tl
 
real(kind(1d0)) resist::kmax
 
real(kind(1d0)) resist::g1
 
real(kind(1d0)) resist::g2
 
real(kind(1d0)) resist::g3
 
real(kind(1d0)) resist::g4
 
real(kind(1d0)) resist::g5
 
real(kind(1d0)) resist::g6
 
real(kind(1d0)) resist::s1
 
real(kind(1d0)) resist::s2
 
real(kind(1d0)) resist::tc
 
real(kind(1d0)) resist::tc2
 
integer resist::gsmodel
 
real(kind(1d0)) moist::avcp
 
real(kind(1d0)) moist::dens_dry
 
real(kind(1d0)) moist::avdens
 
real(kind(1d0)) moist::dq
 
real(kind(1d0)) moist::ea_hpa
 
real(kind(1d0)) moist::es_hpa
 
real(kind(1d0)) moist::lv_j_kg
 
real(kind(1d0)) moist::tlv
 
real(kind(1d0)) moist::psyc_hpa
 
real(kind(1d0)) moist::psycice_hpa
 
real(kind(1d0)) moist::s_pa
 
real(kind(1d0)) moist::s_hpa
 
real(kind(1d0)) moist::sice_hpa
 
real(kind(1d0)) moist::vpd_hpa
 
real(kind(1d0)) moist::vpd_pa
 
real(kind(1d0)) moist::waterdens = 999.8395
 
real(kind(1d0)) gis_data::areaunir
 
real(kind(1d0)) gis_data::areair
 
real(kind(1d0)) gis_data::bldgh
 
real(kind(1d0)) gis_data::faibldg
 
real(kind(1d0)) gis_data::faitree
 
real(kind(1d0)) gis_data::faievetree
 
real(kind(1d0)) gis_data::faidectree
 
real(kind(1d0)) gis_data::grassfractionirrigated
 
real(kind(1d0)) gis_data::pavedfractionirrigated
 
real(kind(1d0)) gis_data::treeh
 
real(kind(1d0)) gis_data::evetreeh
 
real(kind(1d0)) gis_data::dectreeh
 
real(kind(1d0)) gis_data::treefractionirrigated
 
real(kind(1d0)) gis_data::veg_fr
 
real(kind(1d0)) gis_data::vegfraction
 
real(kind(1d0)) gis_data::impervfraction
 
real(kind(1d0)) gis_data::pervfraction
 
real(kind(1d0)) gis_data::nonwaterfraction
 
real(kind(1d0)) gis_data::areazh
 
integer gis_data::idgis
 
integer gis_data::itgis
 
integer gis_data::veg_type = 1
 
integer sues_data::tstep
 
integer sues_data::tstep_prev
 
integer sues_data::nsh
 
integer sues_data::nsd
 
integer sues_data::nsdorig
 
integer sues_data::t_interval
 
integer sues_data::npertstepin
 
integer sues_data::nperestm
 
real(kind(1d0)) sues_data::nsh_real
 
real(kind(1d0)) sues_data::tstep_real
 
real(kind(1d0)) sues_data::npertstepin_real
 
real(kind(1d0)) sues_data::nperestm_real
 
real(kind(1d0)) sues_data::halftimestep
 
integer sues_data::stabilitymethod
 
integer sues_data::roughlenheatmethod
 
integer sues_data::in
 
integer sues_data::is
 
integer sues_data::aerodynamicresistancemethod = 2
 
integer sues_data::ie_start
 
integer sues_data::ie_end
 
real(kind(1d0)), dimension(2) sues_data::surplusevap
 
real(kind(1d0)) sues_data::flowchange
 
real(kind(1d0)) sues_data::pipecapacity
 
real(kind(1d0)) sues_data::runofftowater
 
real(kind(1d0)) sues_data::smcap
 
real(kind(1d0)) sues_data::soildensity
 
real(kind(1d0)) sues_data::soildepthmeas
 
real(kind(1d0)) sues_data::soilrocks
 
real(kind(1d0)) sues_data::surfacearea
 
real(kind(1d0)) sues_data::surfacearea_ha
 
real(kind(1d0)) sues_data::waterbodytype
 
real(kind(1d0)) sues_data::waterstorcap
 
real(kind(1d0)) sues_data::wuareaevetr_m2
 
real(kind(1d0)) sues_data::wuareadectr_m2
 
real(kind(1d0)) sues_data::wuareagrass_m2
 
real(kind(1d0)) sues_data::wuareatotal_m2
 
real(kind(1d0)) sues_data::wu_evetr
 
real(kind(1d0)) sues_data::wu_dectr
 
real(kind(1d0)) sues_data::wu_grass
 
real(kind(1d0)) sues_data::additionalwater
 
real(kind(1d0)) sues_data::ch_per_interval
 
real(kind(1d0)) sues_data::chsnow_per_interval
 
real(kind(1d0)) sues_data::di_dt
 
real(kind(1d0)) sues_data::dr_per_interval
 
real(kind(1d0)) sues_data::ev_per_interval
 
real(kind(1d0)) sues_data::surf_chang_per_tstep
 
real(kind(1d0)) sues_data::tot_chang_per_tstep
 
real(kind(1d0)) sues_data::nwstate_per_tstep
 
real(kind(1d0)) sues_data::state_per_tstep
 
real(kind(1d0)) sues_data::drain_per_tstep
 
real(kind(1d0)) sues_data::runoff_per_tstep
 
real(kind(1d0)) sues_data::runoffsoil_per_tstep
 
real(kind(1d0)) sues_data::ev_per_tstep
 
real(kind(1d0)) sues_data::qe_per_tstep
 
real(kind(1d0)) sues_data::p_mm
 
real(kind(1d0)) sues_data::pin
 
real(kind(1d0)) sues_data::fai
 
real(kind(1d0)) sues_data::pai
 
real(kind(1d0)) sues_data::rb
 
real(kind(1d0)) sues_data::runoffagimpervious
 
real(kind(1d0)) sues_data::runoffagveg
 
real(kind(1d0)) sues_data::runoffwaterbody
 
real(kind(1d0)) sues_data::runoffpipes
 
real(kind(1d0)) sues_data::runoffagimpervious_m3
 
real(kind(1d0)) sues_data::runoffagveg_m3
 
real(kind(1d0)) sues_data::runoffwaterbody_m3
 
real(kind(1d0)) sues_data::runoffpipes_m3
 
real(kind(1d0)) sues_data::runoff_per_interval
 
real(kind(1d0)) sues_data::addimpervious
 
real(kind(1d0)) sues_data::addveg
 
real(kind(1d0)) sues_data::addwaterbody
 
real(kind(1d0)) sues_data::addpipes
 
real(kind(1d0)) sues_data::runoffsoil_per_interval
 
real(kind(1d0)) sues_data::qe_per_interval
 
real(kind(1d0)) sues_data::soilmoistcap
 
real(kind(1d0)) sues_data::soilstate
 
real(kind(1d0)) sues_data::st_per_interval
 
real(kind(1d0)) sues_data::surpluswaterbody
 
real(kind(1d0)) sues_data::tlv_sub
 
real(kind(1d0)) sues_data::overuse = 0
 
real(kind(1d0)) sues_data::zh
 
real(kind(1d0)) sues_data::h
 
real(kind(1d0)) sues_data::l_mod
 
real(kind(1d0)) sues_data::psim
 
real(kind(1d0)) sues_data::psih
 
real(kind(1d0)) sues_data::ra
 
real(kind(1d0)) sues_data::rasnow
 
real(kind(1d0)) sues_data::tstar
 
real(kind(1d0)) sues_data::ustar
 
real(kind(1d0)) sues_data::z0_gis
 
real(kind(1d0)) sues_data::resistsurf
 
real(kind(1d0)) sues_data::gdq
 
real(kind(1d0)) sues_data::qnm
 
real(kind(1d0)) sues_data::gq
 
real(kind(1d0)) sues_data::gtemp
 
real(kind(1d0)) sues_data::gl
 
real(kind(1d0)) sues_data::sdp
 
real(kind(1d0)) sues_data::smd
 
real(kind(1d0)) sues_data::vsmd
 
real(kind(1d0)) sues_data::gs
 
real(kind(1d0)) sues_data::gsc
 
real(kind(1d0)) sues_data::rss
 
real(kind(1d0)) sues_data::vdrc
 
real(kind(1d0)) sues_data::numpm
 
real(kind(1d0)) sues_data::sp
 
real(kind(1d0)) sues_data::sae
 
real(kind(1d0)) sues_data::ev
 
real(kind(1d0)) sues_data::rst
 
real(kind(1d0)) sues_data::qeph
 
real(kind(1d0)) sues_data::qeout
 
real(kind(1d0)), dimension(:), allocatable sues_data::qhforcbl
 
real(kind(1d0)), dimension(:), allocatable sues_data::qeforcbl
 
integer sues_data::qh_choice
 
real(kind(1d0)) sues_data::ext_wu
 
real(kind(1d0)) sues_data::faut
 
real(kind(1d0)) sues_data::h_maintain
 
real(kind(1d0)) sues_data::int_wu
 
real(kind(1d0)) sues_data::irrfracpaved
 
real(kind(1d0)) sues_data::irrfracbldgs
 
real(kind(1d0)) sues_data::irrfracevetr
 
real(kind(1d0)) sues_data::irrfracdectr
 
real(kind(1d0)) sues_data::irrfracgrass
 
real(kind(1d0)) sues_data::irrfracbsoil
 
real(kind(1d0)) sues_data::irrfracwater
 
real(kind(1d0)) sues_data::internalwateruse_h
 
real(kind(1d0)), dimension(7) sues_data::daywatper
 
real(kind(1d0)), dimension(7) sues_data::daywat
 
real(kind(1d0)), dimension(3) sues_data::ie_a
 
real(kind(1d0)), dimension(3) sues_data::ie_m
 
real(kind(1d0)) vegphenogy::vegphenlumps
 
real(kind(1d0)) vegphenogy::deltalai
 
character(len=90) filename::smithfile
 
real(kind(1d0)) initialcond::laiinitialevetr
 
real(kind(1d0)) initialcond::laiinitialdectr
 
real(kind(1d0)) initialcond::laiinitialgrass
 
real(kind(1d0)) initialcond::porosity0
 
real(kind(1d0)) initialcond::decidcap0
 
real(kind(1d0)) initialcond::albdectr0
 
real(kind(1d0)) initialcond::albevetr0
 
real(kind(1d0)) initialcond::albgrass0
 
real(kind(1d0)) initialcond::temp_c0
 
real(kind(1d0)) initialcond::gdd_1_0
 
real(kind(1d0)) initialcond::gdd_2_0
 
real(kind(1d0)) initialcond::soilstorepavedstate
 
real(kind(1d0)) initialcond::soilstorebldgsstate
 
real(kind(1d0)) initialcond::soilstoreevetrstate
 
real(kind(1d0)) initialcond::soilstoredectrstate
 
real(kind(1d0)) initialcond::soilstoregrassstate
 
real(kind(1d0)) initialcond::soilstorebsoilstate
 
real(kind(1d0)) initialcond::snowwaterpavedstate
 
real(kind(1d0)) initialcond::snowwaterbldgsstate
 
real(kind(1d0)) initialcond::snowwaterevetrstate
 
real(kind(1d0)) initialcond::snowwaterdectrstate
 
real(kind(1d0)) initialcond::snowwatergrassstate
 
real(kind(1d0)) initialcond::snowwaterbsoilstate
 
real(kind(1d0)) initialcond::snowwaterwaterstate
 
real(kind(1d0)) initialcond::snowpackpaved
 
real(kind(1d0)) initialcond::snowpackbldgs
 
real(kind(1d0)) initialcond::snowpackevetr
 
real(kind(1d0)) initialcond::snowpackdectr
 
real(kind(1d0)) initialcond::snowpackgrass
 
real(kind(1d0)) initialcond::snowpackbsoil
 
real(kind(1d0)) initialcond::snowpackwater
 
real(kind(1d0)) initialcond::snowalb0
 
integer initialcond::id_prev
 
integer colnamesmodeldailystate::cmds_id_prev = 3
 
integer colnamesmodeldailystate::cmds_hdd1 = 4
 
integer colnamesmodeldailystate::cmds_hdd2 = 5
 
integer colnamesmodeldailystate::cmds_tempc = 6
 
integer colnamesmodeldailystate::cmds_tempcrm = 7
 
integer colnamesmodeldailystate::cmds_precip = 8
 
integer colnamesmodeldailystate::cmds_dayssincerain = 9
 
integer colnamesmodeldailystate::cmds_tempcold1 = 10
 
integer colnamesmodeldailystate::cmds_tempcold2 = 11
 
integer colnamesmodeldailystate::cmds_tempcold3 = 12
 
integer colnamesmodeldailystate::cmds_gddmin = 13
 
integer colnamesmodeldailystate::cmds_gddmax = 14
 
integer colnamesmodeldailystate::cmds_gdd1_0 = 15
 
integer colnamesmodeldailystate::cmds_gdd2_0 = 16
 
integer colnamesmodeldailystate::cmds_laiinitialevetr = 17
 
integer colnamesmodeldailystate::cmds_laiinitialdectr = 18
 
integer colnamesmodeldailystate::cmds_laiinitialgrass = 19
 
integer colnamesmodeldailystate::cmds_porosity = 20
 
integer colnamesmodeldailystate::cmds_albevetr = 21
 
integer colnamesmodeldailystate::cmds_albdectr = 22
 
integer colnamesmodeldailystate::cmds_albgrass = 23
 
integer colnamesmodeldailystate::cmds_decidcap = 24
 
integer colnamesmodeldailystate::cmds_snowfallcum = 25
 
integer colnamesmodeldailystate::cmds_laievetr = 26
 
integer colnamesmodeldailystate::cmds_laidectr = 27
 
integer colnamesmodeldailystate::cmds_laigrass = 28
 
integer colnamesmodeldailystate::cmds_snowalb = 29
 
integer colnamesmodeldailystate::cmds_boratio = 30
 
integer colnamesmodeldailystate::cmds_a1anohm = 31
 
integer colnamesmodeldailystate::cmds_a2anohm = 32
 
integer colnamesmodeldailystate::cmds_a3anohm = 33
 
integer colnamesinputfiles::ccc
 
integer colnamesinputfiles::c_grid = 1
 
integer colnamesinputfiles::c_year = 2
 
integer colnamesinputfiles::c_startdls = 3
 
integer colnamesinputfiles::c_enddls = 4
 
integer colnamesinputfiles::c_lat = 5
 
integer colnamesinputfiles::c_lng = 6
 
integer colnamesinputfiles::c_tz = 7
 
integer colnamesinputfiles::c_area = 8
 
integer colnamesinputfiles::c_alt = 9
 
integer colnamesinputfiles::c_z = 10
 
integer colnamesinputfiles::c_id = 11
 
integer colnamesinputfiles::c_it = 12
 
integer colnamesinputfiles::c_imin = 13
 
integer colnamesinputfiles::c_frpaved = 14
 
integer colnamesinputfiles::c_frbldgs = 15
 
integer colnamesinputfiles::c_frevetr = 16
 
integer colnamesinputfiles::c_frdectr = 17
 
integer colnamesinputfiles::c_frgrass = 18
 
integer colnamesinputfiles::c_frbsoil = 19
 
integer colnamesinputfiles::c_frwater = 20
 
integer colnamesinputfiles::c_irrpavedfrac = 21
 
integer colnamesinputfiles::c_irrbldgsfrac = 22
 
integer colnamesinputfiles::c_irrevetrfrac = 23
 
integer colnamesinputfiles::c_irrdectrfrac = 24
 
integer colnamesinputfiles::c_irrgrassfrac = 25
 
integer colnamesinputfiles::c_irrbsoilfrac = 26
 
integer colnamesinputfiles::c_irrwaterfrac = 27
 
integer colnamesinputfiles::c_hbldgs = 28
 
integer colnamesinputfiles::c_hevetr = 29
 
integer colnamesinputfiles::c_hdectr = 30
 
integer colnamesinputfiles::c_z0m = 31
 
integer colnamesinputfiles::c_zdm = 32
 
integer colnamesinputfiles::c_faibldgs = 33
 
integer colnamesinputfiles::c_faievetr = 34
 
integer colnamesinputfiles::c_faidectr = 35
 
integer colnamesinputfiles::c_popdensday = 36
 
integer colnamesinputfiles::c_popdensnight = 37
 
integer colnamesinputfiles::c_trafficrate_wd = 38
 
integer colnamesinputfiles::c_trafficrate_we = 39
 
integer colnamesinputfiles::c_qf0_beu_wd = 40
 
integer colnamesinputfiles::c_qf0_beu_we = 41
 
integer colnamesinputfiles::c_pavedcode = 42
 
integer colnamesinputfiles::c_bldgscode = 43
 
integer colnamesinputfiles::c_evetrcode = 44
 
integer colnamesinputfiles::c_dectrcode = 45
 
integer colnamesinputfiles::c_grasscode = 46
 
integer colnamesinputfiles::c_bsoilcode = 47
 
integer colnamesinputfiles::c_watercode = 48
 
integer colnamesinputfiles::c_lumpsdr = 49
 
integer colnamesinputfiles::c_lumpscover = 50
 
integer colnamesinputfiles::c_lumpsmaxres = 51
 
integer colnamesinputfiles::c_narptrans = 52
 
integer colnamesinputfiles::c_condcode = 53
 
integer colnamesinputfiles::c_snowcode = 54
 
integer colnamesinputfiles::c_snowprofwd = 55
 
integer colnamesinputfiles::c_snowprofwe = 56
 
integer colnamesinputfiles::c_qfcode = 57
 
integer colnamesinputfiles::c_irrcode = 58
 
integer colnamesinputfiles::c_wprofmanuwd = 59
 
integer colnamesinputfiles::c_wprofmanuwe = 60
 
integer colnamesinputfiles::c_wprofautowd = 61
 
integer colnamesinputfiles::c_wprofautowe = 62
 
integer colnamesinputfiles::c_flowchange = 63
 
integer colnamesinputfiles::c_runofftowater = 64
 
integer colnamesinputfiles::c_pipecapacity = 65
 
integer colnamesinputfiles::c_gridconnection1of8 = 66
 
integer colnamesinputfiles::c_fraction1of8 = 67
 
integer colnamesinputfiles::c_gridconnection2of8 = 68
 
integer colnamesinputfiles::c_fraction2of8 = 69
 
integer colnamesinputfiles::c_gridconnection3of8 = 70
 
integer colnamesinputfiles::c_fraction3of8 = 71
 
integer colnamesinputfiles::c_gridconnection4of8 = 72
 
integer colnamesinputfiles::c_fraction4of8 = 73
 
integer colnamesinputfiles::c_gridconnection5of8 = 74
 
integer colnamesinputfiles::c_fraction5of8 = 75
 
integer colnamesinputfiles::c_gridconnection6of8 = 76
 
integer colnamesinputfiles::c_fraction6of8 = 77
 
integer colnamesinputfiles::c_gridconnection7of8 = 78
 
integer colnamesinputfiles::c_fraction7of8 = 79
 
integer colnamesinputfiles::c_gridconnection8of8 = 80
 
integer colnamesinputfiles::c_fraction8of8 = 81
 
integer colnamesinputfiles::c_wgpavedcode = 82
 
integer colnamesinputfiles::c_wgbldgscode = 83
 
integer colnamesinputfiles::c_wgevetrcode = 84
 
integer colnamesinputfiles::c_wgdectrcode = 85
 
integer colnamesinputfiles::c_wggrasscode = 86
 
integer colnamesinputfiles::c_wgbsoilcode = 87
 
integer colnamesinputfiles::c_wgwatercode = 88
 
integer colnamesinputfiles::c_areawall = 89
 
integer, dimension(3) colnamesinputfiles::c_fr_estmclass_paved = (/(ccc, ccc=90, 92, 1)/)
 
integer, dimension(3) colnamesinputfiles::c_code_estmclass_paved = (/(ccc, ccc=93, 95, 1)/)
 
integer, dimension(5) colnamesinputfiles::c_fr_estmclass_bldgs = (/(ccc, ccc=96, 100, 1)/)
 
integer, dimension(5) colnamesinputfiles::c_code_estmclass_bldgs = (/(ccc, ccc=101, 105, 1)/)
 
integer colnamesinputfiles::ci_code = 1
 
integer colnamesinputfiles::ci_albmin = 2
 
integer colnamesinputfiles::ci_albmax = 3
 
integer colnamesinputfiles::ci_emis = 4
 
integer colnamesinputfiles::ci_stormin = 5
 
integer colnamesinputfiles::ci_stormax = 6
 
integer colnamesinputfiles::ci_wetthresh = 7
 
integer colnamesinputfiles::ci_statelimit = 8
 
integer colnamesinputfiles::ci_dreq = 9
 
integer colnamesinputfiles::ci_drcoef1 = 10
 
integer colnamesinputfiles::ci_drcoef2 = 11
 
integer colnamesinputfiles::ci_soiltcode = 12
 
integer colnamesinputfiles::ci_snowlimpat = 13
 
integer colnamesinputfiles::ci_snowlimrem = 14
 
integer colnamesinputfiles::ci_ohmcode_swet = 15
 
integer colnamesinputfiles::ci_ohmcode_sdry = 16
 
integer colnamesinputfiles::ci_ohmcode_wwet = 17
 
integer colnamesinputfiles::ci_ohmcode_wdry = 18
 
integer colnamesinputfiles::ci_ohmthresh_sw = 19
 
integer colnamesinputfiles::ci_ohmthresh_wd = 20
 
integer colnamesinputfiles::ci_estmcode = 21
 
integer colnamesinputfiles::ci_cpanohm = 22
 
integer colnamesinputfiles::ci_kkanohm = 23
 
integer colnamesinputfiles::ci_chanohm = 24
 
integer colnamesinputfiles::cp_code = 1
 
integer colnamesinputfiles::cp_albmin = 2
 
integer colnamesinputfiles::cp_albmax = 3
 
integer colnamesinputfiles::cp_emis = 4
 
integer colnamesinputfiles::cp_stormin = 5
 
integer colnamesinputfiles::cp_stormax = 6
 
integer colnamesinputfiles::cp_wetthresh = 7
 
integer colnamesinputfiles::cp_statelimit = 8
 
integer colnamesinputfiles::cp_dreq = 9
 
integer colnamesinputfiles::cp_drcoef1 = 10
 
integer colnamesinputfiles::cp_drcoef2 = 11
 
integer colnamesinputfiles::cp_soiltcode = 12
 
integer colnamesinputfiles::cp_snowlimpat = 13
 
integer colnamesinputfiles::cp_baset = 14
 
integer colnamesinputfiles::cp_basete = 15
 
integer colnamesinputfiles::cp_gddfull = 16
 
integer colnamesinputfiles::cp_sddfull = 17
 
integer colnamesinputfiles::cp_laimin = 18
 
integer colnamesinputfiles::cp_laimax = 19
 
integer colnamesinputfiles::cp_porositymin = 20
 
integer colnamesinputfiles::cp_porositymax = 21
 
integer colnamesinputfiles::cp_gsmax = 22
 
integer colnamesinputfiles::cp_laieq = 23
 
integer colnamesinputfiles::cp_leafgp1 = 24
 
integer colnamesinputfiles::cp_leafgp2 = 25
 
integer colnamesinputfiles::cp_leafop1 = 26
 
integer colnamesinputfiles::cp_leafop2 = 27
 
integer colnamesinputfiles::cp_ohmcode_swet = 28
 
integer colnamesinputfiles::cp_ohmcode_sdry = 29
 
integer colnamesinputfiles::cp_ohmcode_wwet = 30
 
integer colnamesinputfiles::cp_ohmcode_wdry = 31
 
integer colnamesinputfiles::cp_ohmthresh_sw = 32
 
integer colnamesinputfiles::cp_ohmthresh_wd = 33
 
integer colnamesinputfiles::cp_estmcode = 34
 
integer colnamesinputfiles::cp_cpanohm = 35
 
integer colnamesinputfiles::cp_kkanohm = 36
 
integer colnamesinputfiles::cp_chanohm = 37
 
integer colnamesinputfiles::cp_biogenco2code = 38
 
integer colnamesinputfiles::cw_code = 1
 
integer colnamesinputfiles::cw_albmin = 2
 
integer colnamesinputfiles::cw_albmax = 3
 
integer colnamesinputfiles::cw_emis = 4
 
integer colnamesinputfiles::cw_stormin = 5
 
integer colnamesinputfiles::cw_stormax = 6
 
integer colnamesinputfiles::cw_wetthresh = 7
 
integer colnamesinputfiles::cw_statelimit = 8
 
integer colnamesinputfiles::cw_waterdepth = 9
 
integer colnamesinputfiles::cw_dreq = 10
 
integer colnamesinputfiles::cw_drcoef1 = 11
 
integer colnamesinputfiles::cw_drcoef2 = 12
 
integer colnamesinputfiles::cw_ohmcode_swet = 13
 
integer colnamesinputfiles::cw_ohmcode_sdry = 14
 
integer colnamesinputfiles::cw_ohmcode_wwet = 15
 
integer colnamesinputfiles::cw_ohmcode_wdry = 16
 
integer colnamesinputfiles::cw_ohmthresh_sw = 17
 
integer colnamesinputfiles::cw_ohmthresh_wd = 18
 
integer colnamesinputfiles::cw_estmcode = 19
 
integer colnamesinputfiles::cw_cpanohm = 20
 
integer colnamesinputfiles::cw_kkanohm = 21
 
integer colnamesinputfiles::cw_chanohm = 22
 
integer colnamesinputfiles::cs_code = 1
 
integer colnamesinputfiles::cs_snowrmfactor = 2
 
integer colnamesinputfiles::cs_snowtmfactor = 3
 
integer colnamesinputfiles::cs_snowalbmin = 4
 
integer colnamesinputfiles::cs_snowalbmax = 5
 
integer colnamesinputfiles::cs_snowemis = 6
 
integer colnamesinputfiles::cs_snowtau_a = 7
 
integer colnamesinputfiles::cs_snowtau_f = 8
 
integer colnamesinputfiles::cs_snowplimalb = 9
 
integer colnamesinputfiles::cs_snowsdmin = 10
 
integer colnamesinputfiles::cs_snowsdmax = 11
 
integer colnamesinputfiles::cs_snowtau_r = 12
 
integer colnamesinputfiles::cs_snowcrwmin = 13
 
integer colnamesinputfiles::cs_snowcrwmax = 14
 
integer colnamesinputfiles::cs_snowplimsnow = 15
 
integer colnamesinputfiles::cs_ohmcode_swet = 16
 
integer colnamesinputfiles::cs_ohmcode_sdry = 17
 
integer colnamesinputfiles::cs_ohmcode_wwet = 18
 
integer colnamesinputfiles::cs_ohmcode_wdry = 19
 
integer colnamesinputfiles::cs_ohmthresh_sw = 20
 
integer colnamesinputfiles::cs_ohmthresh_wd = 21
 
integer colnamesinputfiles::cs_estmcode = 22
 
integer colnamesinputfiles::cs_cpanohm = 23
 
integer colnamesinputfiles::cs_kkanohm = 24
 
integer colnamesinputfiles::cs_chanohm = 25
 
integer colnamesinputfiles::cso_code = 1
 
integer colnamesinputfiles::cso_soildepth = 2
 
integer colnamesinputfiles::cso_soilstcap = 3
 
integer colnamesinputfiles::cso_ksat = 4
 
integer colnamesinputfiles::cso_soildens = 5
 
integer colnamesinputfiles::cso_soilinfrate = 6
 
integer colnamesinputfiles::cso_obssmdepth = 7
 
integer colnamesinputfiles::cso_obssmmax = 8
 
integer colnamesinputfiles::cso_obssnrfrac = 9
 
integer colnamesinputfiles::cc_code = 1
 
integer colnamesinputfiles::cc_gsg1 = 2
 
integer colnamesinputfiles::cc_gsg2 = 3
 
integer colnamesinputfiles::cc_gsg3 = 4
 
integer colnamesinputfiles::cc_gsg4 = 5
 
integer colnamesinputfiles::cc_gsg5 = 6
 
integer colnamesinputfiles::cc_gsg6 = 7
 
integer colnamesinputfiles::cc_gsth = 8
 
integer colnamesinputfiles::cc_gstl = 9
 
integer colnamesinputfiles::cc_gss1 = 10
 
integer colnamesinputfiles::cc_gss2 = 11
 
integer colnamesinputfiles::cc_gskmax = 12
 
integer colnamesinputfiles::cc_gsmodel = 13
 
integer colnamesinputfiles::co_code = 1
 
integer colnamesinputfiles::co_a1 = 2
 
integer colnamesinputfiles::co_a2 = 3
 
integer colnamesinputfiles::co_a3 = 4
 
integer colnamesinputfiles::ce_code = 1
 
integer colnamesinputfiles::ce_surf_thick1 = 2
 
integer colnamesinputfiles::ce_surf_k1 = 3
 
integer colnamesinputfiles::ce_surf_rhocp1 = 4
 
integer colnamesinputfiles::ce_surf_thick2 = 5
 
integer colnamesinputfiles::ce_surf_k2 = 6
 
integer colnamesinputfiles::ce_surf_rhocp2 = 7
 
integer colnamesinputfiles::ce_surf_thick3 = 8
 
integer colnamesinputfiles::ce_surf_k3 = 9
 
integer colnamesinputfiles::ce_surf_rhocp3 = 10
 
integer colnamesinputfiles::ce_surf_thick4 = 11
 
integer colnamesinputfiles::ce_surf_k4 = 12
 
integer colnamesinputfiles::ce_surf_rhocp4 = 13
 
integer colnamesinputfiles::ce_surf_thick5 = 14
 
integer colnamesinputfiles::ce_surf_k5 = 15
 
integer colnamesinputfiles::ce_surf_rhocp5 = 16
 
integer colnamesinputfiles::ce_wall_thick1 = 17
 
integer colnamesinputfiles::ce_wall_k1 = 18
 
integer colnamesinputfiles::ce_wall_rhocp1 = 19
 
integer colnamesinputfiles::ce_wall_thick2 = 20
 
integer colnamesinputfiles::ce_wall_k2 = 21
 
integer colnamesinputfiles::ce_wall_rhocp2 = 22
 
integer colnamesinputfiles::ce_wall_thick3 = 23
 
integer colnamesinputfiles::ce_wall_k3 = 24
 
integer colnamesinputfiles::ce_wall_rhocp3 = 25
 
integer colnamesinputfiles::ce_wall_thick4 = 26
 
integer colnamesinputfiles::ce_wall_k4 = 27
 
integer colnamesinputfiles::ce_wall_rhocp4 = 28
 
integer colnamesinputfiles::ce_wall_thick5 = 29
 
integer colnamesinputfiles::ce_wall_k5 = 30
 
integer colnamesinputfiles::ce_wall_rhocp5 = 31
 
integer colnamesinputfiles::ce_internal_thick1 = 32
 
integer colnamesinputfiles::ce_internal_k1 = 33
 
integer colnamesinputfiles::ce_internal_rhocp1 = 34
 
integer colnamesinputfiles::ce_internal_thick2 = 35
 
integer colnamesinputfiles::ce_internal_k2 = 36
 
integer colnamesinputfiles::ce_internal_rhocp2 = 37
 
integer colnamesinputfiles::ce_internal_thick3 = 38
 
integer colnamesinputfiles::ce_internal_k3 = 39
 
integer colnamesinputfiles::ce_internal_rhocp3 = 40
 
integer colnamesinputfiles::ce_internal_thick4 = 41
 
integer colnamesinputfiles::ce_internal_k4 = 42
 
integer colnamesinputfiles::ce_internal_rhocp4 = 43
 
integer colnamesinputfiles::ce_internal_thick5 = 44
 
integer colnamesinputfiles::ce_internal_k5 = 45
 
integer colnamesinputfiles::ce_internal_rhocp5 = 46
 
integer colnamesinputfiles::ce_nroom = 47
 
integer colnamesinputfiles::ce_alb_ibld = 48
 
integer colnamesinputfiles::ce_em_ibld = 49
 
integer colnamesinputfiles::ce_ch_iwall = 50
 
integer colnamesinputfiles::ce_ch_iroof = 51
 
integer colnamesinputfiles::ce_ch_ibld = 52
 
integer colnamesinputfiles::ca_code = 1
 
integer colnamesinputfiles::ca_baset_hc = 2
 
integer colnamesinputfiles::ca_qf_a1 = 3
 
integer colnamesinputfiles::ca_qf_b1 = 4
 
integer colnamesinputfiles::ca_qf_c1 = 5
 
integer colnamesinputfiles::ca_qf_a2 = 6
 
integer colnamesinputfiles::ca_qf_b2 = 7
 
integer colnamesinputfiles::ca_qf_c2 = 8
 
integer colnamesinputfiles::ca_ahmin_wd = 9
 
integer colnamesinputfiles::ca_ahmin_we = 10
 
integer colnamesinputfiles::ca_ahslopeheating_wd = 11
 
integer colnamesinputfiles::ca_ahslopeheating_we = 12
 
integer colnamesinputfiles::ca_ahslopecooling_wd = 13
 
integer colnamesinputfiles::ca_ahslopecooling_we = 14
 
integer colnamesinputfiles::ca_tcriticheating_wd = 15
 
integer colnamesinputfiles::ca_tcriticheating_we = 16
 
integer colnamesinputfiles::ca_tcriticcooling_wd = 17
 
integer colnamesinputfiles::ca_tcriticcooling_we = 18
 
integer colnamesinputfiles::ca_enprofwd = 19
 
integer colnamesinputfiles::ca_enprofwe = 20
 
integer colnamesinputfiles::ca_co2mwd = 21
 
integer colnamesinputfiles::ca_co2mwe = 22
 
integer colnamesinputfiles::ca_traffprofwd = 23
 
integer colnamesinputfiles::ca_traffprofwe = 24
 
integer colnamesinputfiles::ca_popprofwd = 25
 
integer colnamesinputfiles::ca_popprofwe = 26
 
integer colnamesinputfiles::ca_minqfmetab = 27
 
integer colnamesinputfiles::ca_maxqfmetab = 28
 
integer colnamesinputfiles::ca_minfcmetab = 29
 
integer colnamesinputfiles::ca_maxfcmetab = 30
 
integer colnamesinputfiles::ca_frpddwe = 31
 
integer colnamesinputfiles::ca_frfossilfuel_heat = 32
 
integer colnamesinputfiles::ca_frfossilfuel_nonheat = 33
 
integer colnamesinputfiles::ca_ef_umolco2perj = 34
 
integer colnamesinputfiles::ca_enef_v_jkm = 35
 
integer colnamesinputfiles::ca_fcef_v_kgkmwd = 36
 
integer colnamesinputfiles::ca_fcef_v_kgkmwe = 37
 
integer colnamesinputfiles::ca_co2pointsource = 38
 
integer colnamesinputfiles::ca_trafficunits = 39
 
integer colnamesinputfiles::cir_code = 1
 
integer colnamesinputfiles::cir_iestart = 2
 
integer colnamesinputfiles::cir_ieend = 3
 
integer colnamesinputfiles::cir_intwu = 4
 
integer colnamesinputfiles::cir_faut = 5
 
integer colnamesinputfiles::cir_h_maintain = 6
 
integer colnamesinputfiles::cir_ie_a1 = 7
 
integer colnamesinputfiles::cir_ie_a2 = 8
 
integer colnamesinputfiles::cir_ie_a3 = 9
 
integer colnamesinputfiles::cir_ie_m1 = 10
 
integer colnamesinputfiles::cir_ie_m2 = 11
 
integer colnamesinputfiles::cir_ie_m3 = 12
 
integer colnamesinputfiles::cir_daywat1 = 13
 
integer colnamesinputfiles::cir_daywat2 = 14
 
integer colnamesinputfiles::cir_daywat3 = 15
 
integer colnamesinputfiles::cir_daywat4 = 16
 
integer colnamesinputfiles::cir_daywat5 = 17
 
integer colnamesinputfiles::cir_daywat6 = 18
 
integer colnamesinputfiles::cir_daywat7 = 19
 
integer colnamesinputfiles::cir_daywatper1 = 20
 
integer colnamesinputfiles::cir_daywatper2 = 21
 
integer colnamesinputfiles::cir_daywatper3 = 22
 
integer colnamesinputfiles::cir_daywatper4 = 23
 
integer colnamesinputfiles::cir_daywatper5 = 24
 
integer colnamesinputfiles::cir_daywatper6 = 25
 
integer colnamesinputfiles::cir_daywatper7 = 26
 
integer colnamesinputfiles::cc
 
integer colnamesinputfiles::cpr_code = 1
 
integer, dimension(24) colnamesinputfiles::cpr_hours = (/(cc, cc=2, 25, 1)/)
 
integer colnamesinputfiles::cwg_code = 1
 
integer colnamesinputfiles::cwg_topaved = 2
 
integer colnamesinputfiles::cwg_tobldgs = 3
 
integer colnamesinputfiles::cwg_toevetr = 4
 
integer colnamesinputfiles::cwg_todectr = 5
 
integer colnamesinputfiles::cwg_tograss = 6
 
integer colnamesinputfiles::cwg_tobsoil = 7
 
integer colnamesinputfiles::cwg_towater = 8
 
integer colnamesinputfiles::cwg_torunoff = 9
 
integer colnamesinputfiles::cwg_tosoilstore = 10
 
integer colnamesinputfiles::cb_code = 1
 
integer colnamesinputfiles::cb_alpha = 2
 
integer colnamesinputfiles::cb_beta = 3
 
integer colnamesinputfiles::cb_theta = 4
 
integer colnamesinputfiles::cb_alpha_enh = 5
 
integer colnamesinputfiles::cb_beta_enh = 6
 
integer colnamesinputfiles::cb_resp_a = 7
 
integer colnamesinputfiles::cb_resp_b = 8
 
integer colnamesinputfiles::cb_min_r = 9
 
integer wherewhen::gridid
 
character(len=10) wherewhen::gridid_text
 
character(len=15) wherewhen::datetime
 
real(kind(1d0)), parameter mathconstants::pi = 3.14159265359
 
real(kind(1d0)), parameter mathconstants::dtr = 0.0174532925
 
real(kind(1d0)), parameter mathconstants::rtd = 57.2957795
 
real(kind(1d0)), parameter physconstants::c2k = 273.15
 
real(kind(1d0)), parameter physconstants::sbconst = 5.67051E-8
 
real(kind(1d0)), parameter physconstants::jtoumolpar = 4.6
 
real(kind(1d0)), parameter physconstants::kdntopar = 0.46