Changeset 59 in lmdz_wrf
- Timestamp:
- Jul 23, 2014, 5:58:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas/WRFV3/lmdz/diagphy_mod.F90
r58 r59 269 269 IMPLICIT NONE 270 270 271 #include "dimensions.h" 272 271 273 INTEGER, INTENT(IN) :: sizev 272 274 CHARACTER(LEN=50), INTENT(IN) :: funcn, varn … … 276 278 277 279 ! Local 278 INTEGER :: i, wrongi 280 INTEGER :: i, wrongi, xpt, ypt 279 281 CHARACTER(LEN=50) :: errmsg 280 282 LOGICAL :: found … … 306 308 PRINT *,TRIM(errmsg) 307 309 PRINT *," at '" // TRIM(funcn) // "' variable '" //TRIM(varn)// & 308 "' is wrong in Nvalues= ",wrongi,' at i value___'310 "' is wrong in Nvalues= ",wrongi,' at i (x, y) value___' 309 311 DO i=1,wrongi 310 PRINT *,wronggridpt(i), wrongvalues(i) 312 ypt = INT(wronggridpt(i,1)/wiim) + 1 313 xpt = wronggridpt(i,1) - (ypt-1)*wiim 314 PRINT *,wronggridpt(i), '(',xpt,', ',ypt,')', wrongvalues(i) 311 315 END DO 312 316 IF (stoprun) THEN … … 326 330 IMPLICIT NONE 327 331 332 #include "dimensions.h" 333 328 334 INTEGER, INTENT(IN) :: sizev, zsize 329 335 CHARACTER(LEN=50), INTENT(IN) :: funcn, varn … … 333 339 334 340 ! Local 335 INTEGER :: i, k, wrongi 341 INTEGER :: i, k, wrongi, xpt, ypt 336 342 CHARACTER(LEN=50) :: errmsg 337 343 LOGICAL :: found … … 367 373 PRINT *,TRIM(errmsg) 368 374 PRINT *," at '" // TRIM(funcn) // "' variable '" //TRIM(varn)// & 369 "' is wrong in Nvalues= ",wrongi,' at i k value___'375 "' is wrong in Nvalues= ",wrongi,' at i (x,y) k value___' 370 376 DO i=1,wrongi 371 PRINT *,wronggridpt(i,1), wronggridpt(i,2), wrongvalues(i) 377 ypt = INT(wronggridpt(i,1)/wiim) + 1 378 xpt = wronggridpt(i,1) - (ypt-1)*wiim 379 PRINT *,wronggridpt(i,1), '(',xpt,', ',ypt,')', wronggridpt(i,2), wrongvalues(i) 372 380 END DO 373 381 IF (stoprun) THEN
Note: See TracChangeset
for help on using the changeset viewer.