[1349] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | ndex3d = 0 |
---|
| 5 | itau_w = itau_phy + itap |
---|
| 6 | ccc |
---|
| 7 | c Champs interpolles sur des niveaux de pression du NMC |
---|
| 8 | c |
---|
| 9 | c PARAMETER(nout=3) |
---|
| 10 | c nout=1 : in=pdtphys, out=mth |
---|
| 11 | c nout=2 : in=pdtphys, out=day |
---|
| 12 | c nout=3 : in=pdtphys, out=hf |
---|
| 13 | ccc |
---|
| 14 | CALL histwrite_phy(nid_hfnmc,"tnondef",itau_w,tnondef(:,:,3)) |
---|
| 15 | c |
---|
| 16 | CALL histwrite_phy(nid_hfnmc,"ta",itau_w,twriteSTD3) |
---|
| 17 | c |
---|
| 18 | CALL histwrite_phy(nid_hfnmc,"zg",itau_w,phiwriteSTD3) |
---|
| 19 | c |
---|
| 20 | CALL histwrite_phy(nid_hfnmc,"hus",itau_w,qwriteSTD3) |
---|
| 21 | c |
---|
| 22 | CALL histwrite_phy(nid_hfnmc,"hur",itau_w,rhwriteSTD3) |
---|
| 23 | c |
---|
| 24 | CALL histwrite_phy(nid_hfnmc,"ua",itau_w,uwriteSTD3) |
---|
| 25 | c |
---|
| 26 | CALL histwrite_phy(nid_hfnmc,"va",itau_w,vwriteSTD3) |
---|
| 27 | c |
---|
| 28 | CALL histwrite_phy(nid_hfnmc,"wap",itau_w,wwriteSTD3) |
---|
| 29 | c |
---|
| 30 | DO k=1, nlevSTD |
---|
| 31 | DO i=1, klon |
---|
| 32 | IF(tnondef(i,k,3).NE.missing_val) THEN |
---|
| 33 | zx_tmp_fiNC(i,k) = (100.*tnondef(i,k,3))/ecrit_hf2mth |
---|
| 34 | ELSE |
---|
| 35 | zx_tmp_fiNC(i,k) = missing_val |
---|
| 36 | ENDIF |
---|
| 37 | ENDDO |
---|
| 38 | ENDDO !k=1, nlevSTD |
---|
| 39 | c |
---|
| 40 | CALL histwrite_phy(nid_hfnmc,"psbg",itau_w,zx_tmp_fiNC) |
---|
| 41 | c |
---|
| 42 | CALL histwrite_phy(nid_hfnmc,"uv",itau_w,uvsumSTD(:,:,3)) |
---|
| 43 | c |
---|
| 44 | CALL histwrite_phy(nid_hfnmc,"vq",itau_w,vqsumSTD(:,:,3)) |
---|
| 45 | c |
---|
| 46 | CALL histwrite_phy(nid_hfnmc,"vT",itau_w,vTsumSTD(:,:,3)) |
---|
| 47 | c |
---|
| 48 | CALL histwrite_phy(nid_hfnmc,"wq",itau_w,wqsumSTD(:,:,3)) |
---|
| 49 | c |
---|
| 50 | CALL histwrite_phy(nid_hfnmc,"vphi",itau_w,vphisumSTD(:,:,3)) |
---|
| 51 | c |
---|
| 52 | CALL histwrite_phy(nid_hfnmc,"wT",itau_w,wTsumSTD(:,:,3)) |
---|
| 53 | c |
---|
| 54 | CALL histwrite_phy(nid_hfnmc,"uxu",itau_w,u2sumSTD(:,:,3)) |
---|
| 55 | c |
---|
| 56 | CALL histwrite_phy(nid_hfnmc,"vxv",itau_w,v2sumSTD(:,:,3)) |
---|
| 57 | c |
---|
| 58 | CALL histwrite_phy(nid_hfnmc,"TxT",itau_w,T2sumSTD(:,:,3)) |
---|
| 59 | c |
---|
| 60 | c ENDIF !type_run |
---|
| 61 | c |
---|
| 62 | if (ok_sync) then |
---|
| 63 | c$OMP MASTER |
---|
| 64 | call histsync(nid_hfnmc) |
---|
| 65 | c$OMP END MASTER |
---|
| 66 | endif |
---|
| 67 | |
---|
| 68 | c ENDIF |
---|