[814] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | if (ok_hf) then |
---|
| 5 | |
---|
| 6 | c |
---|
| 7 | ndex2d = 0 |
---|
| 8 | ndex3d = 0 |
---|
| 9 | c |
---|
| 10 | itau_w = itau_phy + itap |
---|
| 11 | c |
---|
| 12 | IF(type_run.EQ."CLIM".OR.type_run.EQ."ENSP") THEN |
---|
| 13 | c |
---|
| 14 | IF(lev_histhf.GE.1) THEN |
---|
| 15 | c |
---|
| 16 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, paire_ter, zx_tmp_2d) |
---|
| 17 | CALL histwrite_phy(nid_hf,"aireTER",itau_w,paire_ter) |
---|
| 18 | c |
---|
| 19 | DO i=1, klon |
---|
| 20 | zx_tmp_fi2d(i)=pctsrf(i,is_ter)+pctsrf(i,is_lic) |
---|
| 21 | ENDDO |
---|
| 22 | c |
---|
| 23 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 24 | CALL histwrite_phy(nid_hf,"contfracATM",itau_w,zx_tmp_fi2d) |
---|
| 25 | c |
---|
| 26 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,pctsrf_new(:,is_ter),zx_tmp_2d) |
---|
| 27 | CALL histwrite_phy(nid_hf,"contfracOR",itau_w, |
---|
| 28 | . pctsrf_new(:,is_ter)) |
---|
| 29 | c |
---|
| 30 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zt2m,zx_tmp_2d) |
---|
| 31 | CALL histwrite_phy(nid_hf,"t2m",itau_w,zt2m) |
---|
| 32 | c |
---|
| 33 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zq2m,zx_tmp_2d) |
---|
| 34 | CALL histwrite_phy(nid_hf,"q2m",itau_w,zq2m) |
---|
| 35 | c |
---|
| 36 | DO i = 1, klon |
---|
| 37 | zx_tmp_fi2d(i) = paprs(i,1) |
---|
| 38 | ENDDO |
---|
| 39 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 40 | CALL histwrite_phy(nid_hf,"psol",itau_w,zx_tmp_fi2d) |
---|
| 41 | c |
---|
| 42 | DO i = 1, klon |
---|
| 43 | zx_tmp_fi2d(i) = rain_fall(i) + snow_fall(i) |
---|
| 44 | ENDDO |
---|
| 45 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 46 | CALL histwrite_phy(nid_hf,"precip",itau_w,zx_tmp_fi2d) |
---|
| 47 | c |
---|
| 48 | c ENSEMBLES BEG |
---|
| 49 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxtsol,zx_tmp_2d) |
---|
| 50 | CALL histwrite_phy(nid_hf,"tsol",itau_w,zxtsol) |
---|
| 51 | c |
---|
| 52 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, slp,zx_tmp_2d) |
---|
| 53 | CALL histwrite_phy(nid_hf,"slp",itau_w,slp) |
---|
| 54 | c |
---|
| 55 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zu10m,zx_tmp_2d) |
---|
| 56 | CALL histwrite_phy(nid_hf,"u10m",itau_w,zu10m) |
---|
| 57 | c |
---|
| 58 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zv10m,zx_tmp_2d) |
---|
| 59 | CALL histwrite_phy(nid_hf,"v10m",itau_w,zv10m) |
---|
| 60 | c |
---|
| 61 | DO i=1, klon |
---|
| 62 | zx_tmp_fi2d(i)=SQRT(zu10m(i)*zu10m(i)+zv10m(i)*zv10m(i)) |
---|
| 63 | ENDDO |
---|
| 64 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 65 | CALL histwrite_phy(nid_hf,"wind10m",itau_w,zx_tmp_fi2d) |
---|
| 66 | c |
---|
| 67 | DO k=1, nlevSTD |
---|
| 68 | c |
---|
| 69 | c bb=clevSTD(k) |
---|
| 70 | c |
---|
| 71 | c IF(k.GE.2) THEN |
---|
| 72 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
| 73 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
| 74 | c aa=clevSTD(k) |
---|
| 75 | c bb=aa(1:lnblnk1(aa)) |
---|
| 76 | c ENDIF |
---|
| 77 | c |
---|
| 78 | IF(bb2.EQ."500") THEN |
---|
| 79 | c |
---|
| 80 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, philevSTD(:,k),zx_tmp_2d) |
---|
| 81 | CALL histwrite_phy(nid_hf,"phi"//bb2,itau_w, philevSTD(:,k)) |
---|
| 82 | ENDIF !bb2.EQ."500" |
---|
| 83 | ENDDO |
---|
| 84 | c |
---|
| 85 | ENDIF !lev_histhf.GE.1 |
---|
| 86 | c |
---|
| 87 | IF(lev_histhf.GE.2) THEN |
---|
| 88 | c |
---|
| 89 | cIM 140904 BEG |
---|
| 90 | DO i = 1, klon |
---|
| 91 | zx_tmp_fi2d(i) = cldt(i)*100. |
---|
| 92 | ENDDO |
---|
| 93 | cIM 140904 END |
---|
| 94 | cIM 140904 CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldt,zx_tmp_2d) |
---|
| 95 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 96 | CALL histwrite_phy(nid_hf,"cldt",itau_w,zx_tmp_fi2d) |
---|
| 97 | c |
---|
| 98 | zx_tmp_fi2d(1 : klon) = fsolsw( 1 : klon, is_ter) |
---|
| 99 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 100 | CALL histwrite_phy(nid_hf,"SWnetOR",itau_w, zx_tmp_fi2d) |
---|
| 101 | c |
---|
| 102 | zx_tmp_fi2d(1:klon) = solsw(1:klon)/(1.-albsol(1:klon)) |
---|
| 103 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 104 | CALL histwrite_phy(nid_hf,"SWdownOR",itau_w, zx_tmp_fi2d) |
---|
| 105 | c |
---|
| 106 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdown,zx_tmp_2d) |
---|
| 107 | CALL histwrite_phy(nid_hf,"LWdownOR",itau_w,sollwdown) |
---|
| 108 | c |
---|
| 109 | c |
---|
| 110 | ENDIF !lev_histhf.GE.2 |
---|
| 111 | c |
---|
| 112 | IF(lev_histhf.GE.3) THEN |
---|
| 113 | c |
---|
| 114 | DO k=1, nlevSTD |
---|
| 115 | c |
---|
| 116 | c bb=clevSTD(k) |
---|
| 117 | c |
---|
| 118 | c IF(k.GE.2) THEN |
---|
| 119 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
| 120 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
| 121 | c aa=clevSTD(k) |
---|
| 122 | c bb=aa(1:lnblnk1(aa)) |
---|
| 123 | c ENDIF |
---|
| 124 | c |
---|
| 125 | IF(bb2.EQ."850".OR.bb2.EQ."700".OR. |
---|
| 126 | $ bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
| 127 | c |
---|
| 128 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, tlevSTD(:,k),zx_tmp_2d) |
---|
| 129 | CALL histwrite_phy(nid_hf,"t"//bb2,itau_w, tlevSTD(:,k)) |
---|
| 130 | c |
---|
| 131 | IF(bb2.NE."500") THEN !bb2.NE."500" |
---|
| 132 | c |
---|
| 133 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,philevSTD(:,k),zx_tmp_2d) |
---|
| 134 | CALL histwrite_phy(nid_hf,"phi"//bb2,itau_w,philevSTD(:,k)) |
---|
| 135 | ENDIF !bb2.NE."500" |
---|
| 136 | c |
---|
| 137 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, qlevSTD(:,k),zx_tmp_2d) |
---|
| 138 | CALL histwrite_phy(nid_hf,"q"//bb2,itau_w, qlevSTD(:,k)) |
---|
| 139 | c |
---|
| 140 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ulevSTD(:,k),zx_tmp_2d) |
---|
| 141 | CALL histwrite_phy(nid_hf,"u"//bb2,itau_w,ulevSTD(:,k)) |
---|
| 142 | c |
---|
| 143 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, vlevSTD(:,k),zx_tmp_2d) |
---|
| 144 | CALL histwrite_phy(nid_hf,"v"//bb2,itau_w, vlevSTD(:,k)) |
---|
| 145 | c |
---|
| 146 | ENDIF !bb2.EQ."850".OR.bb2.EQ."700" |
---|
| 147 | ENDDO !nlevENS |
---|
| 148 | c |
---|
| 149 | IF(1.EQ.0) THEN |
---|
| 150 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cdragm,zx_tmp_2d) |
---|
| 151 | CALL histwrite_phy(nid_hf,"cdrm",itau_w,cdragm) |
---|
| 152 | c |
---|
| 153 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, cdragh,zx_tmp_2d) |
---|
| 154 | CALL histwrite_phy(nid_hf,"cdrh",itau_w,cdragh) |
---|
| 155 | ENDIF !(1.EQ.0) THEN |
---|
| 156 | c |
---|
| 157 | ENDIF !lev_histhf.GE.3 |
---|
| 158 | c |
---|
| 159 | IF(lev_histhf.GE.4) THEN |
---|
| 160 | c |
---|
| 161 | #undef histhf3d |
---|
| 162 | #define histhf3d |
---|
| 163 | #ifdef histhf3d |
---|
| 164 | #include "write_histhf3d.h" |
---|
| 165 | #endif |
---|
| 166 | c |
---|
| 167 | ENDIF !lev_histhf.GE.4 |
---|
| 168 | c |
---|
| 169 | ELSE IF(type_run.EQ."AMIP".OR.type_run.EQ."CFMI") THEN |
---|
| 170 | c |
---|
| 171 | IF(lev_histhf.GE.1) THEN |
---|
| 172 | c |
---|
| 173 | DO k=1, nlevSTD |
---|
| 174 | c bb=clevSTD(k) |
---|
| 175 | c |
---|
| 176 | c IF(k.GE.2) THEN |
---|
| 177 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
| 178 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
| 179 | c aa=clevSTD(k) |
---|
| 180 | c bb=aa(1:lnblnk1(aa)) |
---|
| 181 | c ENDIF |
---|
| 182 | c |
---|
| 183 | IF(bb2.EQ."850".or.bb2.EQ."200") THEN |
---|
| 184 | c |
---|
| 185 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ulevSTD(:,k),zx_tmp_2d) |
---|
| 186 | CALL histwrite_phy(nid_hf,"u"//bb2,itau_w,ulevSTD(:,k)) |
---|
| 187 | c |
---|
| 188 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, vlevSTD(:,k),zx_tmp_2d) |
---|
| 189 | CALL histwrite_phy(nid_hf,"v"//bb2,itau_w,vlevSTD(:,k)) |
---|
| 190 | c |
---|
| 191 | ENDIF !bb2.EQ."850".or.bb2.EQ."200" |
---|
| 192 | c |
---|
| 193 | ENDDO !nlevSTD |
---|
| 194 | c |
---|
| 195 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, toplw,zx_tmp_2d) |
---|
| 196 | CALL histwrite_phy(nid_hf,"topl",itau_w,toplw) |
---|
| 197 | c |
---|
| 198 | DO i = 1, klon |
---|
| 199 | zx_tmp_fi2d(i) = rain_fall(i) + snow_fall(i) |
---|
| 200 | ENDDO |
---|
| 201 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 202 | CALL histwrite_phy(nid_hf,"precip",itau_w,zx_tmp_fi2d) |
---|
| 203 | c |
---|
| 204 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, slp,zx_tmp_2d) |
---|
| 205 | CALL histwrite_phy(nid_hf,"slp",itau_w,slp) |
---|
| 206 | c |
---|
| 207 | cIM 280504 BEG |
---|
| 208 | ENDIF !(lev_histhf.GE.1) THEN |
---|
| 209 | c |
---|
| 210 | IF(lev_histhf.GE.2) THEN |
---|
| 211 | c |
---|
| 212 | DO k=1, nlevSTD |
---|
| 213 | c |
---|
| 214 | c bb=clevSTD(k) |
---|
| 215 | c |
---|
| 216 | c IF(k.GE.2) THEN |
---|
| 217 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
| 218 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
| 219 | c aa=clevSTD(k) |
---|
| 220 | c bb=aa(1:lnblnk1(aa)) |
---|
| 221 | c ENDIF |
---|
| 222 | c |
---|
| 223 | IF(bb2.EQ."850".or.bb2.EQ."500") THEN |
---|
| 224 | c |
---|
| 225 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, tlevSTD(:,k),zx_tmp_2d) |
---|
| 226 | CALL histwrite_phy(nid_hf,"t"//bb2,itau_w,tlevSTD(:,k)) |
---|
| 227 | c |
---|
| 228 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, qlevSTD(:,k),zx_tmp_2d) |
---|
| 229 | CALL histwrite_phy(nid_hf,"q"//bb2,itau_w, qlevSTD(:,k)) |
---|
| 230 | c |
---|
| 231 | ENDIF !bb2.EQ."850".or.bb2.EQ."500" |
---|
| 232 | c |
---|
| 233 | IF(bb2.EQ."500") THEN |
---|
| 234 | c |
---|
| 235 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, philevSTD(:,k),zx_tmp_2d) |
---|
| 236 | CALL histwrite_phy(nid_hf,"phi"//bb2,itau_w, philevSTD(:,k)) |
---|
| 237 | c |
---|
| 238 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, wlevSTD(:,k),zx_tmp_2d) |
---|
| 239 | CALL histwrite_phy(nid_hf,"w"//bb2,itau_w, wlevSTD(:,k)) |
---|
| 240 | c |
---|
| 241 | ENDIF !bb2.EQ."500" |
---|
| 242 | c |
---|
| 243 | IF(bb3.EQ."50") THEN |
---|
| 244 | c |
---|
| 245 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, tlevSTD(:,k),zx_tmp_2d) |
---|
| 246 | CALL histwrite_phy(nid_hf,"t"//bb3,itau_w, tlevSTD(:,k)) |
---|
| 247 | c |
---|
| 248 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, ulevSTD(:,k),zx_tmp_2d) |
---|
| 249 | CALL histwrite_phy(nid_hf,"u"//bb3,itau_w, ulevSTD(:,k)) |
---|
| 250 | c |
---|
| 251 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, vlevSTD(:,k),zx_tmp_2d) |
---|
| 252 | CALL histwrite_phy(nid_hf,"v"//bb3,itau_w, vlevSTD(:,k)) |
---|
| 253 | c |
---|
| 254 | ENDIF !bb3.EQ."50" |
---|
| 255 | c |
---|
| 256 | ENDDO !k=1, nlevSTD |
---|
| 257 | c |
---|
| 258 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zu10m,zx_tmp_2d) |
---|
| 259 | CALL histwrite_phy(nid_hf,"u10m",itau_w,zu10m) |
---|
| 260 | c |
---|
| 261 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zv10m,zx_tmp_2d) |
---|
| 262 | CALL histwrite_phy(nid_hf,"v10m",itau_w,zv10m) |
---|
| 263 | c |
---|
| 264 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zt2m,zx_tmp_2d) |
---|
| 265 | CALL histwrite_phy(nid_hf,"t2m",itau_w, zt2m) |
---|
| 266 | c |
---|
| 267 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zq2m,zx_tmp_2d) |
---|
| 268 | CALL histwrite_phy(nid_hf,"q2m",itau_w,zq2m) |
---|
| 269 | c |
---|
| 270 | DO i = 1, klon |
---|
| 271 | zx_tmp_fi2d(i) = paprs(i,1) |
---|
| 272 | ENDDO |
---|
| 273 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 274 | CALL histwrite_phy(nid_hf,"psol",itau_w,zx_tmp_fi2d) |
---|
| 275 | c |
---|
| 276 | cIM 140904 BEG |
---|
| 277 | DO i = 1, klon |
---|
| 278 | zx_tmp_fi2d(i) = cldt(i)*100. |
---|
| 279 | ENDDO |
---|
| 280 | cIM 140904 END |
---|
| 281 | cIM 140904 CALL gr_fi_ecrit(1, klon,iim,jjmp1, cldt,zx_tmp_2d) |
---|
| 282 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 283 | CALL histwrite_phy(nid_hf,"cldt",itau_w,zx_tmp_fi2d) |
---|
| 284 | c |
---|
| 285 | zx_tmp_fi2d(1 : klon) = zxfluxu(1 : klon, 1) |
---|
| 286 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 287 | CALL histwrite_phy(nid_hf,"taux",itau_w,zx_tmp_fi2d) |
---|
| 288 | C |
---|
| 289 | zx_tmp_fi2d(1 : klon) = zxfluxv(1 : klon, 1) |
---|
| 290 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d , zx_tmp_2d) |
---|
| 291 | CALL histwrite_phy(nid_hf,"tauy",itau_w,zx_tmp_fi2d) |
---|
| 292 | c |
---|
| 293 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, prw,zx_tmp_2d) |
---|
| 294 | CALL histwrite_phy(nid_hf,"prw",itau_w,prw) |
---|
| 295 | c |
---|
| 296 | zx_tmp_fi2d(1:klon)=-1*sens(1:klon) |
---|
| 297 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d,zx_tmp_2d) |
---|
| 298 | CALL histwrite_phy(nid_hf,"sens",itau_w,zx_tmp_fi2d) |
---|
| 299 | c |
---|
| 300 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxfluxlat,zx_tmp_2d) |
---|
| 301 | CALL histwrite_phy(nid_hf,"flat",itau_w,zxfluxlat) |
---|
| 302 | c |
---|
| 303 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zsnow_mass,zx_tmp_2d) |
---|
| 304 | c CALL histwrite_phy(nid_hf,"snow_mass",itau_w,zsnow_mass) |
---|
| 305 | c |
---|
| 306 | zx_tmp_fi2d(1 : klon) = swdn ( 1 : klon, 1 ) |
---|
| 307 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 308 | CALL histwrite_phy(nid_hf, "SWdnSFC",itau_w,zx_tmp_fi2d) |
---|
| 309 | c |
---|
| 310 | zx_tmp_fi2d(1 : klon) = swup ( 1 : klon, 1 ) |
---|
| 311 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 312 | CALL histwrite_phy(nid_hf, "SWupSFC",itau_w,zx_tmp_fi2d) |
---|
| 313 | c |
---|
| 314 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, sollwdown,zx_tmp_2d) |
---|
| 315 | CALL histwrite_phy(nid_hf,"LWdnSFC",itau_w,sollwdown) |
---|
| 316 | c |
---|
| 317 | cIM 090904 zx_tmp_fi2d(1:klon)=sollw(1:klon)+sollwdown(1:klon) |
---|
| 318 | cIM 130904 zx_tmp_fi2d(1:klon)=sollw(1:klon)-sollwdown(1:klon) |
---|
| 319 | zx_tmp_fi2d(1:klon)=sollwdown(1:klon)-sollw(1:klon) |
---|
| 320 | cym CALL gr_fi_ecrit(1, klon,iim,jjmp1, zx_tmp_fi2d, zx_tmp_2d) |
---|
| 321 | CALL histwrite_phy(nid_hf,"LWupSFC",itau_w,zx_tmp_fi2d) |
---|
| 322 | c |
---|
| 323 | zx_tmp_fi2d(1 : klon) = swdn ( 1 : klon, klevp1 ) |
---|
| 324 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 325 | CALL histwrite_phy(nid_hf, "SWdnTOA",itau_w,zx_tmp_fi2d) |
---|
| 326 | c |
---|
| 327 | zx_tmp_fi2d(1 : klon) = swup ( 1 : klon, klevp1 ) |
---|
| 328 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d,zx_tmp_2d) |
---|
| 329 | CALL histwrite_phy(nid_hf, "SWupTOA",itau_w,zx_tmp_fi2d) |
---|
| 330 | c |
---|
| 331 | IF (is_sequential) THEN |
---|
| 332 | cym CALL gr_fi_ecrit(nbteta,klon,iim,jjmp1,PVteta,zx_tmp_3dte) |
---|
| 333 | DO k=1, nbteta |
---|
| 334 | zx_tmp_fi2d(1:klon) = PVteta(1:klon,k) |
---|
| 335 | CALL histwrite_phy(nid_hf,"PV"//ctetaSTD(k), |
---|
| 336 | . itau_w,zx_tmp_fi2d) |
---|
| 337 | ENDDO !k=1, nbteta |
---|
| 338 | ENDIF |
---|
| 339 | c |
---|
| 340 | c |
---|
| 341 | c planetary boundary layer height |
---|
| 342 | c |
---|
| 343 | c ENDIF !1.EQ.0 |
---|
| 344 | c |
---|
| 345 | ENDIF !(lev_histhf.GE.2) THEN |
---|
| 346 | cIM 280504 END |
---|
| 347 | c |
---|
| 348 | ENDIF !type_run |
---|
| 349 | c |
---|
| 350 | IF (ok_sync) THEN |
---|
| 351 | c$OMP MASTER |
---|
| 352 | call histsync(nid_hf) |
---|
| 353 | c$OMP END MASTER |
---|
| 354 | ENDIF |
---|
| 355 | |
---|
| 356 | ENDIF |
---|