1 | c |
---|
2 | c $Header$ |
---|
3 | c |
---|
4 | IF (ok_mensuel) THEN |
---|
5 | c |
---|
6 | ndex2d = 0 |
---|
7 | ndex3d = 0 |
---|
8 | |
---|
9 | itau_w = itau_phy + itap |
---|
10 | |
---|
11 | c temperature tendency due to moist convective processes |
---|
12 | DO l=1, klev |
---|
13 | DO i=1, klon |
---|
14 | zx_tmp_fi3d(i,l)=d_t_con(i,l)/pdtphys |
---|
15 | ENDDO !i |
---|
16 | ENDDO !l |
---|
17 | c |
---|
18 | |
---|
19 | c |
---|
20 | IF(type_run.EQ."CLIM".OR.type_run.EQ."ENSP") THEN |
---|
21 | c |
---|
22 | IF(lev_histmth.GE.1) THEN |
---|
23 | c |
---|
24 | c Champs 2D: |
---|
25 | c |
---|
26 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,pphis,zx_tmp_2d) |
---|
27 | CALL histwrite_phy(nid_mth,"phis",itau_w,pphis) |
---|
28 | C |
---|
29 | cIM 310804 CALL gr_fi_ecrit(1,klon,iim,jjmp1,paire,zx_tmp_2d) |
---|
30 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,airephy,zx_tmp_2d) |
---|
31 | CALL histwrite_phy(nid_mth,"aire",itau_w,airephy) |
---|
32 | c |
---|
33 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_ter)* 100. |
---|
34 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
35 | CALL histwrite_phy(nid_mth,"pourc_"//clnsurf(is_ter),itau_w, |
---|
36 | $ zx_tmp_fi2d) |
---|
37 | c |
---|
38 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_ter) |
---|
39 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
40 | CALL histwrite_phy(nid_mth,"fract_"//clnsurf(is_ter),itau_w, |
---|
41 | $ zx_tmp_fi2d) |
---|
42 | c |
---|
43 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, slp,zx_tmp_2d) |
---|
44 | CALL histwrite_phy(nid_mth,"slp",itau_w,slp) |
---|
45 | |
---|
46 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxtsol,zx_tmp_2d) |
---|
47 | CALL histwrite_phy(nid_mth,"tsol",itau_w,zxtsol) |
---|
48 | c |
---|
49 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zt2m,zx_tmp_2d) |
---|
50 | CALL histwrite_phy(nid_mth,"t2m",itau_w,zt2m) |
---|
51 | c |
---|
52 | c ENSEMBLES BEG |
---|
53 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
54 | c CALL histwrite_phy(nid_mth,"t2m_min",itau_w,zt2m) |
---|
55 | c |
---|
56 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
57 | c CALL histwrite_phy(nid_mth,"t2m_max",itau_w,zt2m) |
---|
58 | c |
---|
59 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,ftsoil(:,1,is_ter),zx_tmp_2d) |
---|
60 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,ftsol(:,is_ter),zx_tmp_2d) |
---|
61 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,ztsol,zx_tmp_2d) |
---|
62 | c CALL histwrite_phy(nid_mth,"tsoil",itau_w,zx_tmp_2d, |
---|
63 | c . iim*jjmp1,ndex2d) |
---|
64 | c |
---|
65 | DO i=1, klon |
---|
66 | zx_tmp_fi2d(i)=SQRT(zu10m(i)*zu10m(i)+zv10m(i)*zv10m(i)) |
---|
67 | ENDDO |
---|
68 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
69 | CALL histwrite_phy(nid_mth,"wind10m",itau_w,zx_tmp_fi2d) |
---|
70 | c |
---|
71 | DO i = 1, klon |
---|
72 | zx_tmp_fi2d(i) = pctsrf(i,is_sic) |
---|
73 | ENDDO |
---|
74 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
75 | CALL histwrite_phy(nid_mth,"sicf",itau_w,zx_tmp_fi2d) |
---|
76 | c |
---|
77 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, t_seri, zx_tmp_3d) |
---|
78 | c CALL histwrite_phy(nid_mth,"temp",itau_w,zx_tmp_3d, |
---|
79 | c . iim*jjmp1*klev,ndex3d) |
---|
80 | c |
---|
81 | c ENSEMBLES END |
---|
82 | c |
---|
83 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zq2m,zx_tmp_2d) |
---|
84 | CALL histwrite_phy(nid_mth,"q2m",itau_w,zq2m) |
---|
85 | c |
---|
86 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zu10m,zx_tmp_2d) |
---|
87 | CALL histwrite_phy(nid_mth,"u10m",itau_w,zu10m) |
---|
88 | C |
---|
89 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zv10m,zx_tmp_2d) |
---|
90 | CALL histwrite_phy(nid_mth,"v10m",itau_w,zv10m) |
---|
91 | C |
---|
92 | DO i = 1, klon |
---|
93 | zx_tmp_fi2d(i) = paprs(i,1) |
---|
94 | ENDDO |
---|
95 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
96 | CALL histwrite_phy(nid_mth,"psol",itau_w,zx_tmp_fi2d) |
---|
97 | c |
---|
98 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxqsurf,zx_tmp_2d) |
---|
99 | CALL histwrite_phy(nid_mth,"qsurf",itau_w,zxqsurf) |
---|
100 | c |
---|
101 | if (.not. ok_veget) then |
---|
102 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, qsol,zx_tmp_2d) |
---|
103 | CALL histwrite_phy(nid_mth,"qsol",itau_w,qsol) |
---|
104 | endif |
---|
105 | c |
---|
106 | DO i = 1, klon |
---|
107 | zx_tmp_fi2d(i) = rain_fall(i) + snow_fall(i) |
---|
108 | ENDDO |
---|
109 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
110 | CALL histwrite_phy(nid_mth,"precip",itau_w,zx_tmp_fi2d) |
---|
111 | c |
---|
112 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, nday_rain,zx_tmp_2d) |
---|
113 | c CALL histwrite_phy(nid_mth,"ndayrain",itau_w,nday_rain) |
---|
114 | c |
---|
115 | DO i = 1, klon |
---|
116 | zx_tmp_fi2d(i) = rain_lsc(i) + snow_lsc(i) |
---|
117 | ENDDO |
---|
118 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
119 | CALL histwrite_phy(nid_mth,"plul",itau_w,zx_tmp_fi2d) |
---|
120 | c |
---|
121 | DO i = 1, klon |
---|
122 | zx_tmp_fi2d(i) = rain_con(i) + snow_con(i) |
---|
123 | ENDDO |
---|
124 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
125 | CALL histwrite_phy(nid_mth,"pluc",itau_w,zx_tmp_fi2d) |
---|
126 | c |
---|
127 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, snow_fall,zx_tmp_2d) |
---|
128 | CALL histwrite_phy(nid_mth,"snow",itau_w,snow_fall) |
---|
129 | c |
---|
130 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zsnow_mass,zx_tmp_2d) |
---|
131 | c CALL histwrite(nid_mth,"snow_mass",itau_w,zx_tmp_2d,iim*jjmp1, |
---|
132 | c . ndex2d) |
---|
133 | c |
---|
134 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, evap,zx_tmp_2d) |
---|
135 | CALL histwrite_phy(nid_mth,"evap",itau_w,evap) |
---|
136 | c |
---|
137 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, topsw,zx_tmp_2d) |
---|
138 | CALL histwrite_phy(nid_mth,"tops",itau_w,topsw) |
---|
139 | c |
---|
140 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, topsw0,zx_tmp_2d) |
---|
141 | CALL histwrite_phy(nid_mth,"tops0",itau_w,topsw0) |
---|
142 | c |
---|
143 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw,zx_tmp_2d) |
---|
144 | CALL histwrite_phy(nid_mth,"topl",itau_w,toplw) |
---|
145 | c |
---|
146 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw0,zx_tmp_2d) |
---|
147 | CALL histwrite_phy(nid_mth,"topl0",itau_w,toplw0) |
---|
148 | c |
---|
149 | zx_tmp_fi2d(1 : klon) = swup ( 1 : klon, klevp1 ) |
---|
150 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
151 | CALL histwrite_phy(nid_mth, "SWupTOA",itau_w,zx_tmp_fi2d) |
---|
152 | c |
---|
153 | c |
---|
154 | zx_tmp_fi2d(1 : klon) = swup0 ( 1 : klon, klevp1 ) |
---|
155 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
156 | CALL histwrite_phy(nid_mth, "SWupTOAclr",itau_w,zx_tmp_fi2d) |
---|
157 | c |
---|
158 | zx_tmp_fi2d(1 : klon) = swdn ( 1 : klon, klevp1 ) |
---|
159 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
160 | CALL histwrite_phy(nid_mth, "SWdnTOA",itau_w,zx_tmp_fi2d) |
---|
161 | c |
---|
162 | zx_tmp_fi2d(1 : klon) = swdn0 ( 1 : klon, klevp1 ) |
---|
163 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
164 | CALL histwrite_phy(nid_mth, "SWdnTOAclr",itau_w,zx_tmp_fi2d) |
---|
165 | c |
---|
166 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWup200,zx_tmp_2d) |
---|
167 | CALL histwrite_phy(nid_mth,"SWup200",itau_w,SWup200) |
---|
168 | c |
---|
169 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWup200clr,zx_tmp_2d) |
---|
170 | CALL histwrite_phy(nid_mth,"SWup200clr",itau_w,SWup200clr) |
---|
171 | c |
---|
172 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWdn200,zx_tmp_2d) |
---|
173 | CALL histwrite_phy(nid_mth,"SWdn200",itau_w,SWdn200) |
---|
174 | c |
---|
175 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWdn200clr,zx_tmp_2d) |
---|
176 | CALL histwrite_phy(nid_mth,"SWdn200clr",itau_w,SWdn200clr) |
---|
177 | c |
---|
178 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, LWup200,zx_tmp_2d) |
---|
179 | CALL histwrite_phy(nid_mth,"LWup200",itau_w,LWup200) |
---|
180 | c |
---|
181 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, LWup200clr,zx_tmp_2d) |
---|
182 | CALL histwrite_phy(nid_mth,"LWup200clr",itau_w,LWup200clr) |
---|
183 | c |
---|
184 | zx_tmp_fi2d(1:klon)=-1*LWdn200(1:klon) |
---|
185 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
186 | CALL histwrite_phy(nid_mth,"LWdn200",itau_w,zx_tmp_fi2d) |
---|
187 | c |
---|
188 | zx_tmp_fi2d(1:klon)=-1*LWdn200clr(1:klon) |
---|
189 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
190 | CALL histwrite_phy(nid_mth,"LWdn200clr",itau_w,zx_tmp_fi2d) |
---|
191 | c |
---|
192 | c200 END |
---|
193 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, solsw,zx_tmp_2d) |
---|
194 | CALL histwrite_phy(nid_mth,"sols",itau_w,solsw) |
---|
195 | c |
---|
196 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, solsw0,zx_tmp_2d) |
---|
197 | CALL histwrite_phy(nid_mth,"sols0",itau_w,solsw0) |
---|
198 | c |
---|
199 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollw,zx_tmp_2d) |
---|
200 | CALL histwrite_phy(nid_mth,"soll",itau_w,sollw) |
---|
201 | c |
---|
202 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, radsol,zx_tmp_2d) |
---|
203 | CALL histwrite_phy(nid_mth,"radsol",itau_w,radsol) |
---|
204 | c |
---|
205 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollw0,zx_tmp_2d) |
---|
206 | CALL histwrite_phy(nid_mth,"soll0",itau_w,sollw0) |
---|
207 | c |
---|
208 | c zx_tmp_fi2d(1 : klon) = ZFSUP( 1 : klon, 1) |
---|
209 | zx_tmp_fi2d(1 : klon) = swup ( 1 : klon, 1 ) |
---|
210 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
211 | CALL histwrite_phy(nid_mth, "SWupSFC",itau_w,zx_tmp_fi2d) |
---|
212 | c |
---|
213 | c zx_tmp_fi2d(1 : klon) = ZFSUP0( 1 : klon, 1) |
---|
214 | zx_tmp_fi2d(1 : klon) = swup0 ( 1 : klon, 1 ) |
---|
215 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
216 | CALL histwrite_phy(nid_mth, "SWupSFCclr",itau_w,zx_tmp_fi2d) |
---|
217 | c |
---|
218 | c zx_tmp_fi2d(1 : klon) = ZFSDN( 1 : klon, 1) |
---|
219 | zx_tmp_fi2d(1 : klon) = swdn ( 1 : klon, 1 ) |
---|
220 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
221 | CALL histwrite_phy(nid_mth, "SWdnSFC",itau_w,zx_tmp_fi2d) |
---|
222 | c |
---|
223 | c zx_tmp_fi2d(1 : klon) = ZFSDN0( 1 : klon, 1) |
---|
224 | zx_tmp_fi2d(1 : klon) = swdn0 ( 1 : klon, 1 ) |
---|
225 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
226 | CALL histwrite_phy(nid_mth, "SWdnSFCclr",itau_w,zx_tmp_fi2d) |
---|
227 | c |
---|
228 | cIM 080904 zx_tmp_fi2d(1:klon)=sollw(1:klon)+sollwdown(1:klon) |
---|
229 | cIM 130904 zx_tmp_fi2d(1:klon)=sollw(1:klon)-sollwdown(1:klon) |
---|
230 | zx_tmp_fi2d(1:klon)=sollwdown(1:klon)-sollw(1:klon) |
---|
231 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
232 | CALL histwrite_phy(nid_mth,"LWupSFC",itau_w,zx_tmp_fi2d) |
---|
233 | c |
---|
234 | DO i=1, klon |
---|
235 | sollwdownclr(i)=-1.*lwdn0(i,1) |
---|
236 | ENDDO !i=1, klon |
---|
237 | |
---|
238 | cIM 080904 zx_tmp_fi2d(1:klon)=sollw0(1:klon)+sollwdownclr(1:klon) |
---|
239 | cIM 130904 zx_tmp_fi2d(1:klon)=sollw0(1:klon)-sollwdownclr(1:klon) |
---|
240 | zx_tmp_fi2d(1:klon)=sollwdownclr(1:klon)-sollw0(1:klon) |
---|
241 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
242 | CALL histwrite_phy(nid_mth,"LWupSFCclr",itau_w,zx_tmp_fi2d) |
---|
243 | c |
---|
244 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdown,zx_tmp_2d) |
---|
245 | CALL histwrite_phy(nid_mth,"LWdnSFC",itau_w,sollwdown) |
---|
246 | c |
---|
247 | c DO i=1, klon |
---|
248 | cIM 080904 sollwdownclr(i)=lwdn0(i,1) |
---|
249 | c sollwdownclr(i)=-1.*lwdn0(i,1) |
---|
250 | c ENDDO !i=1, klon |
---|
251 | c |
---|
252 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdownclr,zx_tmp_2d) |
---|
253 | CALL histwrite_phy(nid_mth,"LWdnSFCclr",itau_w,sollwdownclr) |
---|
254 | c |
---|
255 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, bils,zx_tmp_2d) |
---|
256 | CALL histwrite_phy(nid_mth,"bils",itau_w,bils) |
---|
257 | c |
---|
258 | zx_tmp_fi2d(1:klon)=-1*sens(1:klon) |
---|
259 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, sens,zx_tmp_2d) |
---|
260 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
261 | CALL histwrite_phy(nid_mth,"sens",itau_w,zx_tmp_fi2d) |
---|
262 | c |
---|
263 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, fder,zx_tmp_2d) |
---|
264 | CALL histwrite_phy(nid_mth,"fder",itau_w,fder) |
---|
265 | c |
---|
266 | c |
---|
267 | c DO i = 1, klon |
---|
268 | c zx_tmp_fi2d(i) = fluxu(i,1) |
---|
269 | c ENDDO |
---|
270 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
271 | c CALL histwrite(nid_mth,"frtu",itau_w,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
272 | c |
---|
273 | c DO i = 1, klon |
---|
274 | c zx_tmp_fi2d(i) = fluxv(i,1) |
---|
275 | c ENDDO |
---|
276 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
277 | c CALL histwrite(nid_mth,"frtv",itau_w,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
278 | c |
---|
279 | c |
---|
280 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxffonte,zx_tmp_2d) |
---|
281 | CALL histwrite_phy(nid_mth,"ffonte",itau_w,zxffonte) |
---|
282 | c |
---|
283 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxfqcalving,zx_tmp_2d) |
---|
284 | CALL histwrite_phy(nid_mth,"fqcalving",itau_w,zxfqcalving) |
---|
285 | |
---|
286 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxfqfonte,zx_tmp_2d) |
---|
287 | CALL histwrite_phy(nid_mth,"fqfonte",itau_w,zxfqfonte) |
---|
288 | |
---|
289 | DO nsrf = 1, nbsrf |
---|
290 | zx_tmp_fi2d(1 : klon) = fluxu( 1 : klon, 1, nsrf) |
---|
291 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
292 | CALL histwrite_phy(nid_mth,"taux_"//clnsurf(nsrf),itau_w, |
---|
293 | $ zx_tmp_fi2d) |
---|
294 | C |
---|
295 | zx_tmp_fi2d(1 : klon) = fluxv( 1 : klon, 1, nsrf) |
---|
296 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
297 | CALL histwrite_phy(nid_mth,"tauy_"//clnsurf(nsrf),itau_w, |
---|
298 | $ zx_tmp_fi2d) |
---|
299 | ENDDO |
---|
300 | c |
---|
301 | DO nsrf = 1, nbsrf |
---|
302 | CYYY |
---|
303 | IF(nsrf.GE.2) THEN |
---|
304 | zx_tmp_fi2d(1 : klon) = pctsrf( 1 : klon, nsrf)*100. |
---|
305 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
306 | CALL histwrite_phy(nid_mth,"pourc_"//clnsurf(nsrf),itau_w, |
---|
307 | & zx_tmp_fi2d) |
---|
308 | c |
---|
309 | zx_tmp_fi2d(1 : klon) = pctsrf( 1 : klon, nsrf) |
---|
310 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
311 | CALL histwrite_phy(nid_mth,"fract_"//clnsurf(nsrf),itau_w, |
---|
312 | $ zx_tmp_fi2d) |
---|
313 | ENDIF !nsrf.GT.2 |
---|
314 | C |
---|
315 | zx_tmp_fi2d(1 : klon) = ftsol( 1 : klon, nsrf) |
---|
316 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
317 | CALL histwrite_phy(nid_mth,"tsol_"//clnsurf(nsrf),itau_w, |
---|
318 | $ zx_tmp_fi2d) |
---|
319 | C |
---|
320 | zx_tmp_fi2d(1 : klon) = fluxt( 1 : klon, 1, nsrf) |
---|
321 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
322 | CALL histwrite_phy(nid_mth,"sens_"//clnsurf(nsrf),itau_w, |
---|
323 | $ zx_tmp_fi2d) |
---|
324 | C |
---|
325 | zx_tmp_fi2d(1 : klon) = fluxlat( 1 : klon, nsrf) |
---|
326 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
327 | CALL histwrite_phy(nid_mth,"lat_"//clnsurf(nsrf),itau_w, |
---|
328 | $ zx_tmp_fi2d) |
---|
329 | C |
---|
330 | zx_tmp_fi2d(1 : klon) = fsollw( 1 : klon, nsrf) |
---|
331 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
332 | CALL histwrite_phy(nid_mth,"flw_"//clnsurf(nsrf),itau_w, |
---|
333 | $ zx_tmp_fi2d) |
---|
334 | c |
---|
335 | zx_tmp_fi2d(1 : klon) = fsolsw( 1 : klon, nsrf) |
---|
336 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
337 | CALL histwrite_phy(nid_mth,"fsw_"//clnsurf(nsrf),itau_w, |
---|
338 | $ zx_tmp_fi2d) |
---|
339 | C |
---|
340 | zx_tmp_fi2d(1 : klon) = wfbils( 1 : klon, nsrf) |
---|
341 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
342 | CALL histwrite_phy(nid_mth,"wbils_"//clnsurf(nsrf),itau_w, |
---|
343 | $ zx_tmp_fi2d) |
---|
344 | C |
---|
345 | zx_tmp_fi2d(1 : klon) = wfbilo( 1 : klon, nsrf) |
---|
346 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
347 | CALL histwrite_phy(nid_mth,"wbilo_"//clnsurf(nsrf),itau_w, |
---|
348 | $ zx_tmp_fi2d) |
---|
349 | C |
---|
350 | IF(1.EQ.0) THEN |
---|
351 | C |
---|
352 | zx_tmp_fi2d(1:klon) = fevap(1:klon,nsrf)*pctsrf(1:klon,nsrf) |
---|
353 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
354 | CALL histwrite_phy(nid_mth,"evapour_"//clnsurf(nsrf),itau_w, |
---|
355 | $ zx_tmp_fi2d) |
---|
356 | C |
---|
357 | zx_tmp_fi2d(1:klon) = (rain_fall(1:klon) + snow_fall(1:klon)) |
---|
358 | $ *pctsrf(1:klon,nsrf) |
---|
359 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
360 | CALL histwrite_phy(nid_mth,"prepour_"//clnsurf(nsrf),itau_w, |
---|
361 | $ zx_tmp_fi2d) |
---|
362 | C |
---|
363 | ENDIF !(1.EQ.0) THEN |
---|
364 | C |
---|
365 | END DO |
---|
366 | c |
---|
367 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cdragm,zx_tmp_2d) |
---|
368 | CALL histwrite_phy(nid_mth,"cdrm",itau_w,cdragm) |
---|
369 | c |
---|
370 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cdragh,zx_tmp_2d) |
---|
371 | CALL histwrite_phy(nid_mth,"cdrh",itau_w,cdragh) |
---|
372 | c |
---|
373 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldl,zx_tmp_2d) |
---|
374 | CALL histwrite_phy(nid_mth,"cldl",itau_w,cldl) |
---|
375 | c |
---|
376 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldm,zx_tmp_2d) |
---|
377 | CALL histwrite_phy(nid_mth,"cldm",itau_w,cldm) |
---|
378 | c |
---|
379 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldh,zx_tmp_2d) |
---|
380 | CALL histwrite_phy(nid_mth,"cldh",itau_w,cldh) |
---|
381 | c |
---|
382 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldt,zx_tmp_2d) |
---|
383 | CALL histwrite_phy(nid_mth,"cldt",itau_w,cldt) |
---|
384 | c |
---|
385 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldq,zx_tmp_2d) |
---|
386 | CALL histwrite_phy(nid_mth,"cldq",itau_w,cldq) |
---|
387 | c |
---|
388 | zx_tmp_fi2d(1:klon) = flwp(1:klon) |
---|
389 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
390 | CALL histwrite_phy(nid_mth,"lwp",itau_w,zx_tmp_fi2d) |
---|
391 | c |
---|
392 | zx_tmp_fi2d(1:klon) = fiwp(1:klon) |
---|
393 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
394 | CALL histwrite_phy(nid_mth,"iwp",itau_w,zx_tmp_fi2d) |
---|
395 | c |
---|
396 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ue,zx_tmp_2d) |
---|
397 | CALL histwrite_phy(nid_mth,"ue",itau_w,ue) |
---|
398 | c |
---|
399 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ve,zx_tmp_2d) |
---|
400 | CALL histwrite_phy(nid_mth,"ve",itau_w,ve) |
---|
401 | c |
---|
402 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, uq,zx_tmp_2d) |
---|
403 | CALL histwrite_phy(nid_mth,"uq",itau_w,uq) |
---|
404 | c |
---|
405 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, vq,zx_tmp_2d) |
---|
406 | CALL histwrite_phy(nid_mth,"vq",itau_w,vq) |
---|
407 | cKE43 |
---|
408 | IF (iflag_con.GE.3) THEN ! sb |
---|
409 | c |
---|
410 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cape,zx_tmp_2d) |
---|
411 | CALL histwrite_phy(nid_mth,"cape",itau_w,cape) |
---|
412 | c |
---|
413 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,pbase,zx_tmp_2d) |
---|
414 | CALL histwrite_phy(nid_mth,"pbase",itau_w,pbase) |
---|
415 | c |
---|
416 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,ema_pct,zx_tmp_2d) |
---|
417 | CALL histwrite_phy(nid_mth,"ptop",itau_w,ema_pct) |
---|
418 | c |
---|
419 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,ema_cbmf,zx_tmp_2d) |
---|
420 | CALL histwrite_phy(nid_mth,"fbase",itau_w,ema_cbmf) |
---|
421 | c |
---|
422 | c34EK |
---|
423 | c |
---|
424 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, prw,zx_tmp_2d) |
---|
425 | CALL histwrite_phy(nid_mth,"prw",itau_w,prw) |
---|
426 | c |
---|
427 | ENDIF !iflag_con.GE.3 |
---|
428 | c |
---|
429 | c |
---|
430 | cIM cf. AM 081204 BEG |
---|
431 | cHBTM2 |
---|
432 | c |
---|
433 | c |
---|
434 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_pblh,zx_tmp_2d) |
---|
435 | CALL histwrite_phy(nid_mth,"s_pblh",itau_w,s_pblh) |
---|
436 | c |
---|
437 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_pblt,zx_tmp_2d) |
---|
438 | CALL histwrite_phy(nid_mth,"s_pblt",itau_w,s_pblt) |
---|
439 | c |
---|
440 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_lcl,zx_tmp_2d) |
---|
441 | CALL histwrite_phy(nid_mth,"s_lcl",itau_w,s_lcl) |
---|
442 | c |
---|
443 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_capCL,zx_tmp_2d) |
---|
444 | CALL histwrite_phy(nid_mth,"s_capCL",itau_w,s_capCL) |
---|
445 | c |
---|
446 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_oliqCL,zx_tmp_2d) |
---|
447 | CALL histwrite_phy(nid_mth,"s_oliqCL",itau_w,s_oliqCL) |
---|
448 | c |
---|
449 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_cteiCL,zx_tmp_2d) |
---|
450 | CALL histwrite_phy(nid_mth,"s_cteiCL",itau_w,s_cteiCL) |
---|
451 | c |
---|
452 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_therm,zx_tmp_2d) |
---|
453 | CALL histwrite_phy(nid_mth,"s_therm",itau_w,s_therm) |
---|
454 | c |
---|
455 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_trmb1,zx_tmp_2d) |
---|
456 | CALL histwrite_phy(nid_mth,"s_trmb1",itau_w,s_trmb1) |
---|
457 | c |
---|
458 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_trmb2,zx_tmp_2d) |
---|
459 | CALL histwrite_phy(nid_mth,"s_trmb2",itau_w,s_trmb2) |
---|
460 | c |
---|
461 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_trmb3,zx_tmp_2d) |
---|
462 | CALL histwrite_phy(nid_mth,"s_trmb3",itau_w,s_trmb3) |
---|
463 | c |
---|
464 | cIM cf. AM 081204 END |
---|
465 | c |
---|
466 | c Champs interpolles sur des niveaux de pression |
---|
467 | DO k=1, nlevSTD |
---|
468 | c |
---|
469 | c bb=clevSTD(k) |
---|
470 | c |
---|
471 | c IF(k.GE.2) THEN |
---|
472 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
473 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
474 | c aa=clevSTD(k) |
---|
475 | c bb=aa(1:lnblnk1(aa)) |
---|
476 | c ENDIF |
---|
477 | c |
---|
478 | IF(bb2.EQ."850".OR.bb2.EQ."700".OR. |
---|
479 | $ bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
480 | c |
---|
481 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,usumSTD(:,k,2),zx_tmp_2d) |
---|
482 | CALL histwrite_phy(nid_mth,"u"//bb2,itau_w,usumSTD(:,k,2)) |
---|
483 | c |
---|
484 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,vsumSTD(:,k,2),zx_tmp_2d) |
---|
485 | CALL histwrite_phy(nid_mth,"v"//bb2,itau_w,vsumSTD(:,k,2)) |
---|
486 | c |
---|
487 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,wsumSTD(:,k,2),zx_tmp_2d) |
---|
488 | CALL histwrite_phy(nid_mth,"w"//bb2,itau_w,wsumSTD(:,k,2)) |
---|
489 | c |
---|
490 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,phisumSTD(:,k,2),zx_tmp_2d) |
---|
491 | CALL histwrite_phy(nid_mth,"phi"//bb2,itau_w,phisumSTD(:,k,2)) |
---|
492 | c |
---|
493 | ENDIF !(bb2.EQ."850".OR.bb2.EQ."700".OR. |
---|
494 | ENDDO !nlevSTD |
---|
495 | c |
---|
496 | DO i=1, klon |
---|
497 | IF (pctsrf(i,is_oce).GT.epsfra) THEN |
---|
498 | zx_tmp_fi2d(i) = fluxo(i) |
---|
499 | ELSE |
---|
500 | zx_tmp_fi2d(i) = 0. |
---|
501 | ENDIF |
---|
502 | ENDDO |
---|
503 | c |
---|
504 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
505 | CALL histwrite_phy(nid_mth,"fluxo",itau_w,zx_tmp_fi2d) |
---|
506 | c |
---|
507 | DO i=1, klon |
---|
508 | IF (pctsrf(i,is_sic).GT.epsfra) THEN |
---|
509 | zx_tmp_fi2d(i) = fluxg(i) |
---|
510 | ELSE |
---|
511 | zx_tmp_fi2d(i) = 0. |
---|
512 | ENDIF |
---|
513 | ENDDO |
---|
514 | c |
---|
515 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
516 | CALL histwrite_phy(nid_mth,"fluxg",itau_w,zx_tmp_fi2d) |
---|
517 | c |
---|
518 | DO i=1, klon |
---|
519 | IF (pctsrf(i,is_oce).GT.epsfra.OR. |
---|
520 | . pctsrf(i,is_sic).GT.epsfra) THEN |
---|
521 | zx_tmp_fi2d(i) = (ftsol(i, is_oce) * pctsrf(i,is_oce)+ |
---|
522 | . ftsol(i, is_sic) * pctsrf(i,is_sic))/ |
---|
523 | . (pctsrf(i,is_oce)+pctsrf(i,is_sic)) |
---|
524 | ELSE |
---|
525 | zx_tmp_fi2d(i) = 273.15 |
---|
526 | ENDIF |
---|
527 | ENDDO |
---|
528 | c |
---|
529 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
530 | CALL histwrite_phy(nid_mth,"t_oce_sic",itau_w,zx_tmp_fi2d) |
---|
531 | c |
---|
532 | IF (OCEAN.EQ.'force ') THEN |
---|
533 | c |
---|
534 | DO i=1, klon |
---|
535 | IF((pctsrf(i,is_oce).GT.epsfra).OR. |
---|
536 | . (pctsrf(i,is_sic).GT.epsfra)) THEN |
---|
537 | zx_tmp_fi2d(i) = (radsol(i) + fluxo(i))*pctsrf(i,is_oce)+ |
---|
538 | . fluxg(i)*pctsrf(i,is_sic) |
---|
539 | ELSE |
---|
540 | zx_tmp_fi2d(i) = 1.E+20 |
---|
541 | ENDIF |
---|
542 | ENDDO |
---|
543 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
544 | CALL histwrite_phy(nid_mth,"lmt_bils",itau_w,zx_tmp_fi2d) |
---|
545 | c |
---|
546 | ELSE IF (OCEAN.EQ.'slab ') THEN |
---|
547 | c |
---|
548 | DO i=1, klon |
---|
549 | IF((pctsrf(i,is_oce).GT.epsfra).OR. |
---|
550 | . (pctsrf(i,is_sic).GT.epsfra)) THEN |
---|
551 | zx_tmp_fi2d(i) = (radsol(i) + fluxo(i))*pctsrf(i,is_oce)+ |
---|
552 | . fluxg(i)*pctsrf(i,is_sic) |
---|
553 | ELSE |
---|
554 | zx_tmp_fi2d(i) = 1.E+20 |
---|
555 | ENDIF |
---|
556 | ENDDO |
---|
557 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
558 | CALL histwrite_phy(nid_mth,"slab_bils",itau_w,zx_tmp_fi2d) |
---|
559 | c |
---|
560 | DO i=1, klon |
---|
561 | IF(pctsrf(i,is_oce).GT.epsfra.OR. |
---|
562 | $ pctsrf(i,is_sic).GT.epsfra) THEN |
---|
563 | zx_tmp_fi2d(i)=tslab(i) |
---|
564 | ELSE |
---|
565 | zx_tmp_fi2d(i) = 1.E+20 |
---|
566 | ENDIF |
---|
567 | ENDDO !i=1, klon |
---|
568 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
569 | CALL histwrite_phy(nid_mth,"tslab",itau_w,zx_tmp_fi2d) |
---|
570 | c |
---|
571 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, seaice,zx_tmp_2d) |
---|
572 | CALL histwrite_phy(nid_mth,"seaice",itau_w,seaice) |
---|
573 | c |
---|
574 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, seaice/1000.,zx_tmp_2d) |
---|
575 | CALL histwrite_phy(nid_mth,"siceh",itau_w, seaice/1000.) |
---|
576 | c |
---|
577 | ENDIF !OCEAN.EQ.force/slab |
---|
578 | c |
---|
579 | ENDIF !lev_histmth.GE.1 |
---|
580 | c |
---|
581 | IF(lev_histmth.GE.2) THEN |
---|
582 | c |
---|
583 | c Champs 3D: |
---|
584 | C |
---|
585 | c |
---|
586 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, flwc,zx_tmp_3d) |
---|
587 | CALL histwrite_phy(nid_mth,"lwcon",itau_w,flwc) |
---|
588 | c |
---|
589 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, fiwc,zx_tmp_3d) |
---|
590 | CALL histwrite_phy(nid_mth,"iwcon",itau_w,fiwc) |
---|
591 | c |
---|
592 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, t_seri, zx_tmp_3d) |
---|
593 | CALL histwrite_phy(nid_mth,"temp",itau_w,t_seri) |
---|
594 | c |
---|
595 | c#ifdef histmthNMC |
---|
596 | c#include "write_histmthNMC.h" |
---|
597 | c#endif |
---|
598 | c |
---|
599 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qx(1,1,ivap), zx_tmp_3d) |
---|
600 | CALL histwrite_phy(nid_mth,"ovap",itau_w,qx(:,:,ivap)) |
---|
601 | c |
---|
602 | c zx_tmp_fi3d(1:klon,1:klev)=qx(1:klon,1:klev,ivap)/ |
---|
603 | c . (1-qx(1:klon,1:klev,ivap)) |
---|
604 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_tmp_fi3d, zx_tmp_3d) |
---|
605 | c CALL histwrite(nid_mth,"wvap",itau_w,zx_tmp_3d, |
---|
606 | c . iim*jjmp1*klev,ndex3d) |
---|
607 | c |
---|
608 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zphi, zx_tmp_3d) |
---|
609 | CALL histwrite_phy(nid_mth,"geop",itau_w,zphi) |
---|
610 | c |
---|
611 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, u_seri, zx_tmp_3d) |
---|
612 | CALL histwrite_phy(nid_mth,"vitu",itau_w,u_seri) |
---|
613 | c |
---|
614 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, v_seri, zx_tmp_3d) |
---|
615 | CALL histwrite_phy(nid_mth,"vitv",itau_w,v_seri) |
---|
616 | c |
---|
617 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, omega, zx_tmp_3d) |
---|
618 | CALL histwrite_phy(nid_mth,"vitw",itau_w,omega) |
---|
619 | c |
---|
620 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, pplay, zx_tmp_3d) |
---|
621 | CALL histwrite_phy(nid_mth,"pres",itau_w,pplay) |
---|
622 | c |
---|
623 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, cldfra, zx_tmp_3d) |
---|
624 | CALL histwrite_phy(nid_mth,"rneb",itau_w,cldfra) |
---|
625 | c |
---|
626 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, rnebcon, zx_tmp_3d) |
---|
627 | CALL histwrite_phy(nid_mth,"rnebcon",itau_w,rnebcon) |
---|
628 | c |
---|
629 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_rh, zx_tmp_3d) |
---|
630 | CALL histwrite_phy(nid_mth,"rhum",itau_w,zx_rh) |
---|
631 | |
---|
632 | DO k=1, klev |
---|
633 | DO i=1, klon |
---|
634 | cIM 151004 zx_tmp_fi3d(i,k)=MAX(wo(i,k),1.0e-12)*RG/46.6968 |
---|
635 | c $ /(paprs(i,k)-paprs(i,k+1)) |
---|
636 | c $ *(paprs(i,1)/101325.0) |
---|
637 | c zx_tmp2_fi3d(i,k)=MAX(wo(i,k)*1.0e+6,1.0e-6)*RG/46.6968 |
---|
638 | zx_tmp_fi3d(i,k)=wo(i,k)*RG/46.6968 |
---|
639 | $ /(paprs(i,k)-paprs(i,k+1)) |
---|
640 | $ *(paprs(i,1)/101325.0) |
---|
641 | ENDDO !i |
---|
642 | ENDDO !k |
---|
643 | c |
---|
644 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, wo, zx_tmp_3d) |
---|
645 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp2_fi3d,zx_tmp_3d) |
---|
646 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
647 | CALL histwrite_phy(nid_mth,"ozone",itau_w,zx_tmp_fi3d) |
---|
648 | c |
---|
649 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t, zx_tmp_3d) |
---|
650 | CALL histwrite_phy(nid_mth,"dtphy",itau_w,d_t) |
---|
651 | c |
---|
652 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_qx(:,:,ivap), |
---|
653 | cym . zx_tmp_3d) |
---|
654 | CALL histwrite_phy(nid_mth,"dqphy",itau_w, d_qx(:,:,ivap)) |
---|
655 | cIM 22.03.04 END |
---|
656 | c |
---|
657 | ENDIF !lev_histmth.GE.2 |
---|
658 | c |
---|
659 | IF(lev_histmth.GE.3) THEN |
---|
660 | c |
---|
661 | DO nsrf=1, nbsrf |
---|
662 | c |
---|
663 | zx_tmp_fi2d(1 : klon) = falb1( 1 : klon, nsrf) |
---|
664 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
665 | CALL histwrite_phy(nid_mth,"albe_"//clnsurf(nsrf),itau_w, |
---|
666 | $ zx_tmp_fi2d) |
---|
667 | C |
---|
668 | zx_tmp_fi2d(1 : klon) = frugs( 1 : klon, nsrf) |
---|
669 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
670 | CALL histwrite_phy(nid_mth,"rugs_"//clnsurf(nsrf),itau_w, |
---|
671 | $ zx_tmp_fi2d) |
---|
672 | c |
---|
673 | zx_tmp_fi2d(1 : klon) = agesno( 1 : klon, nsrf) |
---|
674 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, agesno,zx_tmp_2d) |
---|
675 | CALL histwrite_phy(nid_mth,"ages_"//clnsurf(nsrf),itau_w |
---|
676 | $ ,zx_tmp_fi2d) |
---|
677 | c |
---|
678 | ENDDO !nsrf=1, nbsrf |
---|
679 | c |
---|
680 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, albsol1,zx_tmp_2d) |
---|
681 | CALL histwrite_phy(nid_mth,"albs",itau_w,albsol1) |
---|
682 | c |
---|
683 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, albsol2,zx_tmp_2d) |
---|
684 | CALL histwrite_phy(nid_mth,"albslw",itau_w,albsol2) |
---|
685 | c |
---|
686 | ENDIF !lev_histmth.GE.3 |
---|
687 | c |
---|
688 | c |
---|
689 | IF(lev_histmth.GE.4) THEN |
---|
690 | c |
---|
691 | c FH Sorties pour la couche limite |
---|
692 | CALL histwrite_phy(nid_mth,"kz",itau_w,ycoefh) |
---|
693 | CALL histwrite_phy(nid_mth,"kz_max",itau_w,ycoefh) |
---|
694 | |
---|
695 | if(iflag_pbl>1) then |
---|
696 | zx_tmp_fi3d=0. |
---|
697 | do nsrf=1,nbsrf |
---|
698 | do k=1,klev |
---|
699 | zx_tmp_fi3d(:,k)=zx_tmp_fi3d(:,k) |
---|
700 | , +pctsrf(:,nsrf)*pbl_tke(:,k,nsrf) |
---|
701 | enddo |
---|
702 | enddo |
---|
703 | CALL histwrite_phy(nid_mth,"tke",itau_w,zx_tmp_fi3d) |
---|
704 | CALL histwrite_phy(nid_mth,"tke_max",itau_w,zx_tmp_fi3d) |
---|
705 | endif |
---|
706 | |
---|
707 | |
---|
708 | |
---|
709 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, clwcon0, zx_tmp_3d) |
---|
710 | CALL histwrite_phy(nid_mth,"clwcon",itau_w,clwcon0) |
---|
711 | |
---|
712 | IF (iflag_con.GE.3) THEN |
---|
713 | c |
---|
714 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, Ma, zx_tmp_3d) |
---|
715 | CALL histwrite_phy(nid_mth,"Ma",itau_w,Ma) |
---|
716 | c |
---|
717 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, upwd, zx_tmp_3d) |
---|
718 | CALL histwrite_phy(nid_mth,"upwd",itau_w,upwd) |
---|
719 | c |
---|
720 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, dnwd, zx_tmp_3d) |
---|
721 | CALL histwrite_phy(nid_mth,"dnwd",itau_w,dnwd) |
---|
722 | c |
---|
723 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, dnwd0, zx_tmp_3d) |
---|
724 | CALL histwrite_phy(nid_mth,"dnwd0",itau_w,dnwd0) |
---|
725 | c |
---|
726 | ENDIF !iflag_con.GE.3 |
---|
727 | c |
---|
728 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t_dyn, zx_tmp_3d) |
---|
729 | CALL histwrite_phy(nid_mth,"dtdyn",itau_w,d_t_dyn) |
---|
730 | c |
---|
731 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_q_dyn, zx_tmp_3d) |
---|
732 | CALL histwrite_phy(nid_mth,"dqdyn",itau_w,d_q_dyn) |
---|
733 | c |
---|
734 | cIM: 101003 : K/30min ==> K/s |
---|
735 | zx_tmp_fi3d(1:klon,1:klev)=d_t_con(1:klon,1:klev)/pdtphys |
---|
736 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
737 | CALL histwrite_phy(nid_mth,"dtcon",itau_w,zx_tmp_fi3d) |
---|
738 | c |
---|
739 | zx_tmp_fi3d(1:klon,1:klev)=d_q_con(1:klon,1:klev)/pdtphys |
---|
740 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
741 | CALL histwrite_phy(nid_mth,"dqcon",itau_w,zx_tmp_fi3d) |
---|
742 | c |
---|
743 | cIM: 101003 : K/30min ==> K/s |
---|
744 | zx_tmp_fi3d(1:klon,1:klev)=d_t_lsc(1:klon,1:klev)/pdtphys |
---|
745 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
746 | CALL histwrite_phy(nid_mth,"dtlsc",itau_w,zx_tmp_fi3d) |
---|
747 | cIM: 071003 |
---|
748 | cIM: 101003 : K/30min ==> K/s |
---|
749 | zx_tmp_fi3d(1:klon, 1:klev)=(d_t_lsc(1:klon,1:klev)+ |
---|
750 | . d_t_eva(1:klon,1:klev))/pdtphys |
---|
751 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_tmp_fi3d, zx_tmp_3d) |
---|
752 | CALL histwrite_phy(nid_mth,"dtlschr",itau_w,zx_tmp_fi3d) |
---|
753 | c |
---|
754 | zx_tmp_fi3d(1:klon,1:klev)=d_q_lsc(1:klon,1:klev)/pdtphys |
---|
755 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
756 | CALL histwrite_phy(nid_mth,"dqlsc",itau_w,zx_tmp_fi3d) |
---|
757 | c |
---|
758 | cIM: 101003 : K/30min ==> K/s |
---|
759 | zx_tmp_fi3d(1:klon,1:klev)=d_t_vdf(1:klon,1:klev)/pdtphys |
---|
760 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
761 | CALL histwrite_phy(nid_mth,"dtvdf",itau_w,zx_tmp_fi3d) |
---|
762 | c |
---|
763 | zx_tmp_fi3d(1:klon,1:klev)=d_q_vdf(1:klon,1:klev)/pdtphys |
---|
764 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
765 | CALL histwrite_phy(nid_mth,"dqvdf",itau_w,zx_tmp_fi3d) |
---|
766 | c |
---|
767 | cIM: 101003 : K/30min ==> K/s |
---|
768 | zx_tmp_fi3d(1:klon,1:klev)=d_t_eva(1:klon,1:klev)/pdtphys |
---|
769 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
770 | CALL histwrite_phy(nid_mth,"dteva",itau_w,zx_tmp_fi3d) |
---|
771 | c |
---|
772 | zx_tmp_fi3d(1:klon,1:klev)=d_q_eva(1:klon,1:klev)/pdtphys |
---|
773 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
774 | CALL histwrite_phy(nid_mth,"dqeva",itau_w,zx_tmp_fi3d) |
---|
775 | c |
---|
776 | zpt_conv = 0. |
---|
777 | where (ptconv) zpt_conv = 1. |
---|
778 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zpt_conv, zx_tmp_3d) |
---|
779 | CALL histwrite_phy(nid_mth,"ptconv",itau_w,zpt_conv) |
---|
780 | c |
---|
781 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, ratqs, zx_tmp_3d) |
---|
782 | CALL histwrite_phy(nid_mth,"ratqs",itau_w,ratqs) |
---|
783 | c |
---|
784 | cIM: 101003 : K/30min ==> K/s |
---|
785 | zx_tmp_fi3d(1:klon,1:klev)=d_t_ajsb(1:klon,1:klev)/pdtphys |
---|
786 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
787 | CALL histwrite_phy(nid_mth,"dtajs",itau_w,zx_tmp_fi3d) |
---|
788 | c |
---|
789 | zx_tmp_fi3d(1:klon,1:klev)=d_q_ajsb(1:klon,1:klev)/pdtphys |
---|
790 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
791 | CALL histwrite_phy(nid_mth,"dqajs",itau_w,zx_tmp_fi3d) |
---|
792 | c |
---|
793 | cIM: 101003 : K/30min ==> K/s |
---|
794 | zx_tmp_fi3d(1:klon,1:klev)=d_t_ajs(1:klon,1:klev)/pdtphys |
---|
795 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
796 | CALL histwrite_phy(nid_mth,"dtthe",itau_w,zx_tmp_fi3d) |
---|
797 | c |
---|
798 | zx_tmp_fi3d(1:klon,1:klev)=d_q_ajs(1:klon,1:klev)/pdtphys |
---|
799 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
800 | CALL histwrite_phy(nid_mth,"dqthe",itau_w,zx_tmp_fi3d) |
---|
801 | c |
---|
802 | cIM: 101003 : K/day ==> K/s |
---|
803 | zx_tmp_fi3d(1:klon,1:klev)=heat(1:klon,1:klev)/RDAY |
---|
804 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
805 | CALL histwrite_phy(nid_mth,"dtswr",itau_w,zx_tmp_fi3d) |
---|
806 | c |
---|
807 | cIM: 101003 : K/day ==> K/s |
---|
808 | zx_tmp_fi3d(1:klon,1:klev)=heat0(1:klon,1:klev)/RDAY |
---|
809 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
810 | CALL histwrite_phy(nid_mth,"dtsw0",itau_w,zx_tmp_fi3d) |
---|
811 | c |
---|
812 | cIM: 101003 : K/day ==> K/s |
---|
813 | zx_tmp_fi3d(1:klon,1:klev)=-1.*cool(1:klon,1:klev)/RDAY |
---|
814 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
815 | CALL histwrite_phy(nid_mth,"dtlwr",itau_w,zx_tmp_fi3d) |
---|
816 | c |
---|
817 | cIM: 101003 : K/day ==> K/s |
---|
818 | zx_tmp_fi3d(1:klon,1:klev)=-1.*cool0(1:klon,1:klev)/RDAY |
---|
819 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
820 | CALL histwrite_phy(nid_mth,"dtlw0",itau_w,zx_tmp_fi3d) |
---|
821 | c |
---|
822 | cIM: 101003 : deja en K/s |
---|
823 | zx_tmp_fi3d(1:klon,1:klev)=d_t_ec(1:klon,1:klev) |
---|
824 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
825 | CALL histwrite_phy(nid_mth,"dtec",itau_w,zx_tmp_fi3d) |
---|
826 | c |
---|
827 | zx_tmp_fi3d(1:klon,1:klev)=d_u_vdf(1:klon,1:klev)/pdtphys |
---|
828 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
829 | CALL histwrite_phy(nid_mth,"duvdf",itau_w,zx_tmp_fi3d) |
---|
830 | c |
---|
831 | zx_tmp_fi3d(1:klon,1:klev)=d_v_vdf(1:klon,1:klev)/pdtphys |
---|
832 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
833 | CALL histwrite_phy(nid_mth,"dvvdf",itau_w,zx_tmp_fi3d) |
---|
834 | c |
---|
835 | IF (ok_orodr) THEN |
---|
836 | zx_tmp_fi3d(1:klon,1:klev)=d_u_oro(1:klon,1:klev)/pdtphys |
---|
837 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
838 | CALL histwrite_phy(nid_mth,"duoro",itau_w,zx_tmp_fi3d) |
---|
839 | c |
---|
840 | zx_tmp_fi3d(1:klon,1:klev)=d_v_oro(1:klon,1:klev)/pdtphys |
---|
841 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
842 | CALL histwrite_phy(nid_mth,"dvoro",itau_w,zx_tmp_fi3d) |
---|
843 | c |
---|
844 | ENDIF |
---|
845 | C |
---|
846 | IF (ok_orolf) THEN |
---|
847 | zx_tmp_fi3d(1:klon,1:klev)=d_u_lif(1:klon,1:klev)/pdtphys |
---|
848 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
849 | CALL histwrite_phy(nid_mth,"dulif",itau_w,zx_tmp_fi3d) |
---|
850 | c |
---|
851 | zx_tmp_fi3d(1:klon,1:klev)=d_v_lif(1:klon,1:klev)/pdtphys |
---|
852 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
853 | CALL histwrite_phy(nid_mth,"dvlif",itau_w,zx_tmp_fi3d) |
---|
854 | ENDIF |
---|
855 | C |
---|
856 | #if defined(INCA_AER) && defined(CPP_COUPLE) |
---|
857 | CALL histwrite_phy(nid_mth,"tau",itau_w,cldtau) |
---|
858 | CALL histwrite_phy(nid_mth,"CCM1",itau_w,ccm(:,:,1)) |
---|
859 | CALL histwrite_phy(nid_mth,"CCM2",itau_w,ccm(:,:,2)) |
---|
860 | CALL histwrite_phy(nid_mth,"taupi",itau_w,cldtaupi) |
---|
861 | CALL histwrite_phy(nid_mth,"cldemi",itau_w,cldemi) |
---|
862 | CALL histwrite_phy(nid_mth,"SWTOAAS_ZERO",itau_w,topsw_inca(:,1)) |
---|
863 | CALL histwrite_phy(nid_mth,"SWTOAAS_AER",itau_w,topsw_inca(:,2)) |
---|
864 | CALL histwrite_phy(nid_mth,"SWTOAAS_NAT",itau_w,topsw_inca(:,3)) |
---|
865 | CALL histwrite_phy(nid_mth,"SWTOAAS_AD",itau_w,topswad_inca(:)) |
---|
866 | CALL histwrite_phy(nid_mth,"SWTOAAS_AI",itau_w,topswai_inca(:)) |
---|
867 | CALL histwrite_phy(nid_mth,"SWTOACS_ZERO",itau_w,topsw0_inca(:,1)) |
---|
868 | CALL histwrite_phy(nid_mth,"SWTOACS_AER",itau_w,topsw0_inca(:,2)) |
---|
869 | CALL histwrite_phy(nid_mth,"SWTOACS_AD",itau_w,topswad0_inca(:)) |
---|
870 | CALL histwrite_phy(nid_mth,"SWTOACS_NAT",itau_w,topsw0_inca(:,3)) |
---|
871 | #endif |
---|
872 | #ifndef INCA |
---|
873 | IF (nqmax.GE.3) THEN |
---|
874 | DO iq=3,nqmax |
---|
875 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qx(1,1,iq), zx_tmp_3d) |
---|
876 | CALL histwrite_phy(nid_mth,tnom(iq),itau_w,qx(:,:,iq)) |
---|
877 | ENDDO |
---|
878 | ENDIF |
---|
879 | #endif |
---|
880 | c |
---|
881 | ENDIF !lev_histmth.GE.4 |
---|
882 | c |
---|
883 | ELSE IF(type_run.EQ."AMIP".OR.type_run.EQ."CFMI") THEN |
---|
884 | c |
---|
885 | IF(lev_histmth.GE.1) THEN |
---|
886 | c |
---|
887 | c Champs 2D: |
---|
888 | c |
---|
889 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,pphis/RG,zx_tmp_2d) |
---|
890 | CALL histwrite_phy(nid_mth,"phis",itau_w,pphis/RG) |
---|
891 | C |
---|
892 | cIM 310804 CALL gr_fi_ecrit(1,klon,iim,jjmp1,paire,zx_tmp_2d) |
---|
893 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,airephy,zx_tmp_2d) |
---|
894 | CALL histwrite_phy(nid_mth,"aire",itau_w,airephy) |
---|
895 | c |
---|
896 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_ter)* 100. |
---|
897 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d, zx_tmp_2d) |
---|
898 | CALL histwrite_phy(nid_mth,"pourc_"//clnsurf(is_ter),itau_w, |
---|
899 | $ zx_tmp_fi2d) |
---|
900 | c |
---|
901 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_ter) |
---|
902 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d, zx_tmp_2d) |
---|
903 | CALL histwrite_phy(nid_mth,"fract_"//clnsurf(is_ter),itau_w, |
---|
904 | $ zx_tmp_fi2d) |
---|
905 | c |
---|
906 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_lic)* 100. |
---|
907 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d, zx_tmp_2d) |
---|
908 | CALL histwrite_phy(nid_mth,"pourc_"//clnsurf(is_lic),itau_w, |
---|
909 | $ zx_tmp_fi2d) |
---|
910 | c |
---|
911 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_lic) |
---|
912 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d, zx_tmp_2d) |
---|
913 | CALL histwrite_phy(nid_mth,"fract_"//clnsurf(is_lic),itau_w, |
---|
914 | $ zx_tmp_fi2d) |
---|
915 | c |
---|
916 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_sic)* 100. |
---|
917 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
918 | CALL histwrite_phy(nid_mth,"pourc_"//clnsurf(is_sic),itau_w, |
---|
919 | $ zx_tmp_fi2d) |
---|
920 | c |
---|
921 | zx_tmp_fi2d(1 : klon) = pctsrf(1 : klon, is_sic) |
---|
922 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
923 | CALL histwrite_phy(nid_mth,"fract_"//clnsurf(is_sic),itau_w, |
---|
924 | $ zx_tmp_fi2d) |
---|
925 | c |
---|
926 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxfluxlat,zx_tmp_2d) |
---|
927 | CALL histwrite_phy(nid_mth,"flat",itau_w,zxfluxlat) |
---|
928 | c |
---|
929 | zx_tmp_fi2d(1 : klon) = topsw(1:klon)-toplw(1:klon) |
---|
930 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
931 | CALL histwrite_phy(nid_mth,"bilTOA",itau_w,zx_tmp_fi2d) |
---|
932 | c |
---|
933 | c IF(itap.EQ.ecrit_mth) THEN |
---|
934 | c DO i=1, klon |
---|
935 | c IF(nday_clr(i).GT.0.) THEN |
---|
936 | c tops01(i)=tops01(i)/nday_clr(i) |
---|
937 | c ELSE |
---|
938 | c tops01(i)=1.e+20 |
---|
939 | c ENDIF |
---|
940 | c ENDDO |
---|
941 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, tops01,zx_tmp_2d) |
---|
942 | c CALL histwrite_phy(nid_mth,"tops01",itau_w,zx_tmp_2d, |
---|
943 | c . iim*jjmp1,ndex2d) |
---|
944 | c ENDIF !itap.EQ.ecrit_mth |
---|
945 | c |
---|
946 | c220404 BEG |
---|
947 | c |
---|
948 | c temperature tendency due to total diabatic heating |
---|
949 | DO l=1, klev |
---|
950 | DO i=1, klon |
---|
951 | d_t(i,l) = (t_seri(i,l)-t(i,l))/dtime |
---|
952 | ENDDO !i |
---|
953 | ENDDO !l |
---|
954 | c |
---|
955 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t,zx_tmp_3d) |
---|
956 | CALL histwrite_phy(nid_mth,"dtdia",itau_w,d_t) |
---|
957 | c |
---|
958 | c temperature tendency due to SW radiation |
---|
959 | DO l=1, klev |
---|
960 | DO i=1, klon |
---|
961 | zx_tmp_fi3d(i,l)=heat(i,l)/RDAY |
---|
962 | ENDDO !i |
---|
963 | ENDDO !l |
---|
964 | c |
---|
965 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_tmp_fi3d,zx_tmp_3d) |
---|
966 | CALL histwrite_phy(nid_mth,"dtsw",itau_w,zx_tmp_fi3d) |
---|
967 | c |
---|
968 | c temperature tendency due to LW radiation |
---|
969 | DO l=1, klev |
---|
970 | DO i=1, klon |
---|
971 | zx_tmp_fi3d(i,l)=-1*cool(i,l)/RDAY |
---|
972 | ENDDO !i |
---|
973 | ENDDO !l |
---|
974 | c |
---|
975 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1, zx_tmp_fi3d,zx_tmp_3d) |
---|
976 | CALL histwrite_phy(nid_mth,"dtlw",itau_w,zx_tmp_fi3d) |
---|
977 | c |
---|
978 | |
---|
979 | c |
---|
980 | c temperature tendency due to large scale precipitation |
---|
981 | DO l=1, klev |
---|
982 | DO i=1, klon |
---|
983 | zx_tmp_fi3d(i,l)=d_t_lsc(i,l)/pdtphys |
---|
984 | ENDDO !i |
---|
985 | ENDDO !l |
---|
986 | c |
---|
987 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1, zx_tmp_fi3d,zx_tmp_3d) |
---|
988 | CALL histwrite_phy(nid_mth,"dtlsc",itau_w,zx_tmp_fi3d) |
---|
989 | c |
---|
990 | c total moisture tendency due to diabatic processes |
---|
991 | DO l=1, klev |
---|
992 | DO i=1, klon |
---|
993 | d_qx(i,l,ivap) = ( q_seri(i,l) - qx(i,l,ivap) ) / dtime |
---|
994 | zx_tmp_fi3d(i,l)=d_qx(i,l,ivap) |
---|
995 | ENDDO !i |
---|
996 | ENDDO !l |
---|
997 | c |
---|
998 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1, zx_tmp_fi3d,zx_tmp_3d) |
---|
999 | CALL histwrite_phy(nid_mth,"dqdia",itau_w,zx_tmp_fi3d) |
---|
1000 | c |
---|
1001 | cBEG 210404 BEG |
---|
1002 | c |
---|
1003 | IF(ok_orodr.AND.ok_orolf) THEN |
---|
1004 | DO k = 1, klev |
---|
1005 | DO i = 1, klon |
---|
1006 | d_u_oli(i,k) = (d_u_oro(i,k) + d_u_lif(i,k))/pdtphys |
---|
1007 | d_v_oli(i,k) = (d_v_oro(i,k) + d_v_lif(i,k))/pdtphys |
---|
1008 | ENDDO |
---|
1009 | ENDDO |
---|
1010 | ENDIF !(ok_orodr.AND.ok_orolf) THEN |
---|
1011 | c |
---|
1012 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1,d_u_oli,zx_tmp_3d) |
---|
1013 | CALL histwrite_phy(nid_mth,"duoli",itau_w,d_u_oli) |
---|
1014 | c |
---|
1015 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1,d_v_oli,zx_tmp_3d) |
---|
1016 | CALL histwrite_phy(nid_mth,"dvoli",itau_w,d_v_oli) |
---|
1017 | c |
---|
1018 | zx_tmp_fi3d(1:klon,1:klev)=d_u_con(1:klon,1:klev)/pdtphys |
---|
1019 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1020 | CALL histwrite_phy(nid_mth,"ducon",itau_w,zx_tmp_fi3d) |
---|
1021 | c |
---|
1022 | zx_tmp_fi3d(1:klon,1:klev)=d_v_con(1:klon,1:klev)/pdtphys |
---|
1023 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1024 | CALL histwrite_phy(nid_mth,"dvcon",itau_w,zx_tmp_fi3d) |
---|
1025 | c |
---|
1026 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1,d_u,zx_tmp_3d) |
---|
1027 | CALL histwrite_phy(nid_mth,"dutot",itau_w,d_u) |
---|
1028 | c |
---|
1029 | cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1,d_v,zx_tmp_3d) |
---|
1030 | CALL histwrite_phy(nid_mth,"dvtot",itau_w,d_v) |
---|
1031 | |
---|
1032 | cEND 210404 END |
---|
1033 | c |
---|
1034 | c cldtrue |
---|
1035 | c CALL gr_fi_ecrit(klev, klon,iim,jjmp1,cldtrue,zx_tmp_3d) |
---|
1036 | c CALL histwrite_phy(nid_mth,"cldtrue",itau_w,zx_tmp_3d, |
---|
1037 | c $ iim*jjmp1*klev,ndex3d) |
---|
1038 | c |
---|
1039 | c CALL gr_fi_ecrit(klev, klon,iim,jjmp1,cldTOA,zx_tmp_3d) |
---|
1040 | c CALL histwrite_phy(nid_mth,"cldTOA",itau_w,zx_tmp_3d, |
---|
1041 | c $ iim*jjmp1*klev,ndex3d) |
---|
1042 | c |
---|
1043 | c CALL gr_fi_ecrit(klev, klon,iim,jjmp1,cldSFC,zx_tmp_3d) |
---|
1044 | c CALL histwrite_phy(nid_mth,"cldSFC",itau_w,zx_tmp_3d, |
---|
1045 | c $ iim*jjmp1*klev,ndex3d) |
---|
1046 | c |
---|
1047 | DO i=1, klon |
---|
1048 | cIM 151004 zx_tmp_fi2d(i)=GWDtaux1(i,1)-GWDtaux0(i,1) |
---|
1049 | zx_tmp_fi2d(i)=zustrdr(i)+zustrli(i) |
---|
1050 | ENDDO |
---|
1051 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1052 | CALL histwrite_phy(nid_mth,"GWDtaux",itau_w,zx_tmp_fi2d) |
---|
1053 | c |
---|
1054 | DO i=1, klon |
---|
1055 | cIM 151004 zx_tmp_fi2d(i)=GWDtauy1(i,1)-GWDtauy0(i,1) |
---|
1056 | zx_tmp_fi2d(i)=zvstrdr(i)+zvstrli(i) |
---|
1057 | ENDDO |
---|
1058 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1059 | CALL histwrite_phy(nid_mth,"GWDtauy",itau_w,zx_tmp_fi2d) |
---|
1060 | c |
---|
1061 | c220404 END |
---|
1062 | cAMIP2 END |
---|
1063 | c |
---|
1064 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, slp,zx_tmp_2d) |
---|
1065 | CALL histwrite_phy(nid_mth,"slp",itau_w,slp) |
---|
1066 | |
---|
1067 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxtsol,zx_tmp_2d) |
---|
1068 | CALL histwrite_phy(nid_mth,"tsol",itau_w,zxtsol) |
---|
1069 | c |
---|
1070 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zt2m,zx_tmp_2d) |
---|
1071 | CALL histwrite_phy(nid_mth,"t2m",itau_w,zt2m) |
---|
1072 | c |
---|
1073 | c ENSEMBLES BEG |
---|
1074 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
1075 | c CALL histwrite_phy(nid_mth,"t2m_min",itau_w,zt2m) |
---|
1076 | c |
---|
1077 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
1078 | c CALL histwrite_phy(nid_mth,"t2m_max",itau_w,zt2m) |
---|
1079 | c |
---|
1080 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,ftsoil(:,1,is_ter),zx_tmp_2d) |
---|
1081 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,ftsol(:,is_ter),zx_tmp_2d) |
---|
1082 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,ztsol,zx_tmp_2d) |
---|
1083 | c CALL histwrite_phy(nid_mth,"tsoil",itau_w,zx_tmp_2d, |
---|
1084 | c . iim*jjmp1,ndex2d) |
---|
1085 | c |
---|
1086 | DO i=1, klon |
---|
1087 | zx_tmp_fi2d(i)=SQRT(zu10m(i)*zu10m(i)+zv10m(i)*zv10m(i)) |
---|
1088 | ENDDO |
---|
1089 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1090 | CALL histwrite_phy(nid_mth,"wind10m",itau_w,zx_tmp_fi2d) |
---|
1091 | c |
---|
1092 | DO i = 1, klon |
---|
1093 | zx_tmp_fi2d(i) = pctsrf(i,is_sic) |
---|
1094 | ENDDO |
---|
1095 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1096 | CALL histwrite_phy(nid_mth,"sicf",itau_w,zx_tmp_fi2d) |
---|
1097 | c |
---|
1098 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, t_seri, zx_tmp_3d) |
---|
1099 | c CALL histwrite_phy(nid_mth,"temp",itau_w,zx_tmp_3d, |
---|
1100 | c . iim*jjmp1*klev,ndex3d) |
---|
1101 | c |
---|
1102 | c ENSEMBLES END |
---|
1103 | c |
---|
1104 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zq2m,zx_tmp_2d) |
---|
1105 | CALL histwrite_phy(nid_mth,"q2m",itau_w,zq2m) |
---|
1106 | c |
---|
1107 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zu10m,zx_tmp_2d) |
---|
1108 | CALL histwrite_phy(nid_mth,"u10m",itau_w,zu10m) |
---|
1109 | C |
---|
1110 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zv10m,zx_tmp_2d) |
---|
1111 | CALL histwrite_phy(nid_mth,"v10m",itau_w,zv10m) |
---|
1112 | C |
---|
1113 | DO i = 1, klon |
---|
1114 | zx_tmp_fi2d(i) = paprs(i,1) |
---|
1115 | ENDDO |
---|
1116 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1117 | CALL histwrite_phy(nid_mth,"psol",itau_w,zx_tmp_fi2d) |
---|
1118 | c |
---|
1119 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxqsurf,zx_tmp_2d) |
---|
1120 | CALL histwrite_phy(nid_mth,"qsurf",itau_w,zxqsurf) |
---|
1121 | c |
---|
1122 | if (.not. ok_veget) then |
---|
1123 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, qsol,zx_tmp_2d) |
---|
1124 | CALL histwrite_phy(nid_mth,"qsol",itau_w,qsol) |
---|
1125 | endif |
---|
1126 | c |
---|
1127 | DO i = 1, klon |
---|
1128 | zx_tmp_fi2d(i) = rain_fall(i) + snow_fall(i) |
---|
1129 | ENDDO |
---|
1130 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1131 | CALL histwrite_phy(nid_mth,"precip",itau_w,zx_tmp_fi2d) |
---|
1132 | c |
---|
1133 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, nday_rain,zx_tmp_2d) |
---|
1134 | c CALL histwrite_phy(nid_mth,"ndayrain",itau_w,nday_rain) |
---|
1135 | c |
---|
1136 | DO i = 1, klon |
---|
1137 | zx_tmp_fi2d(i) = rain_lsc(i) + snow_lsc(i) |
---|
1138 | ENDDO |
---|
1139 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1140 | CALL histwrite_phy(nid_mth,"plul",itau_w,zx_tmp_fi2d) |
---|
1141 | c |
---|
1142 | DO i = 1, klon |
---|
1143 | zx_tmp_fi2d(i) = rain_con(i) + snow_con(i) |
---|
1144 | ENDDO |
---|
1145 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1146 | CALL histwrite_phy(nid_mth,"pluc",itau_w,zx_tmp_fi2d) |
---|
1147 | c |
---|
1148 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, snow_fall,zx_tmp_2d) |
---|
1149 | CALL histwrite_phy(nid_mth,"snowf",itau_w,snow_fall) |
---|
1150 | c |
---|
1151 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zsnow_mass,zx_tmp_2d) |
---|
1152 | c CALL histwrite_phy(nid_mth,"snow_mass",itau_w,zx_tmp_2d,iim*jjmp1, |
---|
1153 | c . ndex2d) |
---|
1154 | c |
---|
1155 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, evap,zx_tmp_2d) |
---|
1156 | CALL histwrite_phy(nid_mth,"evap",itau_w,evap) |
---|
1157 | c |
---|
1158 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, topsw,zx_tmp_2d) |
---|
1159 | CALL histwrite_phy(nid_mth,"tops",itau_w,topsw) |
---|
1160 | c |
---|
1161 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, topsw0,zx_tmp_2d) |
---|
1162 | CALL histwrite_phy(nid_mth,"tops0",itau_w,topsw0) |
---|
1163 | c |
---|
1164 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw,zx_tmp_2d) |
---|
1165 | CALL histwrite_phy(nid_mth,"topl",itau_w,toplw) |
---|
1166 | c |
---|
1167 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw0,zx_tmp_2d) |
---|
1168 | CALL histwrite_phy(nid_mth,"topl0",itau_w,toplw0) |
---|
1169 | c |
---|
1170 | zx_tmp_fi2d(1 : klon) = swup ( 1 : klon, klevp1 ) |
---|
1171 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1172 | CALL histwrite_phy(nid_mth, "SWupTOA",itau_w,zx_tmp_fi2d) |
---|
1173 | c |
---|
1174 | c |
---|
1175 | zx_tmp_fi2d(1 : klon) = swup0 ( 1 : klon, klevp1 ) |
---|
1176 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1177 | CALL histwrite_phy(nid_mth, "SWupTOAclr",itau_w,zx_tmp_fi2d) |
---|
1178 | c |
---|
1179 | zx_tmp_fi2d(1 : klon) = swdn ( 1 : klon, klevp1 ) |
---|
1180 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1181 | CALL histwrite_phy(nid_mth, "SWdnTOA",itau_w,zx_tmp_fi2d) |
---|
1182 | c |
---|
1183 | zx_tmp_fi2d(1 : klon) = swdn0 ( 1 : klon, klevp1 ) |
---|
1184 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1185 | CALL histwrite_phy(nid_mth, "SWdnTOAclr",itau_w,zx_tmp_fi2d) |
---|
1186 | c |
---|
1187 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWup200,zx_tmp_2d) |
---|
1188 | CALL histwrite_phy(nid_mth,"SWup200",itau_w,SWup200) |
---|
1189 | c |
---|
1190 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWup200clr,zx_tmp_2d) |
---|
1191 | CALL histwrite_phy(nid_mth,"SWup200clr",itau_w,SWup200clr) |
---|
1192 | c |
---|
1193 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWdn200,zx_tmp_2d) |
---|
1194 | CALL histwrite_phy(nid_mth,"SWdn200",itau_w,SWdn200) |
---|
1195 | c |
---|
1196 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, SWdn200clr,zx_tmp_2d) |
---|
1197 | CALL histwrite_phy(nid_mth,"SWdn200clr",itau_w,SWdn200clr) |
---|
1198 | c |
---|
1199 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, LWup200,zx_tmp_2d) |
---|
1200 | CALL histwrite_phy(nid_mth,"LWup200",itau_w,LWup200) |
---|
1201 | c |
---|
1202 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, LWup200clr,zx_tmp_2d) |
---|
1203 | CALL histwrite_phy(nid_mth,"LWup200clr",itau_w,LWup200clr) |
---|
1204 | c |
---|
1205 | zx_tmp_fi2d(1:klon)=-1*LWdn200(1:klon) |
---|
1206 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1207 | CALL histwrite_phy(nid_mth,"LWdn200",itau_w,zx_tmp_fi2d) |
---|
1208 | c |
---|
1209 | zx_tmp_fi2d(1:klon)=-1*LWdn200clr(1:klon) |
---|
1210 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1211 | CALL histwrite_phy(nid_mth,"LWdn200clr",itau_w,zx_tmp_fi2d) |
---|
1212 | c |
---|
1213 | c200 END |
---|
1214 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, solsw,zx_tmp_2d) |
---|
1215 | CALL histwrite_phy(nid_mth,"sols",itau_w,solsw) |
---|
1216 | c |
---|
1217 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, solsw0,zx_tmp_2d) |
---|
1218 | CALL histwrite_phy(nid_mth,"sols0",itau_w,solsw0) |
---|
1219 | c |
---|
1220 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollw,zx_tmp_2d) |
---|
1221 | CALL histwrite_phy(nid_mth,"soll",itau_w,sollw) |
---|
1222 | c |
---|
1223 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, radsol,zx_tmp_2d) |
---|
1224 | CALL histwrite_phy(nid_mth,"radsol",itau_w,radsol) |
---|
1225 | c |
---|
1226 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollw0,zx_tmp_2d) |
---|
1227 | CALL histwrite_phy(nid_mth,"soll0",itau_w,sollw0) |
---|
1228 | c |
---|
1229 | c zx_tmp_fi2d(1 : klon) = ZFSUP( 1 : klon, 1) |
---|
1230 | zx_tmp_fi2d(1 : klon) = swup ( 1 : klon, 1 ) |
---|
1231 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1232 | CALL histwrite_phy(nid_mth, "SWupSFC",itau_w,zx_tmp_fi2d) |
---|
1233 | c |
---|
1234 | c zx_tmp_fi2d(1 : klon) = ZFSUP0( 1 : klon, 1) |
---|
1235 | zx_tmp_fi2d(1 : klon) = swup0 ( 1 : klon, 1 ) |
---|
1236 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1237 | CALL histwrite_phy(nid_mth, "SWupSFCclr",itau_w,zx_tmp_fi2d) |
---|
1238 | c |
---|
1239 | c zx_tmp_fi2d(1 : klon) = ZFSDN( 1 : klon, 1) |
---|
1240 | zx_tmp_fi2d(1 : klon) = swdn ( 1 : klon, 1 ) |
---|
1241 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1242 | CALL histwrite_phy(nid_mth, "SWdnSFC",itau_w,zx_tmp_fi2d) |
---|
1243 | c |
---|
1244 | c zx_tmp_fi2d(1 : klon) = ZFSDN0( 1 : klon, 1) |
---|
1245 | zx_tmp_fi2d(1 : klon) = swdn0 ( 1 : klon, 1 ) |
---|
1246 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1247 | CALL histwrite_phy(nid_mth, "SWdnSFCclr",itau_w,zx_tmp_fi2d) |
---|
1248 | c |
---|
1249 | cIM 080904 zx_tmp_fi2d(1:klon)=sollw(1:klon)+sollwdown(1:klon) |
---|
1250 | cIM 130904 zx_tmp_fi2d(1:klon)=sollw(1:klon)-sollwdown(1:klon) |
---|
1251 | zx_tmp_fi2d(1:klon)=sollwdown(1:klon)-sollw(1:klon) |
---|
1252 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
1253 | CALL histwrite_phy(nid_mth,"LWupSFC",itau_w,zx_tmp_fi2d) |
---|
1254 | c |
---|
1255 | DO i=1, klon |
---|
1256 | sollwdownclr(i)=-1.*lwdn0(i,1) |
---|
1257 | ENDDO !i=1, klon |
---|
1258 | c |
---|
1259 | cIM 080904 zx_tmp_fi2d(1:klon)=sollw0(1:klon)+sollwdownclr(1:klon) |
---|
1260 | cIM 130904 zx_tmp_fi2d(1:klon)=sollw0(1:klon)-sollwdownclr(1:klon) |
---|
1261 | zx_tmp_fi2d(1:klon)=sollwdownclr(1:klon)-sollw0(1:klon) |
---|
1262 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
1263 | CALL histwrite_phy(nid_mth,"LWupSFCclr",itau_w,zx_tmp_fi2d) |
---|
1264 | c |
---|
1265 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdown,zx_tmp_2d) |
---|
1266 | CALL histwrite_phy(nid_mth,"LWdnSFC",itau_w,sollwdown) |
---|
1267 | c |
---|
1268 | c DO i=1, klon |
---|
1269 | cIM 08004 sollwdownclr(i)=lwdn0(i,1) |
---|
1270 | c sollwdownclr(i)=-1.*lwdn0(i,1) |
---|
1271 | c ENDDO !i=1, klon |
---|
1272 | c |
---|
1273 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdownclr,zx_tmp_2d) |
---|
1274 | CALL histwrite_phy(nid_mth,"LWdnSFCclr",itau_w,sollwdownclr) |
---|
1275 | c effets des aerosols |
---|
1276 | c |
---|
1277 | IF (ok_ade.OR.ok_aie) THEN |
---|
1278 | zx_tmp_fi2d(1:klon) = topswai(1:klon) - topswad(1:klon) |
---|
1279 | CALL histwrite_phy(nid_mth,"topsad",itau_w,zx_tmp_2d) |
---|
1280 | c |
---|
1281 | zx_tmp_fi2d(1:klon) = solswai(1:klon) - solswad(1:klon) |
---|
1282 | CALL histwrite_phy(nid_mth,"solsad",itau_w,zx_tmp_2d) |
---|
1283 | c |
---|
1284 | zx_tmp_fi2d(1:klon) = topsw(1:klon) - topswai(1:klon) |
---|
1285 | CALL histwrite_phy(nid_mth,"topsai",itau_w,zx_tmp_2d) |
---|
1286 | c |
---|
1287 | zx_tmp_fi2d(1:klon) = solsw(1:klon) - solswai(1:klon) |
---|
1288 | CALL histwrite_phy(nid_mth,"solsai",itau_w,zx_tmp_2d) |
---|
1289 | endif |
---|
1290 | |
---|
1291 | c |
---|
1292 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, bils,zx_tmp_2d) |
---|
1293 | CALL histwrite_phy(nid_mth,"bils",itau_w,bils) |
---|
1294 | c |
---|
1295 | zx_tmp_fi2d(1:klon)=-1*sens(1:klon) |
---|
1296 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, sens,zx_tmp_2d) |
---|
1297 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1298 | CALL histwrite_phy(nid_mth,"sens",itau_w,zx_tmp_fi2d) |
---|
1299 | c |
---|
1300 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, fder,zx_tmp_2d) |
---|
1301 | CALL histwrite_phy(nid_mth,"fder",itau_w,fder) |
---|
1302 | c |
---|
1303 | c Effets des aerosols |
---|
1304 | c |
---|
1305 | IF (ok_ade.OR.ok_aie) THEN |
---|
1306 | zx_tmp_fi2d(1:klon) = topswai(1:klon) - topswad(1:klon) |
---|
1307 | CALL histwrite_phy(nid_mth,"topsad",itau_w,zx_tmp_fi2d) |
---|
1308 | c |
---|
1309 | zx_tmp_fi2d(1:klon) = solswai(1:klon) - solswad(1:klon) |
---|
1310 | CALL histwrite_phy(nid_mth,"solsad",itau_w,zx_tmp_fi2d) |
---|
1311 | c |
---|
1312 | zx_tmp_fi2d(1:klon) = topsw(1:klon) - topswai(1:klon) |
---|
1313 | CALL histwrite_phy(nid_mth,"topsai",itau_w,zx_tmp_fi2d) |
---|
1314 | c |
---|
1315 | zx_tmp_fi2d(1:klon) = solsw(1:klon) - solswai(1:klon) |
---|
1316 | CALL histwrite_phy(nid_mth,"solsai",itau_w,zx_tmp_fi2d) |
---|
1317 | ENDIF |
---|
1318 | c |
---|
1319 | c |
---|
1320 | c DO i = 1, klon |
---|
1321 | c zx_tmp_fi2d(i) = fluxu(i,1) |
---|
1322 | c ENDDO |
---|
1323 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1324 | c CALL histwrite_phy(nid_mth,"frtu",itau_w,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
1325 | c |
---|
1326 | c DO i = 1, klon |
---|
1327 | c zx_tmp_fi2d(i) = fluxv(i,1) |
---|
1328 | c ENDDO |
---|
1329 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1330 | c CALL histwrite_phy(nid_mth,"frtv",itau_w,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
1331 | c |
---|
1332 | c |
---|
1333 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxffonte,zx_tmp_2d) |
---|
1334 | CALL histwrite_phy(nid_mth,"ffonte",itau_w,zxffonte) |
---|
1335 | c |
---|
1336 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxfqcalving,zx_tmp_2d) |
---|
1337 | CALL histwrite_phy(nid_mth,"fqcalving",itau_w,zxfqcalving) |
---|
1338 | c |
---|
1339 | DO nsrf = 1, nbsrf |
---|
1340 | zx_tmp_fi2d(1 : klon) = fluxu( 1 : klon, 1, nsrf) |
---|
1341 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1342 | CALL histwrite_phy(nid_mth,"taux_"//clnsurf(nsrf),itau_w, |
---|
1343 | $ zx_tmp_fi2d) |
---|
1344 | C |
---|
1345 | zx_tmp_fi2d(1 : klon) = fluxv( 1 : klon, 1, nsrf) |
---|
1346 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1347 | CALL histwrite_phy(nid_mth,"tauy_"//clnsurf(nsrf),itau_w, |
---|
1348 | $ zx_tmp_fi2d) |
---|
1349 | ENDDO |
---|
1350 | c |
---|
1351 | zx_tmp_fi2d(1 : klon) = pctsrf( 1 : klon, is_oce)*100. |
---|
1352 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1353 | CALL histwrite_phy(nid_mth,"pourc_"//clnsurf(is_oce),itau_w, |
---|
1354 | $ zx_tmp_fi2d) |
---|
1355 | c |
---|
1356 | zx_tmp_fi2d(1 : klon) = pctsrf( 1 : klon, is_oce) |
---|
1357 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
1358 | CALL histwrite_phy(nid_mth,"fract_"//clnsurf(is_oce),itau_w, |
---|
1359 | $ zx_tmp_fi2d) |
---|
1360 | c |
---|
1361 | DO nsrf = 1, nbsrf |
---|
1362 | CYYY |
---|
1363 | C |
---|
1364 | zx_tmp_fi2d(1 : klon) = ftsol( 1 : klon, nsrf) |
---|
1365 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1366 | CALL histwrite_phy(nid_mth,"tsol_"//clnsurf(nsrf),itau_w, |
---|
1367 | $ zx_tmp_fi2d) |
---|
1368 | C |
---|
1369 | zx_tmp_fi2d(1 : klon) = fluxt( 1 : klon, 1, nsrf) |
---|
1370 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1371 | CALL histwrite_phy(nid_mth,"sens_"//clnsurf(nsrf),itau_w, |
---|
1372 | $ zx_tmp_fi2d) |
---|
1373 | C |
---|
1374 | zx_tmp_fi2d(1 : klon) = fluxlat( 1 : klon, nsrf) |
---|
1375 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1376 | CALL histwrite_phy(nid_mth,"lat_"//clnsurf(nsrf),itau_w, |
---|
1377 | $ zx_tmp_fi2d) |
---|
1378 | C |
---|
1379 | zx_tmp_fi2d(1 : klon) = fsollw( 1 : klon, nsrf) |
---|
1380 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1381 | CALL histwrite_phy(nid_mth,"flw_"//clnsurf(nsrf),itau_w, |
---|
1382 | $ zx_tmp_fi2d) |
---|
1383 | c |
---|
1384 | zx_tmp_fi2d(1 : klon) = fsolsw( 1 : klon, nsrf) |
---|
1385 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1386 | CALL histwrite_phy(nid_mth,"fsw_"//clnsurf(nsrf),itau_w, |
---|
1387 | $ zx_tmp_fi2d) |
---|
1388 | C |
---|
1389 | zx_tmp_fi2d(1 : klon) = wfbils( 1 : klon, nsrf) |
---|
1390 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1391 | CALL histwrite_phy(nid_mth,"wbils_"//clnsurf(nsrf),itau_w, |
---|
1392 | $ zx_tmp_fi2d) |
---|
1393 | C |
---|
1394 | zx_tmp_fi2d(1 : klon) = wfbilo( 1 : klon, nsrf) |
---|
1395 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1396 | CALL histwrite_phy(nid_mth,"wbilo_"//clnsurf(nsrf),itau_w, |
---|
1397 | $ zx_tmp_fi2d) |
---|
1398 | C |
---|
1399 | IF(1.EQ.0) THEN |
---|
1400 | C |
---|
1401 | zx_tmp_fi2d(1:klon) = fevap(1:klon,nsrf)*pctsrf(1:klon,nsrf) |
---|
1402 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1403 | CALL histwrite_phy(nid_mth,"evapour_"//clnsurf(nsrf),itau_w, |
---|
1404 | $ zx_tmp_fi2d) |
---|
1405 | C |
---|
1406 | zx_tmp_fi2d(1:klon) = (rain_fall(1:klon) + snow_fall(1:klon)) |
---|
1407 | $ *pctsrf(1:klon,nsrf) |
---|
1408 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1409 | CALL histwrite_phy(nid_mth,"prepour_"//clnsurf(nsrf),itau_w, |
---|
1410 | $ zx_tmp_fi2d) |
---|
1411 | C |
---|
1412 | ENDIF !(1.EQ.0) THEN |
---|
1413 | C |
---|
1414 | END DO |
---|
1415 | c |
---|
1416 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cdragm,zx_tmp_2d) |
---|
1417 | CALL histwrite_phy(nid_mth,"cdrm",itau_w,cdragm) |
---|
1418 | c |
---|
1419 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cdragh,zx_tmp_2d) |
---|
1420 | CALL histwrite_phy(nid_mth,"cdrh",itau_w,cdragh) |
---|
1421 | c |
---|
1422 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldl,zx_tmp_2d) |
---|
1423 | CALL histwrite_phy(nid_mth,"cldl",itau_w,cldl) |
---|
1424 | c |
---|
1425 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldm,zx_tmp_2d) |
---|
1426 | CALL histwrite_phy(nid_mth,"cldm",itau_w,cldm) |
---|
1427 | c |
---|
1428 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldh,zx_tmp_2d) |
---|
1429 | CALL histwrite_phy(nid_mth,"cldh",itau_w,cldh) |
---|
1430 | c |
---|
1431 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldt*100.,zx_tmp_2d) |
---|
1432 | CALL histwrite_phy(nid_mth,"cldt",itau_w,cldt*100.) |
---|
1433 | c |
---|
1434 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldq,zx_tmp_2d) |
---|
1435 | CALL histwrite_phy(nid_mth,"cldq",itau_w,cldq) |
---|
1436 | c |
---|
1437 | zx_tmp_fi2d(1:klon) = flwp(1:klon) |
---|
1438 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1439 | CALL histwrite_phy(nid_mth,"lwp",itau_w,zx_tmp_fi2d) |
---|
1440 | c |
---|
1441 | zx_tmp_fi2d(1:klon) = fiwp(1:klon) |
---|
1442 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1443 | CALL histwrite_phy(nid_mth,"iwp",itau_w,zx_tmp_fi2d) |
---|
1444 | c |
---|
1445 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ue,zx_tmp_2d) |
---|
1446 | CALL histwrite_phy(nid_mth,"ue",itau_w,ue) |
---|
1447 | c |
---|
1448 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ve,zx_tmp_2d) |
---|
1449 | CALL histwrite_phy(nid_mth,"ve",itau_w,ve) |
---|
1450 | c |
---|
1451 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, uq,zx_tmp_2d) |
---|
1452 | CALL histwrite_phy(nid_mth,"uq",itau_w,uq) |
---|
1453 | c |
---|
1454 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, vq,zx_tmp_2d) |
---|
1455 | CALL histwrite_phy(nid_mth,"vq",itau_w,vq) |
---|
1456 | cKE43 |
---|
1457 | IF (iflag_con.GE.3) THEN ! sb |
---|
1458 | c |
---|
1459 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cape,zx_tmp_2d) |
---|
1460 | CALL histwrite_phy(nid_mth,"cape",itau_w,cape) |
---|
1461 | c |
---|
1462 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,pbase,zx_tmp_2d) |
---|
1463 | CALL histwrite_phy(nid_mth,"pbase",itau_w,pbase) |
---|
1464 | c |
---|
1465 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,ema_pct,zx_tmp_2d) |
---|
1466 | CALL histwrite_phy(nid_mth,"ptop",itau_w,ema_pct) |
---|
1467 | c |
---|
1468 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,ema_cbmf,zx_tmp_2d) |
---|
1469 | CALL histwrite_phy(nid_mth,"fbase",itau_w,ema_cbmf) |
---|
1470 | c |
---|
1471 | c34EK |
---|
1472 | c |
---|
1473 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, prw,zx_tmp_2d) |
---|
1474 | CALL histwrite_phy(nid_mth,"prw",itau_w,prw) |
---|
1475 | c |
---|
1476 | ENDIF !iflag_con.GE.3 |
---|
1477 | c |
---|
1478 | cIM cf. AM 081204 BEG |
---|
1479 | cHBTM2 |
---|
1480 | c |
---|
1481 | c |
---|
1482 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_pblh,zx_tmp_2d) |
---|
1483 | CALL histwrite_phy(nid_mth,"s_pblh",itau_w,s_pblh) |
---|
1484 | c |
---|
1485 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_pblt,zx_tmp_2d) |
---|
1486 | CALL histwrite_phy(nid_mth,"s_pblt",itau_w,s_pblt) |
---|
1487 | c |
---|
1488 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_lcl,zx_tmp_2d) |
---|
1489 | CALL histwrite_phy(nid_mth,"s_lcl",itau_w,s_lcl) |
---|
1490 | c |
---|
1491 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_capCL,zx_tmp_2d) |
---|
1492 | CALL histwrite_phy(nid_mth,"s_capCL",itau_w,s_capCL) |
---|
1493 | c |
---|
1494 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_oliqCL,zx_tmp_2d) |
---|
1495 | CALL histwrite_phy(nid_mth,"s_oliqCL",itau_w,s_oliqCL) |
---|
1496 | c |
---|
1497 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_cteiCL,zx_tmp_2d) |
---|
1498 | CALL histwrite_phy(nid_mth,"s_cteiCL",itau_w,s_cteiCL) |
---|
1499 | c |
---|
1500 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_therm,zx_tmp_2d) |
---|
1501 | CALL histwrite_phy(nid_mth,"s_therm",itau_w,s_therm) |
---|
1502 | c |
---|
1503 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_trmb1,zx_tmp_2d) |
---|
1504 | CALL histwrite_phy(nid_mth,"s_trmb1",itau_w,s_trmb1) |
---|
1505 | c |
---|
1506 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_trmb2,zx_tmp_2d) |
---|
1507 | CALL histwrite_phy(nid_mth,"s_trmb2",itau_w,s_trmb2) |
---|
1508 | c |
---|
1509 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, s_trmb3,zx_tmp_2d) |
---|
1510 | CALL histwrite_phy(nid_mth,"s_trmb3",itau_w,s_trmb3) |
---|
1511 | c |
---|
1512 | cIM cf. AM 081204 END |
---|
1513 | c |
---|
1514 | c Champs interpolles sur des niveaux de pression |
---|
1515 | c DO k=1, nlevENS |
---|
1516 | DO k=1, nlevSTD |
---|
1517 | c |
---|
1518 | c bb=clevSTD(k) |
---|
1519 | c |
---|
1520 | c IF(k.GE.2) THEN |
---|
1521 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
1522 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
1523 | c aa=clevSTD(k) |
---|
1524 | c bb=aa(1:lnblnk1(aa)) |
---|
1525 | c ENDIF |
---|
1526 | c |
---|
1527 | IF(bb2.EQ."850".OR.bb2.EQ."700" |
---|
1528 | $ .OR.bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
1529 | c |
---|
1530 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,usumSTD(:,k,2),zx_tmp_2d) |
---|
1531 | CALL histwrite_phy(nid_mth,"u"//bb2,itau_w,usumSTD(:,k,2)) |
---|
1532 | c |
---|
1533 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,vsumSTD(:,k,2),zx_tmp_2d) |
---|
1534 | CALL histwrite_phy(nid_mth,"v"//bb2,itau_w,vsumSTD(:,k,2)) |
---|
1535 | c |
---|
1536 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,wsumSTD(:,k,2),zx_tmp_2d) |
---|
1537 | CALL histwrite_phy(nid_mth,"w"//bb2,itau_w,wsumSTD(:,k,2)) |
---|
1538 | c |
---|
1539 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,phisumSTD(:,k,2),zx_tmp_2d) |
---|
1540 | CALL histwrite_phy(nid_mth,"phi"//bb2,itau_w,phisumSTD(:,k,2)) |
---|
1541 | c |
---|
1542 | ENDIF !(bb2.EQ."850".OR.bb2.EQ."700" |
---|
1543 | ENDDO !nlevSTD |
---|
1544 | c |
---|
1545 | DO i=1, klon |
---|
1546 | IF (pctsrf(i,is_oce).GT.epsfra) THEN |
---|
1547 | zx_tmp_fi2d(i) = fluxo(i) |
---|
1548 | ELSE |
---|
1549 | zx_tmp_fi2d(i) = 0. |
---|
1550 | ENDIF |
---|
1551 | ENDDO |
---|
1552 | c |
---|
1553 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1554 | CALL histwrite_phy(nid_mth,"fluxo",itau_w,zx_tmp_fi2d) |
---|
1555 | c |
---|
1556 | DO i=1, klon |
---|
1557 | IF (pctsrf(i,is_sic).GT.epsfra) THEN |
---|
1558 | zx_tmp_fi2d(i) = fluxg(i) |
---|
1559 | ELSE |
---|
1560 | zx_tmp_fi2d(i) = 0. |
---|
1561 | ENDIF |
---|
1562 | ENDDO |
---|
1563 | c |
---|
1564 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1565 | CALL histwrite_phy(nid_mth,"fluxg",itau_w,zx_tmp_fi2d) |
---|
1566 | c |
---|
1567 | DO i=1, klon |
---|
1568 | IF (pctsrf(i,is_oce).GT.epsfra.OR. |
---|
1569 | . pctsrf(i,is_sic).GT.epsfra) THEN |
---|
1570 | zx_tmp_fi2d(i) = (ftsol(i, is_oce) * pctsrf(i,is_oce)+ |
---|
1571 | . ftsol(i, is_sic) * pctsrf(i,is_sic))/ |
---|
1572 | . (pctsrf(i,is_oce)+pctsrf(i,is_sic)) |
---|
1573 | ELSE |
---|
1574 | zx_tmp_fi2d(i) = 273.15 |
---|
1575 | ENDIF |
---|
1576 | ENDDO |
---|
1577 | c |
---|
1578 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1579 | CALL histwrite_phy(nid_mth,"t_oce_sic",itau_w,zx_tmp_fi2d) |
---|
1580 | c |
---|
1581 | IF (OCEAN.EQ.'force ') THEN |
---|
1582 | c |
---|
1583 | DO i=1, klon |
---|
1584 | IF((pctsrf(i,is_oce).GT.epsfra).OR. |
---|
1585 | . (pctsrf(i,is_sic).GT.epsfra)) THEN |
---|
1586 | zx_tmp_fi2d(i) = (radsol(i) + fluxo(i))*pctsrf(i,is_oce)+ |
---|
1587 | . fluxg(i)*pctsrf(i,is_sic) |
---|
1588 | ELSE |
---|
1589 | zx_tmp_fi2d(i) = 1.E+20 |
---|
1590 | ENDIF |
---|
1591 | ENDDO |
---|
1592 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1593 | CALL histwrite_phy(nid_mth,"lmt_bils",itau_w, |
---|
1594 | . zx_tmp_fi2d) |
---|
1595 | c |
---|
1596 | ELSE IF (OCEAN.EQ.'slab ') THEN |
---|
1597 | c |
---|
1598 | c |
---|
1599 | DO i=1, klon |
---|
1600 | IF((pctsrf(i,is_oce).GT.epsfra).OR. |
---|
1601 | . (pctsrf(i,is_sic).GT.epsfra)) THEN |
---|
1602 | zx_tmp_fi2d(i) = (radsol(i) + fluxo(i))*pctsrf(i,is_oce)+ |
---|
1603 | . fluxg(i)*pctsrf(i,is_sic) |
---|
1604 | ELSE |
---|
1605 | zx_tmp_fi2d(i) = 1.E+20 |
---|
1606 | ENDIF |
---|
1607 | ENDDO |
---|
1608 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1609 | CALL histwrite_phy(nid_mth,"slab_bils",itau_w, |
---|
1610 | . zx_tmp_fi2d) |
---|
1611 | c |
---|
1612 | DO i=1, klon |
---|
1613 | IF(pctsrf(i,is_oce).GT.epsfra.OR. |
---|
1614 | $ pctsrf(i,is_sic).GT.epsfra) THEN |
---|
1615 | zx_tmp_fi2d(i)=tslab(i) |
---|
1616 | ELSE |
---|
1617 | zx_tmp_fi2d(i) = 1.E+20 |
---|
1618 | ENDIF |
---|
1619 | ENDDO !i=1, klon |
---|
1620 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
1621 | CALL histwrite_phy(nid_mth,"tslab",itau_w,zx_tmp_fi2d) |
---|
1622 | c |
---|
1623 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, seaice,zx_tmp_2d) |
---|
1624 | CALL histwrite_phy(nid_mth,"seaice",itau_w,seaice) |
---|
1625 | c |
---|
1626 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, seaice/1000.,zx_tmp_2d) |
---|
1627 | CALL histwrite_phy(nid_mth,"siceh",itau_w,seaice/1000.) |
---|
1628 | c |
---|
1629 | ENDIF !OCEAN.EQ.force/slab |
---|
1630 | c |
---|
1631 | ENDIF !lev_histmth.GE.1 |
---|
1632 | c |
---|
1633 | IF(lev_histmth.GE.2) THEN |
---|
1634 | c |
---|
1635 | c Champs 3D: |
---|
1636 | C |
---|
1637 | c |
---|
1638 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, flwc,zx_tmp_3d) |
---|
1639 | CALL histwrite_phy(nid_mth,"lwcon",itau_w,flwc) |
---|
1640 | c |
---|
1641 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, fiwc,zx_tmp_3d) |
---|
1642 | CALL histwrite_phy(nid_mth,"iwcon",itau_w,fiwc) |
---|
1643 | c |
---|
1644 | c#ifdef histmthNMC |
---|
1645 | c#include "write_histmthNMC.h" |
---|
1646 | c#endif |
---|
1647 | c |
---|
1648 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qx(1,1,ivap), zx_tmp_3d) |
---|
1649 | CALL histwrite_phy(nid_mth,"ovap",itau_w, qx(:,:,ivap)) |
---|
1650 | c |
---|
1651 | c zx_tmp_fi3d(1:klon,1:klev)=qx(1:klon,1:klev,ivap)/ |
---|
1652 | c . (1-qx(1:klon,1:klev,ivap)) |
---|
1653 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_tmp_fi3d, zx_tmp_3d) |
---|
1654 | c CALL histwrite_phy(nid_mth,"wvap",itau_w,zx_tmp_3d, |
---|
1655 | c . iim*jjmp1*klev,ndex3d) |
---|
1656 | c |
---|
1657 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zphi, zx_tmp_3d) |
---|
1658 | CALL histwrite_phy(nid_mth,"geop",itau_w,zphi) |
---|
1659 | c |
---|
1660 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, u_seri, zx_tmp_3d) |
---|
1661 | CALL histwrite_phy(nid_mth,"vitu",itau_w,u_seri) |
---|
1662 | c |
---|
1663 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, v_seri, zx_tmp_3d) |
---|
1664 | CALL histwrite_phy(nid_mth,"vitv",itau_w,v_seri) |
---|
1665 | c |
---|
1666 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, omega, zx_tmp_3d) |
---|
1667 | CALL histwrite_phy(nid_mth,"vitw",itau_w,omega) |
---|
1668 | c |
---|
1669 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, pplay, zx_tmp_3d) |
---|
1670 | CALL histwrite_phy(nid_mth,"pres",itau_w,pplay) |
---|
1671 | c |
---|
1672 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, cldfra*100., zx_tmp_3d) |
---|
1673 | CALL histwrite_phy(nid_mth,"rneb",itau_w,cldfra*100.) |
---|
1674 | c |
---|
1675 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, rnebcon, zx_tmp_3d) |
---|
1676 | CALL histwrite_phy(nid_mth,"rnebcon",itau_w,rnebcon) |
---|
1677 | c |
---|
1678 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_rh, zx_tmp_3d) |
---|
1679 | CALL histwrite_phy(nid_mth,"rhum",itau_w,zx_rh) |
---|
1680 | c |
---|
1681 | DO k=1, klev |
---|
1682 | DO i=1, klon |
---|
1683 | cIM 151004 zx_tmp_fi3d(i,k)=MAX(wo(i,k),1.0e-12)*RG/46.6968 |
---|
1684 | c $ /(paprs(i,k)-paprs(i,k+1)) |
---|
1685 | c $ *(paprs(i,1)/101325.0) |
---|
1686 | c zx_tmp2_fi3d(i,k)=MAX(wo(i,k)*1.0e+6,1.0e-6)*RG/46.6968 |
---|
1687 | zx_tmp_fi3d(i,k)=wo(i,k)*RG/46.6968 |
---|
1688 | $ /(paprs(i,k)-paprs(i,k+1)) |
---|
1689 | $ *(paprs(i,1)/101325.0) |
---|
1690 | ENDDO !i |
---|
1691 | ENDDO !k |
---|
1692 | c |
---|
1693 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, wo, zx_tmp_3d) |
---|
1694 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp2_fi3d,zx_tmp_3d) |
---|
1695 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1696 | CALL histwrite_phy(nid_mth,"ozone",itau_w,zx_tmp_fi3d) |
---|
1697 | c |
---|
1698 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t, zx_tmp_3d) |
---|
1699 | CALL histwrite_phy(nid_mth,"dtphy",itau_w,d_t) |
---|
1700 | c |
---|
1701 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_qx(:,:,ivap),zx_tmp_3d) |
---|
1702 | CALL histwrite_phy(nid_mth,"dqphy",itau_w,d_qx(:,:,ivap)) |
---|
1703 | c |
---|
1704 | ENDIF !lev_histmth.GE.2 |
---|
1705 | c |
---|
1706 | IF(lev_histmth.GE.3) THEN |
---|
1707 | c |
---|
1708 | DO nsrf=1, nbsrf |
---|
1709 | c |
---|
1710 | zx_tmp_fi2d(1 : klon) = falb1( 1 : klon, nsrf) |
---|
1711 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1712 | CALL histwrite_phy(nid_mth,"albe_"//clnsurf(nsrf),itau_w, |
---|
1713 | $ zx_tmp_fi2d) |
---|
1714 | C |
---|
1715 | zx_tmp_fi2d(1 : klon) = frugs( 1 : klon, nsrf) |
---|
1716 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
1717 | CALL histwrite_phy(nid_mth,"rugs_"//clnsurf(nsrf),itau_w, |
---|
1718 | $ zx_tmp_fi2d) |
---|
1719 | c |
---|
1720 | zx_tmp_fi2d(1 : klon) = agesno( 1 : klon, nsrf) |
---|
1721 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, agesno,zx_tmp_2d) |
---|
1722 | CALL histwrite_phy(nid_mth,"ages_"//clnsurf(nsrf),itau_w |
---|
1723 | $ ,agesno) |
---|
1724 | c |
---|
1725 | ENDDO !nsrf=1, nbsrf |
---|
1726 | c |
---|
1727 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, albsol1,zx_tmp_2d) |
---|
1728 | CALL histwrite_phy(nid_mth,"albs",itau_w,albsol1) |
---|
1729 | c |
---|
1730 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, albsol2,zx_tmp_2d) |
---|
1731 | CALL histwrite_phy(nid_mth,"albslw",itau_w,albsol2) |
---|
1732 | c |
---|
1733 | ENDIF !lev_histmth.GE.3 |
---|
1734 | c |
---|
1735 | c |
---|
1736 | IF(lev_histmth.GE.4) THEN |
---|
1737 | c |
---|
1738 | c FH Sorties pour la couche limite |
---|
1739 | CALL histwrite_phy(nid_mth,"kz",itau_w,ycoefh) |
---|
1740 | CALL histwrite_phy(nid_mth,"kz_max",itau_w,ycoefh) |
---|
1741 | |
---|
1742 | if(iflag_pbl>1) then |
---|
1743 | zx_tmp_fi3d=0. |
---|
1744 | do nsrf=1,nbsrf |
---|
1745 | do k=1,klev |
---|
1746 | zx_tmp_fi3d(:,k)=zx_tmp_fi3d(:,k) |
---|
1747 | , +pctsrf(:,nsrf)*pbl_tke(:,k,nsrf) |
---|
1748 | enddo |
---|
1749 | enddo |
---|
1750 | CALL histwrite_phy(nid_mth,"tke",itau_w,zx_tmp_fi3d) |
---|
1751 | CALL histwrite_phy(nid_mth,"tke_max",itau_w,zx_tmp_fi3d) |
---|
1752 | endif |
---|
1753 | |
---|
1754 | |
---|
1755 | |
---|
1756 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, clwcon0, zx_tmp_3d) |
---|
1757 | CALL histwrite_phy(nid_mth,"clwcon",itau_w,clwcon0) |
---|
1758 | c |
---|
1759 | IF (iflag_con.GE.3) THEN |
---|
1760 | c |
---|
1761 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, Ma, zx_tmp_3d) |
---|
1762 | CALL histwrite_phy(nid_mth,"Ma",itau_w,Ma) |
---|
1763 | c |
---|
1764 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, upwd, zx_tmp_3d) |
---|
1765 | CALL histwrite_phy(nid_mth,"upwd",itau_w,upwd) |
---|
1766 | c |
---|
1767 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, dnwd, zx_tmp_3d) |
---|
1768 | CALL histwrite_phy(nid_mth,"dnwd",itau_w,dnwd) |
---|
1769 | c |
---|
1770 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, dnwd0, zx_tmp_3d) |
---|
1771 | CALL histwrite_phy(nid_mth,"dnwd0",itau_w,dnwd0) |
---|
1772 | c |
---|
1773 | ENDIF !iflag_con.GE.3 |
---|
1774 | c |
---|
1775 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t_dyn, zx_tmp_3d) |
---|
1776 | CALL histwrite_phy(nid_mth,"dtdyn",itau_w,d_t_dyn) |
---|
1777 | c |
---|
1778 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_q_dyn, zx_tmp_3d) |
---|
1779 | CALL histwrite_phy(nid_mth,"dqdyn",itau_w,d_q_dyn) |
---|
1780 | c |
---|
1781 | cIM: 101003 : K/30min ==> K/s |
---|
1782 | c |
---|
1783 | zx_tmp_fi3d(1:klon,1:klev)=d_q_con(1:klon,1:klev)/pdtphys |
---|
1784 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1785 | CALL histwrite_phy(nid_mth,"dqcon",itau_w,zx_tmp_fi3d) |
---|
1786 | c |
---|
1787 | cIM: 101003 : K/30min ==> K/s |
---|
1788 | zx_tmp_fi3d(1:klon, 1:klev)=(d_t_lsc(1:klon,1:klev)+ |
---|
1789 | . d_t_eva(1:klon,1:klev))/pdtphys |
---|
1790 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zx_tmp_fi3d, zx_tmp_3d) |
---|
1791 | CALL histwrite_phy(nid_mth,"dtlschr",itau_w,zx_tmp_fi3d) |
---|
1792 | c |
---|
1793 | zx_tmp_fi3d(1:klon,1:klev)=d_q_lsc(1:klon,1:klev)/pdtphys |
---|
1794 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1795 | CALL histwrite_phy(nid_mth,"dqlsc",itau_w,zx_tmp_fi3d) |
---|
1796 | c |
---|
1797 | cIM: 101003 : K/30min ==> K/s |
---|
1798 | zx_tmp_fi3d(1:klon,1:klev)=d_t_vdf(1:klon,1:klev)/pdtphys |
---|
1799 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1800 | CALL histwrite_phy(nid_mth,"dtvdf",itau_w,zx_tmp_fi3d) |
---|
1801 | c |
---|
1802 | zx_tmp_fi3d(1:klon,1:klev)=d_q_vdf(1:klon,1:klev)/pdtphys |
---|
1803 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1804 | CALL histwrite_phy(nid_mth,"dqvdf",itau_w,zx_tmp_fi3d) |
---|
1805 | c |
---|
1806 | cIM: 101003 : K/30min ==> K/s |
---|
1807 | zx_tmp_fi3d(1:klon,1:klev)=d_t_eva(1:klon,1:klev)/pdtphys |
---|
1808 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1809 | CALL histwrite_phy(nid_mth,"dteva",itau_w,zx_tmp_fi3d) |
---|
1810 | c |
---|
1811 | zx_tmp_fi3d(1:klon,1:klev)=d_q_eva(1:klon,1:klev)/pdtphys |
---|
1812 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1813 | CALL histwrite_phy(nid_mth,"dqeva",itau_w,zx_tmp_fi3d) |
---|
1814 | c |
---|
1815 | zpt_conv = 0. |
---|
1816 | where (ptconv) zpt_conv = 1. |
---|
1817 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zpt_conv, zx_tmp_3d) |
---|
1818 | CALL histwrite_phy(nid_mth,"ptconv",itau_w,zpt_conv) |
---|
1819 | c |
---|
1820 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, ratqs, zx_tmp_3d) |
---|
1821 | CALL histwrite_phy(nid_mth,"ratqs",itau_w,ratqs) |
---|
1822 | cIM: 101003 : K/30min ==> K/s |
---|
1823 | zx_tmp_fi3d(1:klon,1:klev)=d_t_ajsb(1:klon,1:klev)/pdtphys |
---|
1824 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1825 | CALL histwrite_phy(nid_mth,"dtajs",itau_w,zx_tmp_fi3d) |
---|
1826 | c |
---|
1827 | zx_tmp_fi3d(1:klon,1:klev)=d_q_ajsb(1:klon,1:klev)/pdtphys |
---|
1828 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1829 | CALL histwrite_phy(nid_mth,"dqajs",itau_w,zx_tmp_fi3d) |
---|
1830 | c |
---|
1831 | cIM: 101003 : K/30min ==> K/s |
---|
1832 | c |
---|
1833 | zx_tmp_fi3d(1:klon,1:klev)=d_q_ajs(1:klon,1:klev)/pdtphys |
---|
1834 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1835 | CALL histwrite_phy(nid_mth,"dqthe",itau_w,zx_tmp_fi3d) |
---|
1836 | c |
---|
1837 | c |
---|
1838 | cIM: 101003 : K/day ==> K/s |
---|
1839 | zx_tmp_fi3d(1:klon,1:klev)=heat(1:klon,1:klev)/RDAY |
---|
1840 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1841 | CALL histwrite_phy(nid_mth,"dtswr",itau_w,zx_tmp_fi3d) |
---|
1842 | c |
---|
1843 | cIM: 101003 : K/day ==> K/s |
---|
1844 | zx_tmp_fi3d(1:klon,1:klev)=heat0(1:klon,1:klev)/RDAY |
---|
1845 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1846 | CALL histwrite_phy(nid_mth,"dtsw0",itau_w,zx_tmp_fi3d) |
---|
1847 | c |
---|
1848 | cIM: 101003 : K/day ==> K/s |
---|
1849 | zx_tmp_fi3d(1:klon,1:klev)=-1.*cool(1:klon,1:klev)/RDAY |
---|
1850 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1851 | CALL histwrite_phy(nid_mth,"dtlwr",itau_w,zx_tmp_fi3d) |
---|
1852 | c |
---|
1853 | cIM: 101003 : K/day ==> K/s |
---|
1854 | zx_tmp_fi3d(1:klon,1:klev)=-1.*cool0(1:klon,1:klev)/RDAY |
---|
1855 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1856 | CALL histwrite_phy(nid_mth,"dtlw0",itau_w,zx_tmp_fi3d) |
---|
1857 | c |
---|
1858 | cIM: 101003 : deja en K/s |
---|
1859 | zx_tmp_fi3d(1:klon,1:klev)=d_t_ec(1:klon,1:klev) |
---|
1860 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1861 | CALL histwrite_phy(nid_mth,"dtec",itau_w,zx_tmp_fi3d) |
---|
1862 | c |
---|
1863 | zx_tmp_fi3d(1:klon,1:klev)=d_u_vdf(1:klon,1:klev)/pdtphys |
---|
1864 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1865 | CALL histwrite_phy(nid_mth,"duvdf",itau_w,zx_tmp_fi3d) |
---|
1866 | c |
---|
1867 | zx_tmp_fi3d(1:klon,1:klev)=d_v_vdf(1:klon,1:klev)/pdtphys |
---|
1868 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1869 | CALL histwrite_phy(nid_mth,"dvvdf",itau_w,zx_tmp_fi3d) |
---|
1870 | c |
---|
1871 | IF (ok_orodr) THEN |
---|
1872 | zx_tmp_fi3d(1:klon,1:klev)=d_u_oro(1:klon,1:klev)/pdtphys |
---|
1873 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1874 | CALL histwrite_phy(nid_mth,"duoro",itau_w,zx_tmp_fi3d) |
---|
1875 | c |
---|
1876 | zx_tmp_fi3d(1:klon,1:klev)=d_v_oro(1:klon,1:klev)/pdtphys |
---|
1877 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1878 | CALL histwrite_phy(nid_mth,"dvoro",itau_w,zx_tmp_fi3d) |
---|
1879 | c |
---|
1880 | ENDIF |
---|
1881 | C |
---|
1882 | IF (ok_orolf) THEN |
---|
1883 | zx_tmp_fi3d(1:klon,1:klev)=d_u_lif(1:klon,1:klev)/pdtphys |
---|
1884 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1885 | CALL histwrite_phy(nid_mth,"dulif",itau_w,zx_tmp_fi3d) |
---|
1886 | c |
---|
1887 | zx_tmp_fi3d(1:klon,1:klev)=d_v_lif(1:klon,1:klev)/pdtphys |
---|
1888 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
1889 | CALL histwrite_phy(nid_mth,"dvlif",itau_w,zx_tmp_fi3d) |
---|
1890 | ENDIF |
---|
1891 | C |
---|
1892 | #if defined(INCA_AER) && defined(CPP_COUPLE) |
---|
1893 | CALL histwrite_phy(nid_mth,"tau",itau_w,cldtau) |
---|
1894 | CALL histwrite_phy(nid_mth,"CCM1",itau_w,ccm(:,:,1)) |
---|
1895 | CALL histwrite_phy(nid_mth,"CCM2",itau_w,ccm(:,:,2)) |
---|
1896 | CALL histwrite_phy(nid_mth,"taupi",itau_w,cldtaupi) |
---|
1897 | CALL histwrite_phy(nid_mth,"cldemi",itau_w,cldemi) |
---|
1898 | CALL histwrite_phy(nid_mth,"SWTOAAS_ZERO",itau_w,topsw_inca(:,1)) |
---|
1899 | CALL histwrite_phy(nid_mth,"SWTOAAS_AER",itau_w,topsw_inca(:,2)) |
---|
1900 | CALL histwrite_phy(nid_mth,"SWTOAAS_NAT",itau_w,topsw_inca(:,3)) |
---|
1901 | CALL histwrite_phy(nid_mth,"SWTOAAS_AD",itau_w,topswad_inca(:)) |
---|
1902 | CALL histwrite_phy(nid_mth,"SWTOAAS_AI",itau_w,topswai_inca(:)) |
---|
1903 | CALL histwrite_phy(nid_mth,"SWTOACS_ZERO",itau_w,topsw0_inca(:,1)) |
---|
1904 | CALL histwrite_phy(nid_mth,"SWTOACS_AER",itau_w,topsw0_inca(:,2)) |
---|
1905 | CALL histwrite_phy(nid_mth,"SWTOACS_AD",itau_w,topswad0_inca(:)) |
---|
1906 | CALL histwrite_phy(nid_mth,"SWTOACS_NAT",itau_w,topsw0_inca(:,3)) |
---|
1907 | #endif |
---|
1908 | #ifndef INCA |
---|
1909 | IF (nqmax.GE.3) THEN |
---|
1910 | DO iq=3,nqmax |
---|
1911 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qx(1,1,iq), zx_tmp_3d) |
---|
1912 | CALL histwrite_phy(nid_mth,tnom(iq),itau_w,qx(:,:,iq)) |
---|
1913 | ENDDO |
---|
1914 | ENDIF |
---|
1915 | #endif |
---|
1916 | c |
---|
1917 | ENDIF !lev_histmth.GE.4 |
---|
1918 | c |
---|
1919 | ENDIF !(type_run.EQ."AMIP") |
---|
1920 | c |
---|
1921 | if (ok_sync) then |
---|
1922 | c$OMP MASTER |
---|
1923 | call histsync(nid_mth) |
---|
1924 | c$OMP END MASTER |
---|
1925 | endif |
---|
1926 | c |
---|
1927 | ENDIF !ok_mensuel |
---|