Ignore:
Timestamp:
03/28/07 14:17:24 (17 years ago)
Author:
pinsard
Message:

replace some print by some report in some .pro (continuation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/HOPE/findlineandpointtype.pro

    r231 r240  
    8585         if (jpi NE 128 and jpi NE 256) $ 
    8686          OR (jpj NE 121 AND jpj NE 121*2 AND jpj NE 195 AND jpj NE 195*2) then begin 
    87             print,  'CASE NOT coded...' 
     87            ras = report('CASE NOT coded...') 
    8888            stop 
    8989         ENDIF 
     
    106106                        END 
    107107                        ELSE:BEGIN 
    108                            print,  'CASE NOT coded...' 
     108                           ras = report('CASE NOT coded...') 
    109109                           stop 
    110110                        END 
     
    134134                        END 
    135135                        ELSE:BEGIN 
    136                            print,  'CASE NOT coded...' 
     136                           ras = report('CASE NOT coded...') 
    137137                           stop 
    138138                        END 
     
    151151                  1.4:vargrid = 'U' 
    152152                  ELSE:BEGIN 
    153                      print,  'CASE NOT coded...' 
     153                     ras = report('CASE NOT coded...') 
    154154                     stop 
    155155                  END 
     
    162162                  2.8:vargrid = 'U' 
    163163                  ELSE:BEGIN 
    164                      print,  'CASE NOT coded...' 
     164                     ras = report('CASE NOT coded...') 
    165165                     stop 
    166166                  END 
     
    168168            END 
    169169            ELSE:BEGIN 
    170                print,  'CASE NOT coded...' 
     170               ras = report('CASE NOT coded...') 
    171171               stop 
    172172            END 
     
    175175      'xz':BEGIN 
    176176         if (jpi NE 128 and jpi NE 256) then begin 
    177             print,  'CASE NOT coded...' 
     177            ras = report('CASE NOT coded...') 
    178178            stop 
    179179         ENDIF 
     
    188188               test = (where(lat EQ yaxis[0]))[0] 
    189189               if test EQ -1 then begin 
    190                   print,  'CASE NOT coded...' 
     190                  ras = report('CASE NOT coded...') 
    191191                  stop 
    192192               endif 
     
    206206                  test = (where(lat EQ yaxis[0]))[0] 
    207207                  if test EQ -1 then begin 
    208                      print,  'CASE NOT coded...' 
     208                     ras = report('CASE NOT coded...') 
    209209                     stop 
    210210                  endif 
     
    230230      'yz':BEGIN 
    231231         if (jpj NE 121 AND jpj NE 195) then begin 
    232             print,  'CASE NOT coded...' 
     232            ras= report('CASE NOT coded...') 
    233233            stop 
    234234         ENDIF 
     
    243243                  (where(lonTodd+xstep EQ xaxis[0]))[0] NE -1:vargrid = 'U' 
    244244                  ELSE:BEGIN 
    245                      print,  'CASE NOT coded...' 
     245                     ras = report('CASE NOT coded...') 
    246246                     stop 
    247247                  END 
     
    256256                  (where(lonTodd-xstep EQ xaxis[0]))[0] NE -1:vargrid = 'T' 
    257257                  ELSE:BEGIN 
    258                      print,  'CASE NOT coded...' 
     258                     ras = report('CASE NOT coded...') 
    259259                     stop 
    260260                  END 
     
    269269                  (where(lonTodd+xstep EQ xaxis[0]))[0] NE -1:vargrid = 'U' 
    270270                  ELSE:BEGIN 
    271                      print,  'CASE NOT coded...' 
     271                     ras = report('CASE NOT coded...') 
    272272                     stop 
    273273                  END 
     
    282282                  (where(lonTodd-xstep EQ xaxis[0]))[0] NE -1:vargrid = 'T' 
    283283                  ELSE:BEGIN 
    284                      print,  'CASE NOT coded...' 
     284                     ras = report('CASE NOT coded...') 
    285285                     stop 
    286286                  END 
     
    288288            END 
    289289            ELSE:BEGIN 
    290                print,  'CASE NOT coded...' 
     290               ras = report('CASE NOT coded...') 
    291291               stop 
    292292            END 
     
    295295      END 
    296296      else:BEGIN 
    297          print, 'case not coded' 
     297         ras = report('CASE NOT coded...') 
    298298         stop 
    299299      END 
Note: See TracChangeset for help on using the changeset viewer.