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