Changeset 766 for LMDZ4/trunk/libf/phylmd/initphysto.F
- Timestamp:
- Jun 4, 2007, 4:34:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/initphysto.F
r541 r766 7 7 . (infile, 8 8 . rlon, rlat, tstep,t_ops,t_wrt,nq,fileid) 9 9 10 USE dimphy 10 11 USE IOIPSL 11 12 USE iophy 12 13 implicit none 13 14 … … 51 52 #include "indicesol.h" 52 53 #include "control.h" 53 #include "dimphy.h"54 cym#include "dimphy.h" 54 55 55 56 C Arguments … … 91 92 tau0 = 0 92 93 93 CALL gr_fi_ecrit(1,klon,iim,jjm+1,rlon,zx_lon)94 DO i = 1, iim95 zx_lon(i,1) = rlon(i+1)96 zx_lon(i,jjm+1) = rlon(i+1)97 ENDDO98 CALL gr_fi_ecrit(1,klon,iim,jjm+1,rlat,zx_lat)99 100 101 call histbeg (infile, iim, zx_lon(:,1), jjm+1, zx_lat(1,:),102 . 1, iim, 1, jjm+1,103 . tau0, zjulian, tstep, nhoriid, fileid) 104 94 cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,rlon,zx_lon) 95 cym DO i = 1, iim 96 cym zx_lon(i,1) = rlon(i+1) 97 cym zx_lon(i,jjm+1) = rlon(i+1) 98 cym ENDDO 99 cym CALL gr_fi_ecrit(1,klon,iim,jjm+1,rlat,zx_lat) 100 101 102 call histbeg_phy(infile,tau0, zjulian, tstep, 103 . nhoriid, fileid) 104 105 c$OMP MASTER 105 106 C Appel a histvert pour la grille verticale 106 107 C … … 108 109 nivsigs(l)=float(l) 109 110 ENDDO 110 111 111 112 write(*,*) 'avant histvert ds initphysto' 112 113 … … 120 121 121 122 CALL histdef(fileid, "phis", "Surface geop. height", "-", 122 . iim,jj m+1,nhoriid, 1,1,1, -99, 32,123 . iim,jjphy_nb,nhoriid, 1,1,1, -99, 32, 123 124 . "once", t_ops, t_wrt) 124 125 c … … 126 127 127 128 CALL histdef(fileid, "aire", "Grid area", "-", 128 . iim,jj m+1,nhoriid, 1,1,1, -99, 32,129 . iim,jjphy_nb,nhoriid, 1,1,1, -99, 32, 129 130 . "once", t_ops, t_wrt) 130 131 write(*,*) 'apres aire ds initphysto' 131 132 133 cym Attention dtime et istphy ne sont pas �rit ---> a �iminer ? 132 134 CALL histdef(fileid, "dtime", "tps phys ", "s", 133 135 . 1,1,nhoriid, 1,1,1, -99, 32, … … 141 143 C 142 144 call histdef(fileid, 't', 'Temperature', 'K', 143 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,145 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 144 146 . 32, 'inst(X)', t_ops, t_wrt) 145 147 write(*,*) 'apres t ds initphysto' … … 147 149 C 148 150 call histdef(fileid, 'mfu', 'flx m. pan. mt', 'kg m/s', 149 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,151 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 150 152 . 32, 'inst(X)', t_ops, t_wrt) 151 153 write(*,*) 'apres mfu ds initphysto' … … 154 156 C 155 157 call histdef(fileid, 'mfd', 'flx m. pan. des', 'kg m/s', 156 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,158 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 157 159 . 32, 'inst(X)', t_ops, t_wrt) 158 160 … … 161 163 C 162 164 call histdef(fileid, 'en_u', 'flx ent pan mt', 'kg m/s', 163 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,165 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 164 166 . 32, 'inst(X)', t_ops, t_wrt) 165 167 write(*,*) 'apres en_u ds initphysto' … … 168 170 C 169 171 call histdef(fileid, 'de_u', 'flx det pan mt', 'kg m/s', 170 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,172 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 171 173 . 32, 'inst(X)', t_ops, t_wrt) 172 174 … … 175 177 C 176 178 call histdef(fileid, 'en_d', 'flx ent pan dt', 'kg m/s', 177 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,179 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 178 180 . 32, 'inst(X)', t_ops, t_wrt) 179 181 C … … 183 185 C 184 186 call histdef(fileid, 'de_d', 'flx det pan dt', 'kg m/s', 185 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,187 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 186 188 . 32, 'inst(X)', t_ops, t_wrt) 187 189 … … 189 191 190 192 call histdef(fileid, "coefh", " ", " ", 191 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,193 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 192 194 . 32, "inst(X)", t_ops, t_wrt) 193 195 194 196 c abderrahmane le 16 09 02 195 197 call histdef(fileid, "fm_th", " ", " ", 196 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,198 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 197 199 . 32, "inst(X)", t_ops, t_wrt) 198 200 199 201 call histdef(fileid, "en_th", " ", " ", 200 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,202 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 201 203 . 32, "inst(X)", t_ops, t_wrt) 202 204 c fin aj … … 205 207 206 208 call histdef(fileid, 'frac_impa', ' ', ' ', 207 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,209 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 208 210 . 32, 'inst(X)', t_ops, t_wrt) 209 211 210 212 call histdef(fileid, 'frac_nucl', ' ', ' ', 211 . iim, jj m+1, nhoriid, llm, 1, llm, zvertiid,213 . iim, jjphy_nb, nhoriid, llm, 1, llm, zvertiid, 212 214 . 32, 'inst(X)', t_ops, t_wrt) 213 215 … … 216 218 c 217 219 CALL histdef(fileid, "pyu1", " ", " ", 218 . iim,jj m+1,nhoriid, 1,1,1, -99, 32,220 . iim,jjphy_nb,nhoriid, 1,1,1, -99, 32, 219 221 . "inst(X)", t_ops, t_wrt) 220 222 … … 223 225 c 224 226 CALL histdef(fileid, "pyv1", " ", " ", 225 . iim,jj m+1,nhoriid, 1,1,1, -99, 32,227 . iim,jjphy_nb,nhoriid, 1,1,1, -99, 32, 226 228 . "inst(X)", t_ops, t_wrt) 227 229 … … 231 233 c 232 234 call histdef(fileid, "ftsol1", " ", " ", 233 . iim, jj m+1, nhoriid, 1, 1,1, -99,32,235 . iim, jjphy_nb, nhoriid, 1, 1,1, -99,32, 234 236 . "inst(X)", t_ops, t_wrt) 235 237 … … 238 240 c 239 241 call histdef(fileid, "ftsol2", " ", " ", 240 . iim, jj m+1, nhoriid, 1, 1,1, -99,32,242 . iim, jjphy_nb, nhoriid, 1, 1,1, -99,32, 241 243 . "inst(X)", t_ops, t_wrt) 242 244 … … 245 247 c 246 248 call histdef(fileid, "ftsol3", " ", " ", 247 . iim, jj m+1, nhoriid, 1, 1,1, -99,249 . iim, jjphy_nb, nhoriid, 1, 1,1, -99, 248 250 . 32, "inst(X)", t_ops, t_wrt) 249 251 … … 252 254 c 253 255 call histdef(fileid, "ftsol4", " ", " ", 254 . iim, jj m+1, nhoriid, 1, 1,1, -99,256 . iim, jjphy_nb, nhoriid, 1, 1,1, -99, 255 257 . 32, "inst(X)", t_ops, t_wrt) 256 258 … … 259 261 c 260 262 call histdef(fileid, "rain", " ", " ", 261 . iim, jj m+1, nhoriid, 1, 1,1, -99,263 . iim, jjphy_nb, nhoriid, 1, 1,1, -99, 262 264 . 32, "inst(X)", t_ops, t_wrt) 263 265 … … 266 268 c 267 269 call histdef(fileid, "psrf1", " ", " ", 268 . iim, jj m+1, nhoriid, 1, 1, 1, -99,270 . iim, jjphy_nb, nhoriid, 1, 1, 1, -99, 269 271 . 32, "inst(X)", t_ops, t_wrt) 270 272 … … 273 275 c 274 276 call histdef(fileid, "psrf2", " ", " ", 275 . iim, jj m+1, nhoriid, 1, 1, 1, -99,277 . iim, jjphy_nb, nhoriid, 1, 1, 1, -99, 276 278 . 32, "inst(X)", t_ops, t_wrt) 277 279 … … 280 282 c 281 283 call histdef(fileid, "psrf3", " ", " ", 282 . iim, jj m+1, nhoriid, 1, 1, 1, -99,284 . iim, jjphy_nb, nhoriid, 1, 1, 1, -99, 283 285 . 32, "inst(X)", t_ops, t_wrt) 284 286 … … 287 289 c 288 290 call histdef(fileid, "psrf4", " ", " ", 289 . iim, jj m+1, nhoriid, 1, 1, 1, -99,291 . iim, jjphy_nb, nhoriid, 1, 1, 1, -99, 290 292 . 32, "inst(X)", t_ops, t_wrt) 291 293 … … 295 297 c if (ok_sync) call histsync(fileid) 296 298 if (ok_sync) call histsync 297 299 c$OMP END MASTER 298 300 299 301
Note: See TracChangeset
for help on using the changeset viewer.