source: dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/write_bilKP_ins.h @ 3916

Last change on this file since 3916 was 3831, checked in by ymipsl, 10 years ago

module reorganisation for a cleaner dyn-phys interface
YM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 3.4 KB
Line 
1 c
2c $Header$
3c
4      IF (ok_journe) THEN
5c
6      ndex2d = 0
7      ndex3d = 0
8c
9      itau_w = itau_phy + itap + start_time * day_step
10c
11c Champs 3D:
12c
13      CALL histwrite_phy(nid_bilKPins,"ue",itau_w,ue_lay)
14c
15      CALL histwrite_phy(nid_bilKPins,"ve",itau_w,ve_lay)
16c
17      CALL histwrite_phy(nid_bilKPins,"uq",itau_w,uq_lay)
18c
19      CALL histwrite_phy(nid_bilKPins,"vq",itau_w,vq_lay)
20c
21c Champs 3D:
22C
23      CALL histwrite_phy(nid_bilKPins,"temp",itau_w,t_seri)
24c
25      CALL histwrite_phy(nid_bilKPins,"ovap",itau_w,qx(:,:,ivap))
26c
27      CALL histwrite_phy(nid_bilKPins,"geop",itau_w,zphi)
28c
29      CALL histwrite_phy(nid_bilKPins,"vitu",itau_w,u_seri)
30c
31      CALL histwrite_phy(nid_bilKPins,"vitv",itau_w,v_seri)
32c
33      CALL histwrite_phy(nid_bilKPins,"vitw",itau_w,omega)
34c
35      CALL histwrite_phy(nid_bilKPins,"pres",itau_w,pplay)
36c
37      CALL histwrite_phy(nid_bilKPins,"play",itau_w,paprs)
38c
39      CALL histwrite_phy(nid_bilKPins,"oliq",itau_w,cldliq)
40c
41      CALL histwrite_phy(nid_bilKPins,"dtdyn",itau_w,d_t_dyn)
42c
43      CALL histwrite_phy(nid_bilKPins,"dqdyn",itau_w,d_q_dyn)
44c
45      CALL histwrite_phy(nid_bilKPins,"dtcon",itau_w,d_t_con)
46c
47      CALL histwrite_phy(nid_bilKPins,"ducon",itau_w,d_u_con)
48c => toi-même !
49
50      CALL histwrite_phy(nid_bilKPins,"dvcon",itau_w,d_v_con)
51c
52      CALL histwrite_phy(nid_bilKPins,"dqcon",itau_w,d_q_con)
53c
54      CALL histwrite_phy(nid_bilKPins,"dtlsc",itau_w,d_t_lsc)
55c
56      CALL histwrite_phy(nid_bilKPins,"dqlsc",itau_w,d_q_lsc)
57c
58      CALL histwrite_phy(nid_bilKPins,"dtvdf",itau_w,d_t_vdf)
59c
60      CALL histwrite_phy(nid_bilKPins,"dqvdf",itau_w,d_q_vdf)
61c
62      CALL histwrite_phy(nid_bilKPins,"dtajs",itau_w,d_t_ajs)
63c
64      CALL histwrite_phy(nid_bilKPins,"dqajs",itau_w,d_q_ajs)
65c
66      CALL histwrite_phy(nid_bilKPins,"dteva",itau_w,d_t_eva)
67c
68      CALL histwrite_phy(nid_bilKPins,"dqeva",itau_w,d_q_eva)
69c
70      CALL histwrite_phy(nid_bilKPins,"dtswr",itau_w,heat)
71c
72      CALL histwrite_phy(nid_bilKPins,"dtsw0",itau_w,heat0)
73c
74      CALL histwrite_phy(nid_bilKPins,"dtlwr",itau_w,cool)
75c
76      CALL histwrite_phy(nid_bilKPins,"dtlw0",itau_w,cool0)
77c
78      CALL histwrite_phy(nid_bilKPins,"duvdf",itau_w,d_u_vdf)
79c
80      CALL histwrite_phy(nid_bilKPins,"dvvdf",itau_w,d_v_vdf)
81c
82      IF (ok_orodr) THEN
83      IF (ok_orolf) THEN
84c
85      DO k = 1, klev
86      DO i = 1, klon
87        d_u_oli(i,k) = d_u_oro(i,k) + d_u_lif(i,k)
88        d_v_oli(i,k) = d_v_oro(i,k) + d_v_lif(i,k)
89      ENDDO
90      ENDDO
91c
92      CALL histwrite_phy(nid_bilKPins,"duoli",itau_w,d_u_oli)
93c
94      CALL histwrite_phy(nid_bilKPins,"dvoli",itau_w,d_v_oli)
95c
96      ENDIF
97      ENDIF
98C
99      CALL histwrite_phy(nid_bilKPins,"duphy",itau_w,d_u)
100c
101      CALL histwrite_phy(nid_bilKPins,"dvphy",itau_w,d_v)
102c
103      CALL histwrite_phy(nid_bilKPins,"dtphy",itau_w,d_t)
104c
105      CALL histwrite_phy(nid_bilKPins,"dqphy",itau_w,d_qx(:,:,1))
106c
107      CALL histwrite_phy(nid_bilKPins,"dqlphy",itau_w,d_qx(:,:,2))
108c
109cIM 280405 BEG
110c
111c Champs 2D:
112c
113c   Ecriture de champs dynamiques sur des niveaux de pression
114c     DO k=1, nlevSTD
115      DO k=1, 12
116c
117       IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k)
118       IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k)
119c
120       IF(bb2.EQ."850") THEN
121c
122        CALL histwrite_phy(nid_bilKPins,"u"//bb2,itau_w,usumSTD(:,k,1))
123c
124        CALL histwrite_phy(nid_bilKPins,"v"//bb2,itau_w,vsumSTD(:,k,1))
125c
126       ENDIF !(bb2.EQ."850")
127c
128       ENDDO !k=1, 12
129c
130cIM 280405 END
131C
132      if (ok_sync) then
133        call histsync(nid_bilKPins)
134      endif
135       ENDIF
136
Note: See TracBrowser for help on using the repository browser.