1 | ! |
---|
2 | ! $Id: phys_local_var_mod.F90 4973 2024-06-07 13:27:21Z abarral $ |
---|
3 | ! |
---|
4 | MODULE phys_local_var_mod |
---|
5 | ! Variables locales pour effectuer les appels en serie |
---|
6 | !====================================================================== |
---|
7 | ! |
---|
8 | ! |
---|
9 | !====================================================================== |
---|
10 | ! Declaration des variables |
---|
11 | |
---|
12 | REAL, SAVE, ALLOCATABLE :: t_seri(:,:), q_seri(:,:) |
---|
13 | !$OMP THREADPRIVATE(t_seri, q_seri) |
---|
14 | REAL, SAVE, ALLOCATABLE :: ql_seri(:,:),qs_seri(:,:) |
---|
15 | !$OMP THREADPRIVATE(ql_seri,qs_seri) |
---|
16 | REAL, SAVE, ALLOCATABLE :: qbs_seri(:,:) |
---|
17 | !$OMP THREADPRIVATE(qbs_seri) |
---|
18 | REAL, SAVE, ALLOCATABLE :: u_seri(:,:), v_seri(:,:) |
---|
19 | !$OMP THREADPRIVATE(u_seri, v_seri) |
---|
20 | REAL, SAVE, ALLOCATABLE :: rneb_seri(:,:) |
---|
21 | !$OMP THREADPRIVATE(rneb_seri) |
---|
22 | REAL, SAVE, ALLOCATABLE :: d_rneb_dyn(:,:) |
---|
23 | !$OMP THREADPRIVATE(d_rneb_dyn) |
---|
24 | REAL, SAVE, ALLOCATABLE :: l_mixmin(:,:,:),l_mix(:,:,:),wprime(:,:,:) |
---|
25 | !$OMP THREADPRIVATE(l_mixmin, l_mix, wprime) |
---|
26 | REAL, SAVE, ALLOCATABLE :: pbl_eps(:,:,:) |
---|
27 | !$OMP THREADPRIVATE(pbl_eps) |
---|
28 | REAL, SAVE, ALLOCATABLE :: tr_seri(:,:,:) |
---|
29 | !$OMP THREADPRIVATE(tr_seri) |
---|
30 | REAL, SAVE, ALLOCATABLE :: rhcl(:,:) |
---|
31 | !$OMP THREADPRIVATE(rhcl) |
---|
32 | REAL, SAVE, ALLOCATABLE :: d_t_dyn(:,:), d_q_dyn(:,:) |
---|
33 | !$OMP THREADPRIVATE(d_t_dyn, d_q_dyn) |
---|
34 | REAL, SAVE, ALLOCATABLE :: d_ql_dyn(:,:), d_qs_dyn(:,:), d_qbs_dyn(:,:) |
---|
35 | !$OMP THREADPRIVATE(d_ql_dyn, d_qs_dyn, d_qbs_dyn) |
---|
36 | REAL, SAVE, ALLOCATABLE :: d_q_dyn2d(:), d_ql_dyn2d(:), d_qs_dyn2d(:), d_qbs_dyn2d(:) |
---|
37 | !$OMP THREADPRIVATE(d_q_dyn2d, d_ql_dyn2d, d_qs_dyn2d, d_qbs_dyn2d) |
---|
38 | REAL, SAVE, ALLOCATABLE :: d_u_dyn(:,:), d_v_dyn(:,:) |
---|
39 | !$OMP THREADPRIVATE(d_u_dyn, d_v_dyn) |
---|
40 | REAL, SAVE, ALLOCATABLE :: d_tr_dyn(:,:,:) |
---|
41 | !$OMP THREADPRIVATE(d_tr_dyn) |
---|
42 | REAL, SAVE, ALLOCATABLE :: d_t_con(:,:),d_q_con(:,:),d_q_con_zmasse(:,:) |
---|
43 | !$OMP THREADPRIVATE(d_t_con,d_q_con,d_q_con_zmasse) |
---|
44 | REAL, SAVE, ALLOCATABLE :: d_u_con(:,:),d_v_con(:,:) |
---|
45 | !$OMP THREADPRIVATE(d_u_con,d_v_con) |
---|
46 | REAL, SAVE, ALLOCATABLE :: d_t_wake(:,:),d_q_wake(:,:) |
---|
47 | !$OMP THREADPRIVATE( d_t_wake,d_q_wake) |
---|
48 | REAL, SAVE, ALLOCATABLE :: d_t_lsc(:,:),d_q_lsc(:,:),d_ql_lsc(:,:),d_qi_lsc(:,:) |
---|
49 | !$OMP THREADPRIVATE(d_t_lsc,d_q_lsc,d_ql_lsc,d_qi_lsc) |
---|
50 | REAL, SAVE, ALLOCATABLE :: d_t_lwr(:,:),d_t_lw0(:,:),d_t_swr(:,:),d_t_sw0(:,:) |
---|
51 | !$OMP THREADPRIVATE(d_t_lwr,d_t_lw0,d_t_swr,d_t_sw0) |
---|
52 | REAL, SAVE, ALLOCATABLE :: d_t_ajsb(:,:), d_q_ajsb(:,:) |
---|
53 | !$OMP THREADPRIVATE(d_t_ajsb, d_q_ajsb) |
---|
54 | REAL, SAVE, ALLOCATABLE :: d_t_ajs(:,:), d_q_ajs(:,:) |
---|
55 | !$OMP THREADPRIVATE(d_t_ajs, d_q_ajs) |
---|
56 | REAL, SAVE, ALLOCATABLE :: d_u_ajs(:,:), d_v_ajs(:,:) |
---|
57 | !$OMP THREADPRIVATE(d_u_ajs, d_v_ajs) |
---|
58 | !nrlmd< |
---|
59 | REAL, SAVE, ALLOCATABLE :: d_t_ajs_w(:,:), d_q_ajs_w(:,:) |
---|
60 | !$OMP THREADPRIVATE(d_t_ajs_w, d_q_ajs_w) |
---|
61 | REAL, SAVE, ALLOCATABLE :: d_t_ajs_x(:,:), d_q_ajs_x(:,:) |
---|
62 | !$OMP THREADPRIVATE(d_t_ajs_x, d_q_ajs_x) |
---|
63 | !>nrlmd |
---|
64 | REAL, SAVE, ALLOCATABLE :: d_t_eva(:,:),d_q_eva(:,:),d_ql_eva(:,:),d_qi_eva(:,:) |
---|
65 | !$OMP THREADPRIVATE(d_t_eva,d_q_eva,d_ql_eva,d_qi_eva) |
---|
66 | REAL, SAVE, ALLOCATABLE :: d_t_lscst(:,:),d_q_lscst(:,:) |
---|
67 | !$OMP THREADPRIVATE(d_t_lscst,d_q_lscst) |
---|
68 | REAL, SAVE, ALLOCATABLE :: d_t_lscth(:,:),d_q_lscth(:,:) |
---|
69 | !$OMP THREADPRIVATE(d_t_lscth,d_q_lscth) |
---|
70 | REAL, SAVE, ALLOCATABLE :: plul_th(:),plul_st(:) |
---|
71 | !$OMP THREADPRIVATE(plul_th,plul_st) |
---|
72 | !tendances dues a oro et lif |
---|
73 | REAL, SAVE, ALLOCATABLE :: d_t_oli(:,:) |
---|
74 | !$OMP THREADPRIVATE(d_t_oli) |
---|
75 | REAL, SAVE, ALLOCATABLE :: d_u_oli(:,:), d_v_oli(:,:) |
---|
76 | !$OMP THREADPRIVATE(d_u_oli, d_v_oli) |
---|
77 | REAL, SAVE, ALLOCATABLE :: d_t_vdf(:,:), d_q_vdf(:,:), d_qbs_vdf(:,:), d_t_diss(:,:) |
---|
78 | !$OMP THREADPRIVATE( d_t_vdf, d_q_vdf, d_qbs_vdf, d_t_diss) |
---|
79 | REAL, SAVE, ALLOCATABLE :: d_u_vdf(:,:), d_v_vdf(:,:) |
---|
80 | !$OMP THREADPRIVATE(d_u_vdf, d_v_vdf) |
---|
81 | !nrlmd+jyg< |
---|
82 | REAL, SAVE, ALLOCATABLE :: d_t_vdf_w(:,:), d_q_vdf_w(:,:) |
---|
83 | !$OMP THREADPRIVATE( d_t_vdf_w, d_q_vdf_w) |
---|
84 | REAL, SAVE, ALLOCATABLE :: d_t_vdf_x(:,:), d_q_vdf_x(:,:) |
---|
85 | !$OMP THREADPRIVATE( d_t_vdf_x, d_q_vdf_x) |
---|
86 | REAL, SAVE, ALLOCATABLE :: d_t_bs(:,:), d_q_bs(:,:), d_qbs_bs(:,:) |
---|
87 | !$OMP THREADPRIVATE( d_t_bs,d_q_bs, d_qbs_bs) |
---|
88 | !>nrlmd+jyg |
---|
89 | REAL, SAVE, ALLOCATABLE :: d_t_oro(:,:) |
---|
90 | !$OMP THREADPRIVATE(d_t_oro) |
---|
91 | REAL, SAVE, ALLOCATABLE :: d_u_oro(:,:), d_v_oro(:,:) |
---|
92 | !$OMP THREADPRIVATE(d_u_oro, d_v_oro) |
---|
93 | REAL, SAVE, ALLOCATABLE :: d_t_oro_gw(:,:) |
---|
94 | !$OMP THREADPRIVATE(d_t_oro_gw) |
---|
95 | REAL, SAVE, ALLOCATABLE :: d_u_oro_gw(:,:), d_v_oro_gw(:,:) |
---|
96 | !$OMP THREADPRIVATE(d_u_oro_gw, d_v_oro_gw) |
---|
97 | REAL, SAVE, ALLOCATABLE :: d_t_lif(:,:) |
---|
98 | !$OMP THREADPRIVATE(d_t_lif) |
---|
99 | REAL, SAVE, ALLOCATABLE :: d_u_lif(:,:), d_v_lif(:,:) |
---|
100 | !$OMP THREADPRIVATE(d_u_lif, d_v_lif) |
---|
101 | ! Tendances Ondes de G non oro (runs strato). |
---|
102 | REAL, SAVE, ALLOCATABLE :: du_gwd_hines(:,:) |
---|
103 | !$OMP THREADPRIVATE(du_gwd_hines) |
---|
104 | REAL, SAVE, ALLOCATABLE :: dv_gwd_hines(:,:) |
---|
105 | !$OMP THREADPRIVATE(dv_gwd_hines) |
---|
106 | REAL, SAVE, ALLOCATABLE :: dv_gwd_rando(:,:) |
---|
107 | !$OMP THREADPRIVATE(dv_gwd_rando) |
---|
108 | REAL, SAVE, ALLOCATABLE :: dv_gwd_front(:,:) |
---|
109 | !$OMP THREADPRIVATE(dv_gwd_front) |
---|
110 | REAL, SAVE, ALLOCATABLE :: east_gwstress(:,:) |
---|
111 | !$OMP THREADPRIVATE(east_gwstress) |
---|
112 | REAL, SAVE, ALLOCATABLE :: west_gwstress(:,:) |
---|
113 | !$OMP THREADPRIVATE(west_gwstress) |
---|
114 | REAL, SAVE, ALLOCATABLE :: d_t_hin(:,:) |
---|
115 | !$OMP THREADPRIVATE(d_t_hin) |
---|
116 | ! tendance due a l'oxydation du methane |
---|
117 | REAL, SAVE, ALLOCATABLE :: d_q_ch4(:,:) |
---|
118 | !$OMP THREADPRIVATE(d_q_ch4) |
---|
119 | |
---|
120 | ! tendance du a la conersion Ec -> E thermique |
---|
121 | REAL, SAVE, ALLOCATABLE :: d_t_ec(:,:) |
---|
122 | !$OMP THREADPRIVATE(d_t_ec) |
---|
123 | REAL, SAVE, ALLOCATABLE :: d_ts(:,:), d_tr(:,:,:) |
---|
124 | !$OMP THREADPRIVATE(d_ts, d_tr) |
---|
125 | |
---|
126 | ! diagnostique pour le rayonnement |
---|
127 | REAL, SAVE, ALLOCATABLE :: topswad_aero(:), solswad_aero(:) ! diag |
---|
128 | !$OMP THREADPRIVATE(topswad_aero,solswad_aero) |
---|
129 | REAL, SAVE, ALLOCATABLE :: topswai_aero(:), solswai_aero(:) ! diag |
---|
130 | !$OMP THREADPRIVATE(topswai_aero,solswai_aero) |
---|
131 | REAL, SAVE, ALLOCATABLE :: topswad0_aero(:), solswad0_aero(:) ! diag |
---|
132 | !$OMP THREADPRIVATE(topswad0_aero,solswad0_aero) |
---|
133 | REAL, SAVE, ALLOCATABLE :: topsw_aero(:,:), solsw_aero(:,:) ! diag |
---|
134 | !$OMP THREADPRIVATE(topsw_aero,solsw_aero) |
---|
135 | REAL, SAVE, ALLOCATABLE :: topsw0_aero(:,:), solsw0_aero(:,:) ! diag |
---|
136 | !$OMP THREADPRIVATE(topsw0_aero,solsw0_aero) |
---|
137 | REAL, SAVE, ALLOCATABLE :: topswcf_aero(:,:), solswcf_aero(:,:) ! diag |
---|
138 | !$OMP THREADPRIVATE(topswcf_aero,solswcf_aero) |
---|
139 | ! LW radiation diagnostics CK |
---|
140 | REAL, SAVE, ALLOCATABLE :: toplwad_aero(:), sollwad_aero(:) ! diag |
---|
141 | !$OMP THREADPRIVATE(toplwad_aero,sollwad_aero) |
---|
142 | REAL, SAVE, ALLOCATABLE :: toplwai_aero(:), sollwai_aero(:) ! diag |
---|
143 | !$OMP THREADPRIVATE(toplwai_aero,sollwai_aero) |
---|
144 | REAL, SAVE, ALLOCATABLE :: toplwad0_aero(:), sollwad0_aero(:) ! diag |
---|
145 | !$OMP THREADPRIVATE(toplwad0_aero,sollwad0_aero) |
---|
146 | ! Special RRTM |
---|
147 | REAL, SAVE, ALLOCATABLE :: ZLWFT0_i(:,:), ZSWFT0_i(:,:) ! diag |
---|
148 | !$OMP THREADPRIVATE(ZLWFT0_i,ZSWFT0_i) |
---|
149 | REAL, SAVE, ALLOCATABLE :: ZFLDN0(:,:), ZFLUP0(:,:) ! diag |
---|
150 | !$OMP THREADPRIVATE(ZFLDN0,ZFLUP0) |
---|
151 | REAL, SAVE, ALLOCATABLE :: ZFSDN0(:,:), ZFSUP0(:,:) ! diag |
---|
152 | !$OMP THREADPRIVATE(ZFSDN0,ZFSUP0) |
---|
153 | ! |
---|
154 | REAL, SAVE, ALLOCATABLE :: stratomask(:,:) |
---|
155 | !$OMP THREADPRIVATE(stratomask) |
---|
156 | REAL, SAVE, ALLOCATABLE :: tausum_aero(:,:,:) |
---|
157 | !$OMP THREADPRIVATE(tausum_aero) |
---|
158 | REAL, SAVE, ALLOCATABLE :: drytausum_aero(:,:) |
---|
159 | !$OMP THREADPRIVATE(drytausum_aero) |
---|
160 | REAL, SAVE, ALLOCATABLE :: tau3d_aero(:,:,:,:) |
---|
161 | !$OMP THREADPRIVATE(tau3d_aero) |
---|
162 | REAL, SAVE, ALLOCATABLE :: dNovrN(:) |
---|
163 | !$OMP THREADPRIVATE(dNovrN) |
---|
164 | REAL, SAVE, ALLOCATABLE :: zfice(:,:) |
---|
165 | !$OMP THREADPRIVATE(zfice) |
---|
166 | REAL, SAVE, ALLOCATABLE :: od443aer(:) |
---|
167 | !$OMP THREADPRIVATE(od443aer) |
---|
168 | REAL, SAVE, ALLOCATABLE :: od550aer(:) |
---|
169 | !$OMP THREADPRIVATE(od550aer) |
---|
170 | REAL, SAVE, ALLOCATABLE :: dryod550aer(:) |
---|
171 | !$OMP THREADPRIVATE(dryod550aer) |
---|
172 | REAL, SAVE, ALLOCATABLE :: abs550aer(:) |
---|
173 | !$OMP THREADPRIVATE(abs550aer) |
---|
174 | REAL, SAVE, ALLOCATABLE :: od865aer(:) |
---|
175 | !$OMP THREADPRIVATE(od865aer) |
---|
176 | REAL, SAVE, ALLOCATABLE :: ec550aer(:,:) |
---|
177 | !$OMP THREADPRIVATE(ec550aer) |
---|
178 | REAL, SAVE, ALLOCATABLE :: od550lt1aer(:) |
---|
179 | !$OMP THREADPRIVATE(od550lt1aer) |
---|
180 | REAL, SAVE, ALLOCATABLE :: sconcso4(:) |
---|
181 | !$OMP THREADPRIVATE(sconcso4) |
---|
182 | REAL, SAVE, ALLOCATABLE :: sconcno3(:) |
---|
183 | !$OMP THREADPRIVATE(sconcno3) |
---|
184 | REAL, SAVE, ALLOCATABLE :: sconcoa(:) |
---|
185 | !$OMP THREADPRIVATE(sconcoa) |
---|
186 | REAL, SAVE, ALLOCATABLE :: sconcbc(:) |
---|
187 | !$OMP THREADPRIVATE(sconcbc) |
---|
188 | REAL, SAVE, ALLOCATABLE :: sconcss(:) |
---|
189 | !$OMP THREADPRIVATE(sconcss) |
---|
190 | REAL, SAVE, ALLOCATABLE :: sconcdust(:) |
---|
191 | !$OMP THREADPRIVATE(sconcdust) |
---|
192 | REAL, SAVE, ALLOCATABLE :: concso4(:,:) |
---|
193 | !$OMP THREADPRIVATE(concso4) |
---|
194 | REAL, SAVE, ALLOCATABLE :: concno3(:,:) |
---|
195 | !$OMP THREADPRIVATE(concno3) |
---|
196 | REAL, SAVE, ALLOCATABLE :: concoa(:,:) |
---|
197 | !$OMP THREADPRIVATE(concoa) |
---|
198 | REAL, SAVE, ALLOCATABLE :: concbc(:,:) |
---|
199 | !$OMP THREADPRIVATE(concbc) |
---|
200 | REAL, SAVE, ALLOCATABLE :: concss(:,:) |
---|
201 | !$OMP THREADPRIVATE(concss) |
---|
202 | REAL, SAVE, ALLOCATABLE :: concdust(:,:) |
---|
203 | !$OMP THREADPRIVATE(concdust) |
---|
204 | REAL, SAVE, ALLOCATABLE :: loadso4(:) |
---|
205 | !$OMP THREADPRIVATE(loadso4) |
---|
206 | REAL, SAVE, ALLOCATABLE :: loadoa(:) |
---|
207 | !$OMP THREADPRIVATE(loadoa) |
---|
208 | REAL, SAVE, ALLOCATABLE :: loadbc(:) |
---|
209 | !$OMP THREADPRIVATE(loadbc) |
---|
210 | REAL, SAVE, ALLOCATABLE :: loadss(:) |
---|
211 | !$OMP THREADPRIVATE(loadss) |
---|
212 | REAL, SAVE, ALLOCATABLE :: loaddust(:) |
---|
213 | !$OMP THREADPRIVATE(loaddust) |
---|
214 | REAL, SAVE, ALLOCATABLE :: loadno3(:) |
---|
215 | !$OMP THREADPRIVATE(loadno3) |
---|
216 | REAL, SAVE, ALLOCATABLE :: load_tmp1(:), load_tmp2(:) |
---|
217 | !$OMP THREADPRIVATE(load_tmp1, load_tmp2) |
---|
218 | REAL, SAVE, ALLOCATABLE :: load_tmp3(:), load_tmp4(:) |
---|
219 | !$OMP THREADPRIVATE(load_tmp3, load_tmp4) |
---|
220 | REAL, SAVE, ALLOCATABLE :: load_tmp5(:), load_tmp6(:) |
---|
221 | !$OMP THREADPRIVATE(load_tmp5, load_tmp6) |
---|
222 | REAL, SAVE, ALLOCATABLE :: load_tmp7(:), load_tmp8(:) |
---|
223 | !$OMP THREADPRIVATE(load_tmp7, load_tmp8) |
---|
224 | REAL, SAVE, ALLOCATABLE :: load_tmp9(:), load_tmp10(:) |
---|
225 | !$OMP THREADPRIVATE(load_tmp9, load_tmp10) |
---|
226 | |
---|
227 | !IM ajout variables CFMIP2/CMIP5 |
---|
228 | REAL,ALLOCATABLE,SAVE :: topswad_aerop(:), solswad_aerop(:) |
---|
229 | !$OMP THREADPRIVATE(topswad_aerop, solswad_aerop) |
---|
230 | REAL,ALLOCATABLE,SAVE :: topswai_aerop(:), solswai_aerop(:) |
---|
231 | !$OMP THREADPRIVATE(topswai_aerop, solswai_aerop) |
---|
232 | REAL,ALLOCATABLE,SAVE :: topswad0_aerop(:), solswad0_aerop(:) |
---|
233 | !$OMP THREADPRIVATE(topswad0_aerop, solswad0_aerop) |
---|
234 | REAL,ALLOCATABLE,SAVE :: topsw_aerop(:,:), topsw0_aerop(:,:) |
---|
235 | !$OMP THREADPRIVATE(topsw_aerop, topsw0_aerop) |
---|
236 | REAL,ALLOCATABLE,SAVE :: solsw_aerop(:,:), solsw0_aerop(:,:) |
---|
237 | !$OMP THREADPRIVATE(solsw_aerop, solsw0_aerop) |
---|
238 | REAL,ALLOCATABLE,SAVE :: topswcf_aerop(:,:), solswcf_aerop(:,:) |
---|
239 | !$OMP THREADPRIVATE(topswcf_aerop, solswcf_aerop) |
---|
240 | |
---|
241 | ! additional LW variables CK |
---|
242 | REAL,ALLOCATABLE,SAVE :: toplwad_aerop(:), sollwad_aerop(:) |
---|
243 | !$OMP THREADPRIVATE(toplwad_aerop, sollwad_aerop) |
---|
244 | REAL,ALLOCATABLE,SAVE :: toplwai_aerop(:), sollwai_aerop(:) |
---|
245 | !$OMP THREADPRIVATE(toplwai_aerop, sollwai_aerop) |
---|
246 | REAL,ALLOCATABLE,SAVE :: toplwad0_aerop(:), sollwad0_aerop(:) |
---|
247 | !$OMP THREADPRIVATE(toplwad0_aerop, sollwad0_aerop) |
---|
248 | |
---|
249 | !AI 08 2023 ajout pour Ecrad |
---|
250 | REAL,ALLOCATABLE,SAVE :: topswad_aero_s2(:), solswad_aero_s2(:) |
---|
251 | !$OMP THREADPRIVATE(topswad_aero_s2, solswad_aero_s2) |
---|
252 | REAL,ALLOCATABLE,SAVE :: topswai_aero_s2(:), solswai_aero_s2(:) |
---|
253 | !$OMP THREADPRIVATE(topswai_aero_s2, solswai_aero_s2) |
---|
254 | REAL,ALLOCATABLE,SAVE :: topswad0_aero_s2(:), solswad0_aero_s2(:) |
---|
255 | !$OMP THREADPRIVATE(topswad0_aero_s2, solswad0_aero_s2) |
---|
256 | REAL,ALLOCATABLE,SAVE :: topsw_aero_s2(:,:), topsw0_aero_s2(:,:) |
---|
257 | !$OMP THREADPRIVATE(topsw_aero_s2, topsw0_aero_s2) |
---|
258 | REAL,ALLOCATABLE,SAVE :: solsw_aero_s2(:,:), solsw0_aero_s2(:,:) |
---|
259 | !$OMP THREADPRIVATE(solsw_aero_s2, solsw0_aero_s2) |
---|
260 | REAL,ALLOCATABLE,SAVE :: topswcf_aero_s2(:,:), solswcf_aero_s2(:,:) |
---|
261 | !$OMP THREADPRIVATE(topswcf_aero_s2, solswcf_aero_s2) |
---|
262 | ! additional LW variables CK |
---|
263 | REAL,ALLOCATABLE,SAVE :: toplwad_aero_s2(:), sollwad_aero_s2(:) |
---|
264 | !$OMP THREADPRIVATE(toplwad_aero_s2, sollwad_aero_s2) |
---|
265 | REAL,ALLOCATABLE,SAVE :: toplwai_aero_s2(:), sollwai_aero_s2(:) |
---|
266 | !$OMP THREADPRIVATE(toplwai_aero_s2, sollwai_aero_s2) |
---|
267 | REAL,ALLOCATABLE,SAVE :: toplwad0_aero_s2(:), sollwad0_aero_s2(:) |
---|
268 | !$OMP THREADPRIVATE(toplwad0_aero_s2, sollwad0_aero_s2) |
---|
269 | |
---|
270 | !Ajout de celles n??cessaires au phys_output_write_mod |
---|
271 | REAL, SAVE, ALLOCATABLE :: tal1(:), pal1(:), pab1(:), pab2(:) |
---|
272 | !$OMP THREADPRIVATE(tal1, pal1, pab1, pab2) |
---|
273 | REAL, SAVE, ALLOCATABLE :: ptstar(:), pt0(:), slp(:) |
---|
274 | !$OMP THREADPRIVATE(ptstar, pt0, slp) |
---|
275 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: sens, flwp, fiwp |
---|
276 | !$OMP THREADPRIVATE(sens, flwp, fiwp) |
---|
277 | !! |
---|
278 | !FC |
---|
279 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: zxfluxt, zxfluxq |
---|
280 | !$OMP THREADPRIVATE(zxfluxt, zxfluxq) |
---|
281 | !FC |
---|
282 | !! Wake variables |
---|
283 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: alp_wake |
---|
284 | !$OMP THREADPRIVATE(alp_wake) |
---|
285 | !!jyg! REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: wake_h,wake_k |
---|
286 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: wake_h |
---|
287 | INTEGER,ALLOCATABLE,SAVE,DIMENSION(:) :: wake_k |
---|
288 | !$OMP THREADPRIVATE(wake_h,wake_k) |
---|
289 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: wake_omg |
---|
290 | !$OMP THREADPRIVATE(wake_omg) |
---|
291 | REAL, SAVE, ALLOCATABLE,DIMENSION(:,:) :: d_deltat_wk, d_deltaq_wk |
---|
292 | !$OMP THREADPRIVATE(d_deltat_wk, d_deltaq_wk) |
---|
293 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: d_s_wk, d_s_a_wk, d_dens_wk, d_dens_a_wk |
---|
294 | !$OMP THREADPRIVATE(d_s_wk, d_s_a_wk, d_dens_wk, d_dens_a_wk) |
---|
295 | REAL, SAVE, ALLOCATABLE,DIMENSION(:,:) :: d_deltat_wk_gw, d_deltaq_wk_gw |
---|
296 | !$OMP THREADPRIVATE(d_deltat_wk_gw, d_deltaq_wk_gw) |
---|
297 | REAL, SAVE, ALLOCATABLE,DIMENSION(:,:) :: d_deltat_vdf, d_deltaq_vdf |
---|
298 | !$OMP THREADPRIVATE(d_deltat_vdf, d_deltaq_vdf) |
---|
299 | !!! REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: d_s_vdf, d_dens_vdf |
---|
300 | !!!OMP THREADPRIVATE(d_s_vdf, d_dens_vdf) |
---|
301 | REAL, SAVE, ALLOCATABLE,DIMENSION(:,:) :: d_deltat_the, d_deltaq_the |
---|
302 | !$OMP THREADPRIVATE(d_deltat_the, d_deltaq_the) |
---|
303 | !!! REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: d_s_the, d_dens_the |
---|
304 | !!!OMP THREADPRIVATE(d_s_the, d_dens_the) |
---|
305 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: d_deltat_ajs_cv, d_deltaq_ajs_cv |
---|
306 | !$OMP THREADPRIVATE(d_deltat_ajs_cv, d_deltaq_ajs_cv) |
---|
307 | !! End of Wake variables |
---|
308 | !! |
---|
309 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: bils |
---|
310 | !$OMP THREADPRIVATE(bils) |
---|
311 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: cdragm, cdragh |
---|
312 | !$OMP THREADPRIVATE(cdragm, cdragh) |
---|
313 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: cldh, cldl, cldm, cldq, cldt, qsat2m |
---|
314 | !$OMP THREADPRIVATE(cldh, cldl, cldm, cldq, cldt, qsat2m) |
---|
315 | !AS: cldhjn, cldljn, cldmjn,cldtjn pas utilisés en tant que variables, juste noms de diagnostics |
---|
316 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: JrNt |
---|
317 | !$OMP THREADPRIVATE(JrNt) |
---|
318 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: dthmin, evap, snowerosion, fder, plcl, plfc, prw, prlw, prsw, prbsw, water_budget |
---|
319 | !$OMP THREADPRIVATE(dthmin, evap, snowerosion, fder, plcl, plfc, prw, prlw, prsw, prbsw, water_budget) |
---|
320 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zustar, zu10m, zv10m, rh2m |
---|
321 | !$OMP THREADPRIVATE(zustar, zu10m, zv10m, rh2m) |
---|
322 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: s_lcl, s_pblh, s_pblt, s_therm |
---|
323 | !$OMP THREADPRIVATE(s_lcl, s_pblh, s_pblt, s_therm) |
---|
324 | ! |
---|
325 | !nrlmd+jyg< |
---|
326 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: s_pblh_x, s_pblh_w |
---|
327 | !$OMP THREADPRIVATE(s_pblh_x, s_pblh_w) |
---|
328 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: s_lcl_x, s_lcl_w |
---|
329 | !$OMP THREADPRIVATE(s_lcl_x, s_lcl_w) |
---|
330 | !>nrlmd+jyg |
---|
331 | ! |
---|
332 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: slab_wfbils |
---|
333 | !$OMP THREADPRIVATE(slab_wfbils) |
---|
334 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: tpot, tpote, ue, uq, uwat, ve, vq, vwat, zxffonte |
---|
335 | !$OMP THREADPRIVATE(tpot, tpote, ue, uq, uwat, ve, vq, vwat, zxffonte) |
---|
336 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxustartlic, zxrhoslic, zxqsaltlic |
---|
337 | !$OMP THREADPRIVATE(zxustartlic, zxrhoslic, zxqsaltlic) |
---|
338 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxfqcalving |
---|
339 | !$OMP THREADPRIVATE(zxfqcalving) |
---|
340 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxfluxlat, zxtsol, snow_lsc, zxfqfonte |
---|
341 | !$OMP THREADPRIVATE(zxfluxlat, zxtsol, snow_lsc, zxfqfonte) |
---|
342 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxrunofflic |
---|
343 | !$OMP THREADPRIVATE(zxrunofflic) |
---|
344 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxqsurf, rain_lsc, rain_num |
---|
345 | !$OMP THREADPRIVATE(zxqsurf, rain_lsc, rain_num) |
---|
346 | ! |
---|
347 | !jyg+nrlmd< |
---|
348 | !!!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
---|
349 | ! c |
---|
350 | ! Declarations liees a la couche limite differentiee w-x c |
---|
351 | ! c |
---|
352 | !!!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
---|
353 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: sens_x, sens_w |
---|
354 | !$OMP THREADPRIVATE(sens_x, sens_w) |
---|
355 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxfluxlat_x, zxfluxlat_w |
---|
356 | !$OMP THREADPRIVATE(zxfluxlat_x, zxfluxlat_w) |
---|
357 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: delta_qsurf |
---|
358 | !$OMP THREADPRIVATE(delta_qsurf) |
---|
359 | !jyg< |
---|
360 | !!! Entrees supplementaires couche-limite |
---|
361 | !! REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: t_x, t_w |
---|
362 | !!!$OMP THREADPRIVATE(t_x, t_w) |
---|
363 | !! REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: q_x, q_w |
---|
364 | !!!$OMP THREADPRIVATE(q_x, q_w) |
---|
365 | !>jyg |
---|
366 | !!! Sorties ferret |
---|
367 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: dtvdf_x, dtvdf_w |
---|
368 | !$OMP THREADPRIVATE(dtvdf_x, dtvdf_w) |
---|
369 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: dqvdf_x, dqvdf_w |
---|
370 | !$OMP THREADPRIVATE(dqvdf_x, dqvdf_w) |
---|
371 | ! Variables supplementaires dans physiq.F relative au splitting de la surface |
---|
372 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:,:) :: pbl_tke_input |
---|
373 | !$OMP THREADPRIVATE(pbl_tke_input) |
---|
374 | ! Entree supplementaire Thermiques : |
---|
375 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: t_therm, q_therm, u_therm, v_therm |
---|
376 | !$OMP THREADPRIVATE(t_therm, q_therm, u_therm, v_therm) |
---|
377 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: cdragh_x, cdragh_w |
---|
378 | !$OMP THREADPRIVATE(cdragh_x, cdragh_w) |
---|
379 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: cdragm_x, cdragm_w |
---|
380 | !$OMP THREADPRIVATE(cdragm_x, cdragm_w) |
---|
381 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: kh, kh_x, kh_w |
---|
382 | !$OMP THREADPRIVATE(kh, kh_x, kh_w) |
---|
383 | !!! |
---|
384 | !!!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
---|
385 | LOGICAL, SAVE, ALLOCATABLE :: ptconv(:,:) |
---|
386 | !$OMP THREADPRIVATE(ptconv) |
---|
387 | REAL, SAVE, ALLOCATABLE :: ratqsc(:,:) |
---|
388 | !$OMP THREADPRIVATE(ratqsc) |
---|
389 | !>jyg+nrlmd |
---|
390 | ! |
---|
391 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: wbeff, convoccur, zmax_th, zq2m, zt2m |
---|
392 | !$OMP THREADPRIVATE(wbeff, convoccur, zmax_th, zq2m, zt2m) |
---|
393 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zt2m_min_mon, zt2m_max_mon |
---|
394 | !$OMP THREADPRIVATE(zt2m_min_mon, zt2m_max_mon) |
---|
395 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: t2m_min_mon, t2m_max_mon |
---|
396 | !$OMP THREADPRIVATE(t2m_min_mon, t2m_max_mon) |
---|
397 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: weak_inversion |
---|
398 | !$OMP THREADPRIVATE(weak_inversion) |
---|
399 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: alp_bl_conv,alp_bl_det |
---|
400 | !$OMP THREADPRIVATE(alp_bl_conv,alp_bl_det) |
---|
401 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: alp_bl_fluct_m,alp_bl_fluct_tke |
---|
402 | !$OMP THREADPRIVATE(alp_bl_fluct_m,alp_bl_fluct_tke) |
---|
403 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: alp_bl_stat, n2, s2, strig, zcong, zlcl_th |
---|
404 | !$OMP THREADPRIVATE(alp_bl_stat, n2, s2, strig, zcong, zlcl_th) |
---|
405 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: proba_notrig, random_notrig |
---|
406 | !$OMP THREADPRIVATE(proba_notrig, random_notrig) |
---|
407 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: fsolsw, wfbils |
---|
408 | !$OMP THREADPRIVATE(fsolsw, wfbils) |
---|
409 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: wfevap |
---|
410 | !$OMP THREADPRIVATE(wfevap) |
---|
411 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: t2m, fluxlat, fsollw,evap_pot |
---|
412 | !$OMP THREADPRIVATE(t2m, fluxlat, fsollw,evap_pot) |
---|
413 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: dnwd0, omega |
---|
414 | !$OMP THREADPRIVATE(dnwd0, omega) |
---|
415 | REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: epmax_diag ! epmax_cape |
---|
416 | !$OMP THREADPRIVATE(epmax_diag) |
---|
417 | ! |
---|
418 | ! Deep convective variables used in phytrac |
---|
419 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ep ! epmax_cape |
---|
420 | !$OMP THREADPRIVATE(ep) |
---|
421 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: dnwd, upwd |
---|
422 | !$OMP THREADPRIVATE(dnwd, upwd) |
---|
423 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: pmflxr, pmflxs |
---|
424 | !$OMP THREADPRIVATE(pmflxr, pmflxs) |
---|
425 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: wdtrainA, wdtrainS, wdtrainM |
---|
426 | !$OMP THREADPRIVATE(wdtrainA, wdtrainS, wdtrainM) |
---|
427 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: da, mp |
---|
428 | !$OMP THREADPRIVATE(da, mp) |
---|
429 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: wght_cvfd |
---|
430 | !$OMP THREADPRIVATE(wght_cvfd) |
---|
431 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:,:):: phi, phi2, elij, epmlmMm |
---|
432 | !$OMP THREADPRIVATE(phi, phi2, elij, epmlmMm) |
---|
433 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: d1a, dam |
---|
434 | !$OMP THREADPRIVATE(d1a, dam) |
---|
435 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ev |
---|
436 | !$OMP THREADPRIVATE(ev) |
---|
437 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qtaa |
---|
438 | !$OMP THREADPRIVATE(qtaa) |
---|
439 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: clw |
---|
440 | !$OMP THREADPRIVATE(clw) |
---|
441 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: eplaMm |
---|
442 | !$OMP THREADPRIVATE(eplaMm) |
---|
443 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:,:):: sij |
---|
444 | !$OMP THREADPRIVATE(sij) |
---|
445 | ! |
---|
446 | ! REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: coefh, coefm, lambda_th |
---|
447 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: lambda_th |
---|
448 | !$OMP THREADPRIVATE(lambda_th) |
---|
449 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: cldemi, cldfra, cldtau, fiwc, fl, re, flwc |
---|
450 | !$OMP THREADPRIVATE(cldemi, cldfra, cldtau, fiwc, fl, re, flwc) |
---|
451 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith, qsith, wiceth |
---|
452 | !$OMP THREADPRIVATE(qlth, qith, qsith, wiceth) |
---|
453 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ref_liq, ref_ice, theta, zphi |
---|
454 | !$OMP THREADPRIVATE(ref_liq, ref_ice, theta, zphi) |
---|
455 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ref_liq_pi, ref_ice_pi |
---|
456 | !$OMP THREADPRIVATE(ref_liq_pi, ref_ice_pi) |
---|
457 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: zx_rh, zx_rhl, zx_rhi |
---|
458 | !$OMP THREADPRIVATE(zx_rh, zx_rhl, zx_rhi) |
---|
459 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: prfl, psfl, fraca, bsfl |
---|
460 | !$OMP THREADPRIVATE(prfl, psfl, fraca, bsfl) |
---|
461 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: Vprecip, zw2 |
---|
462 | !$OMP THREADPRIVATE(Vprecip, zw2) |
---|
463 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: pmfd, pmfu |
---|
464 | !$OMP THREADPRIVATE(pmfd, pmfu) |
---|
465 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:,:) :: fluxt, fluxu, fluxv |
---|
466 | !$OMP THREADPRIVATE(fluxt, fluxu, fluxv) |
---|
467 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:,:) :: uwriteSTD, vwriteSTD, wwriteSTD |
---|
468 | !$OMP THREADPRIVATE(uwriteSTD, vwriteSTD, wwriteSTD) |
---|
469 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:,:) :: phiwriteSTD, qwriteSTD, twriteSTD, rhwriteSTD |
---|
470 | !$OMP THREADPRIVATE(phiwriteSTD, qwriteSTD, twriteSTD, rhwriteSTD) |
---|
471 | |
---|
472 | |
---|
473 | ! ug et d'autres encore: |
---|
474 | REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: beta_prec |
---|
475 | !$OMP THREADPRIVATE(beta_prec) |
---|
476 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: rneb,rnebjn,rneblsvol |
---|
477 | !$OMP THREADPRIVATE(rneb,rnebjn,rneblsvol) |
---|
478 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: pfraclr,pfracld |
---|
479 | !$OMP THREADPRIVATE(pfraclr,pfracld) |
---|
480 | |
---|
481 | ! variables de sorties MM |
---|
482 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: zxsnow,snowhgt,qsnow,to_ice |
---|
483 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: sissnow,runoff,albsol3_lic |
---|
484 | !$OMP THREADPRIVATE(zxsnow,snowhgt,qsnow,to_ice) |
---|
485 | !$OMP THREADPRIVATE(sissnow,runoff,albsol3_lic) |
---|
486 | |
---|
487 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: p_tropopause, z_tropopause, t_tropopause |
---|
488 | !$OMP THREADPRIVATE(p_tropopause, z_tropopause, t_tropopause) |
---|
489 | |
---|
490 | INTEGER,ALLOCATABLE,SAVE,DIMENSION(:,:) :: zn2mout |
---|
491 | !$OMP THREADPRIVATE(zn2mout) |
---|
492 | |
---|
493 | REAL, SAVE, ALLOCATABLE :: qclr(:,:) |
---|
494 | !$OMP THREADPRIVATE(qclr) |
---|
495 | REAL, SAVE, ALLOCATABLE :: qcld(:,:) |
---|
496 | !$OMP THREADPRIVATE(qcld) |
---|
497 | REAL, SAVE, ALLOCATABLE :: qss(:,:) |
---|
498 | !$OMP THREADPRIVATE(qss) |
---|
499 | REAL, SAVE, ALLOCATABLE :: qvc(:,:) |
---|
500 | !$OMP THREADPRIVATE(qvc) |
---|
501 | REAL, SAVE, ALLOCATABLE :: rnebclr(:,:) |
---|
502 | !$OMP THREADPRIVATE(rnebclr) |
---|
503 | REAL, SAVE, ALLOCATABLE :: rnebss(:,:) |
---|
504 | !$OMP THREADPRIVATE(rnebss) |
---|
505 | REAL, SAVE, ALLOCATABLE :: gamma_ss(:,:) |
---|
506 | !$OMP THREADPRIVATE(gamma_ss) |
---|
507 | REAL, SAVE, ALLOCATABLE :: N1_ss(:,:) |
---|
508 | !$OMP THREADPRIVATE(N1_ss) |
---|
509 | REAL, SAVE, ALLOCATABLE :: N2_ss(:,:) |
---|
510 | !$OMP THREADPRIVATE(N2_ss) |
---|
511 | REAL, SAVE, ALLOCATABLE :: drneb_sub(:,:) |
---|
512 | !$OMP THREADPRIVATE(drneb_sub) |
---|
513 | REAL, SAVE, ALLOCATABLE :: drneb_con(:,:) |
---|
514 | !$OMP THREADPRIVATE(drneb_con) |
---|
515 | REAL, SAVE, ALLOCATABLE :: drneb_tur(:,:) |
---|
516 | !$OMP THREADPRIVATE(drneb_tur) |
---|
517 | REAL, SAVE, ALLOCATABLE :: drneb_avi(:,:) |
---|
518 | !$OMP THREADPRIVATE(drneb_avi) |
---|
519 | REAL, SAVE, ALLOCATABLE :: zqsatl(:,:) |
---|
520 | !$OMP THREADPRIVATE(zqsatl) |
---|
521 | REAL, SAVE, ALLOCATABLE :: zqsats(:,:) |
---|
522 | !$OMP THREADPRIVATE(zqsats) |
---|
523 | REAL, SAVE, ALLOCATABLE :: Tcontr(:,:) |
---|
524 | !$OMP THREADPRIVATE(Tcontr) |
---|
525 | REAL, SAVE, ALLOCATABLE :: qcontr(:,:) |
---|
526 | !$OMP THREADPRIVATE(qcontr) |
---|
527 | REAL, SAVE, ALLOCATABLE :: qcontr2(:,:) |
---|
528 | !$OMP THREADPRIVATE(qcontr2) |
---|
529 | REAL, SAVE, ALLOCATABLE :: fcontrN(:,:) |
---|
530 | !$OMP THREADPRIVATE(fcontrN) |
---|
531 | REAL, SAVE, ALLOCATABLE :: fcontrP(:,:) |
---|
532 | !$OMP THREADPRIVATE(fcontrP) |
---|
533 | REAL, SAVE, ALLOCATABLE :: distcltop(:,:) |
---|
534 | !$OMP THREADPRIVATE(distcltop) |
---|
535 | REAL, SAVE, ALLOCATABLE :: temp_cltop(:,:) |
---|
536 | !$OMP THREADPRIVATE(temp_cltop) |
---|
537 | |
---|
538 | |
---|
539 | !--POPRECIP variables |
---|
540 | REAL, SAVE, ALLOCATABLE :: qraindiag(:,:) |
---|
541 | !$OMP THREADPRIVATE(qraindiag) |
---|
542 | REAL, SAVE, ALLOCATABLE :: qsnowdiag(:,:) |
---|
543 | !$OMP THREADPRIVATE(qsnowdiag) |
---|
544 | REAL, SAVE, ALLOCATABLE :: dqreva(:,:) |
---|
545 | !$OMP THREADPRIVATE(dqreva) |
---|
546 | REAL, SAVE, ALLOCATABLE :: dqrauto(:,:) |
---|
547 | !$OMP THREADPRIVATE(dqrauto) |
---|
548 | REAL, SAVE, ALLOCATABLE :: dqrcol(:,:) |
---|
549 | !$OMP THREADPRIVATE(dqrcol) |
---|
550 | REAL, SAVE, ALLOCATABLE :: dqrmelt(:,:) |
---|
551 | !$OMP THREADPRIVATE(dqrmelt) |
---|
552 | REAL, SAVE, ALLOCATABLE :: dqrfreez(:,:) |
---|
553 | !$OMP THREADPRIVATE(dqrfreez) |
---|
554 | REAL, SAVE, ALLOCATABLE :: dqssub(:,:) |
---|
555 | !$OMP THREADPRIVATE(dqssub) |
---|
556 | REAL, SAVE, ALLOCATABLE :: dqsauto(:,:) |
---|
557 | !$OMP THREADPRIVATE(dqsauto) |
---|
558 | REAL, SAVE, ALLOCATABLE :: dqsagg(:,:) |
---|
559 | !$OMP THREADPRIVATE(dqsagg) |
---|
560 | REAL, SAVE, ALLOCATABLE :: dqsrim(:,:) |
---|
561 | !$OMP THREADPRIVATE(dqsrim) |
---|
562 | REAL, SAVE, ALLOCATABLE :: dqsmelt(:,:) |
---|
563 | !$OMP THREADPRIVATE(dqsmelt) |
---|
564 | REAL, SAVE, ALLOCATABLE :: dqsfreez(:,:) |
---|
565 | !$OMP THREADPRIVATE(dqsfreez) |
---|
566 | |
---|
567 | |
---|
568 | |
---|
569 | |
---|
570 | |
---|
571 | #ifdef CPP_StratAer |
---|
572 | ! |
---|
573 | ! variables for stratospheric aerosol |
---|
574 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: d_q_emiss |
---|
575 | !$OMP THREADPRIVATE(d_q_emiss) |
---|
576 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: R2SO4 |
---|
577 | !$OMP THREADPRIVATE(R2SO4) |
---|
578 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: R2SO4B |
---|
579 | !$OMP THREADPRIVATE(R2SO4B) |
---|
580 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: DENSO4 |
---|
581 | !$OMP THREADPRIVATE(DENSO4) |
---|
582 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:, :) :: DENSO4B |
---|
583 | !$OMP THREADPRIVATE(DENSO4B) |
---|
584 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: f_r_wet |
---|
585 | !$OMP THREADPRIVATE(f_r_wet) |
---|
586 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:, :) :: f_r_wetB |
---|
587 | !$OMP THREADPRIVATE(f_r_wetB) |
---|
588 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: decfluxaer |
---|
589 | !$OMP THREADPRIVATE(decfluxaer) |
---|
590 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: mdw |
---|
591 | !$OMP THREADPRIVATE(mdw) |
---|
592 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: OCS_lifetime |
---|
593 | !$OMP THREADPRIVATE(OCS_lifetime) |
---|
594 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: SO2_lifetime |
---|
595 | !$OMP THREADPRIVATE(SO2_lifetime) |
---|
596 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: H2SO4_lifetime |
---|
597 | !$OMP THREADPRIVATE(H2SO4_lifetime) |
---|
598 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: O3_clim |
---|
599 | !$OMP THREADPRIVATE(O3_clim) |
---|
600 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: alpha_bin |
---|
601 | !$OMP THREADPRIVATE(alpha_bin) |
---|
602 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: piz_bin |
---|
603 | !$OMP THREADPRIVATE(piz_bin) |
---|
604 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: cg_bin |
---|
605 | !$OMP THREADPRIVATE(cg_bin) |
---|
606 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: tau_strat_550 |
---|
607 | !$OMP THREADPRIVATE(tau_strat_550) |
---|
608 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: tau_strat_1020 |
---|
609 | !$OMP THREADPRIVATE(tau_strat_1020) |
---|
610 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: tausum_strat |
---|
611 | !$OMP THREADPRIVATE(tausum_strat) |
---|
612 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: surf_PM25_sulf |
---|
613 | !$OMP THREADPRIVATE(surf_PM25_sulf) |
---|
614 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: vsed_aer |
---|
615 | !$OMP THREADPRIVATE(vsed_aer) |
---|
616 | ! |
---|
617 | !---3D budget variables |
---|
618 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: budg_3D_nucl |
---|
619 | !$OMP THREADPRIVATE(budg_3D_nucl) |
---|
620 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: budg_3D_cond_evap |
---|
621 | !$OMP THREADPRIVATE(budg_3D_cond_evap) |
---|
622 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: budg_3D_ocs_to_so2 |
---|
623 | !$OMP THREADPRIVATE(budg_3D_ocs_to_so2) |
---|
624 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: budg_3D_so2_to_h2so4 |
---|
625 | !$OMP THREADPRIVATE(budg_3D_so2_to_h2so4) |
---|
626 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: budg_3D_backgr_ocs |
---|
627 | !$OMP THREADPRIVATE(budg_3D_backgr_ocs) |
---|
628 | REAL, ALLOCATABLE, SAVE, DIMENSION(:,:) :: budg_3D_backgr_so2 |
---|
629 | !$OMP THREADPRIVATE(budg_3D_backgr_so2) |
---|
630 | ! |
---|
631 | !---2D budget variables |
---|
632 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_dry_ocs |
---|
633 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_dry_so2 |
---|
634 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_dry_h2so4 |
---|
635 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_dry_part |
---|
636 | !$OMP THREADPRIVATE(budg_dep_dry_ocs,budg_dep_dry_so2,budg_dep_dry_h2so4,budg_dep_dry_part) |
---|
637 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_wet_ocs |
---|
638 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_wet_so2 |
---|
639 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_wet_h2so4 |
---|
640 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_dep_wet_part |
---|
641 | !$OMP THREADPRIVATE(budg_dep_wet_ocs,budg_dep_wet_so2,budg_dep_wet_h2so4,budg_dep_wet_part) |
---|
642 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_emi_ocs |
---|
643 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_emi_so2 |
---|
644 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_emi_h2so4 |
---|
645 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_emi_part |
---|
646 | !$OMP THREADPRIVATE(budg_emi_ocs,budg_emi_so2,budg_emi_h2so4,budg_emi_part) |
---|
647 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_ocs_to_so2 |
---|
648 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_so2_to_h2so4 |
---|
649 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_h2so4_to_part |
---|
650 | !$OMP THREADPRIVATE(budg_ocs_to_so2,budg_so2_to_h2so4,budg_h2so4_to_part) |
---|
651 | REAL, ALLOCATABLE, SAVE, DIMENSION(:) :: budg_sed_part |
---|
652 | !$OMP THREADPRIVATE(budg_sed_part) |
---|
653 | #endif |
---|
654 | #ifdef REPROBUS |
---|
655 | REAL,SAVE,ALLOCATABLE :: d_q_emiss(:,:) |
---|
656 | !$OMP THREADPRIVATE(d_q_emiss) |
---|
657 | #endif |
---|
658 | |
---|
659 | CONTAINS |
---|
660 | |
---|
661 | !====================================================================== |
---|
662 | SUBROUTINE phys_local_var_init |
---|
663 | USE dimphy |
---|
664 | USE infotrac_phy, ONLY : nbtr |
---|
665 | USE aero_mod |
---|
666 | USE indice_sol_mod |
---|
667 | USE phys_output_var_mod |
---|
668 | USE phys_state_var_mod |
---|
669 | #ifdef CPP_StratAer |
---|
670 | USE infotrac_phy, ONLY : nbtr_bin |
---|
671 | #endif |
---|
672 | |
---|
673 | IMPLICIT NONE |
---|
674 | ALLOCATE(t_seri(klon,klev),q_seri(klon,klev),ql_seri(klon,klev),qs_seri(klon,klev), qbs_seri(klon,klev)) |
---|
675 | ALLOCATE(u_seri(klon,klev),v_seri(klon,klev)) |
---|
676 | ALLOCATE(l_mixmin(klon,klev+1,nbsrf),l_mix(klon,klev+1,nbsrf),wprime(klon,klev+1,nbsrf)) |
---|
677 | ALLOCATE(pbl_eps(klon,klev+1,nbsrf+1)) |
---|
678 | pbl_eps(:,:,:)=0. |
---|
679 | l_mix(:,:,:)=0.;l_mixmin(:,:,:)=0.;wprime(:,:,:)=0. ! doit etre initialse car pas toujours remplis |
---|
680 | ALLOCATE(rhcl(klon,klev)) |
---|
681 | ALLOCATE(tr_seri(klon,klev,nbtr)) |
---|
682 | ALLOCATE(d_t_dyn(klon,klev),d_q_dyn(klon,klev)) |
---|
683 | ALLOCATE(d_ql_dyn(klon,klev),d_qs_dyn(klon,klev), d_qbs_dyn(klon,klev)) |
---|
684 | ALLOCATE(d_q_dyn2d(klon),d_ql_dyn2d(klon),d_qs_dyn2d(klon), d_qbs_dyn2d(klon)) |
---|
685 | ALLOCATE(d_u_dyn(klon,klev),d_v_dyn(klon,klev)) |
---|
686 | ALLOCATE(d_tr_dyn(klon,klev,nbtr)) !RomP |
---|
687 | ALLOCATE(d_t_con(klon,klev),d_q_con(klon,klev),d_q_con_zmasse(klon,klev)) |
---|
688 | ALLOCATE(d_u_con(klon,klev),d_v_con(klon,klev)) |
---|
689 | ALLOCATE(d_t_wake(klon,klev),d_q_wake(klon,klev)) |
---|
690 | ALLOCATE(d_t_lsc(klon,klev),d_q_lsc(klon,klev)) |
---|
691 | ALLOCATE(d_t_lwr(klon,klev),d_t_lw0(klon,klev)) |
---|
692 | ALLOCATE(d_t_swr(klon,klev),d_t_sw0(klon,klev)) |
---|
693 | ALLOCATE(d_ql_lsc(klon,klev),d_qi_lsc(klon,klev)) |
---|
694 | ALLOCATE(d_t_ajsb(klon,klev),d_q_ajsb(klon,klev)) |
---|
695 | ALLOCATE(d_t_ajs(klon,klev),d_q_ajs(klon,klev)) |
---|
696 | !nrlmd< |
---|
697 | ALLOCATE(d_t_ajs_w(klon,klev),d_q_ajs_w(klon,klev)) |
---|
698 | ALLOCATE(d_t_ajs_x(klon,klev),d_q_ajs_x(klon,klev)) |
---|
699 | !>nrlmd |
---|
700 | ALLOCATE(d_u_ajs(klon,klev),d_v_ajs(klon,klev)) |
---|
701 | ALLOCATE(d_t_eva(klon,klev),d_q_eva(klon,klev)) |
---|
702 | ALLOCATE(d_ql_eva(klon,klev),d_qi_eva(klon,klev)) |
---|
703 | ALLOCATE(d_t_lscst(klon,klev),d_q_lscst(klon,klev)) |
---|
704 | ALLOCATE(d_t_lscth(klon,klev),d_q_lscth(klon,klev)) |
---|
705 | ALLOCATE(plul_st(klon),plul_th(klon)) |
---|
706 | ALLOCATE(d_t_vdf(klon,klev),d_q_vdf(klon,klev),d_t_diss(klon,klev)) |
---|
707 | ALLOCATE (d_qbs_vdf(klon,klev)) |
---|
708 | ALLOCATE(d_t_bs(klon,klev),d_q_bs(klon,klev),d_qbs_bs(klon,klev)) |
---|
709 | ALLOCATE(d_t_vdf_w(klon,klev),d_q_vdf_w(klon,klev)) |
---|
710 | ALLOCATE(d_t_vdf_x(klon,klev),d_q_vdf_x(klon,klev)) |
---|
711 | |
---|
712 | ALLOCATE(d_u_vdf(klon,klev),d_v_vdf(klon,klev)) |
---|
713 | ALLOCATE(d_t_oli(klon,klev),d_t_oro(klon,klev)) |
---|
714 | ALLOCATE(d_u_oli(klon,klev),d_v_oli(klon,klev)) |
---|
715 | ALLOCATE(d_u_oro(klon,klev),d_v_oro(klon,klev)) |
---|
716 | ALLOCATE(d_u_oro_gw(klon,klev),d_v_oro_gw(klon,klev)) |
---|
717 | ALLOCATE(d_t_oro_gw(klon,klev)) |
---|
718 | ALLOCATE(d_t_lif(klon,klev),d_t_ec(klon,klev)) |
---|
719 | ALLOCATE(d_u_lif(klon,klev),d_v_lif(klon,klev)) |
---|
720 | ALLOCATE(d_ts(klon,nbsrf), d_tr(klon,klev,nbtr)) |
---|
721 | |
---|
722 | ! Special RRTM |
---|
723 | ALLOCATE(ZLWFT0_i(klon,klev+1),ZSWFT0_i(klon,klev+1),ZFLDN0(klon,klev+1)) |
---|
724 | ZFLDN0= 0. |
---|
725 | ALLOCATE(ZFLUP0(klon,klev+1),ZFSDN0(klon,klev+1),ZFSUP0(klon,klev+1)) |
---|
726 | ! |
---|
727 | ALLOCATE(topswad_aero(klon), solswad_aero(klon)) |
---|
728 | ALLOCATE(topswai_aero(klon), solswai_aero(klon)) |
---|
729 | ALLOCATE(topswad0_aero(klon), solswad0_aero(klon)) |
---|
730 | ALLOCATE(toplwad_aero(klon), sollwad_aero(klon)) |
---|
731 | ALLOCATE(toplwai_aero(klon), sollwai_aero(klon)) |
---|
732 | ALLOCATE(toplwad0_aero(klon), sollwad0_aero(klon)) |
---|
733 | ALLOCATE(topsw_aero(klon,naero_grp), solsw_aero(klon,naero_grp)) |
---|
734 | ALLOCATE(topsw0_aero(klon,naero_grp), solsw0_aero(klon,naero_grp)) |
---|
735 | ALLOCATE(topswcf_aero(klon,3), solswcf_aero(klon,3)) |
---|
736 | ALLOCATE(du_gwd_hines(klon,klev),dv_gwd_hines(klon,klev)) |
---|
737 | ALLOCATE(dv_gwd_rando(klon,klev),dv_gwd_front(klon,klev)) |
---|
738 | ALLOCATE(east_gwstress(klon,klev),west_gwstress(klon,klev)) |
---|
739 | east_gwstress(:,:)=0 !ym missing init |
---|
740 | west_gwstress(:,:)=0 !ym missing init |
---|
741 | ALLOCATE(d_t_hin(klon,klev)) |
---|
742 | ALLOCATE(d_q_ch4(klon,klev)) |
---|
743 | ALLOCATE(stratomask(klon,klev)) |
---|
744 | ALLOCATE(tausum_aero(klon,nwave,naero_tot)) |
---|
745 | ALLOCATE(drytausum_aero(klon,naero_tot)) |
---|
746 | ALLOCATE(tau3d_aero(klon,klev,nwave,naero_tot)) |
---|
747 | ALLOCATE(dNovrN(klon)) |
---|
748 | ALLOCATE(zfice(klon, klev)) |
---|
749 | ALLOCATE(od443aer(klon)) |
---|
750 | ALLOCATE(od550aer(klon)) |
---|
751 | ALLOCATE(od865aer(klon)) |
---|
752 | ALLOCATE(dryod550aer(klon)) |
---|
753 | dryod550aer(:) = 0. |
---|
754 | ALLOCATE(abs550aer(klon)) |
---|
755 | abs550aer(:) = 0. |
---|
756 | ALLOCATE(ec550aer(klon,klev)) |
---|
757 | ALLOCATE(od550lt1aer(klon)) |
---|
758 | ALLOCATE(sconcso4(klon)) |
---|
759 | ALLOCATE(sconcno3(klon)) |
---|
760 | ALLOCATE(sconcoa(klon)) |
---|
761 | ALLOCATE(sconcbc(klon)) |
---|
762 | ALLOCATE(sconcss(klon)) |
---|
763 | ALLOCATE(sconcdust(klon)) |
---|
764 | ALLOCATE(concso4(klon,klev)) |
---|
765 | ALLOCATE(concno3(klon,klev)) |
---|
766 | ALLOCATE(concoa(klon,klev)) |
---|
767 | ALLOCATE(concbc(klon,klev)) |
---|
768 | ALLOCATE(concss(klon,klev)) |
---|
769 | ALLOCATE(concdust(klon,klev)) |
---|
770 | ALLOCATE(loadso4(klon)) |
---|
771 | ALLOCATE(loadoa(klon)) |
---|
772 | ALLOCATE(loadbc(klon)) |
---|
773 | ALLOCATE(loadss(klon)) |
---|
774 | ALLOCATE(loaddust(klon)) |
---|
775 | ALLOCATE(loadno3(klon)) |
---|
776 | ALLOCATE(load_tmp1(klon)) |
---|
777 | ALLOCATE(load_tmp2(klon)) |
---|
778 | ALLOCATE(load_tmp3(klon)) |
---|
779 | ALLOCATE(load_tmp4(klon)) |
---|
780 | ALLOCATE(load_tmp5(klon)) |
---|
781 | ALLOCATE(load_tmp6(klon)) |
---|
782 | ALLOCATE(load_tmp7(klon)) |
---|
783 | ALLOCATE(load_tmp8(klon)) |
---|
784 | ALLOCATE(load_tmp9(klon)) |
---|
785 | ALLOCATE(load_tmp10(klon)) |
---|
786 | |
---|
787 | !IM ajout variables CFMIP2/CMIP5 |
---|
788 | ALLOCATE(topswad_aerop(klon), solswad_aerop(klon)) |
---|
789 | ALLOCATE(topswai_aerop(klon), solswai_aerop(klon)) |
---|
790 | ALLOCATE(topswad0_aerop(klon), solswad0_aerop(klon)) |
---|
791 | ALLOCATE(topsw_aerop(klon,naero_grp), topsw0_aerop(klon,naero_grp)) |
---|
792 | ALLOCATE(solsw_aerop(klon,naero_grp), solsw0_aerop(klon,naero_grp)) |
---|
793 | ALLOCATE(topswcf_aerop(klon,naero_grp), solswcf_aerop(klon,naero_grp)) |
---|
794 | |
---|
795 | ! additional LW variables CK |
---|
796 | ALLOCATE(toplwad_aerop(klon), sollwad_aerop(klon)) |
---|
797 | ALLOCATE(toplwai_aerop(klon), sollwai_aerop(klon)) |
---|
798 | ALLOCATE(toplwad0_aerop(klon), sollwad0_aerop(klon)) |
---|
799 | |
---|
800 | !AI Ajout Ecrad (3Deffect) |
---|
801 | ALLOCATE(topswad_aero_s2(klon), solswad_aero_s2(klon)) |
---|
802 | ALLOCATE(topswai_aero_s2(klon), solswai_aero_s2(klon)) |
---|
803 | ALLOCATE(topswad0_aero_s2(klon), solswad0_aero_s2(klon)) |
---|
804 | ALLOCATE(topsw_aero_s2(klon,naero_grp), topsw0_aero_s2(klon,naero_grp)) |
---|
805 | ALLOCATE(solsw_aero_s2(klon,naero_grp), solsw0_aero_s2(klon,naero_grp)) |
---|
806 | ALLOCATE(topswcf_aero_s2(klon,naero_grp), solswcf_aero_s2(klon,naero_grp)) |
---|
807 | ! additional LW variables CK |
---|
808 | ALLOCATE(toplwad_aero_s2(klon), sollwad_aero_s2(klon)) |
---|
809 | ALLOCATE(toplwai_aero_s2(klon), sollwai_aero_s2(klon)) |
---|
810 | ALLOCATE(toplwad0_aero_s2(klon), sollwad0_aero_s2(klon)) |
---|
811 | |
---|
812 | ! FH Ajout de celles necessaires au phys_output_write_mod |
---|
813 | |
---|
814 | ALLOCATE(tal1(klon), pal1(klon), pab1(klon), pab2(klon)) |
---|
815 | ALLOCATE(ptstar(klon),pt0(klon),slp(klon)) |
---|
816 | !! |
---|
817 | !! Wake variables |
---|
818 | ALLOCATE(alp_wake(klon)) |
---|
819 | ALLOCATE(wake_h(klon),wake_k(klon)) |
---|
820 | ALLOCATE(wake_omg(klon, klev)) |
---|
821 | ALLOCATE(d_deltat_wk(klon, klev), d_deltaq_wk(klon, klev)) |
---|
822 | ALLOCATE(d_s_wk(klon), d_s_a_wk(klon), d_dens_wk(klon), d_dens_a_wk(klon)) |
---|
823 | ALLOCATE(d_deltat_wk_gw(klon, klev), d_deltaq_wk_gw(klon, klev)) |
---|
824 | ALLOCATE(d_deltat_vdf(klon, klev), d_deltaq_vdf(klon, klev)) |
---|
825 | !! ALLOCATE( d_s_vdf(klon), d_dens_vdf(klon)) |
---|
826 | ALLOCATE(d_deltat_the(klon, klev), d_deltaq_the(klon, klev)) |
---|
827 | !! ALLOCATE( d_s_the(klon), d_dens_the(klon)) |
---|
828 | ALLOCATE(d_deltat_ajs_cv(klon, klev), d_deltaq_ajs_cv(klon, klev)) |
---|
829 | !! End of wake variables |
---|
830 | !! |
---|
831 | ALLOCATE(bils(klon)) |
---|
832 | ALLOCATE(cdragm(klon), cdragh(klon), cldh(klon), cldl(klon)) |
---|
833 | ALLOCATE(cldm(klon), cldq(klon), cldt(klon), qsat2m(klon)) |
---|
834 | ALLOCATE(JrNt(klon)) |
---|
835 | ALLOCATE(dthmin(klon), evap(klon), snowerosion(klon), fder(klon), plcl(klon), plfc(klon)) |
---|
836 | ALLOCATE(prw(klon), prlw(klon), prsw(klon), prbsw(klon), water_budget(klon), zustar(klon), zu10m(klon), zv10m(klon), rh2m(klon)) |
---|
837 | ALLOCATE(s_lcl(klon)) |
---|
838 | ALLOCATE(s_pblh(klon), s_pblt(klon), s_therm(klon)) |
---|
839 | ! |
---|
840 | !nrlmd+jyg< |
---|
841 | ALLOCATE(s_pblh_x(klon), s_pblh_w(klon)) |
---|
842 | ALLOCATE(s_lcl_x(klon), s_lcl_w(klon)) |
---|
843 | !>nrlmd+jyg |
---|
844 | ! |
---|
845 | ALLOCATE(slab_wfbils(klon), tpot(klon), tpote(klon), ue(klon)) |
---|
846 | ALLOCATE(uq(klon), ve(klon), vq(klon), zxffonte(klon)) |
---|
847 | ALLOCATE(uwat(klon), vwat(klon)) |
---|
848 | ALLOCATE(zxfqcalving(klon), zxfluxlat(klon)) |
---|
849 | ALLOCATE(zxtsol(klon), snow_lsc(klon), zxfqfonte(klon), zxqsurf(klon)) |
---|
850 | ALLOCATE(zxrunofflic(klon)) |
---|
851 | ALLOCATE(zxustartlic(klon), zxrhoslic(klon), zxqsaltlic(klon)) |
---|
852 | zxustartlic(:)=0. ; zxrhoslic(:)=0. ; zxqsaltlic(:)=0. |
---|
853 | ALLOCATE(rain_lsc(klon)) |
---|
854 | ALLOCATE(rain_num(klon)) |
---|
855 | ALLOCATE(qlth(klon,klev), qith(klon,klev), qsith(klon,klev), wiceth(klon,klev)) |
---|
856 | ! |
---|
857 | ALLOCATE(sens_x(klon), sens_w(klon)) |
---|
858 | ALLOCATE(zxfluxlat_x(klon), zxfluxlat_w(klon)) |
---|
859 | ALLOCATE(delta_qsurf(klon)) |
---|
860 | !jyg< |
---|
861 | !! ALLOCATE(t_x(klon,klev), t_w(klon,klev)) |
---|
862 | !! ALLOCATE(q_x(klon,klev), q_w(klon,klev)) |
---|
863 | !>jyg |
---|
864 | ALLOCATE(dtvdf_x(klon,klev), dtvdf_w(klon,klev)) |
---|
865 | dtvdf_x = 0 ; dtvdf_w=0 ; !ym missing init |
---|
866 | ALLOCATE(dqvdf_x(klon,klev), dqvdf_w(klon,klev)) |
---|
867 | dqvdf_x = 0 ; dqvdf_w=0 ; !ym missing init |
---|
868 | ALLOCATE(pbl_tke_input(klon,klev+1,nbsrf)) |
---|
869 | ALLOCATE(t_therm(klon,klev), q_therm(klon,klev),u_therm(klon,klev), v_therm(klon,klev)) |
---|
870 | ALLOCATE(cdragh_x(klon), cdragh_w(klon)) |
---|
871 | ALLOCATE(cdragm_x(klon), cdragm_w(klon)) |
---|
872 | ALLOCATE(kh(klon), kh_x(klon), kh_w(klon)) |
---|
873 | ! |
---|
874 | ALLOCATE(ptconv(klon,klev)) |
---|
875 | ALLOCATE(ratqsc(klon,klev)) |
---|
876 | ! |
---|
877 | ALLOCATE(wbeff(klon), convoccur(klon), zmax_th(klon)) |
---|
878 | ALLOCATE(zq2m(klon), zt2m(klon), weak_inversion(klon)) |
---|
879 | ALLOCATE(zt2m_min_mon(klon), zt2m_max_mon(klon)) |
---|
880 | ALLOCATE(t2m_min_mon(klon), t2m_max_mon(klon)) |
---|
881 | ALLOCATE(sens(klon), flwp(klon), fiwp(klon)) |
---|
882 | ALLOCATE(alp_bl_conv(klon), alp_bl_det(klon)) |
---|
883 | alp_bl_conv(:)=0 ; alp_bl_det(:)=0 |
---|
884 | ALLOCATE(alp_bl_fluct_m(klon), alp_bl_fluct_tke(klon)) |
---|
885 | alp_bl_fluct_m(:)=0 ; alp_bl_fluct_tke(:)= 0. |
---|
886 | ALLOCATE(alp_bl_stat(klon), n2(klon), s2(klon), strig(klon), zcong(klon), zlcl_th(klon)) |
---|
887 | alp_bl_stat(:)=0 |
---|
888 | ALLOCATE(proba_notrig(klon), random_notrig(klon)) |
---|
889 | |
---|
890 | ALLOCATE(dnwd0(klon, klev)) |
---|
891 | ! ALLOCATE(upwd(klon, klev), omega(klon, klev), coefh(klon, klev)) |
---|
892 | ALLOCATE(omega(klon, klev)) |
---|
893 | ALLOCATE(epmax_diag(klon)) ! epmax_cape |
---|
894 | ! ALLOCATE(coefm(klon, klev), lambda_th(klon, klev), cldemi(klon, klev)) |
---|
895 | ALLOCATE(lambda_th(klon, klev), cldemi(klon, klev)) |
---|
896 | ALLOCATE(cldfra(klon, klev), cldtau(klon, klev), fiwc(klon, klev)) |
---|
897 | ALLOCATE(fl(klon, klev), re(klon, klev), flwc(klon, klev)) |
---|
898 | ALLOCATE(ref_liq(klon, klev), ref_ice(klon, klev), theta(klon, klev)) |
---|
899 | ALLOCATE(ref_liq_pi(klon, klev), ref_ice_pi(klon, klev)) |
---|
900 | ALLOCATE(zphi(klon, klev), zx_rh(klon, klev), zx_rhl(klon,klev), zx_rhi(klon,klev)) |
---|
901 | zx_rhl(:,:)=0.; zx_rhi(:,:)=0. ! because not always defined |
---|
902 | ALLOCATE(pmfd(klon, klev), pmfu(klon, klev)) |
---|
903 | |
---|
904 | ALLOCATE(t2m(klon, nbsrf), fluxlat(klon, nbsrf)) |
---|
905 | ALLOCATE(fsollw(klon, nbsrf)) |
---|
906 | ALLOCATE(fsolsw(klon, nbsrf), wfbils(klon, nbsrf)) |
---|
907 | ALLOCATE(wfevap(klon, nbsrf)) |
---|
908 | ALLOCATE(evap_pot(klon, nbsrf)) |
---|
909 | ! FC |
---|
910 | ALLOCATE(zxfluxq(klon,klev),zxfluxt(klon,klev)) |
---|
911 | ! |
---|
912 | ! Deep convective variables used in phytrac |
---|
913 | ALLOCATE(pmflxr(klon, klev+1), pmflxs(klon, klev+1)) |
---|
914 | ALLOCATE(wdtrainA(klon,klev),wdtrainS(klon,klev),wdtrainM(klon,klev)) |
---|
915 | ALLOCATE(dnwd(klon, klev), upwd(klon, klev)) |
---|
916 | ALLOCATE(ep(klon,klev)) ! epmax_cape |
---|
917 | ALLOCATE(da(klon,klev), mp(klon,klev)) |
---|
918 | ALLOCATE(phi(klon,klev,klev)) |
---|
919 | ALLOCATE(wght_cvfd(klon,klev)) |
---|
920 | ALLOCATE(phi2(klon,klev,klev)) |
---|
921 | ALLOCATE(d1a(klon,klev), dam(klon,klev)) |
---|
922 | ALLOCATE(ev(klon,klev)) |
---|
923 | ALLOCATE(elij(klon,klev,klev)) |
---|
924 | ALLOCATE(qtaa(klon,klev)) |
---|
925 | ALLOCATE(clw(klon,klev)) |
---|
926 | ALLOCATE(epmlmMm(klon,klev,klev), eplaMm(klon,klev)) |
---|
927 | ALLOCATE(sij(klon,klev,klev)) |
---|
928 | |
---|
929 | ALLOCATE(prfl(klon, klev+1)) |
---|
930 | ALLOCATE(psfl(klon, klev+1), fraca(klon, klev+1), Vprecip(klon, klev+1)) |
---|
931 | ALLOCATE(bsfl(klon,klev+1)) |
---|
932 | ALLOCATE(zw2(klon, klev+1)) |
---|
933 | |
---|
934 | ALLOCATE(fluxu(klon, klev, nbsrf), fluxv(klon, klev, nbsrf)) |
---|
935 | ALLOCATE(fluxt(klon, klev, nbsrf)) |
---|
936 | |
---|
937 | ALLOCATE(uwriteSTD(klon,nlevSTD,nfiles), vwriteSTD(klon,nlevSTD,nfiles)) |
---|
938 | ALLOCATE(wwriteSTD(klon,nlevSTD,nfiles), phiwriteSTD(klon,nlevSTD,nfiles)) |
---|
939 | ALLOCATE(qwriteSTD(klon,nlevSTD,nfiles), twriteSTD(klon,nlevSTD,nfiles)) |
---|
940 | ALLOCATE(rhwriteSTD(klon,nlevSTD,nfiles)) |
---|
941 | |
---|
942 | ! ug et d'autres encore: |
---|
943 | ALLOCATE(beta_prec(klon,klev)) |
---|
944 | ALLOCATE(rneb(klon,klev),rnebjn(klon,klev),rneblsvol(klon,klev)) |
---|
945 | ALLOCATE(pfraclr(klon,klev),pfracld(klon,klev)) |
---|
946 | pfraclr(:,:)=0. ; pfracld(:,:)=0. ! because not always defined |
---|
947 | ALLOCATE(distcltop(klon,klev)) |
---|
948 | ALLOCATE(temp_cltop(klon,klev)) |
---|
949 | |
---|
950 | |
---|
951 | ALLOCATE (zxsnow(klon),snowhgt(klon),qsnow(klon),to_ice(klon)) |
---|
952 | ALLOCATE (sissnow(klon),runoff(klon),albsol3_lic(klon)) |
---|
953 | |
---|
954 | ALLOCATE (p_tropopause(klon)) |
---|
955 | ALLOCATE (z_tropopause(klon)) |
---|
956 | ALLOCATE (t_tropopause(klon)) |
---|
957 | |
---|
958 | ALLOCATE(zn2mout(klon,6)) |
---|
959 | |
---|
960 | ! Supersaturation |
---|
961 | ALLOCATE(rneb_seri(klon,klev)) |
---|
962 | ALLOCATE(d_rneb_dyn(klon,klev)) |
---|
963 | ALLOCATE(qclr(klon,klev), qcld(klon,klev), qss(klon,klev), qvc(klon,klev)) |
---|
964 | ALLOCATE(rnebclr(klon,klev), rnebss(klon,klev), gamma_ss(klon,klev)) |
---|
965 | ALLOCATE(N1_ss(klon,klev), N2_ss(klon,klev)) |
---|
966 | ALLOCATE(drneb_sub(klon,klev), drneb_con(klon,klev), drneb_tur(klon,klev), drneb_avi(klon,klev)) |
---|
967 | ALLOCATE(zqsatl(klon,klev), zqsats(klon,klev)) |
---|
968 | ALLOCATE(Tcontr(klon,klev), qcontr(klon,klev), qcontr2(klon,klev), fcontrN(klon,klev), fcontrP(klon,klev)) |
---|
969 | |
---|
970 | !--POPRECIP variables |
---|
971 | ALLOCATE(qraindiag(klon,klev), qsnowdiag(klon,klev)) |
---|
972 | ALLOCATE(dqreva(klon,klev), dqssub(klon,klev)) |
---|
973 | ALLOCATE(dqrauto(klon,klev), dqrcol(klon,klev), dqrmelt(klon,klev), dqrfreez(klon,klev)) |
---|
974 | ALLOCATE(dqsauto(klon,klev), dqsagg(klon,klev), dqsrim(klon,klev), dqsmelt(klon,klev), dqsfreez(klon,klev)) |
---|
975 | |
---|
976 | #ifdef CPP_StratAer |
---|
977 | ALLOCATE (d_q_emiss(klon,klev)) |
---|
978 | ALLOCATE (R2SO4(klon,klev)) |
---|
979 | ALLOCATE (R2SO4B(klon,klev,nbtr_bin)) |
---|
980 | ALLOCATE (DENSO4(klon,klev)) |
---|
981 | ALLOCATE (DENSO4B(klon,klev,nbtr_bin)) |
---|
982 | ALLOCATE (f_r_wet(klon,klev)) |
---|
983 | ALLOCATE (f_r_wetB(klon,klev,nbtr_bin)) |
---|
984 | ALLOCATE (decfluxaer(klon,nbtr)) |
---|
985 | ALLOCATE (mdw(nbtr)) |
---|
986 | ALLOCATE (budg_3D_nucl(klon,klev)) |
---|
987 | ALLOCATE (budg_3D_cond_evap(klon,klev)) |
---|
988 | ALLOCATE (budg_3D_ocs_to_so2(klon,klev)) |
---|
989 | ALLOCATE (budg_3D_so2_to_h2so4(klon,klev)) |
---|
990 | ALLOCATE (budg_3D_backgr_ocs(klon,klev)) |
---|
991 | ALLOCATE (budg_3D_backgr_so2(klon,klev)) |
---|
992 | ALLOCATE (OCS_lifetime(klon,klev)) |
---|
993 | ALLOCATE (SO2_lifetime(klon,klev)) |
---|
994 | ALLOCATE (H2SO4_lifetime(klon,klev)) |
---|
995 | ALLOCATE (O3_clim(klon,klev)) |
---|
996 | ALLOCATE (alpha_bin(nbands_sw_rrtm+nbands_lw_rrtm+nwave,nbtr)) |
---|
997 | ALLOCATE (piz_bin(nbands_sw_rrtm+nbands_lw_rrtm+nwave,nbtr)) |
---|
998 | ALLOCATE (cg_bin(nbands_sw_rrtm+nbands_lw_rrtm+nwave,nbtr)) |
---|
999 | ALLOCATE (tau_strat_550(klon,klev)) |
---|
1000 | ALLOCATE (tau_strat_1020(klon,klev)) |
---|
1001 | ALLOCATE (tausum_strat(klon,3)) |
---|
1002 | ALLOCATE (budg_dep_dry_ocs(klon)) |
---|
1003 | ALLOCATE (budg_dep_wet_ocs(klon)) |
---|
1004 | ALLOCATE (budg_dep_dry_so2(klon)) |
---|
1005 | ALLOCATE (budg_dep_wet_so2(klon)) |
---|
1006 | ALLOCATE (budg_dep_dry_h2so4(klon)) |
---|
1007 | ALLOCATE (budg_dep_wet_h2so4(klon)) |
---|
1008 | ALLOCATE (budg_dep_dry_part(klon)) |
---|
1009 | ALLOCATE (budg_dep_wet_part(klon)) |
---|
1010 | ALLOCATE (budg_emi_ocs(klon)) |
---|
1011 | ALLOCATE (budg_emi_so2(klon)) |
---|
1012 | ALLOCATE (budg_emi_h2so4(klon)) |
---|
1013 | ALLOCATE (budg_emi_part(klon)) |
---|
1014 | ALLOCATE (budg_ocs_to_so2(klon)) |
---|
1015 | ALLOCATE (budg_so2_to_h2so4(klon)) |
---|
1016 | ALLOCATE (budg_h2so4_to_part(klon)) |
---|
1017 | ALLOCATE (budg_sed_part(klon)) |
---|
1018 | ALLOCATE (surf_PM25_sulf(klon)) |
---|
1019 | ALLOCATE (vsed_aer(klon,klev)) |
---|
1020 | #endif |
---|
1021 | |
---|
1022 | END SUBROUTINE phys_local_var_init |
---|
1023 | |
---|
1024 | !====================================================================== |
---|
1025 | SUBROUTINE phys_local_var_end |
---|
1026 | USE dimphy |
---|
1027 | USE indice_sol_mod |
---|
1028 | IMPLICIT NONE |
---|
1029 | DEALLOCATE(t_seri,q_seri,ql_seri,qs_seri, qbs_seri) |
---|
1030 | DEALLOCATE(u_seri,v_seri) |
---|
1031 | DEALLOCATE(l_mixmin,l_mix,wprime) |
---|
1032 | DEALLOCATE(pbl_eps) |
---|
1033 | DEALLOCATE(rhcl) |
---|
1034 | DEALLOCATE(tr_seri) |
---|
1035 | DEALLOCATE(d_t_dyn,d_q_dyn) |
---|
1036 | DEALLOCATE(d_ql_dyn,d_qs_dyn, d_qbs_dyn) |
---|
1037 | DEALLOCATE(d_q_dyn2d,d_ql_dyn2d,d_qs_dyn2d, d_qbs_dyn2d) |
---|
1038 | DEALLOCATE(d_u_dyn,d_v_dyn) |
---|
1039 | DEALLOCATE(d_tr_dyn) !RomP |
---|
1040 | DEALLOCATE(d_t_con,d_q_con,d_q_con_zmasse) |
---|
1041 | DEALLOCATE(d_u_con,d_v_con) |
---|
1042 | DEALLOCATE(d_t_wake,d_q_wake) |
---|
1043 | DEALLOCATE(d_t_lsc,d_q_lsc) |
---|
1044 | DEALLOCATE(d_t_lwr,d_t_lw0) |
---|
1045 | DEALLOCATE(d_t_swr,d_t_sw0) |
---|
1046 | DEALLOCATE(d_ql_lsc,d_qi_lsc) |
---|
1047 | DEALLOCATE(d_t_ajsb,d_q_ajsb) |
---|
1048 | DEALLOCATE(d_t_ajs,d_q_ajs) |
---|
1049 | !nrlmd< |
---|
1050 | DEALLOCATE(d_t_ajs_w,d_q_ajs_w) |
---|
1051 | DEALLOCATE(d_t_ajs_x,d_q_ajs_x) |
---|
1052 | !>nrlmd |
---|
1053 | DEALLOCATE(d_u_ajs,d_v_ajs) |
---|
1054 | DEALLOCATE(d_t_eva,d_q_eva) |
---|
1055 | DEALLOCATE(d_ql_eva,d_qi_eva) |
---|
1056 | DEALLOCATE(d_t_lscst,d_q_lscst) |
---|
1057 | DEALLOCATE(d_t_lscth,d_q_lscth) |
---|
1058 | DEALLOCATE(plul_st,plul_th) |
---|
1059 | DEALLOCATE(d_t_vdf,d_q_vdf,d_t_diss) |
---|
1060 | DEALLOCATE(d_qbs_vdf) |
---|
1061 | DEALLOCATE(d_t_bs,d_q_bs,d_qbs_bs) |
---|
1062 | DEALLOCATE(d_u_vdf,d_v_vdf) |
---|
1063 | DEALLOCATE(d_t_oli,d_t_oro) |
---|
1064 | DEALLOCATE(d_u_oli,d_v_oli) |
---|
1065 | DEALLOCATE(d_u_oro,d_v_oro) |
---|
1066 | DEALLOCATE(d_t_oro_gw) |
---|
1067 | DEALLOCATE(d_u_oro_gw,d_v_oro_gw) |
---|
1068 | DEALLOCATE(d_t_lif,d_t_ec) |
---|
1069 | DEALLOCATE(d_u_lif,d_v_lif) |
---|
1070 | DEALLOCATE(d_ts, d_tr) |
---|
1071 | DEALLOCATE(topswad_aero,solswad_aero) |
---|
1072 | DEALLOCATE(topswai_aero,solswai_aero) |
---|
1073 | DEALLOCATE(topswad0_aero,solswad0_aero) |
---|
1074 | DEALLOCATE(toplwad_aero,sollwad_aero) |
---|
1075 | DEALLOCATE(toplwai_aero,sollwai_aero) |
---|
1076 | DEALLOCATE(toplwad0_aero,sollwad0_aero) |
---|
1077 | DEALLOCATE(topsw_aero,solsw_aero) |
---|
1078 | DEALLOCATE(topsw0_aero,solsw0_aero) |
---|
1079 | DEALLOCATE(topswcf_aero,solswcf_aero) |
---|
1080 | DEALLOCATE(stratomask) |
---|
1081 | DEALLOCATE(tausum_aero) |
---|
1082 | DEALLOCATE(drytausum_aero) |
---|
1083 | DEALLOCATE(tau3d_aero) |
---|
1084 | DEALLOCATE(dNovrN) |
---|
1085 | DEALLOCATE(zfice) |
---|
1086 | DEALLOCATE(od443aer) |
---|
1087 | DEALLOCATE(od550aer) |
---|
1088 | DEALLOCATE(od865aer) |
---|
1089 | DEALLOCATE(dryod550aer) |
---|
1090 | DEALLOCATE(abs550aer) |
---|
1091 | DEALLOCATE(ec550aer) |
---|
1092 | DEALLOCATE(od550lt1aer) |
---|
1093 | DEALLOCATE(sconcso4) |
---|
1094 | DEALLOCATE(sconcno3) |
---|
1095 | DEALLOCATE(sconcoa) |
---|
1096 | DEALLOCATE(sconcbc) |
---|
1097 | DEALLOCATE(sconcss) |
---|
1098 | DEALLOCATE(sconcdust) |
---|
1099 | DEALLOCATE(concso4) |
---|
1100 | DEALLOCATE(concno3) |
---|
1101 | DEALLOCATE(concoa) |
---|
1102 | DEALLOCATE(concbc) |
---|
1103 | DEALLOCATE(concss) |
---|
1104 | DEALLOCATE(concdust) |
---|
1105 | DEALLOCATE(loadso4) |
---|
1106 | DEALLOCATE(loadoa) |
---|
1107 | DEALLOCATE(loadbc) |
---|
1108 | DEALLOCATE(loadss) |
---|
1109 | DEALLOCATE(loaddust) |
---|
1110 | DEALLOCATE(loadno3) |
---|
1111 | DEALLOCATE(load_tmp1) |
---|
1112 | DEALLOCATE(load_tmp2) |
---|
1113 | DEALLOCATE(load_tmp3) |
---|
1114 | DEALLOCATE(load_tmp4) |
---|
1115 | DEALLOCATE(load_tmp5) |
---|
1116 | DEALLOCATE(load_tmp6) |
---|
1117 | DEALLOCATE(load_tmp7) |
---|
1118 | DEALLOCATE(load_tmp8) |
---|
1119 | DEALLOCATE(load_tmp9) |
---|
1120 | DEALLOCATE(load_tmp10) |
---|
1121 | DEALLOCATE(du_gwd_hines,dv_gwd_hines,d_t_hin) |
---|
1122 | DEALLOCATE(d_q_ch4) |
---|
1123 | DEALLOCATE(dv_gwd_rando,dv_gwd_front) |
---|
1124 | DEALLOCATE(east_gwstress,west_gwstress) |
---|
1125 | |
---|
1126 | !IM ajout variables CFMIP2/CMIP5 |
---|
1127 | DEALLOCATE(topswad_aerop, solswad_aerop) |
---|
1128 | DEALLOCATE(topswai_aerop, solswai_aerop) |
---|
1129 | DEALLOCATE(topswad0_aerop, solswad0_aerop) |
---|
1130 | DEALLOCATE(topsw_aerop, topsw0_aerop) |
---|
1131 | DEALLOCATE(solsw_aerop, solsw0_aerop) |
---|
1132 | DEALLOCATE(topswcf_aerop, solswcf_aerop) |
---|
1133 | !CK LW diagnostics |
---|
1134 | DEALLOCATE(toplwad_aerop, sollwad_aerop) |
---|
1135 | DEALLOCATE(toplwai_aerop, sollwai_aerop) |
---|
1136 | DEALLOCATE(toplwad0_aerop, sollwad0_aerop) |
---|
1137 | |
---|
1138 | !AI Ajout pour Ecrad (3Deffect) |
---|
1139 | DEALLOCATE(topswad_aero_s2, solswad_aero_s2) |
---|
1140 | DEALLOCATE(topswai_aero_s2, solswai_aero_s2) |
---|
1141 | DEALLOCATE(topswad0_aero_s2, solswad0_aero_s2) |
---|
1142 | DEALLOCATE(topsw_aero_s2, topsw0_aero_s2) |
---|
1143 | DEALLOCATE(solsw_aero_s2, solsw0_aero_s2) |
---|
1144 | DEALLOCATE(topswcf_aero_s2, solswcf_aero_s2) |
---|
1145 | !CK LW diagnostics |
---|
1146 | DEALLOCATE(toplwad_aero_s2, sollwad_aero_s2) |
---|
1147 | DEALLOCATE(toplwai_aero_s2, sollwai_aero_s2) |
---|
1148 | DEALLOCATE(toplwad0_aero_s2, sollwad0_aero_s2) |
---|
1149 | |
---|
1150 | ! FH Ajout de celles necessaires au phys_output_write_mod |
---|
1151 | DEALLOCATE(tal1, pal1, pab1, pab2) |
---|
1152 | DEALLOCATE(ptstar, pt0, slp) |
---|
1153 | ! |
---|
1154 | DEALLOCATE(alp_wake) |
---|
1155 | DEALLOCATE(wake_h,wake_k) |
---|
1156 | DEALLOCATE(wake_omg) |
---|
1157 | DEALLOCATE(d_deltat_wk, d_deltaq_wk) |
---|
1158 | DEALLOCATE(d_s_wk, d_s_a_wk, d_dens_wk, d_dens_a_wk) |
---|
1159 | DEALLOCATE(d_deltat_wk_gw, d_deltaq_wk_gw) |
---|
1160 | DEALLOCATE(d_deltat_vdf, d_deltaq_vdf) |
---|
1161 | !! DEALLOCATE( d_s_vdf, d_dens_vdf) |
---|
1162 | DEALLOCATE(d_deltat_the, d_deltaq_the) |
---|
1163 | !! DEALLOCATE( d_s_the, d_dens_the) |
---|
1164 | DEALLOCATE(d_deltat_ajs_cv, d_deltaq_ajs_cv) |
---|
1165 | ! |
---|
1166 | DEALLOCATE(bils) |
---|
1167 | DEALLOCATE(cdragm, cdragh, cldh, cldl) |
---|
1168 | DEALLOCATE(cldm, cldq, cldt, qsat2m) |
---|
1169 | DEALLOCATE(JrNt) |
---|
1170 | DEALLOCATE(dthmin, evap, snowerosion, fder, plcl, plfc) |
---|
1171 | DEALLOCATE(prw, prlw, prsw, prbsw, water_budget, zustar, zu10m, zv10m, rh2m, s_lcl) |
---|
1172 | DEALLOCATE(s_pblh, s_pblt, s_therm) |
---|
1173 | ! |
---|
1174 | !nrlmd+jyg< |
---|
1175 | DEALLOCATE(s_pblh_x, s_pblh_w) |
---|
1176 | DEALLOCATE(s_lcl_x, s_lcl_w) |
---|
1177 | !>nrlmd+jyg |
---|
1178 | ! |
---|
1179 | DEALLOCATE(slab_wfbils, tpot, tpote, ue) |
---|
1180 | DEALLOCATE(uq, ve, vq, zxffonte) |
---|
1181 | DEALLOCATE(uwat, vwat) |
---|
1182 | DEALLOCATE(zxfqcalving, zxfluxlat) |
---|
1183 | DEALLOCATE(zxrunofflic) |
---|
1184 | DEALLOCATE(zxustartlic, zxrhoslic, zxqsaltlic) |
---|
1185 | DEALLOCATE(zxtsol, snow_lsc, zxfqfonte, zxqsurf) |
---|
1186 | DEALLOCATE(rain_lsc) |
---|
1187 | DEALLOCATE(rain_num) |
---|
1188 | DEALLOCATE(qlth, qith, qsith, wiceth) |
---|
1189 | ! |
---|
1190 | DEALLOCATE(sens_x, sens_w) |
---|
1191 | DEALLOCATE(zxfluxlat_x, zxfluxlat_w) |
---|
1192 | DEALLOCATE(delta_qsurf) |
---|
1193 | !jyg< |
---|
1194 | !! DEALLOCATE(t_x, t_w) |
---|
1195 | !! DEALLOCATE(q_x, q_w) |
---|
1196 | !>jyg |
---|
1197 | DEALLOCATE(d_t_vdf_x, d_t_vdf_w) |
---|
1198 | DEALLOCATE(d_q_vdf_x, d_q_vdf_w) |
---|
1199 | DEALLOCATE(pbl_tke_input) |
---|
1200 | DEALLOCATE(t_therm, q_therm, u_therm, v_therm) |
---|
1201 | DEALLOCATE(cdragh_x, cdragh_w) |
---|
1202 | DEALLOCATE(cdragm_x, cdragm_w) |
---|
1203 | DEALLOCATE(kh, kh_x, kh_w) |
---|
1204 | ! |
---|
1205 | DEALLOCATE(ptconv) |
---|
1206 | DEALLOCATE(ratqsc) |
---|
1207 | ! |
---|
1208 | DEALLOCATE(wbeff, convoccur, zmax_th) |
---|
1209 | DEALLOCATE(zq2m, zt2m, weak_inversion) |
---|
1210 | DEALLOCATE(zt2m_min_mon, zt2m_max_mon) |
---|
1211 | DEALLOCATE(t2m_min_mon, t2m_max_mon) |
---|
1212 | DEALLOCATE(sens, flwp, fiwp) |
---|
1213 | DEALLOCATE(alp_bl_conv,alp_bl_det) |
---|
1214 | DEALLOCATE(alp_bl_fluct_m,alp_bl_fluct_tke) |
---|
1215 | DEALLOCATE(alp_bl_stat, n2, s2, strig, zcong, zlcl_th) |
---|
1216 | DEALLOCATE(proba_notrig, random_notrig) |
---|
1217 | !FC |
---|
1218 | DEALLOCATE(zxfluxq,zxfluxt) |
---|
1219 | |
---|
1220 | DEALLOCATE(dnwd0) |
---|
1221 | ! DEALLOCATE(upwd, omega, coefh) |
---|
1222 | DEALLOCATE(omega) |
---|
1223 | DEALLOCATE(epmax_diag) |
---|
1224 | ! DEALLOCATE(coefm, lambda_th, cldemi) |
---|
1225 | DEALLOCATE(lambda_th, cldemi) |
---|
1226 | DEALLOCATE(cldfra, cldtau, fiwc) |
---|
1227 | DEALLOCATE(fl, re, flwc) |
---|
1228 | DEALLOCATE(ref_liq, ref_ice, theta) |
---|
1229 | DEALLOCATE(ref_liq_pi, ref_ice_pi) |
---|
1230 | DEALLOCATE(zphi, zx_rh, zx_rhl, zx_rhi) |
---|
1231 | DEALLOCATE(pmfd, pmfu) |
---|
1232 | |
---|
1233 | DEALLOCATE(t2m, fluxlat) |
---|
1234 | DEALLOCATE(fsollw, evap_pot) |
---|
1235 | DEALLOCATE(fsolsw, wfbils) |
---|
1236 | DEALLOCATE(wfevap) |
---|
1237 | |
---|
1238 | DEALLOCATE(pmflxr, pmflxs) |
---|
1239 | DEALLOCATE(wdtrainA, wdtrainS, wdtrainM) |
---|
1240 | DEALLOCATE(upwd, dnwd) |
---|
1241 | DEALLOCATE(ep) |
---|
1242 | DEALLOCATE(da, mp) |
---|
1243 | DEALLOCATE(phi) |
---|
1244 | DEALLOCATE(wght_cvfd) |
---|
1245 | DEALLOCATE(phi2) |
---|
1246 | DEALLOCATE(d1a, dam) |
---|
1247 | DEALLOCATE(ev) |
---|
1248 | DEALLOCATE(elij) |
---|
1249 | DEALLOCATE(qtaa) |
---|
1250 | DEALLOCATE(clw) |
---|
1251 | DEALLOCATE(epmlmMm, eplaMm) |
---|
1252 | DEALLOCATE(sij) |
---|
1253 | |
---|
1254 | |
---|
1255 | DEALLOCATE(prfl, psfl, bsfl, fraca, Vprecip) |
---|
1256 | DEALLOCATE(zw2) |
---|
1257 | |
---|
1258 | DEALLOCATE(fluxu, fluxv) |
---|
1259 | DEALLOCATE(fluxt) |
---|
1260 | |
---|
1261 | DEALLOCATE(uwriteSTD, vwriteSTD) |
---|
1262 | DEALLOCATE(wwriteSTD, phiwriteSTD) |
---|
1263 | DEALLOCATE(qwriteSTD, twriteSTD, rhwriteSTD) |
---|
1264 | |
---|
1265 | ! ug et d'autres encore: |
---|
1266 | DEALLOCATE(beta_prec) |
---|
1267 | DEALLOCATE(rneb) |
---|
1268 | DEALLOCATE(pfraclr,pfracld) |
---|
1269 | DEALLOCATE (zxsnow,snowhgt,qsnow,to_ice,sissnow,runoff,albsol3_lic) |
---|
1270 | DEALLOCATE(distcltop) |
---|
1271 | DEALLOCATE(temp_cltop) |
---|
1272 | DEALLOCATE (p_tropopause) |
---|
1273 | DEALLOCATE (z_tropopause) |
---|
1274 | DEALLOCATE (t_tropopause) |
---|
1275 | DEALLOCATE(zn2mout) |
---|
1276 | |
---|
1277 | ! Supersaturation |
---|
1278 | DEALLOCATE(rneb_seri) |
---|
1279 | DEALLOCATE(d_rneb_dyn) |
---|
1280 | DEALLOCATE(qclr, qcld, qss, qvc) |
---|
1281 | DEALLOCATE(rnebclr, rnebss, gamma_ss) |
---|
1282 | DEALLOCATE(N1_ss, N2_ss) |
---|
1283 | DEALLOCATE(drneb_sub, drneb_con, drneb_tur, drneb_avi) |
---|
1284 | DEALLOCATE(zqsatl, zqsats) |
---|
1285 | DEALLOCATE(Tcontr, qcontr, qcontr2, fcontrN, fcontrP) |
---|
1286 | |
---|
1287 | !--POPRECIP variables |
---|
1288 | DEALLOCATE(qraindiag, qsnowdiag) |
---|
1289 | DEALLOCATE(dqreva, dqssub) |
---|
1290 | DEALLOCATE(dqrauto, dqrcol, dqrmelt, dqrfreez) |
---|
1291 | DEALLOCATE(dqsauto, dqsagg, dqsrim, dqsmelt, dqsfreez) |
---|
1292 | |
---|
1293 | #ifdef CPP_StratAer |
---|
1294 | ! variables for strat. aerosol CK |
---|
1295 | DEALLOCATE (d_q_emiss) |
---|
1296 | DEALLOCATE (R2SO4, R2SO4B) |
---|
1297 | DEALLOCATE (DENSO4, DENSO4B) |
---|
1298 | DEALLOCATE (f_r_wet, f_r_wetB) |
---|
1299 | DEALLOCATE (decfluxaer) |
---|
1300 | DEALLOCATE (mdw) |
---|
1301 | DEALLOCATE (SO2_lifetime) |
---|
1302 | DEALLOCATE (OCS_lifetime) |
---|
1303 | DEALLOCATE (H2SO4_lifetime) |
---|
1304 | DEALLOCATE (O3_clim) |
---|
1305 | DEALLOCATE (alpha_bin) |
---|
1306 | DEALLOCATE (piz_bin) |
---|
1307 | DEALLOCATE (cg_bin) |
---|
1308 | DEALLOCATE (tau_strat_550) |
---|
1309 | DEALLOCATE (tau_strat_1020) |
---|
1310 | DEALLOCATE (tausum_strat) |
---|
1311 | DEALLOCATE (surf_PM25_sulf) |
---|
1312 | DEALLOCATE (vsed_aer) |
---|
1313 | DEALLOCATE (budg_3D_ocs_to_so2) |
---|
1314 | DEALLOCATE (budg_3D_so2_to_h2so4) |
---|
1315 | DEALLOCATE (budg_3D_backgr_ocs) |
---|
1316 | DEALLOCATE (budg_3D_backgr_so2) |
---|
1317 | DEALLOCATE (budg_3D_nucl) |
---|
1318 | DEALLOCATE (budg_3D_cond_evap) |
---|
1319 | DEALLOCATE (budg_dep_dry_ocs) |
---|
1320 | DEALLOCATE (budg_dep_wet_ocs) |
---|
1321 | DEALLOCATE (budg_dep_dry_so2) |
---|
1322 | DEALLOCATE (budg_dep_wet_so2) |
---|
1323 | DEALLOCATE (budg_dep_dry_h2so4) |
---|
1324 | DEALLOCATE (budg_dep_wet_h2so4) |
---|
1325 | DEALLOCATE (budg_dep_dry_part) |
---|
1326 | DEALLOCATE (budg_dep_wet_part) |
---|
1327 | DEALLOCATE (budg_emi_ocs) |
---|
1328 | DEALLOCATE (budg_emi_so2) |
---|
1329 | DEALLOCATE (budg_emi_h2so4) |
---|
1330 | DEALLOCATE (budg_emi_part) |
---|
1331 | DEALLOCATE (budg_ocs_to_so2) |
---|
1332 | DEALLOCATE (budg_so2_to_h2so4) |
---|
1333 | DEALLOCATE (budg_h2so4_to_part) |
---|
1334 | DEALLOCATE (budg_sed_part) |
---|
1335 | #endif |
---|
1336 | |
---|
1337 | END SUBROUTINE phys_local_var_end |
---|
1338 | |
---|
1339 | END MODULE phys_local_var_mod |
---|