Changeset 170 in lmdz_wrf for branches/LMDZ_WRFmeas_develop/WRFV3


Ignore:
Timestamp:
Aug 12, 2014, 11:22:27 AM (10 years ago)
Author:
lfita
Message:

Adding real x,y coordinates of the wrong value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/LMDZ_WRFmeas_develop/WRFV3/lmdz/abort_gcm.F90

    r169 r170  
    5757#endif
    5858#include "iniprint.h"
     59#include "dimensions.h"
    5960 
    6061!C
     
    7778      CHARACTER(LEN=1), INTENT(IN)                       :: if1c
    7879
     80! Local
     81      INTEGER                                            :: xpt, ypt
     82
    7983      write(lunout,*) 'in abort_gcm'
    8084#ifdef CPP_IOIPSL
     
    8791!c     call histclo(4)
    8892!c     call histclo(5)
     93      ypt = INT(wronggridpt(i,1)/wiim) + 1
     94      xpt = wronggridpt(i,1) - (ypt-1)*wiim
     95
    8996      write(lunout,*) 'Stopping in ', modname
    90       write(lunout,*) 'Stopping at point ', point,' wrong: ',val, if1c, thres
     97      write(lunout,*) 'Stopping at point ', point,'( ',xpt,', ',ypt,' ) wrong: ',    &
     98        val, if1c, thres
    9199      write(lunout,*) 'Reason = ',message
    92100      if (ierr .eq. 0) then
     
    109117#endif
    110118#include "iniprint.h"
     119#include "dimensions.h"
    111120 
    112121!C
     
    129138      CHARACTER(LEN=1), INTENT(IN)                       :: if1c
    130139
     140! Local
     141      INTEGER                                            :: xpt, ypt
     142
    131143      write(lunout,*) 'in abort_gcm'
    132144#ifdef CPP_IOIPSL
     
    139151!c     call histclo(4)
    140152!c     call histclo(5)
     153      ypt = INT(wronggridpt(i,1)/wiim) + 1
     154      xpt = wronggridpt(i,1) - (ypt-1)*wiim
     155
    141156      write(lunout,*) 'Stopping in ', modname
    142       write(lunout,*) 'Stopping at point (klon, klev):', pk, ',', pl,' wrong: ',val, &
    143         if1c, thres
     157      write(lunout,*) 'Stopping at point (klon, klev):', pk, '( ',xpt,', ',ypt,' ) ',&
     158        pl,' wrong: ',val, if1c, thres
    144159      write(lunout,*) 'Reason = ',message
    145160      if (ierr .eq. 0) then
Note: See TracChangeset for help on using the changeset viewer.