/// 气象物理常数模块
/// 基于 MetPy constants 模块,提供地球、水、干空气等物理常数

///|
/// 地球相关常数
pub let earth_gravity : Double = 9.80665

///|
pub let earth_avg_radius : Double = 6371008.7714

///|
pub let gravitational_constant : Double = 0.000000000066743

///|
pub let geocentric_gravitational_constant : Double = 398600500000000.0

///|
pub let earth_avg_angular_vel : Double = 0.00000007292115

///|
pub let earth_sfc_avg_dist_sun : Double = 149597870700.0

///|
pub let earth_solar_irradiance : Double = 1360.8

///|
pub let earth_max_declination : Double = 23.45

///|
pub let earth_orbit_eccentricity : Double = 0.0167

///|
/// 通用气体常数
pub let gas_constant_r : Double = 8.314462618

///|
/// 水相关常数
pub let water_molecular_weight : Double = 18.015268

///|
pub let water_gas_constant : Double = gas_constant_r /
  (water_molecular_weight / 1000.0)

///|
pub let density_water : Double = 999.97495

///|
pub let wv_specific_heat_ratio : Double = 1.330

///|
pub let wv_specific_heat_press : Double = wv_specific_heat_ratio *
  water_gas_constant /
  (wv_specific_heat_ratio - 1.0)

///|
pub let wv_specific_heat_vol : Double = wv_specific_heat_press /
  wv_specific_heat_ratio

///|
pub let water_specific_heat : Double = 4219.4

///|
pub let water_heat_vaporization : Double = 2500840.0

///|
pub let water_heat_fusion : Double = 333700.0

///|
pub let water_heat_sublimation : Double = water_heat_vaporization +
  water_heat_fusion

///|
pub let ice_specific_heat : Double = 2090.0

///|
pub let density_ice : Double = 917.0

///|
pub let sat_pressure_0c : Double = 611.2

///|
pub let water_triple_point_temperature : Double = 273.16

///|
/// 干空气相关常数
pub let dry_air_molecular_weight : Double = 0.02896546

///|
pub let dry_air_gas_constant : Double = gas_constant_r /
  dry_air_molecular_weight

///|
pub let dry_air_spec_heat_ratio : Double = 1.4

///|
pub let dry_air_spec_heat_press : Double = dry_air_spec_heat_ratio *
  dry_air_gas_constant /
  (dry_air_spec_heat_ratio - 1.0)

///|
pub let dry_air_spec_heat_vol : Double = dry_air_spec_heat_press /
  dry_air_spec_heat_ratio

///|
pub let dry_air_density_stp : Double = 100000.0 /
  (dry_air_gas_constant * 273.15)

///|
/// 通用气象常数
pub let pot_temp_ref_press : Double = 100000.0

///|
pub let poisson_exponent : Double = dry_air_gas_constant /
  dry_air_spec_heat_press

///|
pub let dry_adiabatic_lapse_rate : Double = earth_gravity /
  dry_air_spec_heat_press *
  1000.0

///|
pub let molecular_weight_ratio : Double = water_molecular_weight /
  1000.0 /
  dry_air_molecular_weight

///|
/// 常用别名
pub let g : Double = earth_gravity

///|
pub let earth_radius_re : Double = earth_avg_radius

///|
pub let grav_const_g : Double = gravitational_constant

///|
pub let geocentric_grav_const_gm : Double = geocentric_gravitational_constant

///|
pub let earth_angular_vel_omega : Double = earth_avg_angular_vel

///|
pub let earth_sun_dist_d : Double = earth_sfc_avg_dist_sun

///|
pub let earth_solar_irrad_s : Double = earth_solar_irradiance

///|
pub let earth_max_decl_delta : Double = earth_max_declination

///|
pub let earth_mass_me : Double = geocentric_gravitational_constant /
  gravitational_constant

///|
pub let water_mol_weight_mw : Double = water_molecular_weight

///|
pub let water_gas_const_rv : Double = water_gas_constant

///|
pub let density_water_rho_l : Double = density_water

///|
pub let wv_spec_heat_press_cp_v : Double = wv_specific_heat_press

///|
pub let wv_spec_heat_vol_cv_v : Double = wv_specific_heat_vol

///|
pub let water_spec_heat_cp_l : Double = water_specific_heat

///|
pub let water_heat_vap_lv : Double = water_heat_vaporization

///|
pub let water_heat_fus_lf : Double = water_heat_fusion

///|
pub let water_heat_sub_ls : Double = water_heat_sublimation

///|
pub let ice_spec_heat_cp_i : Double = ice_specific_heat

///|
pub let density_ice_rho_i : Double = density_ice

///|
pub let triple_point_temp_t0 : Double = water_triple_point_temperature

///|
pub let dry_air_mol_weight_md : Double = dry_air_molecular_weight

///|
pub let dry_air_gas_const_rd : Double = dry_air_gas_constant

///|
pub let dry_air_spec_heat_press_cp_d : Double = dry_air_spec_heat_press

///|
pub let dry_air_spec_heat_vol_cv_d : Double = dry_air_spec_heat_vol

///|
pub let dry_air_density_rho_d : Double = dry_air_density_stp

///|
pub let ref_press_p0 : Double = pot_temp_ref_press

///|
pub let poisson_exp_kappa : Double = poisson_exponent

///|
pub let dry_adiab_lapse_gamma_d : Double = dry_adiabatic_lapse_rate

///|
pub let mol_weight_ratio_epsilon : Double = molecular_weight_ratio