1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | #ifndef INCA |
---|
5 | ndex = 0 |
---|
6 | ndex2d = 0 |
---|
7 | ndex3d = 0 |
---|
8 | c |
---|
9 | itau_w = itau_phy + nstep |
---|
10 | |
---|
11 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,pphis,zx_tmp_2d) |
---|
12 | CALL histwrite_phy(nid_tra,"phis",itau_w,pphis) |
---|
13 | C |
---|
14 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,airephy,zx_tmp_2d) |
---|
15 | CALL histwrite_phy(nid_tra,"aire",itau_w,airephy) |
---|
16 | |
---|
17 | DO it=1,nqmax |
---|
18 | C champs 2D |
---|
19 | |
---|
20 | |
---|
21 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,tr_seri(1,1,it),zx_tmp_3d) |
---|
22 | CALL histwrite_phy(nid_tra,tnom(it+2),itau_w,tr_seri(:,:,it)) |
---|
23 | if (lessivage) THEN |
---|
24 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,flestottr(1,1,it),zx_tmp_3d) |
---|
25 | CALL histwrite_phy(nid_tra,"fl"//tnom(it+2),itau_w, |
---|
26 | . flestottr(:,:,it)) |
---|
27 | endif |
---|
28 | |
---|
29 | c----Olivia |
---|
30 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,d_tr_th(1,1,it),zx_tmp_3d) |
---|
31 | CALL histwrite_phy(nid_tra,"d_tr_th_"//tnom(it+2),itau_w, |
---|
32 | . d_tr_th(:,:,it)) |
---|
33 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,d_tr_cv(1,1,it),zx_tmp_3d) |
---|
34 | CALL histwrite_phy(nid_tra,"d_tr_cv_"//tnom(it+2),itau_w, |
---|
35 | . d_tr_cv(:,:,it)) |
---|
36 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,d_tr_cl(1,1,it),zx_tmp_3d) |
---|
37 | CALL histwrite_phy(nid_tra,"d_tr_cl_"//tnom(it+2),itau_w, |
---|
38 | . d_tr_cl(:,:,it)) |
---|
39 | c---fin Olivia |
---|
40 | |
---|
41 | ENDDO |
---|
42 | |
---|
43 | |
---|
44 | C abder |
---|
45 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,yu1,zx_tmp_2d) |
---|
46 | CALL histwrite_phy(nid_tra,"pyu1",itau_w,yu1) |
---|
47 | |
---|
48 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,yv1,zx_tmp_2d) |
---|
49 | CALL histwrite_phy(nid_tra,"pyv1",itau_w,yv1) |
---|
50 | |
---|
51 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,pftsol1,zx_tmp_2d) |
---|
52 | CALL histwrite_phy(nid_tra,"ftsol1",itau_w,pftsol1) |
---|
53 | |
---|
54 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,pftsol2,zx_tmp_2d) |
---|
55 | CALL histwrite_phy(nid_tra,"ftsol2",itau_w,pftsol2) |
---|
56 | |
---|
57 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,pftsol3,zx_tmp_2d) |
---|
58 | CALL histwrite_phy(nid_tra,"ftsol3",itau_w,pftsol3) |
---|
59 | |
---|
60 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,pftsol4,zx_tmp_2d) |
---|
61 | CALL histwrite_phy(nid_tra,"ftsol4",itau_w,pftsol4) |
---|
62 | |
---|
63 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,ppsrf1,zx_tmp_2d) |
---|
64 | CALL histwrite_phy(nid_tra,"psrf1",itau_w,ppsrf1) |
---|
65 | |
---|
66 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,ppsrf2,zx_tmp_2d) |
---|
67 | CALL histwrite_phy(nid_tra,"psrf2",itau_w,ppsrf2) |
---|
68 | |
---|
69 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,ppsrf3,zx_tmp_2d) |
---|
70 | CALL histwrite_phy(nid_tra,"psrf3",itau_w,ppsrf3) |
---|
71 | |
---|
72 | cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,ppsrf4,zx_tmp_2d) |
---|
73 | CALL histwrite_phy(nid_tra,"psrf4",itau_w,ppsrf4) |
---|
74 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pplay,zx_tmp_3d) |
---|
75 | CALL histwrite_phy(nid_tra,"pplay",itau_w,pplay) |
---|
76 | |
---|
77 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,t_seri,zx_tmp_3d) |
---|
78 | CALL histwrite_phy(nid_tra,"t",itau_w,t_seri) |
---|
79 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pmfu,zx_tmp_3d) |
---|
80 | CALL histwrite_phy(nid_tra,"mfu",itau_w,pmfu) |
---|
81 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pmfd,zx_tmp_3d) |
---|
82 | CALL histwrite_phy(nid_tra,"mfd",itau_w,pmfd) |
---|
83 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pen_u,zx_tmp_3d) |
---|
84 | CALL histwrite_phy(nid_tra,"en_u",itau_w,pen_u) |
---|
85 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pen_d,zx_tmp_3d) |
---|
86 | CALL histwrite_phy(nid_tra,"en_d",itau_w,pen_d) |
---|
87 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pde_d,zx_tmp_3d) |
---|
88 | CALL histwrite_phy(nid_tra,"de_d",itau_w,pde_d) |
---|
89 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,pde_u,zx_tmp_3d) |
---|
90 | CALL histwrite_phy(nid_tra,"de_u",itau_w,pde_u) |
---|
91 | cym CALL gr_fi_ecrit(klev,klon,iim,jjm+1,coefh,zx_tmp_3d) |
---|
92 | CALL histwrite_phy(nid_tra,"coefh",itau_w,coefh) |
---|
93 | |
---|
94 | |
---|
95 | c abder |
---|
96 | |
---|
97 | if (ok_sync) then |
---|
98 | c$OMP MASTER |
---|
99 | call histsync(nid_tra) |
---|
100 | c$OMP END MASTER |
---|
101 | endif |
---|
102 | |
---|
103 | #endif |
---|
104 | |
---|
105 | |
---|
106 | |
---|