[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | IF (ok_instan) THEN |
---|
| 5 | c |
---|
[684] | 6 | zsto = ecrit_ins |
---|
| 7 | zout = ecrit_ins |
---|
[524] | 8 | c |
---|
| 9 | idayref = day_ref |
---|
| 10 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
| 11 | c |
---|
[704] | 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 |
---|
[524] | 17 | DO ll=1,klev |
---|
| 18 | znivsig(ll)=float(ll) |
---|
| 19 | ENDDO |
---|
[704] | 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, |
---|
[524] | 25 | . nhori, nid_ins) |
---|
| 26 | write(*,*)'Inst ', itau_phy, zjulian |
---|
| 27 | CALL histvert(nid_ins, "presnivs", "Vertical levels", "mb", |
---|
[644] | 28 | cIM . klev, presnivs, nvert) |
---|
| 29 | . klev, presnivs/100., nvert) |
---|
[524] | 30 | c call histvert(nid_ins, 'sig_s', 'Niveaux sigma','-', |
---|
| 31 | c . klev, znivsig, nvert) |
---|
| 32 | c |
---|
| 33 | c |
---|
| 34 | CALL histdef(nid_ins, "phis", "Surface geop. height", "-", |
---|
[704] | 35 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 36 | . "once", zsto,zout) |
---|
| 37 | c |
---|
| 38 | CALL histdef(nid_ins, "aire", "Grid area", "-", |
---|
[704] | 39 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 40 | . "once", zsto,zout) |
---|
| 41 | c |
---|
| 42 | c Champs 2D: |
---|
| 43 | c |
---|
| 44 | CALL histdef(nid_ins, "tsol", "Surface Temperature", "K", |
---|
[704] | 45 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 46 | . "inst(X)", zsto,zout) |
---|
| 47 | c |
---|
| 48 | CALL histdef(nid_ins, "t2m", "Temperature 2m", "K", |
---|
[704] | 49 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 50 | . "inst(X)", zsto,zout) |
---|
| 51 | c |
---|
| 52 | CALL histdef(nid_ins, "q2m", "Specific humidity 2m", "Kg/Kg", |
---|
[704] | 53 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 54 | . "inst(X)", zsto,zout) |
---|
| 55 | c |
---|
| 56 | CALL histdef(nid_ins, "u10m", "Vent zonal 10m", "m/s", |
---|
[704] | 57 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 58 | . "inst(X)", zsto,zout) |
---|
| 59 | c |
---|
| 60 | CALL histdef(nid_ins, "v10m", "Vent meridien 10m", "m/s", |
---|
[704] | 61 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 62 | . "inst(X)", zsto,zout) |
---|
| 63 | c |
---|
| 64 | CALL histdef(nid_ins, "psol", "Surface Pressure", "Pa", |
---|
[704] | 65 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 66 | . "inst(X)", zsto,zout) |
---|
| 67 | c |
---|
| 68 | CALL histdef(nid_ins, "plul", "Large-scale Precip.", "mm/day", |
---|
[704] | 69 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 70 | . "inst(X)", zsto,zout) |
---|
| 71 | c |
---|
| 72 | CALL histdef(nid_ins, "pluc", "Convective Precip.", "mm/day", |
---|
[704] | 73 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 74 | . "inst(X)", zsto,zout) |
---|
| 75 | c |
---|
| 76 | CALL histdef(nid_ins, "cdrm", "Momentum drag coef.", "-", |
---|
[704] | 77 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 78 | . "inst(X)", zsto,zout) |
---|
| 79 | c |
---|
| 80 | CALL histdef(nid_ins, "cdrh", "Heat drag coef.", "-", |
---|
[704] | 81 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 82 | . "inst(X)", zsto,zout) |
---|
| 83 | c |
---|
| 84 | CALL histdef(nid_ins, "precip", "Precipitation Totale liq+sol", |
---|
| 85 | . "kg/(s*m2)", |
---|
[704] | 86 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 87 | . "inst(X)", zsto,zout) |
---|
| 88 | c |
---|
| 89 | CALL histdef(nid_ins, "snow", "Snow fall", "kg/(s*m2)", |
---|
[704] | 90 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 91 | . "inst(X)", zsto,zout) |
---|
| 92 | c |
---|
[644] | 93 | c CALL histdef(nid_ins, "snow_mass", "Snow Mass", "kg/m2", |
---|
| 94 | c . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
| 95 | c . "inst(X)", zsto,zout) |
---|
[524] | 96 | c |
---|
| 97 | CALL histdef(nid_ins, "topl", "OLR", "W/m2", |
---|
[704] | 98 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 99 | . "inst(X)", zsto,zout) |
---|
| 100 | c |
---|
| 101 | CALL histdef(nid_ins, "evap", "Evaporation", "kg/(s*m2)", |
---|
[704] | 102 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 103 | . "inst(X)", zsto,zout) |
---|
| 104 | c |
---|
| 105 | CALL histdef(nid_ins, "sols", "Solar rad. at surf.", "W/m2", |
---|
[704] | 106 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 107 | . "inst(X)", zsto,zout) |
---|
| 108 | c |
---|
| 109 | CALL histdef(nid_ins, "soll", "IR rad. at surface", "W/m2", |
---|
[704] | 110 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 111 | . "inst(X)", zsto,zout) |
---|
| 112 | c |
---|
| 113 | CALL histdef(nid_ins, "solldown", "Down. IR rad. at surface", |
---|
[704] | 114 | . "W/m2", iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 115 | . "inst(X)", zsto,zout) |
---|
| 116 | c |
---|
| 117 | CALL histdef(nid_ins, "bils", "Surf. total heat flux", "W/m2", |
---|
[704] | 118 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 119 | . "inst(X)", zsto,zout) |
---|
| 120 | c |
---|
| 121 | CALL histdef(nid_ins, "sens", "Sensible heat flux", "W/m2", |
---|
[704] | 122 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 123 | . "inst(X)", zsto,zout) |
---|
| 124 | c |
---|
| 125 | CALL histdef(nid_ins, "fder", "Heat flux derivation", "W/m2", |
---|
[704] | 126 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 127 | . "inst(X)", zsto,zout) |
---|
| 128 | c |
---|
| 129 | CALL histdef(nid_ins, "dtsvdfo", "Boundary-layer dTs(o)", "K/s", |
---|
[704] | 130 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 131 | . "inst(X)", zsto,zout) |
---|
| 132 | c |
---|
| 133 | CALL histdef(nid_ins, "dtsvdft", "Boundary-layer dTs(t)", "K/s", |
---|
[704] | 134 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 135 | . "inst(X)", zsto,zout) |
---|
| 136 | c |
---|
| 137 | CALL histdef(nid_ins, "dtsvdfg", "Boundary-layer dTs(g)", "K/s", |
---|
[704] | 138 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 139 | . "inst(X)", zsto,zout) |
---|
| 140 | c |
---|
| 141 | CALL histdef(nid_ins, "dtsvdfi", "Boundary-layer dTs(g)", "K/s", |
---|
[704] | 142 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 143 | . "inst(X)", zsto,zout) |
---|
| 144 | |
---|
| 145 | DO nsrf = 1, nbsrf |
---|
| 146 | C |
---|
| 147 | call histdef(nid_ins, "pourc_"//clnsurf(nsrf), |
---|
[644] | 148 | $ "% "//clnsurf(nsrf), "%", |
---|
[704] | 149 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 150 | $ "inst(X)", zsto,zout) |
---|
| 151 | |
---|
[644] | 152 | call histdef(nid_ins, "fract_"//clnsurf(nsrf), |
---|
| 153 | $ "Fraction "//clnsurf(nsrf), "1", |
---|
[704] | 154 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 155 | $ "inst(X)", zsto,zout) |
---|
| 156 | |
---|
[524] | 157 | call histdef(nid_ins, "sens_"//clnsurf(nsrf), |
---|
| 158 | $ "Sensible heat flux "//clnsurf(nsrf), "W/m2", |
---|
[704] | 159 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 160 | $ "inst(X)", zsto,zout) |
---|
| 161 | c |
---|
| 162 | call histdef(nid_ins, "tsol_"//clnsurf(nsrf), |
---|
| 163 | $ "Surface Temperature"//clnsurf(nsrf), "W/m2", |
---|
[704] | 164 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 165 | $ "inst(X)", zsto,zout) |
---|
| 166 | c |
---|
| 167 | call histdef(nid_ins, "lat_"//clnsurf(nsrf), |
---|
| 168 | $ "Latent heat flux "//clnsurf(nsrf), "W/m2", |
---|
[704] | 169 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 170 | $ "inst(X)", zsto,zout) |
---|
| 171 | C |
---|
| 172 | call histdef(nid_ins, "taux_"//clnsurf(nsrf), |
---|
| 173 | $ "Zonal wind stress"//clnsurf(nsrf),"Pa", |
---|
[704] | 174 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 175 | $ "inst(X)", zsto,zout) |
---|
| 176 | |
---|
| 177 | call histdef(nid_ins, "tauy_"//clnsurf(nsrf), |
---|
| 178 | $ "Meridional xind stress "//clnsurf(nsrf), "Pa", |
---|
[704] | 179 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 180 | $ "inst(X)", zsto,zout) |
---|
| 181 | c |
---|
| 182 | call histdef(nid_ins, "albe_"//clnsurf(nsrf), |
---|
| 183 | $ "Albedo "//clnsurf(nsrf), "-", |
---|
[704] | 184 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 185 | $ "inst(X)", zsto,zout) |
---|
| 186 | c |
---|
| 187 | call histdef(nid_ins, "rugs_"//clnsurf(nsrf), |
---|
| 188 | $ "rugosite "//clnsurf(nsrf), "-", |
---|
[704] | 189 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 190 | $ "inst(X)", zsto,zout) |
---|
| 191 | CXXX |
---|
| 192 | END DO |
---|
| 193 | CALL histdef(nid_ins, "rugs", "rugosity", "-", |
---|
[704] | 194 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 195 | . "inst(X)", zsto,zout) |
---|
| 196 | |
---|
| 197 | c |
---|
| 198 | CALL histdef(nid_ins, "albs", "Surface albedo", "-", |
---|
[704] | 199 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 200 | . "inst(X)", zsto,zout) |
---|
| 201 | CALL histdef(nid_ins, "albslw", "Surface albedo LW", "-", |
---|
[704] | 202 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 203 | . "inst(X)", zsto,zout) |
---|
| 204 | c |
---|
| 205 | c |
---|
[644] | 206 | cIM cf. AM 081204 BEG |
---|
| 207 | c HBTM2 |
---|
| 208 | CALL histdef(nid_ins, "s_pblh", "Boundary Layer Height", "m", |
---|
[704] | 209 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 210 | . "inst(X)", zsto,zout) |
---|
| 211 | c |
---|
| 212 | CALL histdef(nid_ins, "s_pblt", "T at Boundary Layer Height", |
---|
| 213 | . "K", |
---|
[704] | 214 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 215 | . "inst(X)", zsto,zout) |
---|
| 216 | c |
---|
| 217 | CALL histdef(nid_ins, "s_lcl", "Condensation level", "m", |
---|
[704] | 218 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 219 | . "inst(X)", zsto,zout) |
---|
| 220 | c |
---|
| 221 | CALL histdef(nid_ins, "s_capCL", "Conv avlbl pot ener for |
---|
| 222 | . ABL", "J/m2", |
---|
[704] | 223 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 224 | . "inst(X)", zsto,zout) |
---|
| 225 | c |
---|
| 226 | CALL histdef(nid_ins, "s_oliqCL", "Liq Water in BL", "kg/m2", |
---|
[704] | 227 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 228 | . "inst(X)", zsto,zout) |
---|
| 229 | c |
---|
| 230 | CALL histdef(nid_ins, "s_cteiCL", "Instability criteria |
---|
| 231 | . (ABL)", "K", |
---|
[704] | 232 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 233 | . "inst(X)", zsto,zout) |
---|
| 234 | c |
---|
| 235 | CALL histdef(nid_ins, "s_therm", "Exces du thermique", "K", |
---|
[704] | 236 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 237 | . "inst(X)", zsto,zout) |
---|
| 238 | c |
---|
| 239 | CALL histdef(nid_ins, "s_trmb1", "deep_cape(HBTM2)", "J/m2", |
---|
[704] | 240 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 241 | . "inst(X)", zsto,zout) |
---|
| 242 | c |
---|
| 243 | CALL histdef(nid_ins, "s_trmb2", "inhibition (HBTM2)", "J/m2", |
---|
[704] | 244 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 245 | . "inst(X)", zsto,zout) |
---|
| 246 | c |
---|
| 247 | CALL histdef(nid_ins, "s_trmb3", "Point Omega (HBTM2)", "m", |
---|
[704] | 248 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[644] | 249 | . "inst(X)", zsto,zout) |
---|
| 250 | c |
---|
| 251 | cIM cf. AM 081204 END |
---|
| 252 | c |
---|
[524] | 253 | c Champs 3D: |
---|
| 254 | c |
---|
| 255 | CALL histdef(nid_ins, "temp", "Temperature", "K", |
---|
[704] | 256 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 257 | . "inst(X)", zsto,zout) |
---|
| 258 | c |
---|
| 259 | CALL histdef(nid_ins, "vitu", "Zonal wind", "m/s", |
---|
[704] | 260 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 261 | . "inst(X)", zsto,zout) |
---|
| 262 | c |
---|
| 263 | CALL histdef(nid_ins, "vitv", "Merid wind", "m/s", |
---|
[704] | 264 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 265 | . "inst(X)", zsto,zout) |
---|
| 266 | c |
---|
| 267 | CALL histdef(nid_ins, "geop", "Geopotential height", "m", |
---|
[704] | 268 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 269 | . "inst(X)", zsto,zout) |
---|
| 270 | c |
---|
| 271 | CALL histdef(nid_ins, "pres", "Air pressure", "Pa", |
---|
[704] | 272 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 273 | . "inst(X)", zsto,zout) |
---|
| 274 | c |
---|
| 275 | CALL histdef(nid_ins, "dtvdf", "Boundary-layer dT", "K/s", |
---|
[704] | 276 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 277 | . "inst(X)", zsto,zout) |
---|
| 278 | c |
---|
| 279 | CALL histdef(nid_ins, "dqvdf", "Boundary-layer dQ", "Kg/Kg/s", |
---|
[704] | 280 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 281 | . "inst(X)", zsto,zout) |
---|
| 282 | c |
---|
| 283 | |
---|
| 284 | CALL histend(nid_ins) |
---|
| 285 | c |
---|
| 286 | ndex2d = 0 |
---|
| 287 | ndex3d = 0 |
---|
| 288 | c |
---|
| 289 | ENDIF |
---|