BUGSrad
 All Classes Files Functions Variables
bugsrad_physconst.f90
Go to the documentation of this file.
1 
2 
4 
5  use kinds
6  implicit none
7  private
8 
9  ! Physical and math constants
10  real (kind=dbl_kind), parameter, public :: &
11  gravity = 9.80665_dbl_kind &! (m s^-2)
12  ,cp_dry_air = 1.004e+03_dbl_kind &! (J kg^-1 K^-1)
13  ,R_d = 287.0_dbl_kind &! (J K^-1 kg^-1)
14  ,R_star = 8.3143e+03_dbl_kind &! (J K^-1 kmol^-1)
15  ,sol_const = 1.360e+03_dbl_kind &! (W m^-2)
16  ,P_std = 1.01325e+05_dbl_kind &! (Pa)
17  ,T_std = 273.15_dbl_kind &! (K)
18  ,PI = 3.1415926535_dbl_kind &! (-)
19  ,molar_volume = 2.2421e+4_dbl_kind &! (cm3-atm)
20  ,N_av = 6.0221367e23 ! (molecules/mol)
21 
22 
23  ! Molecular weights (g/mol)
24  real (kind=dbl_kind), parameter, public :: &
25  MW_dry_air = 28.964_dbl_kind &
26  ,MW_h2o = 18.016_dbl_kind &
27  ,MW_co2 = 44.010_dbl_kind &
28  ,MW_o3 = 48.000_dbl_kind &
29  ,MW_ch4 = 16.042_dbl_kind &
30  ,MW_n2o = 44.016_dbl_kind
31 
32  !Other
33  integer (kind=int_kind), parameter, public:: &
34  mbs = 6 !Number of shortwave spectral bands
35  real (kind=dbl_kind), parameter, public :: &
36  epsilon = MW_h2o/MW_dry_air &
37  ,f_virt = (1._dbl_kind - epsilon)/epsilon
38 
39  real (kind=dbl_kind), dimension(mbs), parameter, public :: &
40  ri = (/ 1.19234e-26, 7.6491e-28, 9.0856e-29, 1.97266e-29 &
41  ,6.13005e-30, 2.06966e-30 /)
42 
43 end module bugsrad_physconst