SUEWS API Site
Documentation of SUEWS source code
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | overallruncontrol |
subroutine | readcoeff (FileName, nlines, ncolumns, HeaderFile, Coeff) |
subroutine | numberrows (FileN, SkipHeaderLines) |
subroutine | initializesurfacecharacteristics (Gridiv, rr) |
subroutine | initialstate (GridName, year_int, Gridiv, NumberOfGrids) |
real(kind(1d0)) function | normalizevegchar (VegCol, Gridiv) |
subroutine | nextinitial (GridName, year_int) |
subroutine | suews_initializemetdata (lunit) |
subroutine | checkinitial |
subroutine checkinitial | ( | ) |
Definition at line 2240 of file suews_ctrl_init.f95.
References allocatearray::bldgsurf, allocatearray::bsoilsurf, allocatearray::conifsurf, snowmod::crwmax, allocatearray::decidsurf, errorhint(), allocatearray::grasssurf, time::id, initialcond::laiinitialdectr, initialcond::laiinitialevetr, initialcond::laiinitialgrass, allocatearray::laimax, allocatearray::laimin, data_in::lat, defaultnotused::notusedi, allocatearray::pavsurf, initialcond::snowpackbldgs, initialcond::snowpackbsoil, initialcond::snowpackdectr, initialcond::snowpackevetr, initialcond::snowpackgrass, initialcond::snowpackpaved, data_in::snowuse, initialcond::snowwaterbldgsstate, initialcond::snowwaterbsoilstate, initialcond::snowwaterdectrstate, initialcond::snowwaterevetrstate, initialcond::snowwatergrassstate, initialcond::snowwaterpavedstate, initialcond::soilstorebldgsstate, initialcond::soilstorebsoilstate, allocatearray::soilstorecap, initialcond::soilstoredectrstate, initialcond::soilstoreevetrstate, initialcond::soilstoregrassstate, initialcond::soilstorepavedstate, data_in::temp_c, and initialcond::temp_c0.
Referenced by suews_translate().
subroutine initializesurfacecharacteristics | ( | integer | Gridiv, |
integer | rr | ||
) |
Definition at line 455 of file suews_ctrl_init.f95.
References allocatearray::anthropogenic_coeff, allocatearray::biogen_coeff, allocatearray::bldgsurf, allocatearray::bsoilsurf, allocatearray::c_a1_sdry, allocatearray::c_a1_swet, allocatearray::c_a1_wdry, allocatearray::c_a1_wwet, allocatearray::c_a2_sdry, allocatearray::c_a2_swet, allocatearray::c_a2_wdry, allocatearray::c_a2_wwet, allocatearray::c_a3_sdry, allocatearray::c_a3_swet, allocatearray::c_a3_wdry, allocatearray::c_a3_wwet, allocatearray::c_ahmin_wd, allocatearray::c_ahmin_we, allocatearray::c_ahslopecooling_wd, allocatearray::c_ahslopecooling_we, allocatearray::c_ahslopeheating_wd, allocatearray::c_ahslopeheating_we, allocatearray::c_alb_ibld, allocatearray::c_alb_ibld_bldgs, allocatearray::c_albmax, allocatearray::c_albmin, allocatearray::c_alpha_bioco2, allocatearray::c_alpha_enh_bioco2, allocatearray::c_baset, allocatearray::c_baset_hc, allocatearray::c_basete, allocatearray::c_beta_bioco2, allocatearray::c_beta_enh_bioco2, allocatearray::c_biogenco2code, colnamesinputfiles::c_bldgscode, colnamesinputfiles::c_bsoilcode, allocatearray::c_ch_ibld, allocatearray::c_ch_ibld_bldgs, allocatearray::c_ch_iroof, allocatearray::c_ch_iroof_bldgs, allocatearray::c_ch_iwall, allocatearray::c_ch_iwall_bldgs, allocatearray::c_chanohm, allocatearray::c_co2mwd, allocatearray::c_co2mwe, allocatearray::c_co2pointsource, colnamesinputfiles::c_condcode, allocatearray::c_cpanohm, allocatearray::c_daywat, allocatearray::c_daywatper, colnamesinputfiles::c_dectrcode, allocatearray::c_drcoef1, allocatearray::c_drcoef2, allocatearray::c_dreq, allocatearray::c_ef_umolco2perj, allocatearray::c_em_ibld, allocatearray::c_em_ibld_bldgs, allocatearray::c_emis, allocatearray::c_enef_v_jkm, allocatearray::c_enprofwd, allocatearray::c_enprofwe, allocatearray::c_estmcode, colnamesinputfiles::c_evetrcode, allocatearray::c_faut, allocatearray::c_fcef_v_kgkmwd, allocatearray::c_fcef_v_kgkmwe, allocatearray::c_frfossilfuel_heat, allocatearray::c_frfossilfuel_nonheat, allocatearray::c_frpddwe, allocatearray::c_gddfull, colnamesinputfiles::c_grasscode, allocatearray::c_gsg1, allocatearray::c_gsg2, allocatearray::c_gsg3, allocatearray::c_gsg4, allocatearray::c_gsg5, allocatearray::c_gsg6, allocatearray::c_gskmax, allocatearray::c_gsmax, allocatearray::c_gsmodel, allocatearray::c_gss1, allocatearray::c_gss2, allocatearray::c_gsth, allocatearray::c_gstl, allocatearray::c_h_maintain, allocatearray::c_hrprofenusewd, allocatearray::c_hrprofenusewe, allocatearray::c_hrprofhumactivitywd, allocatearray::c_hrprofhumactivitywe, allocatearray::c_hrprofpopwd, allocatearray::c_hrprofpopwe, allocatearray::c_hrprofsnowcwd, allocatearray::c_hrprofsnowcwe, allocatearray::c_hrproftraffwd, allocatearray::c_hrproftraffwe, allocatearray::c_hrprofwuautowd, allocatearray::c_hrprofwuautowe, allocatearray::c_hrprofwumanuwd, allocatearray::c_hrprofwumanuwe, allocatearray::c_ie_a, allocatearray::c_ie_m, allocatearray::c_ieend, allocatearray::c_iestart, allocatearray::c_internal_k1, allocatearray::c_internal_k1_bldgs, allocatearray::c_internal_k2, allocatearray::c_internal_k2_bldgs, allocatearray::c_internal_k3, allocatearray::c_internal_k3_bldgs, allocatearray::c_internal_k4, allocatearray::c_internal_k4_bldgs, allocatearray::c_internal_k5, allocatearray::c_internal_k5_bldgs, allocatearray::c_internal_rhocp1, allocatearray::c_internal_rhocp1_bldgs, allocatearray::c_internal_rhocp2, allocatearray::c_internal_rhocp2_bldgs, allocatearray::c_internal_rhocp3, allocatearray::c_internal_rhocp3_bldgs, allocatearray::c_internal_rhocp4, allocatearray::c_internal_rhocp4_bldgs, allocatearray::c_internal_rhocp5, allocatearray::c_internal_rhocp5_bldgs, allocatearray::c_internal_thick1, allocatearray::c_internal_thick1_bldgs, allocatearray::c_internal_thick2, allocatearray::c_internal_thick2_bldgs, allocatearray::c_internal_thick3, allocatearray::c_internal_thick3_bldgs, allocatearray::c_internal_thick4, allocatearray::c_internal_thick4_bldgs, allocatearray::c_internal_thick5, allocatearray::c_internal_thick5_bldgs, allocatearray::c_intwu, colnamesinputfiles::c_irrcode, allocatearray::c_kkanohm, allocatearray::c_ksat, allocatearray::c_laieq, allocatearray::c_laimax, allocatearray::c_laimin, allocatearray::c_leafgp1, allocatearray::c_leafgp2, allocatearray::c_leafop1, allocatearray::c_leafop2, allocatearray::c_maxfcmetab, allocatearray::c_maxqfmetab, allocatearray::c_min_res_bioco2, allocatearray::c_minfcmetab, allocatearray::c_minqfmetab, allocatearray::c_nroom, allocatearray::c_nroom_bldgs, allocatearray::c_obssmdepth, allocatearray::c_obssmmax, allocatearray::c_obssnrfrac, allocatearray::c_ohmcode_sdry, allocatearray::c_ohmcode_swet, allocatearray::c_ohmcode_wdry, allocatearray::c_ohmcode_wwet, allocatearray::c_ohmthresh_sw, allocatearray::c_ohmthresh_wd, colnamesinputfiles::c_pavedcode, allocatearray::c_popprofwd, allocatearray::c_popprofwe, allocatearray::c_porositymax, allocatearray::c_porositymin, allocatearray::c_qf_a1, allocatearray::c_qf_a2, allocatearray::c_qf_b1, allocatearray::c_qf_b2, allocatearray::c_qf_c1, allocatearray::c_qf_c2, colnamesinputfiles::c_qfcode, allocatearray::c_resp_a, allocatearray::c_resp_b, allocatearray::c_sddfull, allocatearray::c_snowalbmax, allocatearray::c_snowalbmin, colnamesinputfiles::c_snowcode, allocatearray::c_snowcrwmax, allocatearray::c_snowcrwmin, allocatearray::c_snowemis, allocatearray::c_snowlimpat, allocatearray::c_snowlimrem, allocatearray::c_snowplimalb, allocatearray::c_snowplimsnow, colnamesinputfiles::c_snowprofwd, colnamesinputfiles::c_snowprofwe, allocatearray::c_snowrmfactor, allocatearray::c_snowsdmax, allocatearray::c_snowsdmin, allocatearray::c_snowtau_a, allocatearray::c_snowtau_f, allocatearray::c_snowtau_r, allocatearray::c_snowtmfactor, allocatearray::c_soildens, allocatearray::c_soildepth, allocatearray::c_soilinfrate, allocatearray::c_soilstcap, allocatearray::c_soiltcode, allocatearray::c_statelimit, allocatearray::c_stormax, allocatearray::c_stormin, allocatearray::c_surf_k1, allocatearray::c_surf_k1_bldgs, allocatearray::c_surf_k1_paved, allocatearray::c_surf_k2, allocatearray::c_surf_k2_bldgs, allocatearray::c_surf_k2_paved, allocatearray::c_surf_k3, allocatearray::c_surf_k3_bldgs, allocatearray::c_surf_k3_paved, allocatearray::c_surf_k4, allocatearray::c_surf_k4_bldgs, allocatearray::c_surf_k4_paved, allocatearray::c_surf_k5, allocatearray::c_surf_k5_bldgs, allocatearray::c_surf_k5_paved, allocatearray::c_surf_rhocp1, allocatearray::c_surf_rhocp1_bldgs, allocatearray::c_surf_rhocp1_paved, allocatearray::c_surf_rhocp2, allocatearray::c_surf_rhocp2_bldgs, allocatearray::c_surf_rhocp2_paved, allocatearray::c_surf_rhocp3, allocatearray::c_surf_rhocp3_bldgs, allocatearray::c_surf_rhocp3_paved, allocatearray::c_surf_rhocp4, allocatearray::c_surf_rhocp4_bldgs, allocatearray::c_surf_rhocp4_paved, allocatearray::c_surf_rhocp5, allocatearray::c_surf_rhocp5_bldgs, allocatearray::c_surf_rhocp5_paved, allocatearray::c_surf_thick1, allocatearray::c_surf_thick1_bldgs, allocatearray::c_surf_thick1_paved, allocatearray::c_surf_thick2, allocatearray::c_surf_thick2_bldgs, allocatearray::c_surf_thick2_paved, allocatearray::c_surf_thick3, allocatearray::c_surf_thick3_bldgs, allocatearray::c_surf_thick3_paved, allocatearray::c_surf_thick4, allocatearray::c_surf_thick4_bldgs, allocatearray::c_surf_thick4_paved, allocatearray::c_surf_thick5, allocatearray::c_surf_thick5_bldgs, allocatearray::c_surf_thick5_paved, allocatearray::c_tcriticcooling_wd, allocatearray::c_tcriticcooling_we, allocatearray::c_tcriticheating_wd, allocatearray::c_tcriticheating_we, allocatearray::c_theta_bioco2, allocatearray::c_trafficunits, allocatearray::c_traffprofwd, allocatearray::c_traffprofwe, allocatearray::c_wall_k1, allocatearray::c_wall_k1_bldgs, allocatearray::c_wall_k2, allocatearray::c_wall_k2_bldgs, allocatearray::c_wall_k3, allocatearray::c_wall_k3_bldgs, allocatearray::c_wall_k4, allocatearray::c_wall_k4_bldgs, allocatearray::c_wall_k5, allocatearray::c_wall_k5_bldgs, allocatearray::c_wall_rhocp1, allocatearray::c_wall_rhocp1_bldgs, allocatearray::c_wall_rhocp2, allocatearray::c_wall_rhocp2_bldgs, allocatearray::c_wall_rhocp3, allocatearray::c_wall_rhocp3_bldgs, allocatearray::c_wall_rhocp4, allocatearray::c_wall_rhocp4_bldgs, allocatearray::c_wall_rhocp5, allocatearray::c_wall_rhocp5_bldgs, allocatearray::c_wall_thick1, allocatearray::c_wall_thick1_bldgs, allocatearray::c_wall_thick2, allocatearray::c_wall_thick2_bldgs, allocatearray::c_wall_thick3, allocatearray::c_wall_thick3_bldgs, allocatearray::c_wall_thick4, allocatearray::c_wall_thick4_bldgs, allocatearray::c_wall_thick5, allocatearray::c_wall_thick5_bldgs, colnamesinputfiles::c_watercode, allocatearray::c_waterdepth, allocatearray::c_wetthresh, colnamesinputfiles::c_wgbldgscode, colnamesinputfiles::c_wgbsoilcode, colnamesinputfiles::c_wgdectrcode, colnamesinputfiles::c_wgevetrcode, colnamesinputfiles::c_wggrasscode, colnamesinputfiles::c_wgpavedcode, allocatearray::c_wgtobldgs, allocatearray::c_wgtobsoil, allocatearray::c_wgtodectr, allocatearray::c_wgtoevetr, allocatearray::c_wgtograss, allocatearray::c_wgtopaved, allocatearray::c_wgtorunoff, allocatearray::c_wgtosoilstore, allocatearray::c_wgtowater, colnamesinputfiles::c_wgwatercode, colnamesinputfiles::c_wprofautowd, colnamesinputfiles::c_wprofautowe, colnamesinputfiles::c_wprofmanuwd, colnamesinputfiles::c_wprofmanuwe, colnamesinputfiles::ca_ahmin_wd, colnamesinputfiles::ca_ahmin_we, colnamesinputfiles::ca_ahslopecooling_wd, colnamesinputfiles::ca_ahslopecooling_we, colnamesinputfiles::ca_ahslopeheating_wd, colnamesinputfiles::ca_ahslopeheating_we, colnamesinputfiles::ca_baset_hc, colnamesinputfiles::ca_co2mwd, colnamesinputfiles::ca_co2mwe, colnamesinputfiles::ca_co2pointsource, colnamesinputfiles::ca_ef_umolco2perj, colnamesinputfiles::ca_enef_v_jkm, colnamesinputfiles::ca_enprofwd, colnamesinputfiles::ca_enprofwe, colnamesinputfiles::ca_fcef_v_kgkmwd, colnamesinputfiles::ca_fcef_v_kgkmwe, colnamesinputfiles::ca_frfossilfuel_heat, colnamesinputfiles::ca_frfossilfuel_nonheat, colnamesinputfiles::ca_frpddwe, colnamesinputfiles::ca_maxfcmetab, colnamesinputfiles::ca_maxqfmetab, colnamesinputfiles::ca_minfcmetab, colnamesinputfiles::ca_minqfmetab, colnamesinputfiles::ca_popprofwd, colnamesinputfiles::ca_popprofwe, colnamesinputfiles::ca_qf_a1, colnamesinputfiles::ca_qf_a2, colnamesinputfiles::ca_qf_b1, colnamesinputfiles::ca_qf_b2, colnamesinputfiles::ca_qf_c1, colnamesinputfiles::ca_qf_c2, colnamesinputfiles::ca_tcriticcooling_wd, colnamesinputfiles::ca_tcriticcooling_we, colnamesinputfiles::ca_tcriticheating_wd, colnamesinputfiles::ca_tcriticheating_we, colnamesinputfiles::ca_trafficunits, colnamesinputfiles::ca_traffprofwd, colnamesinputfiles::ca_traffprofwe, colnamesinputfiles::cb_alpha, colnamesinputfiles::cb_alpha_enh, colnamesinputfiles::cb_beta, colnamesinputfiles::cb_min_r, colnamesinputfiles::cb_resp_a, colnamesinputfiles::cb_resp_b, colnamesinputfiles::cb_theta, colnamesinputfiles::cc_gsg1, colnamesinputfiles::cc_gsg2, colnamesinputfiles::cc_gsg3, colnamesinputfiles::cc_gsg4, colnamesinputfiles::cc_gsg5, colnamesinputfiles::cc_gsg6, colnamesinputfiles::cc_gskmax, colnamesinputfiles::cc_gsmodel, colnamesinputfiles::cc_gss1, colnamesinputfiles::cc_gss2, colnamesinputfiles::cc_gsth, colnamesinputfiles::cc_gstl, colnamesinputfiles::ce_alb_ibld, colnamesinputfiles::ce_ch_ibld, colnamesinputfiles::ce_ch_iroof, colnamesinputfiles::ce_ch_iwall, colnamesinputfiles::ce_em_ibld, colnamesinputfiles::ce_internal_k1, colnamesinputfiles::ce_internal_k2, colnamesinputfiles::ce_internal_k3, colnamesinputfiles::ce_internal_k4, colnamesinputfiles::ce_internal_k5, colnamesinputfiles::ce_internal_rhocp1, colnamesinputfiles::ce_internal_rhocp2, colnamesinputfiles::ce_internal_rhocp3, colnamesinputfiles::ce_internal_rhocp4, colnamesinputfiles::ce_internal_rhocp5, colnamesinputfiles::ce_internal_thick1, colnamesinputfiles::ce_internal_thick2, colnamesinputfiles::ce_internal_thick3, colnamesinputfiles::ce_internal_thick4, colnamesinputfiles::ce_internal_thick5, colnamesinputfiles::ce_nroom, colnamesinputfiles::ce_surf_k1, colnamesinputfiles::ce_surf_k2, colnamesinputfiles::ce_surf_k3, colnamesinputfiles::ce_surf_k4, colnamesinputfiles::ce_surf_k5, colnamesinputfiles::ce_surf_rhocp1, colnamesinputfiles::ce_surf_rhocp2, colnamesinputfiles::ce_surf_rhocp3, colnamesinputfiles::ce_surf_rhocp4, colnamesinputfiles::ce_surf_rhocp5, colnamesinputfiles::ce_surf_thick1, colnamesinputfiles::ce_surf_thick2, colnamesinputfiles::ce_surf_thick3, colnamesinputfiles::ce_surf_thick4, colnamesinputfiles::ce_surf_thick5, colnamesinputfiles::ce_wall_k1, colnamesinputfiles::ce_wall_k2, colnamesinputfiles::ce_wall_k3, colnamesinputfiles::ce_wall_k4, colnamesinputfiles::ce_wall_k5, colnamesinputfiles::ce_wall_rhocp1, colnamesinputfiles::ce_wall_rhocp2, colnamesinputfiles::ce_wall_rhocp3, colnamesinputfiles::ce_wall_rhocp4, colnamesinputfiles::ce_wall_rhocp5, colnamesinputfiles::ce_wall_thick1, colnamesinputfiles::ce_wall_thick2, colnamesinputfiles::ce_wall_thick3, colnamesinputfiles::ce_wall_thick4, colnamesinputfiles::ce_wall_thick5, colnamesinputfiles::ci_albmax, colnamesinputfiles::ci_albmin, colnamesinputfiles::ci_chanohm, colnamesinputfiles::ci_cpanohm, colnamesinputfiles::ci_drcoef1, colnamesinputfiles::ci_drcoef2, colnamesinputfiles::ci_dreq, colnamesinputfiles::ci_emis, colnamesinputfiles::ci_estmcode, colnamesinputfiles::ci_kkanohm, colnamesinputfiles::ci_ohmcode_sdry, colnamesinputfiles::ci_ohmcode_swet, colnamesinputfiles::ci_ohmcode_wdry, colnamesinputfiles::ci_ohmcode_wwet, colnamesinputfiles::ci_ohmthresh_sw, colnamesinputfiles::ci_ohmthresh_wd, colnamesinputfiles::ci_snowlimpat, colnamesinputfiles::ci_snowlimrem, colnamesinputfiles::ci_soiltcode, colnamesinputfiles::ci_statelimit, colnamesinputfiles::ci_stormax, colnamesinputfiles::ci_stormin, colnamesinputfiles::ci_wetthresh, colnamesinputfiles::cir_daywat1, colnamesinputfiles::cir_daywat7, colnamesinputfiles::cir_daywatper1, colnamesinputfiles::cir_daywatper7, colnamesinputfiles::cir_faut, colnamesinputfiles::cir_h_ponding, colnamesinputfiles::cir_ie_a1, colnamesinputfiles::cir_ie_a3, colnamesinputfiles::cir_ie_m1, colnamesinputfiles::cir_ie_m3, colnamesinputfiles::cir_ieend, colnamesinputfiles::cir_iestart, colnamesinputfiles::cir_intwu, colnamesinputfiles::co_a1, colnamesinputfiles::co_a2, colnamesinputfiles::co_a3, codematchanthropogenic(), codematchbiogen(), codematchconductance(), codematchdist(), codematchestm(), codematchestm_class(), codematchirrigation(), codematchnonveg(), codematchohm(), codematchprof(), codematchsnow(), codematchsoil(), codematchveg(), codematchwater(), allocatearray::conductance_coeff, allocatearray::conifsurf, colnamesinputfiles::cp_albmax, colnamesinputfiles::cp_albmin, colnamesinputfiles::cp_baset, colnamesinputfiles::cp_basete, colnamesinputfiles::cp_biogenco2code, colnamesinputfiles::cp_chanohm, colnamesinputfiles::cp_cpanohm, colnamesinputfiles::cp_drcoef1, colnamesinputfiles::cp_drcoef2, colnamesinputfiles::cp_dreq, colnamesinputfiles::cp_emis, colnamesinputfiles::cp_estmcode, colnamesinputfiles::cp_gddfull, colnamesinputfiles::cp_gsmax, colnamesinputfiles::cp_kkanohm, colnamesinputfiles::cp_laieq, colnamesinputfiles::cp_laimax, colnamesinputfiles::cp_laimin, colnamesinputfiles::cp_leafgp1, colnamesinputfiles::cp_leafgp2, colnamesinputfiles::cp_leafop1, colnamesinputfiles::cp_leafop2, colnamesinputfiles::cp_ohmcode_sdry, colnamesinputfiles::cp_ohmcode_swet, colnamesinputfiles::cp_ohmcode_wdry, colnamesinputfiles::cp_ohmcode_wwet, colnamesinputfiles::cp_ohmthresh_sw, colnamesinputfiles::cp_ohmthresh_wd, colnamesinputfiles::cp_porositymax, colnamesinputfiles::cp_porositymin, colnamesinputfiles::cp_sddfull, colnamesinputfiles::cp_snowlimpat, colnamesinputfiles::cp_soiltcode, colnamesinputfiles::cp_statelimit, colnamesinputfiles::cp_stormax, colnamesinputfiles::cp_stormin, colnamesinputfiles::cp_wetthresh, colnamesinputfiles::cpr_hours, colnamesinputfiles::cs_estmcode, colnamesinputfiles::cs_ohmcode_sdry, colnamesinputfiles::cs_ohmcode_swet, colnamesinputfiles::cs_ohmcode_wdry, colnamesinputfiles::cs_ohmcode_wwet, colnamesinputfiles::cs_ohmthresh_sw, colnamesinputfiles::cs_ohmthresh_wd, colnamesinputfiles::cs_snowalbmax, colnamesinputfiles::cs_snowalbmin, colnamesinputfiles::cs_snowcrwmax, colnamesinputfiles::cs_snowcrwmin, colnamesinputfiles::cs_snowemis, colnamesinputfiles::cs_snowplimalb, colnamesinputfiles::cs_snowplimsnow, colnamesinputfiles::cs_snowrmfactor, colnamesinputfiles::cs_snowsdmax, colnamesinputfiles::cs_snowsdmin, colnamesinputfiles::cs_snowtau_a, colnamesinputfiles::cs_snowtau_f, colnamesinputfiles::cs_snowtau_r, colnamesinputfiles::cs_snowtmfactor, colnamesinputfiles::cso_ksat, colnamesinputfiles::cso_obssmdepth, colnamesinputfiles::cso_obssmmax, colnamesinputfiles::cso_obssnrfrac, colnamesinputfiles::cso_soildens, colnamesinputfiles::cso_soildepth, colnamesinputfiles::cso_soilinfrate, colnamesinputfiles::cso_soilstcap, colnamesinputfiles::cw_albmax, colnamesinputfiles::cw_albmin, colnamesinputfiles::cw_chanohm, colnamesinputfiles::cw_cpanohm, colnamesinputfiles::cw_drcoef1, colnamesinputfiles::cw_drcoef2, colnamesinputfiles::cw_dreq, colnamesinputfiles::cw_emis, colnamesinputfiles::cw_estmcode, colnamesinputfiles::cw_kkanohm, colnamesinputfiles::cw_ohmcode_sdry, colnamesinputfiles::cw_ohmcode_swet, colnamesinputfiles::cw_ohmcode_wdry, colnamesinputfiles::cw_ohmcode_wwet, colnamesinputfiles::cw_ohmthresh_sw, colnamesinputfiles::cw_ohmthresh_wd, colnamesinputfiles::cw_statelimit, colnamesinputfiles::cw_stormax, colnamesinputfiles::cw_stormin, colnamesinputfiles::cw_waterdepth, colnamesinputfiles::cw_wetthresh, colnamesinputfiles::cwg_tobldgs, colnamesinputfiles::cwg_tobsoil, colnamesinputfiles::cwg_todectr, colnamesinputfiles::cwg_toevetr, colnamesinputfiles::cwg_tograss, colnamesinputfiles::cwg_topaved, colnamesinputfiles::cwg_torunoff, colnamesinputfiles::cwg_tosoilstore, colnamesinputfiles::cwg_towater, allocatearray::decidsurf, allocatearray::estmcoefficients_coeff, allocatearray::grasssurf, allocatearray::irrigation_coeff, initial::iv5, allocatearray::ivconif, allocatearray::ivdecid, allocatearray::ivgrass, allocatearray::ncolumnssiteselect, allocatearray::nonveg_coeff, allocatearray::nsurf, allocatearray::ohmcoefficients_coeff, allocatearray::pavsurf, allocatearray::profiles_coeff, allocatearray::siteselect, allocatearray::snow_coeff, allocatearray::soil_coeff, allocatearray::surfacechar, allocatearray::veg_coeff, allocatearray::water_coeff, allocatearray::watersurf, and allocatearray::wgwaterdist_coeff.
Referenced by suews_program().
subroutine initialstate | ( | character(len=20) | GridName, |
integer | year_int, | ||
integer | Gridiv, | ||
integer | NumberOfGrids | ||
) |
Definition at line 1444 of file suews_ctrl_init.f95.
References initialcond::albdectr0, initialcond::albevetr0, initialcond::albgrass0, data_in::baset_hc, gis_data::bldgh, allocatearray::bldgsurf, allocatearray::bsoilsurf, allocatearray::c_albmax, allocatearray::c_albmin, allocatearray::c_baset_hc, allocatearray::c_gddfull, allocatearray::c_laimax, allocatearray::c_laimin, allocatearray::c_porositymax, allocatearray::c_porositymin, allocatearray::c_sddfull, allocatearray::c_stormax, allocatearray::c_stormin, allocatearray::c_waterdepth, colnamesmodeldailystate::cmds_albdectr, colnamesmodeldailystate::cmds_albevetr, colnamesmodeldailystate::cmds_albgrass, colnamesmodeldailystate::cmds_dayssincerain, colnamesmodeldailystate::cmds_decidcap, colnamesmodeldailystate::cmds_gdd1_0, colnamesmodeldailystate::cmds_gdd2_0, colnamesmodeldailystate::cmds_gddmax, colnamesmodeldailystate::cmds_gddmin, colnamesmodeldailystate::cmds_hdd1, colnamesmodeldailystate::cmds_hdd2, colnamesmodeldailystate::cmds_id_prev, colnamesmodeldailystate::cmds_laiinitialdectr, colnamesmodeldailystate::cmds_laiinitialevetr, colnamesmodeldailystate::cmds_laiinitialgrass, colnamesmodeldailystate::cmds_porosity, colnamesmodeldailystate::cmds_snowalb, allocatearray::cmds_snowdens, colnamesmodeldailystate::cmds_snowfallcum, colnamesmodeldailystate::cmds_tempc, colnamesmodeldailystate::cmds_tempcold1, colnamesmodeldailystate::cmds_tempcold2, colnamesmodeldailystate::cmds_tempcold3, allocatearray::cmod_snowfrac, allocatearray::cmod_snowpack, allocatearray::cmod_snowwaterstate, allocatearray::cmod_soilstate, allocatearray::cmod_state, allocatearray::conifsurf, day2month(), day_of_week(), sues_data::daywat, sues_data::daywatper, initialcond::decidcap0, allocatearray::decidsurf, gis_data::dectreeh, data_in::diagnose, time::dls, data_in::emissionsmethod, data_in::enddls, errorhint(), gis_data::evetreeh, gis_data::faibldg, gis_data::faidectree, gis_data::faievetree, sues_data::faut, data_in::filechoices, data_in::filecode, data_in::fileinputpath, data_in::fileoutputpath, initialcond::gdd_1_0, initialcond::gdd_2_0, allocatearray::grasssurf, sues_data::h_maintain, allocatearray::hdd_id, allocatearray::icefrac, time::id, initialcond::id_prev, sues_data::ie_a, sues_data::ie_end, sues_data::ie_m, sues_data::ie_start, defaultnotused::ios_out, allocatearray::ivconif, allocatearray::ivdecid, allocatearray::ivgrass, time::iy, initialcond::laiinitialdectr, initialcond::laiinitialevetr, initialcond::laiinitialgrass, data_in::lat, leapyearcalc(), allocatearray::metforcingdata, allocatearray::modeldailystate, allocatearray::modeloutputdata, data_in::multipleinitfiles, defaultnotused::nan, time::nofdaysthisyear, defaultnotused::notused, defaultnotused::notusedi, sues_data::nsh, allocatearray::pavsurf, sues_data::planf, initialcond::porosity0, allocatearray::porosity_id, data_in::roughlenmommethod, allocatearray::sfr, initialcond::snowalb0, initialcond::snowpackbldgs, initialcond::snowpackbsoil, initialcond::snowpackdectr, initialcond::snowpackevetr, initialcond::snowpackgrass, initialcond::snowpackpaved, initialcond::snowpackwater, data_in::snowuse, initialcond::snowwaterbldgsstate, initialcond::snowwaterbsoilstate, initialcond::snowwaterdectrstate, initialcond::snowwaterevetrstate, initialcond::snowwatergrassstate, initialcond::snowwaterpavedstate, initialcond::snowwaterwaterstate, allocatearray::soilstore_id, initialcond::soilstorebldgsstate, initialcond::soilstorebsoilstate, allocatearray::soilstorecap, initialcond::soilstoredectrstate, initialcond::soilstoreevetrstate, initialcond::soilstoregrassstate, initialcond::soilstorepavedstate, data_in::startdls, allocatearray::state_id, resist_module::suews_cal_roughnessparameters(), suews_cal_weekday(), suews_translate(), allocatearray::surfacechar, initialcond::temp_c0, dailystate_module::update_wateruse(), allocatearray::watersurf, data_in::waterusemethod, allocatearray::wuday_id, mod_z::z, mod_z::z0m, mod_z::z0m_in, mod_z::zdm, mod_z::zdm_in, sues_data::zh, and mod_z::zzd.
Referenced by suews_program().
subroutine nextinitial | ( | character(len=15) | GridName, |
integer | year_int | ||
) |
Definition at line 2023 of file suews_ctrl_init.f95.
References allocatearray::albdectr_id, allocatearray::albevetr_id, allocatearray::albgrass_id, allocatearray::bldgsurf, allocatearray::bsoilsurf, allocatearray::conifsurf, allocatearray::decidcap_id, allocatearray::decidsurf, errorhint(), data_in::fileinputpath, allocatearray::gdd_id, allocatearray::grasssurf, allocatearray::hdd_id, time::id, time::imin, time::it, allocatearray::ivconif, allocatearray::ivdecid, allocatearray::ivgrass, time::iy, allocatearray::lai_id, time::nofdaysthisyear, defaultnotused::notused, defaultnotused::notusedi, sues_data::nsh_real, allocatearray::pavsurf, allocatearray::porosity_id, snowmod::snowalb, allocatearray::snowdens, allocatearray::snowfrac, allocatearray::snowpack, data_in::snowuse, allocatearray::snowwater, allocatearray::soilstore_id, allocatearray::state_id, allocatearray::watersurf, and data_in::year.
Referenced by suews_program().
real(kind(1d0)) function normalizevegchar | ( | integer, dimension(nvegsurf) | VegCol, |
integer | Gridiv | ||
) |
Definition at line 1997 of file suews_ctrl_init.f95.
References colnamesinputfiles::c_frdectr, colnamesinputfiles::c_frevetr, colnamesinputfiles::c_frgrass, allocatearray::ivconif, allocatearray::ivdecid, allocatearray::ivgrass, and allocatearray::surfacechar.
subroutine numberrows | ( | character(len=50) | FileN, |
integer | SkipHeaderLines | ||
) |
Definition at line 404 of file suews_ctrl_init.f95.
References errorhint(), data_in::fileinputpath, initial::nlines, defaultnotused::notused, and defaultnotused::notusedi.
Referenced by overallruncontrol().
subroutine overallruncontrol | ( | ) |
Definition at line 6 of file suews_ctrl_init.f95.
References allocatearray::anthropogenic_coeff, data_in::basetmethod, allocatearray::biogen_coeff, data_in::cbluse, allocatearray::conductance_coeff, data_in::diagnose, data_in::diagnosedisagg, data_in::diagnosedisaggestm, data_in::diagqn, data_in::diagqs, data_in::disaggmethod, data_in::disaggmethodestm, data_in::emissionsmethod, errorhint(), allocatearray::estmcoefficients_coeff, data_in::evapmethod, data_in::filechoices, data_in::filecode, data_in::fileinputpath, data_in::fileoutputpath, sues_data::halftimestep, allocatearray::headeranthropogenic_file, allocatearray::headerbiogen_file, allocatearray::headercond_file, allocatearray::headerestmcoefficients_file, allocatearray::headerirrigation_file, allocatearray::headernonveg_file, allocatearray::headerohmcoefficients_file, allocatearray::headerprofiles_file, allocatearray::headersiteselect_file, allocatearray::headersnow_file, allocatearray::headersoil_file, allocatearray::headerveg_file, allocatearray::headerwater_file, allocatearray::headerwgwaterdist_file, data_in::inputmetformat, allocatearray::irrigation_coeff, data_in::kdownzen, data_in::keeptstepfilesin, data_in::keeptstepfilesout, data_in::laicalcyes, data_in::multipleestmfiles, data_in::multipleinitfiles, data_in::multiplemetfiles, data_in::multrainamongn, data_in::multrainamongnupperi, allocatearray::ncolumnsanthropogenic, allocatearray::ncolumnsbiogen, allocatearray::ncolumnsconductance, allocatearray::ncolumnsestmcoefficients, allocatearray::ncolumnsirrigation, allocatearray::ncolumnsnonveg, allocatearray::ncolumnsohmcoefficients, allocatearray::ncolumnsprofiles, allocatearray::ncolumnssiteselect, allocatearray::ncolumnssnow, allocatearray::ncolumnssoil, allocatearray::ncolumnsveg, allocatearray::ncolumnswater, allocatearray::ncolumnswgwaterdist, data_in::netradiationmethod, initial::nlines, initial::nlinesanthropogenic, initial::nlinesbiogen, initial::nlinesconductance, initial::nlinesestmcoefficients, initial::nlinesirrigation, initial::nlinesnonveg, initial::nlinesohmcoefficients, initial::nlinesprofiles, initial::nlinessiteselect, initial::nlinessnow, initial::nlinessoil, initial::nlinesveg, initial::nlineswater, initial::nlineswgwaterdist, allocatearray::nonveg_coeff, defaultnotused::notused, defaultnotused::notusedi, sues_data::nsd, sues_data::nsh, sues_data::nsh_real, numberrows(), allocatearray::ohmcoefficients_coeff, data_in::ohmincqf, allocatearray::profiles_coeff, data_in::rainamongn, data_in::raindisaggmethod, readcoeff(), data_in::resolutionfilesin, data_in::resolutionfilesinestm, data_in::resolutionfilesout, sues_data::roughlenheatmethod, data_in::roughlenmommethod, allocatearray::siteselect, data_in::skipheadersiteinfo, data_in::smdmethod, allocatearray::snow_coeff, data_in::snowuse, allocatearray::soil_coeff, sues_data::stabilitymethod, data_in::storageheatmethod, data_in::suppresswarnings, sues_data::t_interval, sues_data::tstep, sues_data::tstep_prev, sues_data::tstep_real, time::tstepcount, allocatearray::veg_coeff, allocatearray::water_coeff, data_in::waterusemethod, allocatearray::wgwaterdist_coeff, data_in::writedailystate, and data_in::writeoutoption.
Referenced by suews_program().
subroutine readcoeff | ( | character(len=*), intent(in) | FileName, |
integer, intent(in) | nlines, | ||
integer, intent(in) | ncolumns, | ||
character(len=*), dimension(ncolumns), intent(out) | HeaderFile, | ||
real(kind(1d0)), dimension(nlines, ncolumns), intent(out) | Coeff | ||
) |
Definition at line 347 of file suews_ctrl_init.f95.
References errorhint(), data_in::fileinputpath, inputheadercheck(), defaultnotused::notused, defaultnotused::notusedi, and data_in::skipheadersiteinfo.
Referenced by overallruncontrol().
subroutine suews_initializemetdata | ( | integer | lunit | ) |
Definition at line 2157 of file suews_ctrl_init.f95.
References errorhint(), data_in::filemet, initial::gridcounter, data_in::inputmetformat, defaultnotused::ios_out, data_in::ldown_option, allocatearray::metforcingdata, metread(), data_in::netradiationmethod, defaultnotused::notused, defaultnotused::notusedi, initial::readlinesmetdata, skipheader(), data_in::skipheadermet, initial::skippedlines, sues_data::smcap, data_in::smdmethod, data_in::snowuse, sues_data::soildensity, sues_data::soildepthmeas, sues_data::soilrocks, and sues_data::tstep_real.
Referenced by suews_program().