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