1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | IF (ok_instan) THEN |
---|
5 | c |
---|
6 | zsto = dtime * ecrit_ins |
---|
7 | zout = dtime * ecrit_ins |
---|
8 | c |
---|
9 | idayref = day_ref |
---|
10 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
11 | c |
---|
12 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon) |
---|
13 | cym DO i = 1, iim |
---|
14 | cym zx_lon(i,1) = rlon(i+1) |
---|
15 | cym zx_lon(i,jjmp1) = rlon(i+1) |
---|
16 | cym ENDDO |
---|
17 | DO ll=1,klev |
---|
18 | znivsig(ll)=float(ll) |
---|
19 | ENDDO |
---|
20 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat) |
---|
21 | cym CALL histbeg("histins", iim,zx_lon(:,1), jjmp1,zx_lat(1,:), |
---|
22 | cym . 1,iim,1,jjmp1, itau_phy, zjulian, dtime, |
---|
23 | cym . nhori, nid_ins) |
---|
24 | CALL histbeg_phy("histins", itau_phy, zjulian, dtime, |
---|
25 | . nhori, nid_ins) |
---|
26 | write(*,*)'Inst ', itau_phy, zjulian |
---|
27 | CALL histvert(nid_ins, "presnivs", "Vertical levels", "mb", |
---|
28 | . klev, presnivs, nvert) |
---|
29 | c call histvert(nid_ins, 'sig_s', 'Niveaux sigma','-', |
---|
30 | c . klev, znivsig, nvert) |
---|
31 | c |
---|
32 | c |
---|
33 | CALL histdef(nid_ins, "phis", "Surface geop. height", "-", |
---|
34 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
35 | . "once", zsto,zout) |
---|
36 | c |
---|
37 | CALL histdef(nid_ins, "aire", "Grid area", "-", |
---|
38 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
39 | . "once", zsto,zout) |
---|
40 | c |
---|
41 | c Champs 2D: |
---|
42 | c |
---|
43 | CALL histdef(nid_ins, "tsol", "Surface Temperature", "K", |
---|
44 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
45 | . "inst(X)", zsto,zout) |
---|
46 | c |
---|
47 | CALL histdef(nid_ins, "t2m", "Temperature 2m", "K", |
---|
48 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
49 | . "inst(X)", zsto,zout) |
---|
50 | c |
---|
51 | CALL histdef(nid_ins, "q2m", "Specific humidity 2m", "Kg/Kg", |
---|
52 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
53 | . "inst(X)", zsto,zout) |
---|
54 | c |
---|
55 | CALL histdef(nid_ins, "u10m", "Vent zonal 10m", "m/s", |
---|
56 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
57 | . "inst(X)", zsto,zout) |
---|
58 | c |
---|
59 | CALL histdef(nid_ins, "v10m", "Vent meridien 10m", "m/s", |
---|
60 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
61 | . "inst(X)", zsto,zout) |
---|
62 | c |
---|
63 | CALL histdef(nid_ins, "psol", "Surface Pressure", "Pa", |
---|
64 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
65 | . "inst(X)", zsto,zout) |
---|
66 | c |
---|
67 | CALL histdef(nid_ins, "plul", "Large-scale Precip.", "mm/day", |
---|
68 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
69 | . "inst(X)", zsto,zout) |
---|
70 | c |
---|
71 | CALL histdef(nid_ins, "pluc", "Convective Precip.", "mm/day", |
---|
72 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
73 | . "inst(X)", zsto,zout) |
---|
74 | c |
---|
75 | CALL histdef(nid_ins, "cdrm", "Momentum drag coef.", "-", |
---|
76 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
77 | . "inst(X)", zsto,zout) |
---|
78 | c |
---|
79 | CALL histdef(nid_ins, "cdrh", "Heat drag coef.", "-", |
---|
80 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
81 | . "inst(X)", zsto,zout) |
---|
82 | c |
---|
83 | CALL histdef(nid_ins, "precip", "Precipitation Totale liq+sol", |
---|
84 | . "kg/(s*m2)", |
---|
85 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
86 | . "inst(X)", zsto,zout) |
---|
87 | c |
---|
88 | CALL histdef(nid_ins, "snow", "Snow fall", "kg/(s*m2)", |
---|
89 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
90 | . "inst(X)", zsto,zout) |
---|
91 | c |
---|
92 | CALL histdef(nid_ins, "snow_mass", "Snow Mass", "kg/m2", |
---|
93 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
94 | . "inst(X)", zsto,zout) |
---|
95 | c |
---|
96 | CALL histdef(nid_ins, "topl", "OLR", "W/m2", |
---|
97 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
98 | . "inst(X)", zsto,zout) |
---|
99 | c |
---|
100 | CALL histdef(nid_ins, "evap", "Evaporation", "kg/(s*m2)", |
---|
101 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
102 | . "inst(X)", zsto,zout) |
---|
103 | c |
---|
104 | CALL histdef(nid_ins, "sols", "Solar rad. at surf.", "W/m2", |
---|
105 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
106 | . "inst(X)", zsto,zout) |
---|
107 | c |
---|
108 | CALL histdef(nid_ins, "soll", "IR rad. at surface", "W/m2", |
---|
109 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
110 | . "inst(X)", zsto,zout) |
---|
111 | c |
---|
112 | CALL histdef(nid_ins, "solldown", "Down. IR rad. at surface", |
---|
113 | . "W/m2", iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
114 | . "inst(X)", zsto,zout) |
---|
115 | c |
---|
116 | CALL histdef(nid_ins, "bils", "Surf. total heat flux", "W/m2", |
---|
117 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
118 | . "inst(X)", zsto,zout) |
---|
119 | c |
---|
120 | CALL histdef(nid_ins, "sens", "Sensible heat flux", "W/m2", |
---|
121 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
122 | . "inst(X)", zsto,zout) |
---|
123 | c |
---|
124 | CALL histdef(nid_ins, "fder", "Heat flux derivation", "W/m2", |
---|
125 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
126 | . "inst(X)", zsto,zout) |
---|
127 | c |
---|
128 | CALL histdef(nid_ins, "dtsvdfo", "Boundary-layer dTs(o)", "K/s", |
---|
129 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
130 | . "inst(X)", zsto,zout) |
---|
131 | c |
---|
132 | CALL histdef(nid_ins, "dtsvdft", "Boundary-layer dTs(t)", "K/s", |
---|
133 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
134 | . "inst(X)", zsto,zout) |
---|
135 | c |
---|
136 | CALL histdef(nid_ins, "dtsvdfg", "Boundary-layer dTs(g)", "K/s", |
---|
137 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
138 | . "inst(X)", zsto,zout) |
---|
139 | c |
---|
140 | CALL histdef(nid_ins, "dtsvdfi", "Boundary-layer dTs(g)", "K/s", |
---|
141 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
142 | . "inst(X)", zsto,zout) |
---|
143 | |
---|
144 | DO nsrf = 1, nbsrf |
---|
145 | C |
---|
146 | call histdef(nid_ins, "pourc_"//clnsurf(nsrf), |
---|
147 | $ "Fraction"//clnsurf(nsrf), "W/m2", |
---|
148 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
149 | $ "inst(X)", zsto,zout) |
---|
150 | |
---|
151 | call histdef(nid_ins, "sens_"//clnsurf(nsrf), |
---|
152 | $ "Sensible heat flux "//clnsurf(nsrf), "W/m2", |
---|
153 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
154 | $ "inst(X)", zsto,zout) |
---|
155 | c |
---|
156 | call histdef(nid_ins, "tsol_"//clnsurf(nsrf), |
---|
157 | $ "Surface Temperature"//clnsurf(nsrf), "W/m2", |
---|
158 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
159 | $ "inst(X)", zsto,zout) |
---|
160 | c |
---|
161 | call histdef(nid_ins, "lat_"//clnsurf(nsrf), |
---|
162 | $ "Latent heat flux "//clnsurf(nsrf), "W/m2", |
---|
163 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
164 | $ "inst(X)", zsto,zout) |
---|
165 | C |
---|
166 | call histdef(nid_ins, "taux_"//clnsurf(nsrf), |
---|
167 | $ "Zonal wind stress"//clnsurf(nsrf),"Pa", |
---|
168 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
169 | $ "inst(X)", zsto,zout) |
---|
170 | |
---|
171 | call histdef(nid_ins, "tauy_"//clnsurf(nsrf), |
---|
172 | $ "Meridional xind stress "//clnsurf(nsrf), "Pa", |
---|
173 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
174 | $ "inst(X)", zsto,zout) |
---|
175 | c |
---|
176 | call histdef(nid_ins, "albe_"//clnsurf(nsrf), |
---|
177 | $ "Albedo "//clnsurf(nsrf), "-", |
---|
178 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
179 | $ "inst(X)", zsto,zout) |
---|
180 | c |
---|
181 | call histdef(nid_ins, "rugs_"//clnsurf(nsrf), |
---|
182 | $ "rugosite "//clnsurf(nsrf), "-", |
---|
183 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
184 | $ "inst(X)", zsto,zout) |
---|
185 | CXXX |
---|
186 | END DO |
---|
187 | CALL histdef(nid_ins, "rugs", "rugosity", "-", |
---|
188 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
189 | . "inst(X)", zsto,zout) |
---|
190 | |
---|
191 | c |
---|
192 | CALL histdef(nid_ins, "albs", "Surface albedo", "-", |
---|
193 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
194 | . "inst(X)", zsto,zout) |
---|
195 | CALL histdef(nid_ins, "albslw", "Surface albedo LW", "-", |
---|
196 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
197 | . "inst(X)", zsto,zout) |
---|
198 | c |
---|
199 | c |
---|
200 | c Champs 3D: |
---|
201 | c |
---|
202 | CALL histdef(nid_ins, "temp", "Temperature", "K", |
---|
203 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
204 | . "inst(X)", zsto,zout) |
---|
205 | c |
---|
206 | CALL histdef(nid_ins, "vitu", "Zonal wind", "m/s", |
---|
207 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
208 | . "inst(X)", zsto,zout) |
---|
209 | c |
---|
210 | CALL histdef(nid_ins, "vitv", "Merid wind", "m/s", |
---|
211 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
212 | . "inst(X)", zsto,zout) |
---|
213 | c |
---|
214 | CALL histdef(nid_ins, "geop", "Geopotential height", "m", |
---|
215 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
216 | . "inst(X)", zsto,zout) |
---|
217 | c |
---|
218 | CALL histdef(nid_ins, "pres", "Air pressure", "Pa", |
---|
219 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
220 | . "inst(X)", zsto,zout) |
---|
221 | c |
---|
222 | CALL histdef(nid_ins, "dtvdf", "Boundary-layer dT", "K/s", |
---|
223 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
224 | . "inst(X)", zsto,zout) |
---|
225 | c |
---|
226 | CALL histdef(nid_ins, "dqvdf", "Boundary-layer dQ", "Kg/Kg/s", |
---|
227 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
228 | . "inst(X)", zsto,zout) |
---|
229 | c |
---|
230 | |
---|
231 | CALL histend(nid_ins) |
---|
232 | c |
---|
233 | ndex2d = 0 |
---|
234 | ndex3d = 0 |
---|
235 | c |
---|
236 | ENDIF |
---|