[524] | 1 | c |
---|
[644] | 2 | c $Header$ |
---|
| 3 | c |
---|
| 4 | if (ok_journe) THEN |
---|
| 5 | c |
---|
[524] | 6 | ndex2d = 0 |
---|
| 7 | ndex3d = 0 |
---|
| 8 | c |
---|
| 9 | c Champs 2D: |
---|
| 10 | c |
---|
| 11 | itau_w = itau_phy + itap |
---|
| 12 | |
---|
[879] | 13 | c temperature tendency due to moist convective processes |
---|
| 14 | DO l=1, klev |
---|
| 15 | DO i=1, klon |
---|
| 16 | zx_tmp_fi3d(i,l)=d_t_con(i,l)/pdtphys |
---|
| 17 | ENDDO !i |
---|
| 18 | ENDDO !l |
---|
[524] | 19 | c |
---|
| 20 | IF(lev_histday.GE.1) THEN |
---|
| 21 | c |
---|
[766] | 22 | CALL histwrite_phy(nid_day,"phis",itau_w,pphis) |
---|
| 23 | |
---|
[524] | 24 | c |
---|
[766] | 25 | CALL histwrite_phy(nid_day,"aire",itau_w,airephy) |
---|
[524] | 26 | c |
---|
| 27 | DO i=1, klon |
---|
| 28 | zx_tmp_fi2d(i)=pctsrf(i,is_ter)+pctsrf(i,is_lic) |
---|
| 29 | ENDDO |
---|
| 30 | c |
---|
[766] | 31 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 32 | CALL histwrite_phy(nid_day,"contfracATM",itau_w,zx_tmp_fi2d) |
---|
[524] | 33 | c |
---|
[766] | 34 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,pctsrf_new(:,is_ter),zx_tmp_2d) |
---|
| 35 | CALL histwrite_phy(nid_day,"contfracOR",itau_w, |
---|
| 36 | & pctsrf_new(:,is_ter)) |
---|
[524] | 37 | c |
---|
[878] | 38 | |
---|
| 39 | CALL histwrite_phy(nid_day,"dthmin",itau_w,dthmin) |
---|
| 40 | CALL histwrite_phy(nid_day,"weakinv",itau_w,weak_inversion) |
---|
| 41 | |
---|
[879] | 42 | cIM: 101003 : K/30min ==> K/s |
---|
[878] | 43 | |
---|
[766] | 44 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxtsol,zx_tmp_2d) |
---|
| 45 | CALL histwrite_phy(nid_day,"tsol",itau_w,zxtsol) |
---|
[524] | 46 | C |
---|
[766] | 47 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
| 48 | CALL histwrite_phy(nid_day,"t2m",itau_w,zt2m) |
---|
[524] | 49 | c |
---|
| 50 | c En attendant un eventuel debugage. |
---|
| 51 | |
---|
[766] | 52 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
| 53 | CALL histwrite_phy(nid_day,"t2m_min",itau_w,zt2m) |
---|
[524] | 54 | c |
---|
[766] | 55 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zt2m,zx_tmp_2d) |
---|
| 56 | CALL histwrite_phy(nid_day,"t2m_max",itau_w,zt2m) |
---|
[524] | 57 | c |
---|
| 58 | DO i = 1, klon |
---|
| 59 | zx_tmp_fi2d(i) = rain_lsc(i) + snow_lsc(i) |
---|
| 60 | ENDDO |
---|
[766] | 61 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 62 | CALL histwrite_phy(nid_day,"plul",itau_w,zx_tmp_fi2d) |
---|
[524] | 63 | c |
---|
| 64 | DO i = 1, klon |
---|
| 65 | zx_tmp_fi2d(i) = rain_con(i) + snow_con(i) |
---|
| 66 | ENDDO |
---|
[766] | 67 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 68 | CALL histwrite_phy(nid_day,"pluc",itau_w,zx_tmp_fi2d) |
---|
[524] | 69 | c |
---|
[766] | 70 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, snow_lsc,zx_tmp_2d) |
---|
| 71 | CALL histwrite_phy(nid_day,"snowl",itau_w,snow_lsc) |
---|
[524] | 72 | c |
---|
| 73 | IF(1.EQ.0) THEN |
---|
[766] | 74 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, snow_con,zx_tmp_2d) |
---|
| 75 | CALL histwrite_phy(nid_day,"snowc",itau_w,snow_con) |
---|
[524] | 76 | ENDIF |
---|
| 77 | c |
---|
[766] | 78 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxfluxlat,zx_tmp_2d) |
---|
| 79 | CALL histwrite_phy(nid_day,"flat",itau_w,zxfluxlat) |
---|
[524] | 80 | c |
---|
| 81 | DO i = 1, klon |
---|
| 82 | zx_tmp_fi2d(i) = pctsrf(i,is_sic) |
---|
| 83 | ENDDO |
---|
| 84 | c |
---|
[766] | 85 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 86 | CALL histwrite_phy(nid_day,"sicf",itau_w,zx_tmp_fi2d) |
---|
[524] | 87 | c |
---|
[766] | 88 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zq2m,zx_tmp_2d) |
---|
| 89 | CALL histwrite_phy(nid_day,"q2m",itau_w,zq2m) |
---|
[524] | 90 | c |
---|
[766] | 91 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zu10m,zx_tmp_2d) |
---|
| 92 | CALL histwrite_phy(nid_day,"u10m",itau_w,zu10m) |
---|
[524] | 93 | c |
---|
[766] | 94 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zv10m,zx_tmp_2d) |
---|
| 95 | CALL histwrite_phy(nid_day,"v10m",itau_w,zv10m) |
---|
[524] | 96 | c |
---|
| 97 | DO i=1, klon |
---|
| 98 | zx_tmp_fi2d(i)=SQRT(zu10m(i)*zu10m(i)+zv10m(i)*zv10m(i)) |
---|
| 99 | ENDDO |
---|
[766] | 100 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 101 | CALL histwrite_phy(nid_day,"wind10m",itau_w,zx_tmp_fi2d) |
---|
[524] | 102 | c |
---|
[766] | 103 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 104 | CALL histwrite_phy(nid_day,"wind10max",itau_w,zx_tmp_fi2d) |
---|
[524] | 105 | c |
---|
| 106 | DO i=1, klon |
---|
| 107 | zx_tmp_fi2d(i) = paprs(i,1) |
---|
| 108 | ENDDO |
---|
[766] | 109 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 110 | CALL histwrite_phy(nid_day,"psol",itau_w,zx_tmp_fi2d) |
---|
[524] | 111 | c |
---|
| 112 | DO i=1, klon |
---|
| 113 | zx_tmp_fi2d(i) = (rain_fall(i) + snow_fall(i)) |
---|
| 114 | ENDDO |
---|
[766] | 115 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 116 | CALL histwrite_phy(nid_day,"precip",itau_w,zx_tmp_fi2d) |
---|
[524] | 117 | c |
---|
[766] | 118 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, snow_fall,zx_tmp_2d) |
---|
| 119 | CALL histwrite_phy(nid_day,"snowf",itau_w,snow_fall) |
---|
[524] | 120 | c |
---|
[644] | 121 | cIM: 140404 CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxsnow,zx_tmp_2d) |
---|
| 122 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zsnow_mass,zx_tmp_2d) |
---|
| 123 | c CALL histwrite(nid_day,"snow_mass",itau_w,zx_tmp_2d,iim*jjmp1, |
---|
| 124 | c . ndex2d) |
---|
[524] | 125 | c |
---|
[766] | 126 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, evap,zx_tmp_2d) |
---|
| 127 | CALL histwrite_phy(nid_day,"evap",itau_w,evap) |
---|
[524] | 128 | c |
---|
[766] | 129 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, topsw,zx_tmp_2d) |
---|
| 130 | CALL histwrite_phy(nid_day,"tops",itau_w,topsw) |
---|
[524] | 131 | c |
---|
[766] | 132 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw,zx_tmp_2d) |
---|
| 133 | CALL histwrite_phy(nid_day,"topl",itau_w,toplw) |
---|
[524] | 134 | c |
---|
[766] | 135 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, solsw,zx_tmp_2d) |
---|
| 136 | CALL histwrite_phy(nid_day,"sols",itau_w,solsw) |
---|
[524] | 137 | c |
---|
[766] | 138 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollw,zx_tmp_2d) |
---|
| 139 | CALL histwrite_phy(nid_day,"soll",itau_w,sollw) |
---|
[524] | 140 | c |
---|
[766] | 141 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, radsol,zx_tmp_2d) |
---|
| 142 | CALL histwrite_phy(nid_day,"radsol",itau_w,radsol) |
---|
[684] | 143 | c |
---|
[766] | 144 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldl,zx_tmp_2d) |
---|
| 145 | CALL histwrite_phy(nid_day,"cldl",itau_w,cldl) |
---|
[524] | 146 | c |
---|
[766] | 147 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldm,zx_tmp_2d) |
---|
| 148 | CALL histwrite_phy(nid_day,"cldm",itau_w,cldm) |
---|
[524] | 149 | c |
---|
[766] | 150 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldh,zx_tmp_2d) |
---|
| 151 | CALL histwrite_phy(nid_day,"cldh",itau_w,cldh) |
---|
[524] | 152 | c |
---|
[766] | 153 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldt,zx_tmp_2d) |
---|
| 154 | CALL histwrite_phy(nid_day,"cldt",itau_w,cldt) |
---|
[524] | 155 | c |
---|
[766] | 156 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldq,zx_tmp_2d) |
---|
| 157 | CALL histwrite_phy(nid_day,"cldq",itau_w,cldq) |
---|
[524] | 158 | c |
---|
[766] | 159 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, prw,zx_tmp_2d) |
---|
| 160 | CALL histwrite_phy(nid_day,"prw",itau_w,prw) |
---|
[524] | 161 | |
---|
| 162 | c Ecriture de champs dynamiques sur des niveaux de pression |
---|
[644] | 163 | c DO k=1, nlevENS |
---|
| 164 | DO k=1, nlevSTD |
---|
[524] | 165 | c |
---|
[644] | 166 | c bb=clevSTD(k) |
---|
| 167 | c |
---|
| 168 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
| 169 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
| 170 | c aa=clevSTD(k) |
---|
| 171 | c bb=aa(1:lnblnk1(aa)) |
---|
| 172 | c ENDIF |
---|
| 173 | c |
---|
| 174 | IF(bb2.EQ."850".OR.bb2.EQ."700" |
---|
| 175 | $ .OR.bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
| 176 | c |
---|
[766] | 177 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,usumSTD(:,k,1),zx_tmp_2d) |
---|
| 178 | CALL histwrite_phy(nid_day,"u"//bb2,itau_w,usumSTD(:,k,1)) |
---|
[524] | 179 | c |
---|
[766] | 180 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,vsumSTD(:,k,1),zx_tmp_2d) |
---|
| 181 | CALL histwrite_phy(nid_day,"v"//bb2,itau_w,vsumSTD(:,k,1)) |
---|
[524] | 182 | c |
---|
[644] | 183 | ENDIF !(bb2.EQ."850".OR.bb2.EQ."700".OR.bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
[524] | 184 | c |
---|
[644] | 185 | c w500 |
---|
[524] | 186 | c |
---|
[644] | 187 | IF(bb2.EQ."500") THEN |
---|
[524] | 188 | c |
---|
[766] | 189 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,wsumSTD(:,k,1),zx_tmp_2d) |
---|
| 190 | CALL histwrite_phy(nid_day,"w"//bb2,itau_w,wsumSTD(:,k,1)) |
---|
[524] | 191 | c |
---|
[766] | 192 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,phisumSTD(:,k,1),zx_tmp_2d) |
---|
| 193 | CALL histwrite_phy(nid_day,"phi"//bb2,itau_w,phisumSTD(:,k,1)) |
---|
[644] | 194 | |
---|
| 195 | ENDIF !(bb2.EQ."500") THEN |
---|
[524] | 196 | c |
---|
[644] | 197 | ENDDO !nlevSTD |
---|
[524] | 198 | c |
---|
[766] | 199 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, slp,zx_tmp_2d) |
---|
| 200 | CALL histwrite_phy(nid_day,"slp",itau_w,slp) |
---|
[524] | 201 | |
---|
[766] | 202 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,cape,zx_tmp_2d) |
---|
| 203 | CALL histwrite_phy(nid_day,"cape_max",itau_w,cape) |
---|
[524] | 204 | c |
---|
[766] | 205 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdown,zx_tmp_2d) |
---|
| 206 | CALL histwrite_phy(nid_day,"solldown",itau_w,sollwdown) |
---|
[524] | 207 | c |
---|
| 208 | DO i=1, klon |
---|
| 209 | zx_tmp_fi2d(i)=-1*sens(i) |
---|
| 210 | ENDDO |
---|
[766] | 211 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 212 | CALL histwrite_phy(nid_day,"sens",itau_w,zx_tmp_fi2d) |
---|
[524] | 213 | c |
---|
| 214 | zx_tmp_fi2d(1 : klon) = swdn(1 : klon, 1) |
---|
| 215 | |
---|
[766] | 216 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 217 | CALL histwrite_phy(nid_day, "SWdnSFC",itau_w,zx_tmp_fi2d) |
---|
[524] | 218 | c |
---|
[644] | 219 | IF (OCEAN.EQ.'force ') THEN |
---|
| 220 | c |
---|
| 221 | DO i=1, klon |
---|
| 222 | IF((pctsrf(i,is_oce).GT.epsfra).OR. |
---|
| 223 | . (pctsrf(i,is_sic).GT.epsfra)) THEN |
---|
| 224 | zx_tmp_fi2d(i) = (radsol(i) + fluxo(i))*pctsrf(i,is_oce)+ |
---|
| 225 | . fluxg(i)*pctsrf(i,is_sic) |
---|
| 226 | ELSE |
---|
| 227 | zx_tmp_fi2d(i) = 1.E+20 |
---|
| 228 | ENDIF |
---|
| 229 | ENDDO |
---|
[766] | 230 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 231 | CALL histwrite_phy(nid_day,"lmt_bils",itau_w, zx_tmp_fi2d) |
---|
[644] | 232 | c |
---|
| 233 | ELSE IF (OCEAN.EQ.'slab ') THEN |
---|
| 234 | c |
---|
| 235 | DO i=1, klon |
---|
| 236 | IF((pctsrf(i,is_oce).GT.epsfra).OR. |
---|
| 237 | . (pctsrf(i,is_sic).GT.epsfra)) THEN |
---|
| 238 | zx_tmp_fi2d(i) = (radsol(i) + fluxo(i))*pctsrf(i,is_oce)+ |
---|
| 239 | . fluxg(i)*pctsrf(i,is_sic) |
---|
| 240 | ELSE |
---|
| 241 | zx_tmp_fi2d(i) = 1.E+20 |
---|
| 242 | ENDIF |
---|
| 243 | ENDDO |
---|
[766] | 244 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 245 | CALL histwrite_phy(nid_day,"slab_bils",itau_w,zx_tmp_fi2d) |
---|
[644] | 246 | c |
---|
| 247 | DO i=1, klon |
---|
| 248 | IF(pctsrf(i,is_oce).GT.epsfra.OR. |
---|
| 249 | $ pctsrf(i,is_sic).GT.epsfra) THEN |
---|
| 250 | zx_tmp_fi2d(i)=tslab(i) |
---|
| 251 | ELSE |
---|
| 252 | zx_tmp_fi2d(i) = 1.E+20 |
---|
| 253 | ENDIF |
---|
| 254 | ENDDO !i=1, klon |
---|
[766] | 255 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 256 | CALL histwrite_phy(nid_day,"tslab",itau_w,zx_tmp_fi2d) |
---|
[644] | 257 | c |
---|
[766] | 258 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, seaice,zx_tmp_2d) |
---|
| 259 | CALL histwrite_phy(nid_day,"seaice",itau_w,seaice) |
---|
[644] | 260 | c |
---|
[766] | 261 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, seaice/1000.,zx_tmp_2d) |
---|
| 262 | CALL histwrite_phy(nid_day,"siceh",itau_w,seaice/1000.) |
---|
[644] | 263 | c |
---|
| 264 | ENDIF !(OCEAN.EQ.'slab ') THEN |
---|
| 265 | c |
---|
| 266 | DO i=1, klon |
---|
| 267 | IF (pctsrf(i,is_oce).GT.epsfra) THEN |
---|
| 268 | zx_tmp_fi2d(i) = fluxo(i) |
---|
| 269 | ELSE |
---|
[684] | 270 | zx_tmp_fi2d(i) = 0. |
---|
[644] | 271 | ENDIF |
---|
| 272 | ENDDO |
---|
| 273 | c |
---|
[766] | 274 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 275 | CALL histwrite_phy(nid_day,"fluxo",itau_w,zx_tmp_fi2d) |
---|
[644] | 276 | c |
---|
| 277 | DO i=1, klon |
---|
| 278 | IF (pctsrf(i,is_sic).GT.epsfra) THEN |
---|
| 279 | zx_tmp_fi2d(i) = fluxg(i) |
---|
| 280 | ELSE |
---|
[684] | 281 | zx_tmp_fi2d(i) = 0. |
---|
[644] | 282 | ENDIF |
---|
| 283 | ENDDO |
---|
| 284 | c |
---|
[766] | 285 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 286 | CALL histwrite_phy(nid_day,"fluxg",itau_w,zx_tmp_fi2d) |
---|
[644] | 287 | c |
---|
[524] | 288 | ENDIF !lev_histday.GE.1 |
---|
| 289 | c |
---|
| 290 | IF(lev_histday.GE.2) THEN |
---|
| 291 | c |
---|
[766] | 292 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, bils,zx_tmp_2d) |
---|
| 293 | CALL histwrite_phy(nid_day,"bils",itau_w, bils) |
---|
[524] | 294 | c |
---|
[766] | 295 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, fder,zx_tmp_2d) |
---|
| 296 | CALL histwrite_phy(nid_day,"fder",itau_w,fder) |
---|
[524] | 297 | c |
---|
| 298 | ENDIF !lev_histday.GE.2 |
---|
| 299 | c |
---|
| 300 | IF(lev_histday.GE.3) THEN |
---|
| 301 | c================================================================= |
---|
| 302 | c ECRITURE DES CHAMPS 3D |
---|
| 303 | c================================================================= |
---|
| 304 | |
---|
| 305 | c |
---|
| 306 | c Champs 3D: |
---|
| 307 | c |
---|
[766] | 308 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, t_seri, zx_tmp_3d) |
---|
| 309 | CALL histwrite_phy(nid_day,"temp",itau_w,t_seri) |
---|
[524] | 310 | c |
---|
[766] | 311 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qx(1,1,ivap), zx_tmp_3d) |
---|
| 312 | CALL histwrite_phy(nid_day,"ovap",itau_w,qx(:,:,ivap)) |
---|
[524] | 313 | c |
---|
[766] | 314 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zphi, zx_tmp_3d) |
---|
| 315 | CALL histwrite_phy(nid_day,"geop",itau_w,zphi) |
---|
[524] | 316 | c |
---|
[766] | 317 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, u_seri, zx_tmp_3d) |
---|
| 318 | CALL histwrite_phy(nid_day,"vitu",itau_w,u_seri) |
---|
[524] | 319 | c |
---|
[766] | 320 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, v_seri, zx_tmp_3d) |
---|
| 321 | CALL histwrite_phy(nid_day,"vitv",itau_w,v_seri) |
---|
[524] | 322 | c |
---|
[766] | 323 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, omega, zx_tmp_3d) |
---|
| 324 | CALL histwrite_phy(nid_day,"vitw",itau_w,omega) |
---|
[524] | 325 | c |
---|
[766] | 326 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, pplay, zx_tmp_3d) |
---|
| 327 | CALL histwrite_phy(nid_day,"pres",itau_w,pplay) |
---|
[524] | 328 | c |
---|
[879] | 329 | CALL histwrite_phy(nid_day,"rhum",itau_w,zx_rh) |
---|
| 330 | |
---|
| 331 | cFin Wake parameters 2D |
---|
| 332 | c Wake parameters 3D |
---|
| 333 | c |
---|
| 334 | print*,'SSS test2' |
---|
| 335 | c if (1.eq.0) then |
---|
| 336 | |
---|
| 337 | c |
---|
[524] | 338 | ENDIF !lev_histday.GE.3 |
---|
| 339 | c================================================================= |
---|
| 340 | c FIN ECRITURE DES CHAMPS 3D |
---|
| 341 | c================================================================= |
---|
| 342 | IF(lev_histday.ge.4) THEN |
---|
| 343 | c================================================================= |
---|
| 344 | c |
---|
| 345 | c ECRITURE DES CHAMPS SUR LES SOUS SURFACES |
---|
| 346 | c |
---|
| 347 | c================================================================= |
---|
| 348 | zx_tmp_fi2d(1 : klon) = swup( 1 : klon, klevp1 ) |
---|
[766] | 349 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 350 | CALL histwrite_phy(nid_day, "SWupTOA",itau_w,zx_tmp_fi2d) |
---|
[524] | 351 | c |
---|
| 352 | zx_tmp_fi2d(1 : klon) = swup( 1 : klon, 1 ) |
---|
[766] | 353 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 354 | CALL histwrite_phy(nid_day, "SWupSFC",itau_w,zx_tmp_fi2d) |
---|
[524] | 355 | c |
---|
| 356 | zx_tmp_fi2d(1 : klon) = swdn( 1 : klon, klevp1 ) |
---|
[766] | 357 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 358 | CALL histwrite_phy(nid_day, "SWdnTOA",itau_w,zx_tmp_fi2d) |
---|
[524] | 359 | c |
---|
| 360 | zx_tmp_fi2d(1 : klon) = swup0( 1 : klon, klevp1 ) |
---|
[766] | 361 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 362 | CALL histwrite_phy(nid_day, "SWupTOAclr",itau_w,zx_tmp_fi2d) |
---|
[524] | 363 | c |
---|
| 364 | zx_tmp_fi2d(1 : klon) = swup0( 1 : klon, 1 ) |
---|
[766] | 365 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 366 | CALL histwrite_phy(nid_day, "SWupSFCclr",itau_w,zx_tmp_fi2d) |
---|
[524] | 367 | c |
---|
| 368 | zx_tmp_fi2d(1 : klon) = swdn0( 1 : klon, klevp1 ) |
---|
[766] | 369 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 370 | CALL histwrite_phy(nid_day, "SWdnTOAclr",itau_w,zx_tmp_fi2d) |
---|
[524] | 371 | c |
---|
| 372 | zx_tmp_fi2d(1 : klon) = swdn0( 1 : klon, 1 ) |
---|
[766] | 373 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 374 | CALL histwrite_phy(nid_day, "SWdnSFCclr",itau_w,zx_tmp_fi2d) |
---|
[524] | 375 | c |
---|
[684] | 376 | cIM AMMA-MIP |
---|
[766] | 377 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdown,zx_tmp_2d) |
---|
| 378 | CALL histwrite_phy(nid_day,"LWdnSFC",itau_w,sollwdown) |
---|
[684] | 379 | c |
---|
| 380 | zx_tmp_fi2d(1:klon)=sollwdown(1:klon)-sollw(1:klon) |
---|
[766] | 381 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 382 | CALL histwrite_phy(nid_day,"LWupSFC",itau_w,zx_tmp_fi2d) |
---|
[684] | 383 | c |
---|
| 384 | cIM IF (iflag_con.GE.3) THEN |
---|
[890] | 385 | if (ok_ISCCP) then |
---|
[684] | 386 | cIM ema_pct= 0. CALL gr_fi_ecrit(1, klon,iim,jjmp1, ema_pct,zx_tmp_2d) |
---|
[890] | 387 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, meanptop(:,1),zx_tmp_2d) |
---|
| 388 | CALL histwrite_phy(nid_day,"ptop",itau_w,meanptop(:,1)) |
---|
| 389 | ENDIF |
---|
[684] | 390 | cIM ENDIF |
---|
| 391 | c |
---|
[524] | 392 | zx_tmp_fi2d(1 : klon) = ftsol(1 : klon, is_ter) |
---|
[766] | 393 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d ,zx_tmp_2d) |
---|
| 394 | CALL histwrite_phy(nid_day,"tter",itau_w,zx_tmp_fi2d) |
---|
[524] | 395 | c |
---|
| 396 | zx_tmp_fi2d(1 : klon) = ftsol(1 : klon, is_lic) |
---|
[766] | 397 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 398 | CALL histwrite_phy(nid_day,"tlic",itau_w,zx_tmp_fi2d) |
---|
[524] | 399 | c |
---|
| 400 | zx_tmp_fi2d(1 : klon) = ftsol(1 : klon, is_oce) |
---|
[766] | 401 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 402 | CALL histwrite_phy(nid_day,"toce",itau_w,zx_tmp_fi2d) |
---|
[524] | 403 | c |
---|
| 404 | zx_tmp_fi2d(1 : klon) = ftsol(1 : klon, is_sic) |
---|
[766] | 405 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 406 | CALL histwrite_phy(nid_day,"tsic",itau_w,zx_tmp_fi2d) |
---|
[524] | 407 | c |
---|
[532] | 408 | zx_tmp_fi2d(1 : klon) = t2m(1 : klon, is_ter) |
---|
[766] | 409 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 410 | CALL histwrite_phy(nid_day,"t2mter",itau_w,zx_tmp_fi2d) |
---|
[524] | 411 | c |
---|
| 412 | zx_tmp_fi2d(1 : klon) = t2m(1 : klon, is_ter) |
---|
[766] | 413 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 414 | CALL histwrite_phy(nid_day,"t2mter_min",itau_w,zx_tmp_fi2d) |
---|
[524] | 415 | c |
---|
| 416 | zx_tmp_fi2d(1 : klon) = t2m(1 : klon, is_ter) |
---|
[766] | 417 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 418 | CALL histwrite_phy(nid_day,"t2mter_max",itau_w,zx_tmp_fi2d) |
---|
[524] | 419 | c |
---|
| 420 | zx_tmp_fi2d(1 : klon) = t2m(1 : klon, is_lic) |
---|
[766] | 421 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 422 | CALL histwrite_phy(nid_day,"t2mlic",itau_w,zx_tmp_fi2d) |
---|
[524] | 423 | c |
---|
| 424 | zx_tmp_fi2d(1 : klon) = t2m(1 : klon, is_oce) |
---|
[766] | 425 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 426 | CALL histwrite_phy(nid_day,"t2moce",itau_w,zx_tmp_fi2d) |
---|
[524] | 427 | c |
---|
| 428 | zx_tmp_fi2d(1 : klon) = t2m(1 : klon, is_sic) |
---|
[766] | 429 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 430 | CALL histwrite_phy(nid_day,"t2msic",itau_w,zx_tmp_fi2d) |
---|
[524] | 431 | c |
---|
| 432 | zx_tmp_fi2d(1 : klon) = u10m(1 : klon, is_ter) |
---|
[766] | 433 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 434 | CALL histwrite_phy(nid_day,"u10mter",itau_w,zx_tmp_fi2d) |
---|
[524] | 435 | c |
---|
| 436 | zx_tmp_fi2d(1 : klon) = v10m(1 : klon, is_ter) |
---|
[766] | 437 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 438 | CALL histwrite_phy(nid_day,"v10mter",itau_w,zx_tmp_fi2d) |
---|
[524] | 439 | c |
---|
| 440 | zx_tmp_fi2d(1 : klon) = u10m(1 : klon, is_lic) |
---|
[766] | 441 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 442 | CALL histwrite_phy(nid_day,"u10mlic",itau_w,zx_tmp_fi2d) |
---|
[524] | 443 | c |
---|
| 444 | zx_tmp_fi2d(1 : klon) = v10m(1 : klon, is_lic) |
---|
[766] | 445 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 446 | CALL histwrite_phy(nid_day,"v10mlic",itau_w,zx_tmp_fi2d) |
---|
[524] | 447 | c |
---|
| 448 | zx_tmp_fi2d(1 : klon) = u10m(1 : klon, is_oce) |
---|
[766] | 449 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 450 | CALL histwrite_phy(nid_day,"u10moce",itau_w,zx_tmp_fi2d) |
---|
[524] | 451 | c |
---|
| 452 | zx_tmp_fi2d(1 : klon) = v10m(1 : klon, is_oce) |
---|
[766] | 453 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 454 | CALL histwrite_phy(nid_day,"v10moce",itau_w,zx_tmp_fi2d) |
---|
[524] | 455 | c |
---|
| 456 | zx_tmp_fi2d(1 : klon) = u10m(1 : klon, is_sic) |
---|
[766] | 457 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 458 | CALL histwrite_phy(nid_day,"u10msic",itau_w,zx_tmp_fi2d) |
---|
[524] | 459 | C |
---|
| 460 | zx_tmp_fi2d(1 : klon) = v10m(1 : klon, is_sic) |
---|
[766] | 461 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 462 | CALL histwrite_phy(nid_day,"v10msic",itau_w,zx_tmp_fi2d) |
---|
[524] | 463 | C |
---|
| 464 | DO nsrf = 1, nbsrf |
---|
| 465 | C |
---|
[644] | 466 | zx_tmp_fi2d(1 : klon) = pctsrf( 1 : klon, nsrf)*100. |
---|
[766] | 467 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 468 | CALL histwrite_phy(nid_day,"pourc_"//clnsurf(nsrf),itau_w, |
---|
| 469 | & zx_tmp_fi2d) |
---|
[524] | 470 | C |
---|
[644] | 471 | zx_tmp_fi2d(1 : klon) = pctsrf( 1 : klon, nsrf) |
---|
[766] | 472 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 473 | CALL histwrite_phy(nid_day,"fract_"//clnsurf(nsrf),itau_w, |
---|
| 474 | & zx_tmp_fi2d) |
---|
[644] | 475 | C |
---|
[524] | 476 | zx_tmp_fi2d(1 : klon) = ftsol( 1 : klon, nsrf) |
---|
[766] | 477 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 478 | CALL histwrite_phy(nid_day,"tsol_"//clnsurf(nsrf),itau_w, |
---|
| 479 | $ zx_tmp_fi2d) |
---|
[524] | 480 | C |
---|
| 481 | zx_tmp_fi2d(1 : klon) = fluxt( 1 : klon, 1, nsrf) |
---|
[766] | 482 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 483 | CALL histwrite_phy(nid_day,"sens_"//clnsurf(nsrf),itau_w, |
---|
| 484 | $ zx_tmp_fi2d) |
---|
[524] | 485 | C |
---|
| 486 | zx_tmp_fi2d(1 : klon) = fluxlat( 1 : klon, nsrf) |
---|
[766] | 487 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 488 | CALL histwrite_phy(nid_day,"lat_"//clnsurf(nsrf),itau_w, |
---|
| 489 | $ zx_tmp_fi2d) |
---|
[524] | 490 | C |
---|
| 491 | zx_tmp_fi2d(1 : klon) = fluxu( 1 : klon, 1, nsrf) |
---|
[766] | 492 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 493 | CALL histwrite_phy(nid_day,"taux_"//clnsurf(nsrf),itau_w, |
---|
| 494 | $ zx_tmp_fi2d) |
---|
[524] | 495 | C |
---|
| 496 | zx_tmp_fi2d(1 : klon) = fluxv( 1 : klon, 1, nsrf) |
---|
[766] | 497 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 498 | CALL histwrite_phy(nid_day,"tauy_"//clnsurf(nsrf),itau_w, |
---|
| 499 | $ zx_tmp_fi2d) |
---|
[524] | 500 | C |
---|
[888] | 501 | zx_tmp_fi2d(1 : klon) = falb1( 1 : klon, nsrf) |
---|
[766] | 502 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 503 | CALL histwrite_phy(nid_day,"albe_"//clnsurf(nsrf),itau_w, |
---|
| 504 | $ zx_tmp_fi2d) |
---|
[524] | 505 | C |
---|
| 506 | zx_tmp_fi2d(1 : klon) = frugs( 1 : klon, nsrf) |
---|
[766] | 507 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 508 | CALL histwrite_phy(nid_day,"rugs_"//clnsurf(nsrf),itau_w, |
---|
| 509 | $ zx_tmp_fi2d) |
---|
[524] | 510 | C |
---|
[878] | 511 | ! FH Sorties specifiques pour Mellor et Yamada |
---|
| 512 | if (iflag_pbl>1 .and. lev_histday.gt.10 ) then |
---|
| 513 | |
---|
| 514 | CALL histwrite_phy(nid_day,"tke_"//clnsurf(nsrf),itau_w, |
---|
| 515 | $ pbl_tke(:,1:klev,nsrf)) |
---|
| 516 | |
---|
| 517 | CALL histwrite_phy(nid_day,"tke_max_"//clnsurf(nsrf),itau_w, |
---|
| 518 | $ pbl_tke(:,1:klev,nsrf)) |
---|
| 519 | endif |
---|
| 520 | |
---|
[524] | 521 | END DO |
---|
| 522 | c================================================================= |
---|
| 523 | c FIN ECRITURE DES CHAMPS SUR LES SOUS SURFACES |
---|
| 524 | c================================================================= |
---|
| 525 | ENDIF !lev_histday.GE.4 |
---|
| 526 | c |
---|
[644] | 527 | IF(lev_histday.GE.5) THEN !lev_histday.GE.5 |
---|
| 528 | c |
---|
| 529 | c rajout sorties F. Aires |
---|
| 530 | c |
---|
[766] | 531 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, topsw0,zx_tmp_2d) |
---|
| 532 | CALL histwrite_phy(nid_day,"tops0",itau_w,topsw0) |
---|
[644] | 533 | c |
---|
[766] | 534 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw0,zx_tmp_2d) |
---|
| 535 | CALL histwrite_phy(nid_day,"topl0",itau_w,toplw0) |
---|
[644] | 536 | c |
---|
[766] | 537 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, solsw0,zx_tmp_2d) |
---|
| 538 | CALL histwrite_phy(nid_day,"sols0",itau_w,solsw0) |
---|
[644] | 539 | c |
---|
[766] | 540 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollw0,zx_tmp_2d) |
---|
| 541 | CALL histwrite_phy(nid_day,"soll0",itau_w, sollw0) |
---|
[644] | 542 | c |
---|
[766] | 543 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, cldfra, zx_tmp_3d) |
---|
| 544 | CALL histwrite_phy(nid_day,"rneb",itau_w,cldfra) |
---|
[644] | 545 | c |
---|
[766] | 546 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, rnebcon, zx_tmp_3d) |
---|
| 547 | CALL histwrite_phy(nid_day,"rnebcon",itau_w,rnebcon) |
---|
[644] | 548 | c |
---|
[766] | 549 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, flwc,zx_tmp_3d) |
---|
| 550 | CALL histwrite_phy(nid_day,"lwcon",itau_w,flwc) |
---|
[644] | 551 | c |
---|
[766] | 552 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, fiwc,zx_tmp_3d) |
---|
| 553 | CALL histwrite_phy(nid_day,"iwcon",itau_w,fiwc) |
---|
[644] | 554 | c |
---|
| 555 | zx_tmp_fi2d(1:klon) = flwp(1:klon) |
---|
[766] | 556 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 557 | CALL histwrite_phy(nid_day,"lwp",itau_w,zx_tmp_fi2d) |
---|
[644] | 558 | c |
---|
| 559 | zx_tmp_fi2d(1:klon) = fiwp(1:klon) |
---|
[766] | 560 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 561 | CALL histwrite_phy(nid_day,"iwp",itau_w,zx_tmp_fi2d) |
---|
[644] | 562 | c |
---|
[766] | 563 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1, meantaucld,zx_tmp_2d) |
---|
| 564 | CALL histwrite_phy(nid_day,"meantaucld",itau_w,meantaucld) |
---|
[644] | 565 | c |
---|
[766] | 566 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, cldtau,zx_tmp_3d) |
---|
| 567 | CALL histwrite_phy(nid_day,"cldtau",itau_w,cldtau) |
---|
[644] | 568 | c |
---|
[766] | 569 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1, cldemi,zx_tmp_3d) |
---|
| 570 | CALL histwrite_phy(nid_day,"cldemi",itau_w,cldemi) |
---|
[644] | 571 | c |
---|
[684] | 572 | c |
---|
| 573 | cIM: 101003 : K/30min ==> K/s |
---|
[879] | 574 | zx_tmp_fi3d(1:klon,1:klev)= |
---|
| 575 | s (d_q_vdf(1:klon,1:klev)+d_q_ajs(1:klon,1:klev))/pdtphys |
---|
| 576 | CALL histwrite_phy(nid_day,"dqpbl",itau_w,zx_tmp_fi3d) |
---|
| 577 | |
---|
| 578 | CALL histwrite_phy(nid_day,"dtwak",itau_w,dt_wake) |
---|
| 579 | |
---|
| 580 | CALL histwrite_phy(nid_day,"cape",itau_w,cape) |
---|
| 581 | c |
---|
[895] | 582 | CALL histwrite_phy(nid_day,"wh",itau_w,wake_h) |
---|
| 583 | c |
---|
| 584 | CALL histwrite_phy(nid_day,"ws",itau_w,wake_s) |
---|
| 585 | c |
---|
| 586 | CALL histwrite_phy(nid_day,"cin",itau_w,cin) |
---|
| 587 | |
---|
| 588 | CALL histwrite_phy(nid_day,"wale",itau_w,ale_wake) |
---|
| 589 | c |
---|
| 590 | CALL histwrite_phy(nid_day,"walp",itau_w,alp_wake) |
---|
| 591 | c |
---|
| 592 | CALL histwrite_phy(nid_day,"blale",itau_w,Ale_bl) |
---|
| 593 | c |
---|
| 594 | CALL histwrite_phy(nid_day,"blalp",itau_w,Alp_bl) |
---|
| 595 | |
---|
| 596 | CALL histwrite_phy(nid_day,"wdt1",itau_w,wake_deltat(:,1)) |
---|
| 597 | c |
---|
| 598 | CALL histwrite_phy(nid_day,"wdq1",itau_w,wake_deltaq(:,1)) |
---|
| 599 | c |
---|
| 600 | |
---|
[684] | 601 | zx_tmp_fi3d(1:klon,1:klev)=d_t_con(1:klon,1:klev)/pdtphys |
---|
[766] | 602 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
| 603 | CALL histwrite_phy(nid_day,"dtcon",itau_w,zx_tmp_fi3d) |
---|
[684] | 604 | c |
---|
| 605 | zx_tmp_fi3d(1:klon,1:klev)=d_q_con(1:klon,1:klev)/pdtphys |
---|
[766] | 606 | cym CALL gr_fi_ecrit(klev,klon,iim,jjmp1,zx_tmp_fi3d,zx_tmp_3d) |
---|
| 607 | CALL histwrite_phy(nid_day,"dqcon",itau_w,zx_tmp_fi3d) |
---|
[684] | 608 | c |
---|
| 609 | DO i=1, klon |
---|
[782] | 610 | zx_tmp_fi2d(i)=MIN(100.,rh2m(i)*100.) |
---|
[684] | 611 | ENDDO |
---|
| 612 | c |
---|
[766] | 613 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1, zx_tmp_2d,zx_tmp_2d) |
---|
[782] | 614 | CALL histwrite_phy(nid_day,"rh2m",itau_w,zx_tmp_fi2d) |
---|
[684] | 615 | c |
---|
[766] | 616 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1, qsat2m,zx_tmp_2d) |
---|
| 617 | CALL histwrite_phy(nid_day,"qsat2m",itau_w,qsat2m) |
---|
[684] | 618 | c |
---|
[766] | 619 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1, tpot,zx_tmp_2d) |
---|
| 620 | CALL histwrite_phy(nid_day,"tpot",itau_w,tpot) |
---|
[684] | 621 | c |
---|
[766] | 622 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1, tpote,zx_tmp_2d) |
---|
| 623 | CALL histwrite_phy(nid_day,"tpote",itau_w,tpote) |
---|
[684] | 624 | c |
---|
[644] | 625 | ENDIF !lev_histday.GE.5 |
---|
[524] | 626 | c================================================================= |
---|
| 627 | c================================================================= |
---|
| 628 | c================================================================= |
---|
| 629 | c |
---|
| 630 | if (ok_sync) then |
---|
[766] | 631 | c$OMP MASTER |
---|
[524] | 632 | call histsync(nid_day) |
---|
[766] | 633 | c$OMP END MASTER |
---|
[524] | 634 | endif |
---|
| 635 | |
---|
| 636 | ENDIF |
---|