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, pres_hPa, Ta_degC) |
real(kind(1d0)) function | qa2rh (qa, 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 111 of file suews_util_meteo.f95.
References r_dry_mass.
Referenced by heatcapacity_air().
real(kind(1d0)) function meteo::density_gas | ( | real(kind(1d0)) | TK, |
real(kind(1d0)) | PP, | ||
real(kind(1d0)) | MOLMASS | ||
) |
Definition at line 116 of file suews_util_meteo.f95.
References r_dry_mol.
real(kind(1d0)) function meteo::density_moist | ( | real(kind(1d0)) | TVK, |
real(kind(1d0)) | P | ||
) |
Definition at line 96 of file suews_util_meteo.f95.
References r_dry_mass.
real(kind(1d0)) function meteo::density_vapor | ( | real(kind(1d0)) | TK, |
real(kind(1d0)) | RH, | ||
real(kind(1d0)) | P | ||
) |
Definition at line 104 of file suews_util_meteo.f95.
References epsil, r_dry_mass, and sat_vap_press().
Referenced by heatcapacity_air().
real(kind(1d0)) function meteo::dewpoint | ( | real(kind(1d0)) | ea_hPa | ) |
Definition at line 434 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 85 of file suews_util_meteo.f95.
References density_dryair(), density_vapor(), spec_heat_dryair(), and spec_heat_vapor().
Referenced by estm_module::estm().
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 278 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 349 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 63 of file suews_util_meteo.f95.
real(kind(1d0)) function meteo::latentheat_v | ( | real(kind(1d0)) | TK | ) |
Definition at line 56 of file suews_util_meteo.f95.
real(kind(1d0)) function meteo::partial_pressure | ( | real(kind(1d0)) | TK, |
real(kind(1d0)) | N | ||
) |
Definition at line 122 of file suews_util_meteo.f95.
References kb.
real(kind(1d0)) function meteo::potential_temp | ( | real(kind(1d0)) | TK, |
real(kind(1d0)) | P | ||
) |
Definition at line 49 of file suews_util_meteo.f95.
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 410 of file suews_util_meteo.f95.
References gas::epsil, and errorhint().
Referenced by lat_vap(), and lumps_module::lumps_cal_qhqe().
real(kind(1d0)) function meteo::qa2rh | ( | real(kind(1d0)), intent(in) | qa, |
real(kind(1d0)), intent(in) | pres_hPa, | ||
real(kind(1d0)), intent(in) | Ta_degC | ||
) |
Definition at line 537 of file suews_util_meteo.f95.
References sat_vap_press().
Referenced by rsl_module::rslprofile().
real(kind(1d0)) function meteo::qsatf | ( | real(kind(1d0)) | T, |
real(kind(1d0)) | PMB | ||
) |
Definition at line 496 of file suews_util_meteo.f95.
References errorhint().
Referenced by bluews_module::nbl().
real(kind(1d0)) function meteo::rh2qa | ( | real(kind(1d0)), intent(in) | RH, |
real(kind(1d0)), intent(in) | pres_hPa, | ||
real(kind(1d0)), intent(in) | Ta_degC | ||
) |
Definition at line 519 of file suews_util_meteo.f95.
References sat_vap_press().
Referenced by rsl_module::rslprofile().
real(kind(1d0)) function meteo::sat_vap_press | ( | real(kind(1d0)) | TK, |
real(kind(1d0)) | P | ||
) |
Definition at line 27 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 149 of file suews_util_meteo.f95.
References errorhint().
Referenced by atmmoiststab_module::cal_atmmoist(), bluews_module::cbl(), bluews_module::cbl_initial(), lat_vap(), and bluews_module::nbl().
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 196 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 128 of file suews_util_meteo.f95.
References molmass_air, and r_dry_mol.
Referenced by vaisala_brunt_f().
real(kind(1d0)) function meteo::slope_svp | ( | real(kind(1d0)) | temp_C | ) |
Definition at line 445 of file suews_util_meteo.f95.
Referenced by lumps_module::lumps_cal_qhqe().
real(kind(1d0)) function meteo::slopeice_svp | ( | real(kind(1d0)) | temp_C | ) |
Definition at line 472 of file suews_util_meteo.f95.
Referenced by lumps_module::lumps_cal_qhqe().
real(kind(1d0)) function meteo::sos_dryair | ( | real(kind(1d0)) | TK | ) |
Definition at line 43 of file suews_util_meteo.f95.
References molmass_air, and r_dry_mol.
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 245 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 71 of file suews_util_meteo.f95.
Referenced by heatcapacity_air().
real(kind(1d0)) function meteo::spec_heat_vapor | ( | real(kind(1d0)) | TK, |
real(kind(1d0)) | RH | ||
) |
Definition at line 78 of file suews_util_meteo.f95.
Referenced by heatcapacity_air().
real(kind(1d0)) function meteo::spec_hum_def | ( | real(kind(1d0)) | vpd_hPa, |
real(kind(1d0)) | press_hPa | ||
) |
Definition at line 236 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 134 of file suews_util_meteo.f95.
References scale_height().
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 |
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.