SUEWS API Site
Documentation of SUEWS source code
|
Functions/Subroutines | |
real(kind(1d0)) function | sat_vap_press (tk, p) |
real(kind(1d0)) function | sos_dryair (tk) |
real(kind(1d0)) function | potential_temp (tk, p) |
real(kind(1d0)) function | latentheat_v (tk) |
real(kind(1d0)) function | latentheat_m (tk) |
real(kind(1d0)) function | spec_heat_dryair (tk) |
real(kind(1d0)) function | spec_heat_vapor (tk, rh) |
real(kind(1d0)) function | heatcapacity_air (tk, rh, p) |
real(kind(1d0)) function | density_moist (tvk, p) |
real(kind(1d0)) function | density_vapor (tk, rh, p) |
real(kind(1d0)) function | density_dryair (tk, p) |
real(kind(1d0)) function | density_gas (tk, pp, molmass) |
real(kind(1d0)) function | partial_pressure (tk, n) |
real(kind(1d0)) function | scale_height (tk) |
real(kind(1d0)) function | vaisala_brunt_f (tk) |
real(kind(1d0)) function | sat_vap_press_x (temp_c, press_hpa, from, dectime) |
real(kind(1d0)) function | sat_vap_pressice (temp_c, press_hpa, from, dectime) |
real(kind(1d0)) function | spec_hum_def (vpd_hpa, press_hpa) |
real(kind(1d0)) function | spec_heat_beer (temp_c, rh, rho_v, rho_d) |
real(kind(1d0)) function | lat_vap (temp_c, ea_hpa, press_hpa, cp, dectime) |
real(kind(1d0)) function | lat_vapsublim (temp_c, ea_hpa, press_hpa, cp) |
real(kind(1d0)) function | psyc_const (cp, press_hpa, lv_j_kg) |
real(kind(1d0)) function | dewpoint (ea_hpa) |
real(kind(1d0)) function | slope_svp (temp_c) |
real(kind(1d0)) function | slopeice_svp (temp_c) |
real(kind(1d0)) function | qsatf (t, pmb) |
real(kind(1d0)) function | rh2qa (rh_dec, pres_hpa, ta_degc) |
real(kind(1d0)) function | qa2rh (qa_gkg, pres_hpa, ta_degc) |
Variables | |
real(kind(1d0)), parameter | rad2deg = 57.29577951 |
real(kind(1d0)), parameter | deg2rad = 0.017453292 |
real(kind(1d0)), parameter | molmass_air = 0.028965 |
real(kind(1d0)), parameter | molmass_co2 = 0.04401 |
real(kind(1d0)), parameter | molmass_h2o = 0.0180153 |
real(kind(1d0)), parameter | mu_h2o = MOLMASS_AIR/MOLMASS_H2O |
real(kind(1d0)), parameter | mu_co2 = MOLMASS_AIR/MOLMASS_CO2 |
real(kind(1d0)), parameter | r_dry_mol = 8.31451 |
real(kind(1d0)), parameter | r_dry_mass = R_DRY_MOL/MOLMASS_AIR |
real(kind(1d0)), parameter | epsil = 0.62197 |
real(kind(1d0)), parameter | kb = 1.3807E-25 |
real(kind(1d0)), parameter | avogadro = 6.02252E23 |
real(kind(1d0)) function meteo::density_dryair | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | p ) |
Definition at line 110 of file suews_util_meteo.f95.
References density_dryair(), and r_dry_mass.
Referenced by density_dryair(), and heatcapacity_air().
real(kind(1d0)) function meteo::density_gas | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | pp, | ||
real(kind(1d0)) | molmass ) |
Definition at line 115 of file suews_util_meteo.f95.
References density_gas(), and r_dry_mol.
Referenced by density_gas().
real(kind(1d0)) function meteo::density_moist | ( | real(kind(1d0)) | tvk, |
real(kind(1d0)) | p ) |
Definition at line 95 of file suews_util_meteo.f95.
References density_moist(), and r_dry_mass.
Referenced by density_moist().
real(kind(1d0)) function meteo::density_vapor | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | rh, | ||
real(kind(1d0)) | p ) |
Definition at line 103 of file suews_util_meteo.f95.
References density_vapor(), epsil, r_dry_mass, and sat_vap_press().
Referenced by density_vapor(), and heatcapacity_air().
real(kind(1d0)) function meteo::dewpoint | ( | real(kind(1d0)) | ea_hpa | ) |
Definition at line 433 of file suews_util_meteo.f95.
real(kind(1d0)) function meteo::heatcapacity_air | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | rh, | ||
real(kind(1d0)) | p ) |
Definition at line 84 of file suews_util_meteo.f95.
References density_dryair(), density_vapor(), heatcapacity_air(), spec_heat_dryair(), and spec_heat_vapor().
Referenced by estm_module::estm(), and heatcapacity_air().
real(kind(1d0)) function meteo::lat_vap | ( | real(kind(1d0)) | temp_c, |
real(kind(1d0)) | ea_hpa, | ||
real(kind(1d0)) | press_hpa, | ||
real(kind(1d0)) | cp, | ||
real(kind(1d0)) | dectime ) |
Definition at line 277 of file suews_util_meteo.f95.
References errorhint(), psyc_const(), and sat_vap_press_x().
Referenced by atmmoiststab_module::cal_atmmoist().
real(kind(1d0)) function meteo::lat_vapsublim | ( | real(kind(1d0)) | temp_c, |
real(kind(1d0)) | ea_hpa, | ||
real(kind(1d0)) | press_hpa, | ||
real(kind(1d0)) | cp ) |
Definition at line 348 of file suews_util_meteo.f95.
Referenced by atmmoiststab_module::cal_atmmoist().
real(kind(1d0)) function meteo::latentheat_m | ( | real(kind(1d0)) | tk | ) |
Definition at line 62 of file suews_util_meteo.f95.
References latentheat_m().
Referenced by latentheat_m().
real(kind(1d0)) function meteo::latentheat_v | ( | real(kind(1d0)) | tk | ) |
Definition at line 55 of file suews_util_meteo.f95.
References latentheat_v().
Referenced by latentheat_v().
real(kind(1d0)) function meteo::partial_pressure | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | n ) |
Definition at line 121 of file suews_util_meteo.f95.
References kb, and partial_pressure().
Referenced by partial_pressure().
real(kind(1d0)) function meteo::potential_temp | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | p ) |
Definition at line 48 of file suews_util_meteo.f95.
References potential_temp().
Referenced by potential_temp().
real(kind(1d0)) function meteo::psyc_const | ( | real(kind(1d0)) | cp, |
real(kind(1d0)) | press_hpa, | ||
real(kind(1d0)) | lv_j_kg ) |
Definition at line 409 of file suews_util_meteo.f95.
References gas::epsil, and errorhint().
Referenced by lat_vap(), lumps_module::lumps_cal_qhqe(), and lumps_module::lumps_cal_qhqe_dts().
real(kind(1d0)) function meteo::qa2rh | ( | real(kind(1d0)), intent(in) | qa_gkg, |
real(kind(1d0)), intent(in) | pres_hpa, | ||
real(kind(1d0)), intent(in) | ta_degc ) |
Definition at line 536 of file suews_util_meteo.f95.
References sat_vap_press().
Referenced by rsl_module::rslprofile(), and rsl_module::rslprofile_dts().
real(kind(1d0)) function meteo::qsatf | ( | real(kind(1d0)) | t, |
real(kind(1d0)) | pmb ) |
Definition at line 495 of file suews_util_meteo.f95.
References errorhint().
Referenced by bluews_module::cbl_initial().
real(kind(1d0)) function meteo::rh2qa | ( | real(kind(1d0)), intent(in) | rh_dec, |
real(kind(1d0)), intent(in) | pres_hpa, | ||
real(kind(1d0)), intent(in) | ta_degc ) |
Definition at line 518 of file suews_util_meteo.f95.
References sat_vap_press().
Referenced by rsl_module::rslprofile(), and rsl_module::rslprofile_dts().
real(kind(1d0)) function meteo::sat_vap_press | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | p ) |
Definition at line 26 of file suews_util_meteo.f95.
Referenced by density_vapor(), qa2rh(), and rh2qa().
real(kind(1d0)) function meteo::sat_vap_press_x | ( | real(kind(1d0)) | temp_c, |
real(kind(1d0)) | press_hpa, | ||
integer | from, | ||
real(kind(1d0)) | dectime ) |
Definition at line 148 of file suews_util_meteo.f95.
References errorhint().
Referenced by atmmoiststab_module::cal_atmmoist(), bluews_module::cbl(), bluews_module::cbl_initial(), and lat_vap().
real(kind(1d0)) function meteo::sat_vap_pressice | ( | real(kind(1d0)) | temp_c, |
real(kind(1d0)) | press_hpa, | ||
integer | from, | ||
real(kind(1d0)) | dectime ) |
Definition at line 195 of file suews_util_meteo.f95.
References errorhint().
Referenced by snow_module::evap_suews_snow().
real(kind(1d0)) function meteo::scale_height | ( | real(kind(1d0)) | tk | ) |
Definition at line 127 of file suews_util_meteo.f95.
References molmass_air, r_dry_mol, and scale_height().
Referenced by scale_height(), and vaisala_brunt_f().
real(kind(1d0)) function meteo::slope_svp | ( | real(kind(1d0)) | temp_c | ) |
Definition at line 444 of file suews_util_meteo.f95.
Referenced by lumps_module::lumps_cal_qhqe(), and lumps_module::lumps_cal_qhqe_dts().
real(kind(1d0)) function meteo::slopeice_svp | ( | real(kind(1d0)) | temp_c | ) |
Definition at line 471 of file suews_util_meteo.f95.
Referenced by lumps_module::lumps_cal_qhqe(), and lumps_module::lumps_cal_qhqe_dts().
real(kind(1d0)) function meteo::sos_dryair | ( | real(kind(1d0)) | tk | ) |
Definition at line 42 of file suews_util_meteo.f95.
References molmass_air, r_dry_mol, and sos_dryair().
Referenced by sos_dryair().
real(kind(1d0)) function meteo::spec_heat_beer | ( | real(kind(1d0)) | temp_c, |
real(kind(1d0)) | rh, | ||
real(kind(1d0)) | rho_v, | ||
real(kind(1d0)) | rho_d ) |
Definition at line 244 of file suews_util_meteo.f95.
References errorhint().
Referenced by atmmoiststab_module::cal_atmmoist().
real(kind(1d0)) function meteo::spec_heat_dryair | ( | real(kind(1d0)) | tk | ) |
Definition at line 70 of file suews_util_meteo.f95.
References spec_heat_dryair().
Referenced by heatcapacity_air(), and spec_heat_dryair().
real(kind(1d0)) function meteo::spec_heat_vapor | ( | real(kind(1d0)) | tk, |
real(kind(1d0)) | rh ) |
Definition at line 77 of file suews_util_meteo.f95.
References spec_heat_vapor().
Referenced by heatcapacity_air(), and spec_heat_vapor().
real(kind(1d0)) function meteo::spec_hum_def | ( | real(kind(1d0)) | vpd_hpa, |
real(kind(1d0)) | press_hpa ) |
Definition at line 235 of file suews_util_meteo.f95.
Referenced by atmmoiststab_module::cal_atmmoist().
real(kind(1d0)) function meteo::vaisala_brunt_f | ( | real(kind(1d0)) | tk | ) |
Definition at line 133 of file suews_util_meteo.f95.
References scale_height(), and vaisala_brunt_f().
Referenced by vaisala_brunt_f().
real(kind(1d0)), parameter meteo::avogadro = 6.02252E23 |
Definition at line 21 of file suews_util_meteo.f95.
real(kind(1d0)), parameter meteo::deg2rad = 0.017453292 |
Definition at line 9 of file suews_util_meteo.f95.
real(kind(1d0)), parameter meteo::epsil = 0.62197 |
Definition at line 19 of file suews_util_meteo.f95.
Referenced by density_vapor().
real(kind(1d0)), parameter meteo::kb = 1.3807E-25 |
Definition at line 20 of file suews_util_meteo.f95.
Referenced by partial_pressure().
real(kind(1d0)), parameter meteo::molmass_air = 0.028965 |
Definition at line 11 of file suews_util_meteo.f95.
Referenced by scale_height(), and sos_dryair().
real(kind(1d0)), parameter meteo::molmass_co2 = 0.04401 |
Definition at line 12 of file suews_util_meteo.f95.
real(kind(1d0)), parameter meteo::molmass_h2o = 0.0180153 |
Definition at line 13 of file suews_util_meteo.f95.
real(kind(1d0)), parameter meteo::mu_co2 = MOLMASS_AIR/MOLMASS_CO2 |
Definition at line 15 of file suews_util_meteo.f95.
real(kind(1d0)), parameter meteo::mu_h2o = MOLMASS_AIR/MOLMASS_H2O |
Definition at line 14 of file suews_util_meteo.f95.
real(kind(1d0)), parameter meteo::r_dry_mass = R_DRY_MOL/MOLMASS_AIR |
Definition at line 17 of file suews_util_meteo.f95.
Referenced by density_dryair(), density_moist(), and density_vapor().
real(kind(1d0)), parameter meteo::r_dry_mol = 8.31451 |
Definition at line 16 of file suews_util_meteo.f95.
Referenced by density_gas(), scale_height(), and sos_dryair().
real(kind(1d0)), parameter meteo::rad2deg = 57.29577951 |
Definition at line 8 of file suews_util_meteo.f95.