[1047] | 1 | module yomaer_h |
---|
| 2 | ! Radiative characteristics of the aerosols |
---|
| 3 | implicit none |
---|
| 4 | |
---|
| 5 | ! Shortwave |
---|
| 6 | ! ~~~~~~~~~ |
---|
| 7 | ! |
---|
| 8 | ! tauvis: dust optical depth at reference wavelength ("longrefvis" set |
---|
| 9 | ! in dimradmars_mod : typically longrefvis = 0.67E-6 m, as measured by Viking ) |
---|
| 10 | |
---|
| 11 | ! For the "naerkind" kind of aerosol radiative properties : |
---|
| 12 | ! QVISsQREF : Qext / Qext("longrefvis") <--- For both solar bands |
---|
| 13 | ! omegavis : sinle scattering albedo <--- For both solar bands |
---|
| 14 | ! gvis : assymetry factor <--- For both solar bands |
---|
| 15 | ! |
---|
| 16 | ! Longwave |
---|
| 17 | ! ~~~~~~~~ |
---|
| 18 | ! |
---|
| 19 | ! For the "naerkind" kind of aerosol radiative properties : |
---|
| 20 | ! QIRsQREF : Qext / Qext("longrefvis") <--- For the nir bandes IR |
---|
| 21 | ! omegaIR : mean single scattering albedo <--- For the nir bandes IR |
---|
| 22 | ! gIR : mean assymetry factor <--- For the nir bandes IR |
---|
| 23 | ! |
---|
| 24 | |
---|
| 25 | real,save :: tauvis |
---|
| 26 | real,save,allocatable :: QVISsQREF(:,:,:) |
---|
| 27 | real,save,allocatable :: omegavis(:,:,:) |
---|
| 28 | real,save,allocatable :: gvis(:,:,:) |
---|
| 29 | real,save,allocatable :: QIRsQREF(:,:,:) |
---|
| 30 | real,save,allocatable :: omegaIR(:,:,:) |
---|
| 31 | real,save,allocatable :: gIR(:,:,:) |
---|
| 32 | |
---|
| 33 | ! Actual number of grain size classes in each domain for a |
---|
| 34 | ! given aerosol: |
---|
| 35 | integer,save,allocatable :: nsize(:,:) |
---|
| 36 | |
---|
| 37 | ! Particle size axis (depend on the kind of aerosol and the |
---|
| 38 | ! radiation domain) |
---|
| 39 | real,save,allocatable :: radiustab(:,:,:) |
---|
| 40 | |
---|
| 41 | ! Extinction coefficient at reference wavelengths; |
---|
| 42 | ! These wavelengths are defined in dimradmars_mod, and called |
---|
| 43 | ! longrefvis and longrefir. |
---|
| 44 | real,save,allocatable :: QREFvis(:,:) |
---|
| 45 | real,save,allocatable :: QREFir(:,:) |
---|
| 46 | real,save,allocatable :: omegaREFvis(:,:) |
---|
| 47 | real,save,allocatable :: omegaREFir(:,:) |
---|
| 48 | |
---|
| 49 | contains |
---|
| 50 | |
---|
| 51 | subroutine ini_yomaer_h |
---|
| 52 | |
---|
| 53 | use dimradmars_mod, only: nsun, nir, nsizemax |
---|
| 54 | implicit none |
---|
| 55 | ! naerkind is set in scatterers.h (built when compiling with makegcm -s #) |
---|
| 56 | #include"scatterers.h" |
---|
| 57 | |
---|
| 58 | allocate(QVISsQREF(nsun,naerkind,nsizemax)) |
---|
| 59 | allocate(omegavis(nsun,naerkind,nsizemax)) |
---|
| 60 | allocate(gvis(nsun,naerkind,nsizemax)) |
---|
| 61 | allocate(QIRsQREF(nir,naerkind,nsizemax)) |
---|
| 62 | allocate(omegaIR(nir,naerkind,nsizemax)) |
---|
| 63 | allocate(gIR(nir,naerkind,nsizemax)) |
---|
| 64 | |
---|
| 65 | allocate(nsize(naerkind,2)) |
---|
| 66 | |
---|
| 67 | allocate(radiustab(naerkind,2,nsizemax)) |
---|
| 68 | |
---|
| 69 | allocate(QREFvis(naerkind,nsizemax)) |
---|
| 70 | allocate(QREFir(naerkind,nsizemax)) |
---|
| 71 | allocate(omegaREFvis(naerkind,nsizemax)) |
---|
| 72 | allocate(omegaREFir(naerkind,nsizemax)) |
---|
| 73 | |
---|
| 74 | end subroutine ini_yomaer_h |
---|
| 75 | |
---|
| 76 | end module yomaer_h |
---|