[524] | 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 |
---|
[634] | 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 |
---|
[634] | 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", |
---|
| 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", "-", |
---|
[634] | 34 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 35 | . "once", zsto,zout) |
---|
| 36 | c |
---|
| 37 | CALL histdef(nid_ins, "aire", "Grid area", "-", |
---|
[634] | 38 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 39 | . "once", zsto,zout) |
---|
| 40 | c |
---|
| 41 | c Champs 2D: |
---|
| 42 | c |
---|
| 43 | CALL histdef(nid_ins, "tsol", "Surface Temperature", "K", |
---|
[634] | 44 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 45 | . "inst(X)", zsto,zout) |
---|
| 46 | c |
---|
| 47 | CALL histdef(nid_ins, "t2m", "Temperature 2m", "K", |
---|
[634] | 48 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 49 | . "inst(X)", zsto,zout) |
---|
| 50 | c |
---|
| 51 | CALL histdef(nid_ins, "q2m", "Specific humidity 2m", "Kg/Kg", |
---|
[634] | 52 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 53 | . "inst(X)", zsto,zout) |
---|
| 54 | c |
---|
| 55 | CALL histdef(nid_ins, "u10m", "Vent zonal 10m", "m/s", |
---|
[634] | 56 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 57 | . "inst(X)", zsto,zout) |
---|
| 58 | c |
---|
| 59 | CALL histdef(nid_ins, "v10m", "Vent meridien 10m", "m/s", |
---|
[634] | 60 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 61 | . "inst(X)", zsto,zout) |
---|
| 62 | c |
---|
| 63 | CALL histdef(nid_ins, "psol", "Surface Pressure", "Pa", |
---|
[634] | 64 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 65 | . "inst(X)", zsto,zout) |
---|
| 66 | c |
---|
| 67 | CALL histdef(nid_ins, "plul", "Large-scale Precip.", "mm/day", |
---|
[634] | 68 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 69 | . "inst(X)", zsto,zout) |
---|
| 70 | c |
---|
| 71 | CALL histdef(nid_ins, "pluc", "Convective Precip.", "mm/day", |
---|
[634] | 72 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 73 | . "inst(X)", zsto,zout) |
---|
| 74 | c |
---|
| 75 | CALL histdef(nid_ins, "cdrm", "Momentum drag coef.", "-", |
---|
[634] | 76 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 77 | . "inst(X)", zsto,zout) |
---|
| 78 | c |
---|
| 79 | CALL histdef(nid_ins, "cdrh", "Heat drag coef.", "-", |
---|
[634] | 80 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 81 | . "inst(X)", zsto,zout) |
---|
| 82 | c |
---|
| 83 | CALL histdef(nid_ins, "precip", "Precipitation Totale liq+sol", |
---|
| 84 | . "kg/(s*m2)", |
---|
[634] | 85 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 86 | . "inst(X)", zsto,zout) |
---|
| 87 | c |
---|
| 88 | CALL histdef(nid_ins, "snow", "Snow fall", "kg/(s*m2)", |
---|
[634] | 89 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 90 | . "inst(X)", zsto,zout) |
---|
| 91 | c |
---|
| 92 | CALL histdef(nid_ins, "snow_mass", "Snow Mass", "kg/m2", |
---|
[634] | 93 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 94 | . "inst(X)", zsto,zout) |
---|
| 95 | c |
---|
| 96 | CALL histdef(nid_ins, "topl", "OLR", "W/m2", |
---|
[634] | 97 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 98 | . "inst(X)", zsto,zout) |
---|
| 99 | c |
---|
| 100 | CALL histdef(nid_ins, "evap", "Evaporation", "kg/(s*m2)", |
---|
[634] | 101 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 102 | . "inst(X)", zsto,zout) |
---|
| 103 | c |
---|
| 104 | CALL histdef(nid_ins, "sols", "Solar rad. at surf.", "W/m2", |
---|
[634] | 105 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 106 | . "inst(X)", zsto,zout) |
---|
| 107 | c |
---|
| 108 | CALL histdef(nid_ins, "soll", "IR rad. at surface", "W/m2", |
---|
[634] | 109 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 110 | . "inst(X)", zsto,zout) |
---|
| 111 | c |
---|
| 112 | CALL histdef(nid_ins, "solldown", "Down. IR rad. at surface", |
---|
[634] | 113 | . "W/m2", iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 114 | . "inst(X)", zsto,zout) |
---|
| 115 | c |
---|
| 116 | CALL histdef(nid_ins, "bils", "Surf. total heat flux", "W/m2", |
---|
[634] | 117 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 118 | . "inst(X)", zsto,zout) |
---|
| 119 | c |
---|
| 120 | CALL histdef(nid_ins, "sens", "Sensible heat flux", "W/m2", |
---|
[634] | 121 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 122 | . "inst(X)", zsto,zout) |
---|
| 123 | c |
---|
| 124 | CALL histdef(nid_ins, "fder", "Heat flux derivation", "W/m2", |
---|
[634] | 125 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 126 | . "inst(X)", zsto,zout) |
---|
| 127 | c |
---|
| 128 | CALL histdef(nid_ins, "dtsvdfo", "Boundary-layer dTs(o)", "K/s", |
---|
[634] | 129 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 130 | . "inst(X)", zsto,zout) |
---|
| 131 | c |
---|
| 132 | CALL histdef(nid_ins, "dtsvdft", "Boundary-layer dTs(t)", "K/s", |
---|
[634] | 133 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 134 | . "inst(X)", zsto,zout) |
---|
| 135 | c |
---|
| 136 | CALL histdef(nid_ins, "dtsvdfg", "Boundary-layer dTs(g)", "K/s", |
---|
[634] | 137 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 138 | . "inst(X)", zsto,zout) |
---|
| 139 | c |
---|
| 140 | CALL histdef(nid_ins, "dtsvdfi", "Boundary-layer dTs(g)", "K/s", |
---|
[634] | 141 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 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", |
---|
[634] | 148 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 149 | $ "inst(X)", zsto,zout) |
---|
| 150 | |
---|
| 151 | call histdef(nid_ins, "sens_"//clnsurf(nsrf), |
---|
| 152 | $ "Sensible heat flux "//clnsurf(nsrf), "W/m2", |
---|
[634] | 153 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 154 | $ "inst(X)", zsto,zout) |
---|
| 155 | c |
---|
| 156 | call histdef(nid_ins, "tsol_"//clnsurf(nsrf), |
---|
| 157 | $ "Surface Temperature"//clnsurf(nsrf), "W/m2", |
---|
[634] | 158 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 159 | $ "inst(X)", zsto,zout) |
---|
| 160 | c |
---|
| 161 | call histdef(nid_ins, "lat_"//clnsurf(nsrf), |
---|
| 162 | $ "Latent heat flux "//clnsurf(nsrf), "W/m2", |
---|
[634] | 163 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 164 | $ "inst(X)", zsto,zout) |
---|
| 165 | C |
---|
| 166 | call histdef(nid_ins, "taux_"//clnsurf(nsrf), |
---|
| 167 | $ "Zonal wind stress"//clnsurf(nsrf),"Pa", |
---|
[634] | 168 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 169 | $ "inst(X)", zsto,zout) |
---|
| 170 | |
---|
| 171 | call histdef(nid_ins, "tauy_"//clnsurf(nsrf), |
---|
| 172 | $ "Meridional xind stress "//clnsurf(nsrf), "Pa", |
---|
[634] | 173 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 174 | $ "inst(X)", zsto,zout) |
---|
| 175 | c |
---|
| 176 | call histdef(nid_ins, "albe_"//clnsurf(nsrf), |
---|
| 177 | $ "Albedo "//clnsurf(nsrf), "-", |
---|
[634] | 178 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 179 | $ "inst(X)", zsto,zout) |
---|
| 180 | c |
---|
| 181 | call histdef(nid_ins, "rugs_"//clnsurf(nsrf), |
---|
| 182 | $ "rugosite "//clnsurf(nsrf), "-", |
---|
[634] | 183 | $ iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 184 | $ "inst(X)", zsto,zout) |
---|
| 185 | CXXX |
---|
| 186 | END DO |
---|
| 187 | CALL histdef(nid_ins, "rugs", "rugosity", "-", |
---|
[634] | 188 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 189 | . "inst(X)", zsto,zout) |
---|
| 190 | |
---|
| 191 | c |
---|
| 192 | CALL histdef(nid_ins, "albs", "Surface albedo", "-", |
---|
[634] | 193 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 194 | . "inst(X)", zsto,zout) |
---|
| 195 | CALL histdef(nid_ins, "albslw", "Surface albedo LW", "-", |
---|
[634] | 196 | . iim,jjphy_nb,nhori, 1,1,1, -99, 32, |
---|
[524] | 197 | . "inst(X)", zsto,zout) |
---|
| 198 | c |
---|
| 199 | c |
---|
| 200 | c Champs 3D: |
---|
| 201 | c |
---|
| 202 | CALL histdef(nid_ins, "temp", "Temperature", "K", |
---|
[634] | 203 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 204 | . "inst(X)", zsto,zout) |
---|
| 205 | c |
---|
| 206 | CALL histdef(nid_ins, "vitu", "Zonal wind", "m/s", |
---|
[634] | 207 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 208 | . "inst(X)", zsto,zout) |
---|
| 209 | c |
---|
| 210 | CALL histdef(nid_ins, "vitv", "Merid wind", "m/s", |
---|
[634] | 211 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 212 | . "inst(X)", zsto,zout) |
---|
| 213 | c |
---|
| 214 | CALL histdef(nid_ins, "geop", "Geopotential height", "m", |
---|
[634] | 215 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 216 | . "inst(X)", zsto,zout) |
---|
| 217 | c |
---|
| 218 | CALL histdef(nid_ins, "pres", "Air pressure", "Pa", |
---|
[634] | 219 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 220 | . "inst(X)", zsto,zout) |
---|
| 221 | c |
---|
| 222 | CALL histdef(nid_ins, "dtvdf", "Boundary-layer dT", "K/s", |
---|
[634] | 223 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 224 | . "inst(X)", zsto,zout) |
---|
| 225 | c |
---|
| 226 | CALL histdef(nid_ins, "dqvdf", "Boundary-layer dQ", "Kg/Kg/s", |
---|
[634] | 227 | . iim,jjphy_nb,nhori, klev,1,klev,nvert, 32, |
---|
[524] | 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 |
---|