1 | ! |
---|
2 | ! $Id: aeropt_2bands.F90 1267 2009-11-23 16:37:51Z ymeurdesoif $ |
---|
3 | ! |
---|
4 | SUBROUTINE AEROPT_2BANDS( & |
---|
5 | pdel, m_allaer, delt, RHcl, & |
---|
6 | tau_allaer, piz_allaer, & |
---|
7 | cg_allaer, m_allaer_pi, & |
---|
8 | flag_aerosol, pplay, t_seri, presnivs) |
---|
9 | |
---|
10 | USE dimphy |
---|
11 | USE aero_mod |
---|
12 | |
---|
13 | ! Yves Balkanski le 12 avril 2006 |
---|
14 | ! Celine Deandreis |
---|
15 | ! Anne Cozic Avril 2009 |
---|
16 | ! a partir d'une sous-routine de Johannes Quaas pour les sulfates |
---|
17 | ! |
---|
18 | IMPLICIT NONE |
---|
19 | |
---|
20 | INCLUDE "YOMCST.h" |
---|
21 | INCLUDE "iniprint.h" |
---|
22 | |
---|
23 | ! |
---|
24 | ! Input arguments: |
---|
25 | ! |
---|
26 | REAL, DIMENSION(klon,klev), INTENT(in) :: pdel |
---|
27 | REAL, INTENT(in) :: delt |
---|
28 | REAL, DIMENSION(klon,klev,naero_spc), INTENT(in) :: m_allaer |
---|
29 | !RAF |
---|
30 | REAL, DIMENSION(klon,klev,naero_spc), INTENT(in) :: m_allaer_pi |
---|
31 | REAL, DIMENSION(klon,klev), INTENT(in) :: RHcl ! humidite relative ciel clair |
---|
32 | !RAF REAL, DIMENSION(klon,naero_tot),INTENT(in) :: fractnat_allaer |
---|
33 | INTEGER, INTENT(in) :: flag_aerosol |
---|
34 | REAL, DIMENSION(klon,klev), INTENT(in) :: pplay |
---|
35 | REAL, DIMENSION(klon,klev), INTENT(in) :: t_seri |
---|
36 | REAL, DIMENSION(klev), INTENT(in) :: presnivs |
---|
37 | ! |
---|
38 | ! Output arguments: |
---|
39 | ! |
---|
40 | REAL, DIMENSION(klon,klev,naero_grp,nbands), INTENT(out) :: tau_allaer ! epaisseur optique aerosol |
---|
41 | REAL, DIMENSION(klon,klev,naero_grp,nbands), INTENT(out) :: piz_allaer ! single scattering albedo aerosol |
---|
42 | REAL, DIMENSION(klon,klev,naero_grp,nbands), INTENT(out) :: cg_allaer ! asymmetry parameter aerosol |
---|
43 | |
---|
44 | ! |
---|
45 | ! Local |
---|
46 | ! |
---|
47 | REAL, DIMENSION(klon,klev,naero_tot,nbands) :: tau_ae |
---|
48 | !RAF |
---|
49 | REAL, DIMENSION(klon,klev,naero_tot,nbands) :: tau_ae_pi |
---|
50 | REAL, DIMENSION(klon,klev,naero_tot,nbands) :: piz_ae |
---|
51 | REAL, DIMENSION(klon,klev,naero_tot,nbands) :: cg_ae |
---|
52 | LOGICAL :: soluble |
---|
53 | INTEGER :: i, k,n, ierr, inu, m, mrfspecies |
---|
54 | INTEGER :: spsol, spinsol, spss |
---|
55 | INTEGER :: RH_num(klon,klev) |
---|
56 | INTEGER, PARAMETER :: nb_level=19 ! number of vertical levels in DATA |
---|
57 | |
---|
58 | INTEGER, PARAMETER :: nbre_RH=12 |
---|
59 | INTEGER, PARAMETER :: naero_soluble=7 ! 1- BC soluble; 2- POM soluble; 3- SO4. acc. 4- SO4 coarse |
---|
60 | ! 5- seasalt super coarse 6- seasalt coarse 7- seasalt acc. |
---|
61 | INTEGER, PARAMETER :: naero_insoluble=3 ! 1- Dust; 2- BC insoluble; 3- POM insoluble |
---|
62 | LOGICAL, SAVE :: firstcall=.TRUE. |
---|
63 | !$OMP THREADPRIVATE(firstcall) |
---|
64 | |
---|
65 | ! Coefficient optiques sur 19 niveaux |
---|
66 | REAL, SAVE, DIMENSION(nb_level) :: presnivs_19 ! Pression milieux couche pour 19 niveaux (nb_level) |
---|
67 | !$OMP THREADPRIVATE(presnivs_19) |
---|
68 | |
---|
69 | REAL, SAVE, DIMENSION(nb_level) :: A1_ASSSM_b1_19, A2_ASSSM_b1_19, A3_ASSSM_b1_19,& |
---|
70 | B1_ASSSM_b1_19, B2_ASSSM_b1_19, C1_ASSSM_b1_19, C2_ASSSM_b1_19,& |
---|
71 | A1_CSSSM_b1_19, A2_CSSSM_b1_19, A3_CSSSM_b1_19,& |
---|
72 | B1_CSSSM_b1_19, B2_CSSSM_b1_19, C1_CSSSM_b1_19, C2_CSSSM_b1_19,& |
---|
73 | A1_SSSSM_b1_19, A2_SSSSM_b1_19, A3_SSSSM_b1_19,& |
---|
74 | B1_SSSSM_b1_19, B2_SSSSM_b1_19, C1_SSSSM_b1_19, C2_SSSSM_b1_19,& |
---|
75 | A1_ASSSM_b2_19, A2_ASSSM_b2_19, A3_ASSSM_b2_19,& |
---|
76 | B1_ASSSM_b2_19, B2_ASSSM_b2_19, C1_ASSSM_b2_19, C2_ASSSM_b2_19,& |
---|
77 | A1_CSSSM_b2_19, A2_CSSSM_b2_19, A3_CSSSM_b2_19,& |
---|
78 | B1_CSSSM_b2_19, B2_CSSSM_b2_19, C1_CSSSM_b2_19, C2_CSSSM_b2_19,& |
---|
79 | A1_SSSSM_b2_19, A2_SSSSM_b2_19, A3_SSSSM_b2_19,& |
---|
80 | B1_SSSSM_b2_19, B2_SSSSM_b2_19, C1_SSSSM_b2_19, C2_SSSSM_b2_19 |
---|
81 | !$OMP THREADPRIVATE(A1_ASSSM_b1_19, A2_ASSSM_b1_19, A3_ASSSM_b1_19) |
---|
82 | !$OMP THREADPRIVATE(B1_ASSSM_b1_19, B2_ASSSM_b1_19, C1_ASSSM_b1_19, C2_ASSSM_b1_19) |
---|
83 | !$OMP THREADPRIVATE(A1_CSSSM_b1_19, A2_CSSSM_b1_19, A3_CSSSM_b1_19) |
---|
84 | !$OMP THREADPRIVATE(B1_CSSSM_b1_19, B2_CSSSM_b1_19, C1_CSSSM_b1_19, C2_CSSSM_b1_19) |
---|
85 | !$OMP THREADPRIVATE(A1_SSSSM_b1_19, A2_SSSSM_b1_19, A3_SSSSM_b1_19) |
---|
86 | !$OMP THREADPRIVATE(B1_SSSSM_b1_19, B2_SSSSM_b1_19, C1_SSSSM_b1_19, C2_SSSSM_b1_19) |
---|
87 | !$OMP THREADPRIVATE(A1_ASSSM_b2_19, A2_ASSSM_b2_19, A3_ASSSM_b2_19) |
---|
88 | !$OMP THREADPRIVATE(B1_ASSSM_b2_19, B2_ASSSM_b2_19, C1_ASSSM_b2_19, C2_ASSSM_b2_19) |
---|
89 | !$OMP THREADPRIVATE(A1_CSSSM_b2_19, A2_CSSSM_b2_19, A3_CSSSM_b2_19) |
---|
90 | !$OMP THREADPRIVATE(B1_CSSSM_b2_19, B2_CSSSM_b2_19, C1_CSSSM_b2_19, C2_CSSSM_b2_19) |
---|
91 | !$OMP THREADPRIVATE(A1_SSSSM_b2_19, A2_SSSSM_b2_19, A3_SSSSM_b2_19) |
---|
92 | !$OMP THREADPRIVATE(B1_SSSSM_b2_19, B2_SSSSM_b2_19, C1_SSSSM_b2_19, C2_SSSSM_b2_19) |
---|
93 | |
---|
94 | |
---|
95 | ! Coefficient optiques interpole sur le nombre de niveau du modele |
---|
96 | REAL, ALLOCATABLE, DIMENSION(:), SAVE :: & |
---|
97 | A1_ASSSM_b1, A2_ASSSM_b1, A3_ASSSM_b1,& |
---|
98 | B1_ASSSM_b1, B2_ASSSM_b1, C1_ASSSM_b1, C2_ASSSM_b1,& |
---|
99 | A1_CSSSM_b1, A2_CSSSM_b1, A3_CSSSM_b1,& |
---|
100 | B1_CSSSM_b1, B2_CSSSM_b1, C1_CSSSM_b1, C2_CSSSM_b1,& |
---|
101 | A1_SSSSM_b1, A2_SSSSM_b1, A3_SSSSM_b1,& |
---|
102 | B1_SSSSM_b1, B2_SSSSM_b1, C1_SSSSM_b1, C2_SSSSM_b1,& |
---|
103 | A1_ASSSM_b2, A2_ASSSM_b2, A3_ASSSM_b2,& |
---|
104 | B1_ASSSM_b2, B2_ASSSM_b2, C1_ASSSM_b2, C2_ASSSM_b2,& |
---|
105 | A1_CSSSM_b2, A2_CSSSM_b2, A3_CSSSM_b2,& |
---|
106 | B1_CSSSM_b2, B2_CSSSM_b2, C1_CSSSM_b2, C2_CSSSM_b2,& |
---|
107 | A1_SSSSM_b2, A2_SSSSM_b2, A3_SSSSM_b2,& |
---|
108 | B1_SSSSM_b2, B2_SSSSM_b2, C1_SSSSM_b2, C2_SSSSM_b2 |
---|
109 | !$OMP THREADPRIVATE(A1_ASSSM_b1, A2_ASSSM_b1, A3_ASSSM_b1) |
---|
110 | !$OMP THREADPRIVATE(B1_ASSSM_b1, B2_ASSSM_b1, C1_ASSSM_b1, C2_ASSSM_b1) |
---|
111 | !$OMP THREADPRIVATE(A1_CSSSM_b1, A2_CSSSM_b1, A3_CSSSM_b1) |
---|
112 | !$OMP THREADPRIVATE(B1_CSSSM_b1, B2_CSSSM_b1, C1_CSSSM_b1, C2_CSSSM_b1) |
---|
113 | !$OMP THREADPRIVATE(A1_SSSSM_b1, A2_SSSSM_b1, A3_SSSSM_b1) |
---|
114 | !$OMP THREADPRIVATE(B1_SSSSM_b1, B2_SSSSM_b1, C1_SSSSM_b1, C2_SSSSM_b1) |
---|
115 | !$OMP THREADPRIVATE(A1_ASSSM_b2, A2_ASSSM_b2, A3_ASSSM_b2) |
---|
116 | !$OMP THREADPRIVATE(B1_ASSSM_b2, B2_ASSSM_b2, C1_ASSSM_b2, C2_ASSSM_b2) |
---|
117 | !$OMP THREADPRIVATE(A1_CSSSM_b2, A2_CSSSM_b2, A3_CSSSM_b2) |
---|
118 | !$OMP THREADPRIVATE(B1_CSSSM_b2, B2_CSSSM_b2, C1_CSSSM_b2, C2_CSSSM_b2) |
---|
119 | !$OMP THREADPRIVATE(A1_SSSSM_b2, A2_SSSSM_b2, A3_SSSSM_b2) |
---|
120 | !$OMP THREADPRIVATE(B1_SSSSM_b2, B2_SSSSM_b2, C1_SSSSM_b2, C2_SSSSM_b2) |
---|
121 | |
---|
122 | REAL,PARAMETER :: RH_tab(nbre_RH)=(/0.,10.,20.,30.,40.,50.,60.,70.,80.,85.,90.,95./) |
---|
123 | REAL, PARAMETER :: RH_MAX=95. |
---|
124 | REAL:: DELTA(klon,klev), rh(klon,klev), H |
---|
125 | REAL:: tau_ae2b_int ! Intermediate computation of epaisseur optique aerosol |
---|
126 | REAL:: piz_ae2b_int ! Intermediate computation of Single scattering albedo |
---|
127 | REAL:: cg_ae2b_int ! Intermediate computation of Assymetry parameter |
---|
128 | REAL :: Fact_RH(nbre_RH) |
---|
129 | REAL :: zrho |
---|
130 | REAL :: fac |
---|
131 | REAL :: zdp1(klon,klev) |
---|
132 | REAL, PARAMETER :: gravit = 9.80616 ! m2/s |
---|
133 | INTEGER, ALLOCATABLE, DIMENSION(:) :: aerosol_name |
---|
134 | INTEGER :: nb_aer |
---|
135 | REAL, DIMENSION(klon,klev,naero_spc) :: mass_temp |
---|
136 | !RAF |
---|
137 | REAL, DIMENSION(klon,klev,naero_spc) :: mass_temp_pi |
---|
138 | |
---|
139 | ! |
---|
140 | ! Proprietes optiques |
---|
141 | ! |
---|
142 | REAL:: alpha_aers_2bands(nbre_RH,nbands,naero_soluble) !--unit m2/g SO4 |
---|
143 | REAL:: alpha_aeri_2bands(nbands,naero_insoluble) |
---|
144 | REAL:: cg_aers_2bands(nbre_RH,nbands,naero_soluble) !--unit |
---|
145 | REAL:: cg_aeri_2bands(nbands,naero_insoluble) |
---|
146 | REAL:: piz_aers_2bands(nbre_RH,nbands,naero_soluble) !-- unit |
---|
147 | REAL:: piz_aeri_2bands(nbands,naero_insoluble) !-- unit |
---|
148 | |
---|
149 | INTEGER :: id |
---|
150 | LOGICAL :: used_aer(naero_tot) |
---|
151 | REAL :: tmp_var, tmp_var_pi |
---|
152 | |
---|
153 | DATA presnivs_19/& |
---|
154 | 100426.5, 98327.6, 95346.5, 90966.8, 84776.9, & |
---|
155 | 76536.5, 66292.2, 54559.3, 42501.8, 31806, & |
---|
156 | 23787.5, 18252.7, 13996, 10320.8, 7191.1, & |
---|
157 | 4661.7, 2732.9, 1345.6, 388.2/ |
---|
158 | |
---|
159 | |
---|
160 | !***********************BAND 1*********************************** |
---|
161 | !ACCUMULATION MODE |
---|
162 | DATA A1_ASSSM_b1_19/ 4.373E+00, 4.361E+00, 4.331E+00, & |
---|
163 | 4.278E+00, 4.223E+00, 4.162E+00, & |
---|
164 | 4.103E+00, 4.035E+00, 3.962E+00, & |
---|
165 | 3.904E+00, 3.871E+00, 3.847E+00, & |
---|
166 | 3.824E+00, 3.780E+00, 3.646E+00, & |
---|
167 | 3.448E+00, 3.179E+00, 2.855E+00, 2.630E+00/ |
---|
168 | DATA A2_ASSSM_b1_19/ 2.496E+00, 2.489E+00, 2.472E+00, & |
---|
169 | 2.442E+00, 2.411E+00, 2.376E+00, & |
---|
170 | 2.342E+00, 2.303E+00, 2.261E+00, & |
---|
171 | 2.228E+00, 2.210E+00, 2.196E+00, & |
---|
172 | 2.183E+00, 2.158E+00, 2.081E+00, & |
---|
173 | 1.968E+00, 1.814E+00, 1.630E+00, 1.501E+00/ |
---|
174 | DATA A3_ASSSM_b1_19/-4.688E-02, -4.676E-02, -4.644E-02, & |
---|
175 | -4.587E-02, -4.528E-02, -4.463E-02, & |
---|
176 | -4.399E-02, -4.326E-02, -4.248E-02, & |
---|
177 | -4.186E-02, -4.151E-02, -4.125E-02, & |
---|
178 | -4.100E-02, -4.053E-02, -3.910E-02, & |
---|
179 | -3.697E-02, -3.408E-02, -3.061E-02, -2.819E-02/ |
---|
180 | DATA B1_ASSSM_b1_19/ 1.165E-08, 1.145E-08, 1.097E-08, & |
---|
181 | 1.012E-08, 9.233E-09, 8.261E-09, & |
---|
182 | 7.297E-09, 6.201E-09, 5.026E-09, & |
---|
183 | 4.098E-09, 3.567E-09, 3.187E-09, & |
---|
184 | 2.807E-09, 2.291E-09, 2.075E-09, & |
---|
185 | 1.756E-09, 1.322E-09, 8.011E-10, 4.379E-10/ |
---|
186 | DATA B2_ASSSM_b1_19/ 2.193E-08, 2.192E-08, 2.187E-08, & |
---|
187 | 2.179E-08, 2.171E-08, 2.162E-08, & |
---|
188 | 2.153E-08, 2.143E-08, 2.132E-08, & |
---|
189 | 2.124E-08, 2.119E-08, 2.115E-08, & |
---|
190 | 2.112E-08, 2.106E-08, 2.100E-08, & |
---|
191 | 2.090E-08, 2.077E-08, 2.061E-08, 2.049E-08/ |
---|
192 | DATA C1_ASSSM_b1_19/ 7.365E-01, 7.365E-01, 7.365E-01, & |
---|
193 | 7.364E-01, 7.363E-01, 7.362E-01, & |
---|
194 | 7.361E-01, 7.359E-01, 7.358E-01, & |
---|
195 | 7.357E-01, 7.356E-01, 7.356E-01, & |
---|
196 | 7.356E-01, 7.355E-01, 7.354E-01, & |
---|
197 | 7.352E-01, 7.350E-01, 7.347E-01, 7.345E-01/ |
---|
198 | DATA C2_ASSSM_b1_19/ 5.833E-02, 5.835E-02, 5.841E-02, & |
---|
199 | 5.850E-02, 5.859E-02, 5.870E-02, & |
---|
200 | 5.880E-02, 5.891E-02, 5.904E-02, & |
---|
201 | 5.914E-02, 5.920E-02, 5.924E-02, & |
---|
202 | 5.928E-02, 5.934E-02, 5.944E-02, & |
---|
203 | 5.959E-02, 5.979E-02, 6.003E-02, 6.020E-02/ |
---|
204 | !COARSE MODE |
---|
205 | DATA A1_CSSSM_b1_19/ 7.403E-01, 7.422E-01, 7.626E-01, & |
---|
206 | 8.019E-01, 8.270E-01, 8.527E-01, & |
---|
207 | 8.702E-01, 8.806E-01, 8.937E-01, & |
---|
208 | 9.489E-01, 1.030E+00, 1.105E+00, & |
---|
209 | 1.199E+00, 1.357E+00, 1.660E+00, & |
---|
210 | 2.540E+00, 4.421E+00, 2.151E+00, 9.518E-01/ |
---|
211 | DATA A2_CSSSM_b1_19/ 4.522E-01, 4.532E-01, 4.644E-01, & |
---|
212 | 4.859E-01, 4.996E-01, 5.137E-01, & |
---|
213 | 5.233E-01, 5.290E-01, 5.361E-01, & |
---|
214 | 5.655E-01, 6.085E-01, 6.483E-01, & |
---|
215 | 6.979E-01, 7.819E-01, 9.488E-01, & |
---|
216 | 1.450E+00, 2.523E+00, 1.228E+00, 5.433E-01/ |
---|
217 | DATA A3_CSSSM_b1_19/-8.516E-03, -8.535E-03, -8.744E-03, & |
---|
218 | -9.148E-03, -9.406E-03, -9.668E-03, & |
---|
219 | -9.848E-03, -9.955E-03, -1.009E-02, & |
---|
220 | -1.064E-02, -1.145E-02, -1.219E-02, & |
---|
221 | -1.312E-02, -1.470E-02, -1.783E-02, & |
---|
222 | -2.724E-02, -4.740E-02, -2.306E-02, -1.021E-02/ |
---|
223 | DATA B1_CSSSM_b1_19/ 2.535E-07, 2.530E-07, 2.479E-07, & |
---|
224 | 2.380E-07, 2.317E-07, 2.252E-07, & |
---|
225 | 2.208E-07, 2.182E-07, 2.149E-07, & |
---|
226 | 2.051E-07, 1.912E-07, 1.784E-07, & |
---|
227 | 1.624E-07, 1.353E-07, 1.012E-07, & |
---|
228 | 6.016E-08, 2.102E-08, 0.000E+00, 0.000E+00/ |
---|
229 | DATA B2_CSSSM_b1_19/ 1.221E-07, 1.217E-07, 1.179E-07, & |
---|
230 | 1.104E-07, 1.056E-07, 1.008E-07, & |
---|
231 | 9.744E-08, 9.546E-08, 9.299E-08, & |
---|
232 | 8.807E-08, 8.150E-08, 7.544E-08, & |
---|
233 | 6.786E-08, 5.504E-08, 4.080E-08, & |
---|
234 | 2.960E-08, 2.300E-08, 2.030E-08, 1.997E-08/ |
---|
235 | DATA C1_CSSSM_b1_19/ 7.659E-01, 7.658E-01, 7.652E-01, & |
---|
236 | 7.639E-01, 7.631E-01, 7.623E-01, & |
---|
237 | 7.618E-01, 7.614E-01, 7.610E-01, & |
---|
238 | 7.598E-01, 7.581E-01, 7.566E-01, & |
---|
239 | 7.546E-01, 7.513E-01, 7.472E-01, & |
---|
240 | 7.423E-01, 7.376E-01, 7.342E-01, 7.334E-01/ |
---|
241 | DATA C2_CSSSM_b1_19/ 3.691E-02, 3.694E-02, 3.729E-02, & |
---|
242 | 3.796E-02, 3.839E-02, 3.883E-02, & |
---|
243 | 3.913E-02, 3.931E-02, 3.953E-02, & |
---|
244 | 4.035E-02, 4.153E-02, 4.263E-02, & |
---|
245 | 4.400E-02, 4.631E-02, 4.933E-02, & |
---|
246 | 5.331E-02, 5.734E-02, 6.053E-02, 6.128E-02/ |
---|
247 | !SUPER COARSE MODE |
---|
248 | DATA A1_SSSSM_b1_19/ 2.836E-01, 2.876E-01, 2.563E-01, & |
---|
249 | 2.414E-01, 2.541E-01, 2.546E-01, & |
---|
250 | 2.572E-01, 2.638E-01, 2.781E-01, & |
---|
251 | 3.167E-01, 4.209E-01, 5.286E-01, & |
---|
252 | 6.959E-01, 9.233E-01, 1.282E+00, & |
---|
253 | 1.836E+00, 2.981E+00, 4.355E+00, 4.059E+00/ |
---|
254 | DATA A2_SSSSM_b1_19/ 1.608E-01, 1.651E-01, 1.577E-01, & |
---|
255 | 1.587E-01, 1.686E-01, 1.690E-01, & |
---|
256 | 1.711E-01, 1.762E-01, 1.874E-01, & |
---|
257 | 2.138E-01, 2.751E-01, 3.363E-01, & |
---|
258 | 4.279E-01, 5.519E-01, 7.421E-01, & |
---|
259 | 1.048E+00, 1.702E+00, 2.485E+00, 2.317E+00/ |
---|
260 | DATA A3_SSSSM_b1_19/-3.025E-03, -3.111E-03, -2.981E-03, & |
---|
261 | -3.005E-03, -3.193E-03, -3.200E-03, & |
---|
262 | -3.239E-03, -3.336E-03, -3.548E-03, & |
---|
263 | -4.047E-03, -5.196E-03, -6.345E-03, & |
---|
264 | -8.061E-03, -1.038E-02, -1.395E-02, & |
---|
265 | -1.970E-02, -3.197E-02, -4.669E-02, -4.352E-02/ |
---|
266 | DATA B1_SSSSM_b1_19/ 6.759E-07, 6.246E-07, 5.542E-07, & |
---|
267 | 4.953E-07, 4.746E-07, 4.738E-07, & |
---|
268 | 4.695E-07, 4.588E-07, 4.354E-07, & |
---|
269 | 3.947E-07, 3.461E-07, 3.067E-07, & |
---|
270 | 2.646E-07, 2.095E-07, 1.481E-07, & |
---|
271 | 9.024E-08, 5.747E-08, 2.384E-08, 6.599E-09/ |
---|
272 | DATA B2_SSSSM_b1_19/ 5.977E-07, 5.390E-07, 4.468E-07, & |
---|
273 | 3.696E-07, 3.443E-07, 3.433E-07, & |
---|
274 | 3.380E-07, 3.249E-07, 2.962E-07, & |
---|
275 | 2.483E-07, 1.989E-07, 1.623E-07, & |
---|
276 | 1.305E-07, 9.015E-08, 6.111E-08, & |
---|
277 | 3.761E-08, 2.903E-08, 2.337E-08, 2.147E-08/ |
---|
278 | DATA C1_SSSSM_b1_19/ 8.120E-01, 8.084E-01, 8.016E-01, & |
---|
279 | 7.953E-01, 7.929E-01, 7.928E-01, & |
---|
280 | 7.923E-01, 7.910E-01, 7.882E-01, & |
---|
281 | 7.834E-01, 7.774E-01, 7.725E-01, & |
---|
282 | 7.673E-01, 7.604E-01, 7.529E-01, & |
---|
283 | 7.458E-01, 7.419E-01, 7.379E-01, 7.360E-01/ |
---|
284 | DATA C2_SSSSM_b1_19/ 2.388E-02, 2.392E-02, 2.457E-02, 2.552E-02, & |
---|
285 | 2.615E-02, 2.618E-02, 2.631E-02, 2.663E-02, & |
---|
286 | 2.735E-02, 2.875E-02, 3.113E-02, 3.330E-02, & |
---|
287 | 3.615E-02, 3.997E-02, 4.521E-02, 5.038E-02, & |
---|
288 | 5.358E-02, 5.705E-02, 5.887E-02/ |
---|
289 | !*********************BAND 2************************************************ |
---|
290 | !ACCUMULATION MODE |
---|
291 | DATA A1_ASSSM_b2_19/1.256E+00, 1.246E+00, 1.226E+00, 1.187E+00, 1.148E+00, & |
---|
292 | 1.105E+00, 1.062E+00, 1.014E+00, 9.616E-01, 9.205E-01, & |
---|
293 | 8.970E-01, 8.800E-01, 8.632E-01, 8.371E-01, 7.943E-01, & |
---|
294 | 7.308E-01, 6.448E-01, 5.414E-01, 4.693E-01/ |
---|
295 | DATA A2_ASSSM_b2_19/5.321E-01, 5.284E-01, 5.196E-01, 5.036E-01, 4.872E-01, & |
---|
296 | 4.691E-01, 4.512E-01, 4.308E-01, 4.089E-01, 3.917E-01, & |
---|
297 | 3.818E-01, 3.747E-01, 3.676E-01, 3.567E-01, 3.385E-01, & |
---|
298 | 3.116E-01, 2.751E-01, 2.312E-01, 2.006E-01/ |
---|
299 | DATA A3_ASSSM_b2_19/-1.053E-02, -1.046E-02, -1.028E-02, -9.964E-03, -9.637E-03, & |
---|
300 | -9.279E-03, -8.923E-03, -8.518E-03, -8.084E-03, -7.741E-03, & |
---|
301 | -7.545E-03, -7.405E-03, -7.265E-03, -7.048E-03, -6.687E-03, & |
---|
302 | -6.156E-03, -5.433E-03, -4.565E-03, -3.961E-03/ |
---|
303 | DATA B1_ASSSM_b2_19/1.560E-02, 1.560E-02, 1.561E-02, 1.565E-02, 1.568E-02, & |
---|
304 | 1.572E-02, 1.576E-02, 1.580E-02, 1.584E-02, 1.588E-02, & |
---|
305 | 1.590E-02, 1.592E-02, 1.593E-02, 1.595E-02, 1.599E-02, & |
---|
306 | 1.605E-02, 1.612E-02, 1.621E-02, 1.627E-02/ |
---|
307 | DATA B2_ASSSM_b2_19/1.073E-02, 1.074E-02, 1.076E-02, 1.079E-02, 1.082E-02, & |
---|
308 | 1.085E-02, 1.089E-02, 1.093E-02, 1.097E-02, 1.100E-02, & |
---|
309 | 1.102E-02, 1.103E-02, 1.105E-02, 1.107E-02, 1.110E-02, & |
---|
310 | 1.115E-02, 1.122E-02, 1.130E-02, 1.136E-02/ |
---|
311 | DATA C1_ASSSM_b2_19/7.429E-01, 7.429E-01, 7.429E-01, 7.427E-01, 7.427E-01, & |
---|
312 | 7.424E-01, 7.423E-01, 7.422E-01, 7.421E-01, 7.420E-01, & |
---|
313 | 7.419E-01, 7.419E-01, 7.418E-01, 7.417E-01, 7.416E-01, & |
---|
314 | 7.415E-01, 7.413E-01, 7.409E-01, 7.408E-01/ |
---|
315 | DATA C2_ASSSM_b2_19/3.031E-02, 3.028E-02, 3.022E-02, 3.011E-02, 2.999E-02, & |
---|
316 | 2.986E-02, 2.973E-02, 2.959E-02, 2.943E-02, 2.931E-02, & |
---|
317 | 2.924E-02, 2.919E-02, 2.913E-02, 2.905E-02, 2.893E-02, & |
---|
318 | 2.874E-02, 2.847E-02, 2.817E-02, 2.795E-02/ |
---|
319 | !COARSE MODE |
---|
320 | DATA A1_CSSSM_b2_19/7.061E-01, 7.074E-01, 7.211E-01, 7.476E-01, 7.647E-01, & |
---|
321 | 7.817E-01, 7.937E-01, 8.007E-01, 8.095E-01, 8.436E-01, & |
---|
322 | 8.932E-01, 9.390E-01, 9.963E-01, 1.093E+00, 1.256E+00, & |
---|
323 | 1.668E+00, 1.581E+00, 3.457E-01, 1.331E-01/ |
---|
324 | DATA A2_CSSSM_b2_19/3.617E-01, 3.621E-01, 3.662E-01, 3.739E-01, 3.789E-01, & |
---|
325 | 3.840E-01, 3.874E-01, 3.895E-01, 3.921E-01, 4.001E-01, & |
---|
326 | 4.117E-01, 4.223E-01, 4.356E-01, 4.581E-01, 5.099E-01, & |
---|
327 | 6.831E-01, 6.663E-01, 1.481E-01, 5.703E-02/ |
---|
328 | DATA A3_CSSSM_b2_19/-6.953E-03, -6.961E-03, -7.048E-03, -7.216E-03, -7.322E-03, & |
---|
329 | -7.431E-03, -7.506E-03, -7.551E-03, -7.606E-03, -7.791E-03, & |
---|
330 | -8.059E-03, -8.305E-03, -8.613E-03, -9.134E-03, -1.023E-02, & |
---|
331 | -1.365E-02, -1.320E-02, -2.922E-03, -1.125E-03/ |
---|
332 | DATA B1_CSSSM_b2_19/1.007E-02, 1.008E-02, 1.012E-02, 1.019E-02, 1.024E-02, & |
---|
333 | 1.029E-02, 1.033E-02, 1.035E-02, 1.038E-02, 1.056E-02, & |
---|
334 | 1.083E-02, 1.109E-02, 1.140E-02, 1.194E-02, 1.270E-02, & |
---|
335 | 1.390E-02, 1.524E-02, 1.639E-02, 1.667E-02/ |
---|
336 | DATA B2_CSSSM_b2_19/4.675E-03, 4.682E-03, 4.760E-03, 4.908E-03, 5.004E-03, & |
---|
337 | 5.102E-03, 5.168E-03, 5.207E-03, 5.256E-03, 5.474E-03, & |
---|
338 | 5.793E-03, 6.089E-03, 6.457E-03, 7.081E-03, 7.923E-03, & |
---|
339 | 9.127E-03, 1.041E-02, 1.147E-02, 1.173E-02/ |
---|
340 | DATA C1_CSSSM_b2_19/7.571E-01, 7.571E-01, 7.570E-01, 7.568E-01, 7.565E-01, & |
---|
341 | 7.564E-01, 7.563E-01, 7.562E-01, 7.562E-01, 7.557E-01, & |
---|
342 | 7.552E-01, 7.545E-01, 7.539E-01, 7.527E-01, 7.509E-01, & |
---|
343 | 7.478E-01, 7.440E-01, 7.404E-01, 7.394E-01/ |
---|
344 | DATA C2_CSSSM_b2_19/4.464E-02, 4.465E-02, 4.468E-02, 4.474E-02, 4.477E-02, & |
---|
345 | 4.480E-02, 4.482E-02, 4.484E-02, 4.486E-02, 4.448E-02, & |
---|
346 | 4.389E-02, 4.334E-02, 4.264E-02, 4.148E-02, 3.957E-02, & |
---|
347 | 3.588E-02, 3.149E-02, 2.751E-02, 2.650E-02/ |
---|
348 | !SUPER COARSE MODE |
---|
349 | DATA A1_SSSSM_b2_19/2.357E-01, 2.490E-01, 2.666E-01, 2.920E-01, 3.120E-01, & |
---|
350 | 3.128E-01, 3.169E-01, 3.272E-01, 3.498E-01, 3.960E-01, & |
---|
351 | 4.822E-01, 5.634E-01, 6.763E-01, 8.278E-01, 1.047E+00, & |
---|
352 | 1.340E+00, 1.927E+00, 1.648E+00, 1.031E+00/ |
---|
353 | DATA A2_SSSSM_b2_19/1.219E-01, 1.337E-01, 1.633E-01, 1.929E-01, 2.057E-01, & |
---|
354 | 2.062E-01, 2.089E-01, 2.155E-01, 2.300E-01, 2.560E-01, & |
---|
355 | 2.908E-01, 3.199E-01, 3.530E-01, 3.965E-01, 4.475E-01, & |
---|
356 | 5.443E-01, 7.943E-01, 6.928E-01, 4.381E-01/ |
---|
357 | DATA A3_SSSSM_b2_19/-2.387E-03, -2.599E-03, -3.092E-03, -3.599E-03, -3.832E-03, & |
---|
358 | -3.842E-03, -3.890E-03, -4.012E-03, -4.276E-03, -4.763E-03, & |
---|
359 | -5.455E-03, -6.051E-03, -6.763E-03, -7.708E-03, -8.887E-03, & |
---|
360 | -1.091E-02, -1.585E-02, -1.373E-02, -8.665E-03/ |
---|
361 | DATA B1_SSSSM_b2_19/1.260E-02, 1.211E-02, 1.126E-02, 1.056E-02, 1.038E-02, & |
---|
362 | 1.037E-02, 1.033E-02, 1.023E-02, 1.002E-02, 9.717E-03, & |
---|
363 | 9.613E-03, 9.652E-03, 9.983E-03, 1.047E-02, 1.168E-02, & |
---|
364 | 1.301E-02, 1.399E-02, 1.514E-02, 1.578E-02/ |
---|
365 | DATA B2_SSSSM_b2_19/2.336E-03, 2.419E-03, 2.506E-03, 2.610E-03, 2.690E-03, & |
---|
366 | 2.694E-03, 2.711E-03, 2.752E-03, 2.844E-03, 3.043E-03, & |
---|
367 | 3.455E-03, 3.871E-03, 4.507E-03, 5.373E-03, 6.786E-03, & |
---|
368 | 8.238E-03, 9.208E-03, 1.032E-02, 1.091E-02/ |
---|
369 | DATA C1_SSSSM_b2_19/7.832E-01, 7.787E-01, 7.721E-01, 7.670E-01, 7.657E-01, & |
---|
370 | 7.657E-01, 7.654E-01, 7.648E-01, 7.634E-01, 7.613E-01, & |
---|
371 | 7.596E-01, 7.585E-01, 7.574E-01, 7.560E-01, 7.533E-01, & |
---|
372 | 7.502E-01, 7.476E-01, 7.443E-01, 7.423E-01/ |
---|
373 | DATA C2_SSSSM_b2_19/3.144E-02, 3.268E-02, 3.515E-02, 3.748E-02, 3.837E-02, & |
---|
374 | 3.840E-02, 3.860E-02, 3.906E-02, 4.006E-02, 4.173E-02, & |
---|
375 | 4.338E-02, 4.435E-02, 4.459E-02, 4.467E-02, 4.202E-02, & |
---|
376 | 3.864E-02, 3.559E-02, 3.183E-02, 2.964E-02/ |
---|
377 | !*************************************************************************** |
---|
378 | |
---|
379 | spsol = 0 |
---|
380 | spinsol = 0 |
---|
381 | spss = 0 |
---|
382 | |
---|
383 | DATA alpha_aers_2bands/ & |
---|
384 | ! bc soluble |
---|
385 | 7.675,7.675,7.675,7.675,7.675,7.675, & |
---|
386 | 7.675,7.675,10.433,11.984,13.767,15.567,& |
---|
387 | 4.720,4.720,4.720,4.720,4.720,4.720, & |
---|
388 | 4.720,4.720,6.081,6.793,7.567,9.344, & |
---|
389 | ! pom soluble |
---|
390 | 5.503,5.503,5.503,5.503,5.588,5.957, & |
---|
391 | 6.404,7.340,8.545,10.319,13.595,20.398, & |
---|
392 | 1.402,1.402,1.402,1.402,1.431,1.562, & |
---|
393 | 1.715,2.032,2.425,2.991,4.193,7.133, & |
---|
394 | ! sulfate |
---|
395 | 4.681,5.062,5.460,5.798,6.224,6.733, & |
---|
396 | 7.556,8.613,10.687,12.265,16.32,21.692, & |
---|
397 | 1.107,1.239,1.381,1.490,1.635,1.8030, & |
---|
398 | 2.071,2.407,3.126,3.940,5.539,7.921, & |
---|
399 | ! sulfate coarse |
---|
400 | 4.681,5.062,5.460,5.798,6.224,6.733, & |
---|
401 | 7.556,8.613,10.687,12.265,16.32,21.692, & |
---|
402 | 1.107,1.239,1.381,1.490,1.635,1.8030, & |
---|
403 | 2.071,2.407,3.126,3.940,5.539,7.921, & |
---|
404 | ! seasalt Super Coarse Soluble (SS) |
---|
405 | 0.5090,0.6554,0.7129,0.7767,0.8529,1.2728, & |
---|
406 | 1.3820,1.5792,1.9173,2.2002,2.7173,4.1487, & |
---|
407 | 0.5167,0.6613,0.7221,0.7868,0.8622,1.3027, & |
---|
408 | 1.4227,1.6317,1.9887,2.2883,2.8356,4.3453, & |
---|
409 | ! seasalt Coarse Soluble (CS) |
---|
410 | 0.5090,0.6554,0.7129,0.7767,0.8529,1.2728, & |
---|
411 | 1.3820,1.5792,1.9173,2.2002,2.7173,4.1487, & |
---|
412 | 0.5167,0.6613,0.7221,0.7868,0.8622,1.3027, & |
---|
413 | 1.4227,1.6317,1.9887,2.2883,2.8356,4.3453, & |
---|
414 | ! seasalt Accumulation Soluble (AS) |
---|
415 | 4.125, 4.674, 5.005, 5.434, 5.985, 10.006, & |
---|
416 | 11.175,13.376,17.264,20.540,26.604, 42.349,& |
---|
417 | 4.187, 3.939, 3.919, 3.937, 3.995, 5.078, & |
---|
418 | 5.511, 6.434, 8.317,10.152,14.024, 26.537/ |
---|
419 | |
---|
420 | DATA alpha_aeri_2bands/ & |
---|
421 | ! dust insoluble |
---|
422 | 0.7661,0.7123,& |
---|
423 | ! bc insoluble |
---|
424 | 10.360,4.437, & |
---|
425 | ! pom insoluble |
---|
426 | 3.741,0.606/ |
---|
427 | |
---|
428 | DATA cg_aers_2bands/ & |
---|
429 | ! bc soluble |
---|
430 | .612, .612, .612, .612, .612, .612, & |
---|
431 | .612, .612, .702, .734, .760, .796, & |
---|
432 | .433, .433, .433, .433, .433, .433, & |
---|
433 | .433, .433, .534, .575, .613, .669, & |
---|
434 | ! pom soluble |
---|
435 | .663, .663, .663, .663, .666, .674, & |
---|
436 | .685, .702, .718, .737, .757, .777, & |
---|
437 | .544, .544, .544, .544, .547, .554, & |
---|
438 | .565, .583, .604, .631, .661, .698, & |
---|
439 | ! sulfate |
---|
440 | .658, .669, .680, .688, .698, .707, & |
---|
441 | .719, .733, .752, .760, .773, .786, & |
---|
442 | .544, .555, .565, .573, .583, .593, & |
---|
443 | .610, .628, .655, .666, .692, .719, & |
---|
444 | ! sulfate coarse |
---|
445 | .658, .669, .680, .688, .698, .707, & |
---|
446 | .719, .733, .752, .760, .773, .786, & |
---|
447 | .544, .555, .565, .573, .583, .593, & |
---|
448 | .610, .628, .655, .666, .692, .719, & |
---|
449 | ! seasalt Super Coarse soluble (SS) |
---|
450 | .727, .747, .755, .761, .770, .788, & |
---|
451 | .792, .799, .805, .809, .815, .826, & |
---|
452 | .717, .738, .745, .752, .761, .779, & |
---|
453 | .781, .786, .793, .797, .803, .813, & |
---|
454 | ! seasalt Coarse soluble (CS) |
---|
455 | .727, .747, .755, .761, .770, .788, & |
---|
456 | .792, .799, .805, .809, .815, .826, & |
---|
457 | .717, .738, .745, .752, .761, .779, & |
---|
458 | .781, .786, .793, .797, .803, .813, & |
---|
459 | ! Sesalt Accumulation Soluble (AS) |
---|
460 | .727, .741, .748, .754, .761, .782, & |
---|
461 | .787, .792, .797, .799, .801, .799, & |
---|
462 | .606, .645, .658, .669, .681, .726, & |
---|
463 | .734, .746, .761, .770, .782, .798/ |
---|
464 | |
---|
465 | DATA cg_aeri_2bands/ & |
---|
466 | ! dust insoluble |
---|
467 | .701, .670, & |
---|
468 | ! bc insoluble |
---|
469 | .471, .297, & |
---|
470 | ! pom insoluble |
---|
471 | .568, .365/ |
---|
472 | |
---|
473 | DATA piz_aers_2bands/& |
---|
474 | ! bc soluble |
---|
475 | .445, .445, .445, .445, .445, .445, & |
---|
476 | .445, .445, .461, .480, .505, .528, & |
---|
477 | .362, .362, .362, .362, .362, .362, & |
---|
478 | .362, .362, .381, .405, .437, .483, & |
---|
479 | ! pom soluble |
---|
480 | .972, .972, .972, .972, .972, .974, & |
---|
481 | .976, .979, .982, .986, .989, .992, & |
---|
482 | .924, .924, .924, .924, .925, .927, & |
---|
483 | .932, .938, .945, .952, .961, .970, & |
---|
484 | ! sulfate |
---|
485 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
486 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
487 | .992, .988, .988, .987, .986, .985, & |
---|
488 | .985, .985, .984, .984, .984, .984, & |
---|
489 | ! sulfate coarse |
---|
490 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
491 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
492 | .992, .988, .988, .987, .986, .985, & |
---|
493 | .985, .985, .984, .984, .984, .984, & |
---|
494 | ! seasalt Super Coarse Soluble (SS) |
---|
495 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
496 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
497 | 0.992,0.989,0.987,0.986,0.986,0.980, & |
---|
498 | 0.980,0.978,0.976,0.976,0.974,0.971, & |
---|
499 | ! seasalt Coarse soluble (CS) |
---|
500 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
501 | 1.000,1.000,1.000,1.000,1.000,1.000, & |
---|
502 | 0.992,0.989,0.987,0.986,0.986,0.980, & |
---|
503 | 0.980,0.978,0.976,0.976,0.974,0.971, & |
---|
504 | ! seasalt Accumulation Soluble (AS) |
---|
505 | 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, & |
---|
506 | 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, & |
---|
507 | 0.970, 0.975, 0.976, 0.977, 0.978, 0.982, & |
---|
508 | 0.982, 0.983, 0.984, 0.984, 0.985, 0.985/ |
---|
509 | |
---|
510 | DATA piz_aeri_2bands/ & |
---|
511 | ! dust insoluble |
---|
512 | .963, .987, & |
---|
513 | ! bc insoluble |
---|
514 | .395, .264, & |
---|
515 | ! pom insoluble |
---|
516 | .966, .859/ |
---|
517 | |
---|
518 | ! Interpolation des coefficients optiques de 19 niveaux vers le nombre des niveaux du model |
---|
519 | IF (firstcall) THEN |
---|
520 | firstcall=.FALSE. |
---|
521 | |
---|
522 | IF (.NOT. ALLOCATED(A1_ASSSM_b1)) THEN |
---|
523 | ALLOCATE(A1_ASSSM_b1(klev),A2_ASSSM_b1(klev), A3_ASSSM_b1(klev),& |
---|
524 | B1_ASSSM_b1(klev), B2_ASSSM_b1(klev), C1_ASSSM_b1(klev), C2_ASSSM_b1(klev),& |
---|
525 | A1_CSSSM_b1(klev), A2_CSSSM_b1(klev), A3_CSSSM_b1(klev),& |
---|
526 | B1_CSSSM_b1(klev), B2_CSSSM_b1(klev), C1_CSSSM_b1(klev), C2_CSSSM_b1(klev),& |
---|
527 | A1_SSSSM_b1(klev), A2_SSSSM_b1(klev), A3_SSSSM_b1(klev),& |
---|
528 | B1_SSSSM_b1(klev), B2_SSSSM_b1(klev), C1_SSSSM_b1(klev), C2_SSSSM_b1(klev),& |
---|
529 | A1_ASSSM_b2(klev), A2_ASSSM_b2(klev), A3_ASSSM_b2(klev),& |
---|
530 | B1_ASSSM_b2(klev), B2_ASSSM_b2(klev), C1_ASSSM_b2(klev), C2_ASSSM_b2(klev),& |
---|
531 | A1_CSSSM_b2(klev), A2_CSSSM_b2(klev), A3_CSSSM_b2(klev),& |
---|
532 | B1_CSSSM_b2(klev), B2_CSSSM_b2(klev), C1_CSSSM_b2(klev), C2_CSSSM_b2(klev),& |
---|
533 | A1_SSSSM_b2(klev), A2_SSSSM_b2(klev), A3_SSSSM_b2(klev),& |
---|
534 | B1_SSSSM_b2(klev), B2_SSSSM_b2(klev), C1_SSSSM_b2(klev), C2_SSSSM_b2(klev), stat=ierr) |
---|
535 | IF (ierr /= 0) CALL abort_gcm('aeropt_2bands', 'pb in allocation 1',1) |
---|
536 | END IF |
---|
537 | |
---|
538 | ! bande 1 |
---|
539 | CALL pres2lev(A1_ASSSM_b1_19, A1_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
540 | CALL pres2lev(A2_ASSSM_b1_19, A2_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
541 | CALL pres2lev(A3_ASSSM_b1_19, A3_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
542 | CALL pres2lev(B1_ASSSM_b1_19, B1_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
543 | CALL pres2lev(B2_ASSSM_b1_19, B2_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
544 | CALL pres2lev(C1_ASSSM_b1_19, C1_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
545 | CALL pres2lev(C2_ASSSM_b1_19, C2_ASSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
546 | |
---|
547 | CALL pres2lev(A1_CSSSM_b1_19, A1_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
548 | CALL pres2lev(A2_CSSSM_b1_19, A2_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
549 | CALL pres2lev(A3_CSSSM_b1_19, A3_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
550 | CALL pres2lev(B1_CSSSM_b1_19, B1_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
551 | CALL pres2lev(B2_CSSSM_b1_19, B2_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
552 | CALL pres2lev(C1_CSSSM_b1_19, C1_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
553 | CALL pres2lev(C2_CSSSM_b1_19, C2_CSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
554 | |
---|
555 | CALL pres2lev(A1_SSSSM_b1_19, A1_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
556 | CALL pres2lev(A2_SSSSM_b1_19, A2_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
557 | CALL pres2lev(A3_SSSSM_b1_19, A3_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
558 | CALL pres2lev(B1_SSSSM_b1_19, B1_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
559 | CALL pres2lev(B2_SSSSM_b1_19, B2_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
560 | CALL pres2lev(C1_SSSSM_b1_19, C1_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
561 | CALL pres2lev(C2_SSSSM_b1_19, C2_SSSSM_b1, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
562 | |
---|
563 | ! bande 2 |
---|
564 | CALL pres2lev(A1_ASSSM_b2_19, A1_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
565 | CALL pres2lev(A2_ASSSM_b2_19, A2_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
566 | CALL pres2lev(A3_ASSSM_b2_19, A3_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
567 | CALL pres2lev(B1_ASSSM_b2_19, B1_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
568 | CALL pres2lev(B2_ASSSM_b2_19, B2_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
569 | CALL pres2lev(C1_ASSSM_b2_19, C1_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
570 | CALL pres2lev(C2_ASSSM_b2_19, C2_ASSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
571 | |
---|
572 | CALL pres2lev(A1_CSSSM_b2_19, A1_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
573 | CALL pres2lev(A2_CSSSM_b2_19, A2_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
574 | CALL pres2lev(A3_CSSSM_b2_19, A3_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
575 | CALL pres2lev(B1_CSSSM_b2_19, B1_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
576 | CALL pres2lev(B2_CSSSM_b2_19, B2_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
577 | CALL pres2lev(C1_CSSSM_b2_19, C1_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
578 | CALL pres2lev(C2_CSSSM_b2_19, C2_CSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
579 | |
---|
580 | CALL pres2lev(A1_SSSSM_b2_19, A1_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
581 | CALL pres2lev(A2_SSSSM_b2_19, A2_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
582 | CALL pres2lev(A3_SSSSM_b2_19, A3_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
583 | CALL pres2lev(B1_SSSSM_b2_19, B1_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
584 | CALL pres2lev(B2_SSSSM_b2_19, B2_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
585 | CALL pres2lev(C1_SSSSM_b2_19, C1_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
586 | CALL pres2lev(C2_SSSSM_b2_19, C2_SSSSM_b2, nb_level, klev, presnivs_19, presnivs, 1, 1, .FALSE.) |
---|
587 | |
---|
588 | END IF ! firstcall |
---|
589 | |
---|
590 | |
---|
591 | DO k=1, klev |
---|
592 | DO i=1, klon |
---|
593 | zrho=pplay(i,k)/t_seri(i,k)/RD ! kg/m3 |
---|
594 | !CDIR UNROLL=naero_spc |
---|
595 | mass_temp(i,k,:) = m_allaer(i,k,:) / zrho / 1.e+9 |
---|
596 | !RAF zrho |
---|
597 | !CDIR UNROLL=naero_spc |
---|
598 | mass_temp_pi(i,k,:) = m_allaer_pi(i,k,:) / zrho / 1.e+9 |
---|
599 | zdp1(i,k)=pdel(i,k)/(gravit*delt) ! air mass auxiliary variable --> zdp1 [kg/(m^2 *s)] |
---|
600 | ENDDO |
---|
601 | ENDDO |
---|
602 | |
---|
603 | IF (flag_aerosol .EQ. 1) THEN |
---|
604 | nb_aer = 2 |
---|
605 | ALLOCATE (aerosol_name(nb_aer)) |
---|
606 | aerosol_name(1) = id_ASSO4M |
---|
607 | aerosol_name(2) = id_CSSO4M |
---|
608 | ELSEIF (flag_aerosol .EQ. 2) THEN |
---|
609 | nb_aer = 2 |
---|
610 | ALLOCATE (aerosol_name(nb_aer)) |
---|
611 | aerosol_name(1) = id_ASBCM |
---|
612 | aerosol_name(2) = id_AIBCM |
---|
613 | ELSEIF (flag_aerosol .EQ. 3) THEN |
---|
614 | nb_aer = 2 |
---|
615 | ALLOCATE (aerosol_name(nb_aer)) |
---|
616 | aerosol_name(1) = id_ASPOMM |
---|
617 | aerosol_name(2) = id_AIPOMM |
---|
618 | ELSEIF (flag_aerosol .EQ. 4) THEN |
---|
619 | nb_aer = 3 |
---|
620 | ALLOCATE (aerosol_name(nb_aer)) |
---|
621 | aerosol_name(1) = id_CSSSM |
---|
622 | aerosol_name(2) = id_SSSSM |
---|
623 | aerosol_name(3) = id_ASSSM |
---|
624 | ELSEIF (flag_aerosol .EQ. 5) THEN |
---|
625 | nb_aer = 1 |
---|
626 | ALLOCATE (aerosol_name(nb_aer)) |
---|
627 | aerosol_name(1) = id_CIDUSTM |
---|
628 | ELSEIF (flag_aerosol .EQ. 6) THEN |
---|
629 | nb_aer = 10 |
---|
630 | ALLOCATE (aerosol_name(nb_aer)) |
---|
631 | aerosol_name(1) = id_ASSO4M |
---|
632 | aerosol_name(2) = id_ASBCM |
---|
633 | aerosol_name(3) = id_AIBCM |
---|
634 | aerosol_name(4) = id_ASPOMM |
---|
635 | aerosol_name(5) = id_AIPOMM |
---|
636 | aerosol_name(6) = id_CSSSM |
---|
637 | aerosol_name(7) = id_SSSSM |
---|
638 | aerosol_name(8) = id_ASSSM |
---|
639 | aerosol_name(9) = id_CIDUSTM |
---|
640 | aerosol_name(10)= id_CSSO4M |
---|
641 | ENDIF |
---|
642 | |
---|
643 | |
---|
644 | ! |
---|
645 | ! loop over modes, use of precalculated nmd and corresponding sigma |
---|
646 | ! loop over wavelengths |
---|
647 | ! for each mass species in mode |
---|
648 | ! interpolate from Sext to retrieve Sext_at_gridpoint_per_species |
---|
649 | ! compute optical_thickness_at_gridpoint_per_species |
---|
650 | |
---|
651 | |
---|
652 | |
---|
653 | !!CDIR ON_ADB(RH_tab) |
---|
654 | !CDIR ON_ADB(fact_RH) |
---|
655 | !CDIR SHORTLOOP |
---|
656 | DO n=1,nbre_RH-1 |
---|
657 | fact_RH(n)=1./(RH_tab(n+1)-RH_tab(n)) |
---|
658 | ENDDO |
---|
659 | |
---|
660 | DO k=1, KLEV |
---|
661 | !!CDIR ON_ADB(RH_tab) |
---|
662 | !CDIR ON_ADB(fact_RH) |
---|
663 | DO i=1, KLON |
---|
664 | rh(i,k)=MIN(RHcl(i,k)*100.,RH_MAX) |
---|
665 | RH_num(i,k) = INT( rh(i,k)/10. + 1.) |
---|
666 | IF (rh(i,k).GT.85.) RH_num(i,k)=10 |
---|
667 | IF (rh(i,k).GT.90.) RH_num(i,k)=11 |
---|
668 | |
---|
669 | DELTA(i,k)=(rh(i,k)-RH_tab(RH_num(i,k)))*fact_RH(RH_num(i,k)) |
---|
670 | ENDDO |
---|
671 | ENDDO |
---|
672 | |
---|
673 | used_aer(:)=.FALSE. |
---|
674 | |
---|
675 | DO m=1,nb_aer ! tau is only computed for each mass |
---|
676 | fac=1.0 |
---|
677 | IF (aerosol_name(m).EQ.id_ASBCM) THEN |
---|
678 | soluble=.TRUE. |
---|
679 | spsol=1 |
---|
680 | spss=0 |
---|
681 | ELSEIF (aerosol_name(m).EQ.id_ASPOMM) THEN |
---|
682 | soluble=.TRUE. |
---|
683 | spsol=2 |
---|
684 | spss=0 |
---|
685 | ELSEIF (aerosol_name(m).EQ.id_ASSO4M) THEN |
---|
686 | soluble=.TRUE. |
---|
687 | spsol=3 |
---|
688 | spss=0 |
---|
689 | fac=1.375 ! (NH4)2-SO4/SO4 132/96 mass conversion factor for OD |
---|
690 | ELSEIF (aerosol_name(m).EQ.id_CSSO4M) THEN |
---|
691 | soluble=.TRUE. |
---|
692 | spsol=4 |
---|
693 | spss=0 |
---|
694 | fac=1.375 ! (NH4)2-SO4/SO4 132/96 mass conversion factor for OD |
---|
695 | ELSEIF (aerosol_name(m).EQ.id_SSSSM) THEN |
---|
696 | soluble=.TRUE. |
---|
697 | spsol=5 |
---|
698 | spss=3 |
---|
699 | ELSEIF (aerosol_name(m).EQ.id_CSSSM) THEN |
---|
700 | soluble=.TRUE. |
---|
701 | spsol=6 |
---|
702 | spss=2 |
---|
703 | ELSEIF (aerosol_name(m).EQ.id_ASSSM) THEN |
---|
704 | soluble=.TRUE. |
---|
705 | spsol=7 |
---|
706 | spss=1 |
---|
707 | ELSEIF (aerosol_name(m).EQ.id_CIDUSTM) THEN |
---|
708 | soluble=.FALSE. |
---|
709 | spinsol=1 |
---|
710 | spss=0 |
---|
711 | ELSEIF (aerosol_name(m).EQ.id_AIBCM) THEN |
---|
712 | soluble=.FALSE. |
---|
713 | spinsol=2 |
---|
714 | spss=0 |
---|
715 | ELSEIF (aerosol_name(m).EQ.id_AIPOMM) THEN |
---|
716 | soluble=.FALSE. |
---|
717 | spinsol=3 |
---|
718 | spss=0 |
---|
719 | ELSE |
---|
720 | CYCLE |
---|
721 | ENDIF |
---|
722 | |
---|
723 | id=aerosol_name(m) |
---|
724 | used_aer(id)=.TRUE. |
---|
725 | |
---|
726 | |
---|
727 | IF (soluble) THEN |
---|
728 | |
---|
729 | IF (spss.NE.0) THEN |
---|
730 | |
---|
731 | IF (spss.EQ.1) THEN !accumulation mode |
---|
732 | DO k=1, KLEV |
---|
733 | !CDIR ON_ADB(A1_ASSSM_b1) |
---|
734 | !CDIR ON_ADB(A2_ASSSM_b1) |
---|
735 | !CDIR ON_ADB(A3_ASSSM_b1) |
---|
736 | !CDIR ON_ADB(B1_ASSSM_b1) |
---|
737 | !CDIR ON_ADB(B2_ASSSM_b1) |
---|
738 | !CDIR ON_ADB(C1_ASSSM_b1) |
---|
739 | !CDIR ON_ADB(C2_ASSSM_b2) |
---|
740 | !CDIR ON_ADB(A1_ASSSM_b2) |
---|
741 | !CDIR ON_ADB(A2_ASSSM_b2) |
---|
742 | !CDIR ON_ADB(A3_ASSSM_b2) |
---|
743 | !CDIR ON_ADB(B1_ASSSM_b2) |
---|
744 | !CDIR ON_ADB(B2_ASSSM_b2) |
---|
745 | !CDIR ON_ADB(C1_ASSSM_b2) |
---|
746 | !CDIR ON_ADB(C2_ASSSM_b2) |
---|
747 | DO i=1, KLON |
---|
748 | H=rh(i,k)/100 |
---|
749 | tmp_var=mass_temp(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
750 | tmp_var_pi=mass_temp_pi(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
751 | |
---|
752 | ! band 1 |
---|
753 | tau_ae2b_int=A1_ASSSM_b1(k)+A2_ASSSM_b1(k)*H+A3_ASSSM_b1(k)/(H-1.05) |
---|
754 | piz_ae2b_int=1-B1_ASSSM_b1(k)-B2_ASSSM_b1(k)*H |
---|
755 | cg_ae2b_int=C1_ASSSM_b1(k)+C2_ASSSM_b1(k)*H |
---|
756 | |
---|
757 | tau_ae(i,k,id,1) = tmp_var*tau_ae2b_int |
---|
758 | tau_ae_pi(i,k,id,1) = tmp_var_pi* tau_ae2b_int |
---|
759 | piz_ae(i,k,id,1) = piz_ae2b_int |
---|
760 | cg_ae(i,k,id,1)= cg_ae2b_int |
---|
761 | |
---|
762 | !band 2 |
---|
763 | tau_ae2b_int=A1_ASSSM_b2(k)+A2_ASSSM_b2(k)*H+A3_ASSSM_b2(k)/(H-1.05) |
---|
764 | piz_ae2b_int=1-B1_ASSSM_b2(k)-B2_ASSSM_b2(k)*H |
---|
765 | cg_ae2b_int=C1_ASSSM_b2(k)+C2_ASSSM_b2(k)*H |
---|
766 | |
---|
767 | tau_ae(i,k,id,2) = tmp_var*tau_ae2b_int |
---|
768 | tau_ae_pi(i,k,id,2) = tmp_var_pi* tau_ae2b_int |
---|
769 | piz_ae(i,k,id,2) = piz_ae2b_int |
---|
770 | cg_ae(i,k,id,2)= cg_ae2b_int |
---|
771 | |
---|
772 | ENDDO |
---|
773 | ENDDO |
---|
774 | ENDIF |
---|
775 | |
---|
776 | IF (spss.EQ.2) THEN !coarse mode |
---|
777 | DO k=1, KLEV |
---|
778 | !CDIR ON_ADB(A1_CSSSM_b1) |
---|
779 | !CDIR ON_ADB(A2_CSSSM_b1) |
---|
780 | !CDIR ON_ADB(A3_CSSSM_b1) |
---|
781 | !CDIR ON_ADB(B1_CSSSM_b1) |
---|
782 | !CDIR ON_ADB(B2_CSSSM_b1) |
---|
783 | !CDIR ON_ADB(C1_CSSSM_b1) |
---|
784 | !CDIR ON_ADB(C2_CSSSM_b2) |
---|
785 | !CDIR ON_ADB(A1_CSSSM_b2) |
---|
786 | !CDIR ON_ADB(A2_CSSSM_b2) |
---|
787 | !CDIR ON_ADB(A3_CSSSM_b2) |
---|
788 | !CDIR ON_ADB(B1_CSSSM_b2) |
---|
789 | !CDIR ON_ADB(B2_CSSSM_b2) |
---|
790 | !CDIR ON_ADB(C1_CSSSM_b2) |
---|
791 | !CDIR ON_ADB(C2_CSSSM_b2) |
---|
792 | DO i=1, KLON |
---|
793 | H=rh(i,k)/100 |
---|
794 | tmp_var=mass_temp(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
795 | tmp_var_pi=mass_temp_pi(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
796 | ! band 1 |
---|
797 | tau_ae2b_int=A1_CSSSM_b1(k)+A2_CSSSM_b1(k)*H+A3_CSSSM_b1(k)/(H-1.05) |
---|
798 | piz_ae2b_int=1-B1_CSSSM_b1(k)-B2_CSSSM_b1(k)*H |
---|
799 | cg_ae2b_int=C1_CSSSM_b1(k)+C2_CSSSM_b1(k)*H |
---|
800 | |
---|
801 | tau_ae(i,k,id,1) = tmp_var*tau_ae2b_int |
---|
802 | tau_ae_pi(i,k,id,1) = tmp_var_pi* tau_ae2b_int |
---|
803 | piz_ae(i,k,id,1) = piz_ae2b_int |
---|
804 | cg_ae(i,k,id,1)= cg_ae2b_int |
---|
805 | |
---|
806 | ! band 2 |
---|
807 | tau_ae2b_int=A1_CSSSM_b2(k)+A2_CSSSM_b2(k)*H+A3_CSSSM_b2(k)/(H-1.05) |
---|
808 | piz_ae2b_int=1-B1_CSSSM_b2(k)-B2_CSSSM_b2(k)*H |
---|
809 | cg_ae2b_int=C1_CSSSM_b2(k)+C2_CSSSM_b2(k)*H |
---|
810 | |
---|
811 | tau_ae(i,k,id,2) = tmp_var*tau_ae2b_int |
---|
812 | tau_ae_pi(i,k,id,2) = tmp_var_pi* tau_ae2b_int |
---|
813 | piz_ae(i,k,id,2) = piz_ae2b_int |
---|
814 | cg_ae(i,k,id,2)= cg_ae2b_int |
---|
815 | |
---|
816 | ENDDO |
---|
817 | ENDDO |
---|
818 | ENDIF |
---|
819 | |
---|
820 | IF (spss.EQ.3) THEN !super coarse mode |
---|
821 | DO k=1, KLEV |
---|
822 | !CDIR ON_ADB(A1_SSSSM_b1) |
---|
823 | !CDIR ON_ADB(A2_SSSSM_b1) |
---|
824 | !CDIR ON_ADB(A3_SSSSM_b1) |
---|
825 | !CDIR ON_ADB(B1_SSSSM_b1) |
---|
826 | !CDIR ON_ADB(B2_SSSSM_b1) |
---|
827 | !CDIR ON_ADB(C1_SSSSM_b1) |
---|
828 | !CDIR ON_ADB(C2_SSSSM_b2) |
---|
829 | !CDIR ON_ADB(A1_SSSSM_b2) |
---|
830 | !CDIR ON_ADB(A2_SSSSM_b2) |
---|
831 | !CDIR ON_ADB(A3_SSSSM_b2) |
---|
832 | !CDIR ON_ADB(B1_SSSSM_b2) |
---|
833 | !CDIR ON_ADB(B2_SSSSM_b2) |
---|
834 | !CDIR ON_ADB(C1_SSSSM_b2) |
---|
835 | !CDIR ON_ADB(C2_SSSSM_b2) |
---|
836 | DO i=1, KLON |
---|
837 | H=rh(i,k)/100 |
---|
838 | tmp_var=mass_temp(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
839 | tmp_var_pi=mass_temp_pi(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
840 | |
---|
841 | ! band 1 |
---|
842 | tau_ae2b_int=A1_SSSSM_b1(k)+A2_SSSSM_b1(k)*H+A3_SSSSM_b1(k)/(H-1.05) |
---|
843 | piz_ae2b_int=1-B1_SSSSM_b1(k)-B2_SSSSM_b1(k)*H |
---|
844 | cg_ae2b_int=C1_SSSSM_b1(k)+C2_SSSSM_b1(k)*H |
---|
845 | |
---|
846 | tau_ae(i,k,id,1) = tmp_var*tau_ae2b_int |
---|
847 | tau_ae_pi(i,k,id,1) = tmp_var_pi* tau_ae2b_int |
---|
848 | piz_ae(i,k,id,1) = piz_ae2b_int |
---|
849 | cg_ae(i,k,id,1)= cg_ae2b_int |
---|
850 | |
---|
851 | ! band 2 |
---|
852 | tau_ae2b_int=A1_SSSSM_b2(k)+A2_SSSSM_b2(k)*H+A3_SSSSM_b2(k)/(H-1.05) |
---|
853 | piz_ae2b_int=1-B1_SSSSM_b2(k)-B2_SSSSM_b2(k)*H |
---|
854 | cg_ae2b_int=C1_SSSSM_b2(k)+C2_SSSSM_b2(k)*H |
---|
855 | |
---|
856 | tau_ae(i,k,id,2) = tmp_var*tau_ae2b_int |
---|
857 | tau_ae_pi(i,k,id,2) = tmp_var_pi* tau_ae2b_int |
---|
858 | piz_ae(i,k,id,2) = piz_ae2b_int |
---|
859 | cg_ae(i,k,id,2)= cg_ae2b_int |
---|
860 | |
---|
861 | ENDDO |
---|
862 | ENDDO |
---|
863 | ENDIF |
---|
864 | |
---|
865 | ELSE |
---|
866 | |
---|
867 | !CDIR ON_ADB(alpha_aers_2bands) |
---|
868 | !CDIR ON_ADB(piz_aers_2bands) |
---|
869 | !CDIR ON_ADB(cg_aers_2bands) |
---|
870 | DO k=1, KLEV |
---|
871 | DO i=1, KLON |
---|
872 | tmp_var=mass_temp(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
873 | tmp_var_pi=mass_temp_pi(i,k,spsol)*1000.*zdp1(i,k)*delt*fac |
---|
874 | !CDIR UNROLL=nbands |
---|
875 | DO inu=1,nbands |
---|
876 | |
---|
877 | tau_ae2b_int= alpha_aers_2bands(RH_num(i,k),inu,spsol)+ & |
---|
878 | DELTA(i,k)* (alpha_aers_2bands(RH_num(i,k)+1,inu,spsol) - & |
---|
879 | alpha_aers_2bands(RH_num(i,k),inu,spsol)) |
---|
880 | |
---|
881 | piz_ae2b_int = piz_aers_2bands(RH_num(i,k),inu,spsol) + & |
---|
882 | DELTA(i,k)* (piz_aers_2bands(RH_num(i,k)+1,inu,spsol) - & |
---|
883 | piz_aers_2bands(RH_num(i,k),inu,spsol)) |
---|
884 | |
---|
885 | cg_ae2b_int = cg_aers_2bands(RH_num(i,k),inu,spsol) + & |
---|
886 | DELTA(i,k)* (cg_aers_2bands(RH_num(i,k)+1,inu,spsol) - & |
---|
887 | cg_aers_2bands(RH_num(i,k),inu,spsol)) |
---|
888 | |
---|
889 | tau_ae(i,k,id,inu) = tmp_var*tau_ae2b_int |
---|
890 | tau_ae_pi(i,k,id,inu) = tmp_var_pi* tau_ae2b_int |
---|
891 | piz_ae(i,k,id,inu) = piz_ae2b_int |
---|
892 | cg_ae(i,k,id,inu)= cg_ae2b_int |
---|
893 | |
---|
894 | ENDDO |
---|
895 | ENDDO |
---|
896 | ENDDO |
---|
897 | |
---|
898 | ENDIF |
---|
899 | |
---|
900 | ELSE ! For all aerosol insoluble components |
---|
901 | |
---|
902 | !CDIR ON_ADB(alpha_aers_2bands) |
---|
903 | !CDIR ON_ADB(piz_aers_2bands) |
---|
904 | !CDIR ON_ADB(cg_aers_2bands) |
---|
905 | DO k=1, KLEV |
---|
906 | DO i=1, KLON |
---|
907 | tmp_var=mass_temp(i,k,naero_soluble+ spinsol)*1000.*zdp1(i,k)*delt*fac |
---|
908 | tmp_var_pi=mass_temp_pi(i,k,naero_soluble+spinsol)*1000.*zdp1(i,k)*delt*fac |
---|
909 | !CDIR UNROLL=nbands |
---|
910 | DO inu=1,nbands |
---|
911 | tau_ae2b_int = alpha_aeri_2bands(inu,spinsol) |
---|
912 | piz_ae2b_int = piz_aeri_2bands(inu,spinsol) |
---|
913 | cg_ae2b_int = cg_aeri_2bands(inu,spinsol) |
---|
914 | |
---|
915 | tau_ae(i,k,id,inu) = tmp_var*tau_ae2b_int |
---|
916 | tau_ae_pi(i,k,id,inu) = tmp_var_pi*tau_ae2b_int |
---|
917 | piz_ae(i,k,id,inu) = piz_ae2b_int |
---|
918 | cg_ae(i,k,id,inu)= cg_ae2b_int |
---|
919 | ENDDO |
---|
920 | ENDDO |
---|
921 | ENDDO |
---|
922 | |
---|
923 | ENDIF ! soluble |
---|
924 | |
---|
925 | ENDDO ! nb_aer |
---|
926 | |
---|
927 | DO m=1,nb_aer |
---|
928 | IF (.NOT. used_aer(m)) THEN |
---|
929 | tau_ae(:,:,:,:)=0. |
---|
930 | tau_ae_pi(:,:,:,:)=0. |
---|
931 | piz_ae(:,:,:,:)=0. |
---|
932 | cg_ae(:,:,:,:)=0. |
---|
933 | ENDIF |
---|
934 | ENDDO |
---|
935 | |
---|
936 | DO inu=1, nbands |
---|
937 | DO mrfspecies=1,naero_grp |
---|
938 | IF (mrfspecies .EQ. 2) THEN ! = total aerosol AER |
---|
939 | DO k=1, KLEV |
---|
940 | DO i=1, KLON |
---|
941 | tau_allaer(i,k,mrfspecies,inu)=tau_ae(i,k,id_ASSO4M,inu)+tau_ae(i,k,id_CSSO4M,inu)+ & |
---|
942 | tau_ae(i,k,id_ASBCM,inu)+tau_ae(i,k,id_AIBCM,inu)+ & |
---|
943 | tau_ae(i,k,id_ASPOMM,inu)+tau_ae(i,k,id_AIPOMM,inu)+ & |
---|
944 | tau_ae(i,k,id_ASSSM,inu)+tau_ae(i,k,id_CSSSM,inu)+ & |
---|
945 | tau_ae(i,k,id_SSSSM,inu)+ tau_ae(i,k,id_CIDUSTM,inu) |
---|
946 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
947 | |
---|
948 | piz_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASSO4M,inu)*piz_ae(i,k,id_ASSO4M,inu)+ & |
---|
949 | tau_ae(i,k,id_CSSO4M,inu)*piz_ae(i,k,id_CSSO4M,inu)+ & |
---|
950 | tau_ae(i,k,id_ASBCM,inu)*piz_ae(i,k,id_ASBCM,inu)+ & |
---|
951 | tau_ae(i,k,id_AIBCM,inu)*piz_ae(i,k,id_AIBCM,inu)+ & |
---|
952 | tau_ae(i,k,id_ASPOMM,inu)*piz_ae(i,k,id_ASPOMM,inu)+ & |
---|
953 | tau_ae(i,k,id_AIPOMM,inu)*piz_ae(i,k,id_AIPOMM,inu)+ & |
---|
954 | tau_ae(i,k,id_ASSSM,inu)*piz_ae(i,k,id_ASSSM,inu)+ & |
---|
955 | tau_ae(i,k,id_CSSSM,inu)*piz_ae(i,k,id_CSSSM,inu)+ & |
---|
956 | tau_ae(i,k,id_SSSSM,inu)*piz_ae(i,k,id_SSSSM,inu)+ & |
---|
957 | tau_ae(i,k,id_CIDUSTM,inu)*piz_ae(i,k,id_CIDUSTM,inu)) & |
---|
958 | /tau_allaer(i,k,mrfspecies,inu) |
---|
959 | piz_allaer(i,k,mrfspecies,inu)=MAX(piz_allaer(i,k,mrfspecies,inu),0.1) |
---|
960 | |
---|
961 | cg_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASSO4M,inu)*piz_ae(i,k,id_ASSO4M,inu)*cg_ae(i,k,id_ASSO4M,inu)+ & |
---|
962 | tau_ae(i,k,id_CSSO4M,inu)*piz_ae(i,k,id_CSSO4M,inu)*cg_ae(i,k,id_CSSO4M,inu)+ & |
---|
963 | tau_ae(i,k,id_ASBCM,inu)*piz_ae(i,k,id_ASBCM,inu)*cg_ae(i,k,id_ASBCM,inu)+ & |
---|
964 | tau_ae(i,k,id_AIBCM,inu)*piz_ae(i,k,id_AIBCM,inu)*cg_ae(i,k,id_AIBCM,inu)+ & |
---|
965 | tau_ae(i,k,id_ASPOMM,inu)*piz_ae(i,k,id_ASPOMM,inu)*cg_ae(i,k,id_ASPOMM,inu)+ & |
---|
966 | tau_ae(i,k,id_AIPOMM,inu)*piz_ae(i,k,id_AIPOMM,inu)*cg_ae(i,k,id_AIPOMM,inu)+ & |
---|
967 | tau_ae(i,k,id_ASSSM,inu)*piz_ae(i,k,id_ASSSM,inu)*cg_ae(i,k,id_ASSSM,inu)+ & |
---|
968 | tau_ae(i,k,id_CSSSM,inu)*piz_ae(i,k,id_CSSSM,inu)*cg_ae(i,k,id_CSSSM,inu)+ & |
---|
969 | tau_ae(i,k,id_SSSSM,inu)*piz_ae(i,k,id_SSSSM,inu)*cg_ae(i,k,id_SSSSM,inu)+ & |
---|
970 | tau_ae(i,k,id_CIDUSTM,inu)*piz_ae(i,k,id_CIDUSTM,inu)*cg_ae(i,k,id_CIDUSTM,inu))/ & |
---|
971 | (tau_allaer(i,k,mrfspecies,inu)*piz_allaer(i,k,mrfspecies,inu)) |
---|
972 | ENDDO |
---|
973 | ENDDO |
---|
974 | |
---|
975 | ELSEIF (mrfspecies .EQ. 3) THEN ! = natural aerosol NAT |
---|
976 | |
---|
977 | DO k=1, KLEV |
---|
978 | DO i=1, KLON |
---|
979 | !RAF |
---|
980 | tau_allaer(i,k,mrfspecies,inu)=tau_ae_pi(i,k,id_ASSO4M,inu)+ & |
---|
981 | tau_ae_pi(i,k,id_CSSO4M,inu)+ & |
---|
982 | tau_ae_pi(i,k,id_ASBCM,inu)+ & |
---|
983 | tau_ae_pi(i,k,id_AIBCM,inu)+ & |
---|
984 | tau_ae_pi(i,k,id_ASPOMM,inu)+ & |
---|
985 | tau_ae_pi(i,k,id_AIPOMM,inu)+ & |
---|
986 | tau_ae_pi(i,k,id_ASSSM,inu)+ & |
---|
987 | tau_ae_pi(i,k,id_CSSSM,inu)+ & |
---|
988 | tau_ae_pi(i,k,id_SSSSM,inu)+ & |
---|
989 | tau_ae_pi(i,k,id_CIDUSTM,inu) |
---|
990 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
991 | |
---|
992 | piz_allaer(i,k,mrfspecies,inu)=(tau_ae_pi(i,k,id_ASSO4M,inu)*piz_ae(i,k,id_ASSO4M,inu)+ & |
---|
993 | tau_ae_pi(i,k,id_CSSO4M,inu)*piz_ae(i,k,id_CSSO4M,inu)+ & |
---|
994 | tau_ae_pi(i,k,id_ASBCM,inu)*piz_ae(i,k,id_ASBCM,inu)+ & |
---|
995 | tau_ae_pi(i,k,id_AIBCM,inu)*piz_ae(i,k,id_AIBCM,inu)+ & |
---|
996 | tau_ae_pi(i,k,id_ASPOMM,inu)*piz_ae(i,k,id_ASPOMM,inu)+ & |
---|
997 | tau_ae_pi(i,k,id_AIPOMM,inu)*piz_ae(i,k,id_AIPOMM,inu)+ & |
---|
998 | tau_ae_pi(i,k,id_ASSSM,inu)*piz_ae(i,k,id_ASSSM,inu)+ & |
---|
999 | tau_ae_pi(i,k,id_CSSSM,inu)*piz_ae(i,k,id_CSSSM,inu)+ & |
---|
1000 | tau_ae_pi(i,k,id_SSSSM,inu)*piz_ae(i,k,id_SSSSM,inu)+ & |
---|
1001 | tau_ae_pi(i,k,id_CIDUSTM,inu)*piz_ae(i,k,id_CIDUSTM,inu)) & |
---|
1002 | /tau_allaer(i,k,mrfspecies,inu) |
---|
1003 | piz_allaer(i,k,mrfspecies,inu)=MAX(piz_allaer(i,k,mrfspecies,inu),0.1) |
---|
1004 | |
---|
1005 | cg_allaer(i,k,mrfspecies,inu)=(& |
---|
1006 | tau_ae_pi(i,k,id_ASSO4M,inu)*piz_ae(i,k,id_ASSO4M,inu)*cg_ae(i,k,id_ASSO4M,inu)+ & |
---|
1007 | tau_ae_pi(i,k,id_CSSO4M,inu)*piz_ae(i,k,id_CSSO4M,inu)*cg_ae(i,k,id_CSSO4M,inu)+ & |
---|
1008 | tau_ae_pi(i,k,id_ASBCM,inu)*piz_ae(i,k,id_ASBCM,inu)*cg_ae(i,k,id_ASBCM,inu)+ & |
---|
1009 | tau_ae_pi(i,k,id_AIBCM,inu)*piz_ae(i,k,id_AIBCM,inu)*cg_ae(i,k,id_AIBCM,inu)+ & |
---|
1010 | tau_ae_pi(i,k,id_ASPOMM,inu)*piz_ae(i,k,id_ASPOMM,inu)*cg_ae(i,k,id_ASPOMM,inu)+ & |
---|
1011 | tau_ae_pi(i,k,id_AIPOMM,inu)*piz_ae(i,k,id_AIPOMM,inu)*cg_ae(i,k,id_AIPOMM,inu)+ & |
---|
1012 | tau_ae_pi(i,k,id_ASSSM,inu)*piz_ae(i,k,id_ASSSM,inu)*cg_ae(i,k,id_ASSSM,inu)+ & |
---|
1013 | tau_ae_pi(i,k,id_CSSSM,inu)*piz_ae(i,k,id_CSSSM,inu)*cg_ae(i,k,id_CSSSM,inu)+ & |
---|
1014 | tau_ae_pi(i,k,id_SSSSM,inu)*piz_ae(i,k,id_SSSSM,inu)*cg_ae(i,k,id_SSSSM,inu)+ & |
---|
1015 | tau_ae_pi(i,k,id_CIDUSTM,inu)*piz_ae(i,k,id_CIDUSTM,inu)*& |
---|
1016 | cg_ae(i,k,id_CIDUSTM,inu))/ & |
---|
1017 | (tau_allaer(i,k,mrfspecies,inu)*piz_allaer(i,k,mrfspecies,inu)) |
---|
1018 | ENDDO |
---|
1019 | ENDDO |
---|
1020 | |
---|
1021 | ELSEIF (mrfspecies .EQ. 4) THEN ! = BC |
---|
1022 | DO k=1, KLEV |
---|
1023 | DO i=1, KLON |
---|
1024 | tau_allaer(i,k,mrfspecies,inu)=tau_ae(i,k,id_ASBCM,inu)+tau_ae(i,k,id_AIBCM,inu) |
---|
1025 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
1026 | piz_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASBCM,inu)*piz_ae(i,k,id_ASBCM,inu) & |
---|
1027 | +tau_ae(i,k,id_AIBCM,inu)*piz_ae(i,k,id_AIBCM,inu))/ & |
---|
1028 | tau_allaer(i,k,mrfspecies,inu) |
---|
1029 | piz_allaer(i,k,mrfspecies,inu)=MAX(piz_allaer(i,k,mrfspecies,inu),0.1) |
---|
1030 | cg_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASBCM,inu)*piz_ae(i,k,id_ASBCM,inu) *cg_ae(i,k,id_ASBCM,inu)& |
---|
1031 | +tau_ae(i,k,id_AIBCM,inu)*piz_ae(i,k,id_AIBCM,inu)*cg_ae(i,k,id_AIBCM,inu))/ & |
---|
1032 | (tau_allaer(i,k,mrfspecies,inu)*piz_allaer(i,k,mrfspecies,inu)) |
---|
1033 | ENDDO |
---|
1034 | ENDDO |
---|
1035 | |
---|
1036 | ELSEIF (mrfspecies .EQ. 5) THEN ! = SO4 |
---|
1037 | |
---|
1038 | DO k=1, KLEV |
---|
1039 | DO i=1, KLON |
---|
1040 | tau_allaer(i,k,mrfspecies,inu)=tau_ae(i,k,id_ASSO4M,inu)+tau_ae(i,k,id_CSSO4M,inu) |
---|
1041 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
1042 | piz_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_CSSO4M,inu)*piz_ae(i,k,id_CSSO4M,inu) & |
---|
1043 | +tau_ae(i,k,id_ASSO4M,inu)*piz_ae(i,k,id_ASSO4M,inu))/ & |
---|
1044 | tau_allaer(i,k,mrfspecies,inu) |
---|
1045 | piz_allaer(i,k,mrfspecies,inu)=MAX(piz_allaer(i,k,mrfspecies,inu),0.1) |
---|
1046 | cg_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_CSSO4M,inu)*piz_ae(i,k,id_CSSO4M,inu) *cg_ae(i,k,id_CSSO4M,inu)& |
---|
1047 | +tau_ae(i,k,id_ASSO4M,inu)*piz_ae(i,k,id_ASSO4M,inu)*cg_ae(i,k,id_ASSO4M,inu))/ & |
---|
1048 | (tau_allaer(i,k,mrfspecies,inu)*piz_allaer(i,k,mrfspecies,inu)) |
---|
1049 | ENDDO |
---|
1050 | ENDDO |
---|
1051 | |
---|
1052 | ELSEIF (mrfspecies .EQ. 6) THEN ! = POM |
---|
1053 | |
---|
1054 | DO k=1, KLEV |
---|
1055 | DO i=1, KLON |
---|
1056 | tau_allaer(i,k,mrfspecies,inu)=tau_ae(i,k,id_ASPOMM,inu)+tau_ae(i,k,id_AIPOMM,inu) |
---|
1057 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
1058 | piz_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASPOMM,inu)*piz_ae(i,k,id_ASPOMM,inu) & |
---|
1059 | +tau_ae(i,k,id_AIPOMM,inu)*piz_ae(i,k,id_AIPOMM,inu))/ & |
---|
1060 | tau_allaer(i,k,mrfspecies,inu) |
---|
1061 | piz_allaer(i,k,mrfspecies,inu)=MAX(piz_allaer(i,k,mrfspecies,inu),0.1) |
---|
1062 | cg_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASPOMM,inu)*piz_ae(i,k,id_ASPOMM,inu) *cg_ae(i,k,id_ASPOMM,inu)& |
---|
1063 | +tau_ae(i,k,id_AIPOMM,inu)*piz_ae(i,k,id_AIPOMM,inu)*cg_ae(i,k,id_AIPOMM,inu))/ & |
---|
1064 | (tau_allaer(i,k,mrfspecies,inu)*piz_allaer(i,k,mrfspecies,inu)) |
---|
1065 | ENDDO |
---|
1066 | ENDDO |
---|
1067 | |
---|
1068 | ELSEIF (mrfspecies .EQ. 7) THEN ! = DUST |
---|
1069 | |
---|
1070 | DO k=1, KLEV |
---|
1071 | DO i=1, KLON |
---|
1072 | tau_allaer(i,k,mrfspecies,inu)=tau_ae(i,k,id_CIDUSTM,inu) |
---|
1073 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
1074 | piz_allaer(i,k,mrfspecies,inu)=piz_ae(i,k,id_CIDUSTM,inu) |
---|
1075 | cg_allaer(i,k,mrfspecies,inu)=cg_ae(i,k,id_CIDUSTM,inu) |
---|
1076 | ENDDO |
---|
1077 | ENDDO |
---|
1078 | |
---|
1079 | ELSEIF (mrfspecies .EQ. 8) THEN ! = SS |
---|
1080 | |
---|
1081 | DO k=1, KLEV |
---|
1082 | DO i=1, KLON |
---|
1083 | tau_allaer(i,k,mrfspecies,inu)=tau_ae(i,k,id_ASSSM,inu)+tau_ae(i,k,id_CSSSM,inu)+tau_ae(i,k,id_SSSSM,inu) |
---|
1084 | tau_allaer(i,k,mrfspecies,inu)=MAX(tau_allaer(i,k,mrfspecies,inu),1e-5) |
---|
1085 | piz_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASSSM,inu)*piz_ae(i,k,id_ASSSM,inu) & |
---|
1086 | +tau_ae(i,k,id_CSSSM,inu)*piz_ae(i,k,id_CSSSM,inu) & |
---|
1087 | +tau_ae(i,k,id_SSSSM,inu)*piz_ae(i,k,id_SSSSM,inu))/ & |
---|
1088 | tau_allaer(i,k,mrfspecies,inu) |
---|
1089 | piz_allaer(i,k,mrfspecies,inu)=MAX(piz_allaer(i,k,mrfspecies,inu),0.1) |
---|
1090 | cg_allaer(i,k,mrfspecies,inu)=(tau_ae(i,k,id_ASSSM,inu)*piz_ae(i,k,id_ASSSM,inu) *cg_ae(i,k,id_ASSSM,inu)& |
---|
1091 | +tau_ae(i,k,id_CSSSM,inu)*piz_ae(i,k,id_CSSSM,inu)*cg_ae(i,k,id_CSSSM,inu) & |
---|
1092 | +tau_ae(i,k,id_SSSSM,inu)*piz_ae(i,k,id_SSSSM,inu)*cg_ae(i,k,id_SSSSM,inu))/ & |
---|
1093 | (tau_allaer(i,k,mrfspecies,inu)*piz_allaer(i,k,mrfspecies,inu)) |
---|
1094 | ENDDO |
---|
1095 | ENDDO |
---|
1096 | |
---|
1097 | ELSEIF (mrfspecies .EQ. 9) THEN ! = NO3 |
---|
1098 | |
---|
1099 | DO k=1, KLEV |
---|
1100 | DO i=1, KLON |
---|
1101 | tau_allaer(i,k,mrfspecies,inu)=0. ! preliminary |
---|
1102 | piz_allaer(i,k,mrfspecies,inu)=0. |
---|
1103 | cg_allaer(i,k,mrfspecies,inu)=0. |
---|
1104 | ENDDO |
---|
1105 | ENDDO |
---|
1106 | |
---|
1107 | ELSE |
---|
1108 | |
---|
1109 | DO k=1, KLEV |
---|
1110 | DO i=1, KLON |
---|
1111 | tau_allaer(i,k,mrfspecies,inu)=0. |
---|
1112 | piz_allaer(i,k,mrfspecies,inu)=0. |
---|
1113 | cg_allaer(i,k,mrfspecies,inu)=0. |
---|
1114 | ENDDO |
---|
1115 | ENDDO |
---|
1116 | |
---|
1117 | ENDIF |
---|
1118 | |
---|
1119 | ENDDO |
---|
1120 | ENDDO |
---|
1121 | |
---|
1122 | DEALLOCATE(aerosol_name) |
---|
1123 | |
---|
1124 | END SUBROUTINE AEROPT_2BANDS |
---|