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