Ignore:
Timestamp:
03/21/07 18:18:44 (17 years ago)
Author:
pinsard
Message:

replace some print by some report in some .pro #2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/INIT/initncdf.pro

    r232 r236  
    9090  ncfile = isafile(FILENAME = ncfilein, IODIRECTORY = iodir, _extra = ex) 
    9191  if size(ncfile, /type) NE 7 then BEGIN 
    92     print, 'initncdf cancelled' 
     92    ras = report( 'initncdf cancelled') 
    9393    return 
    9494  endif 
     
    139139    zvarid = (where(namevar EQ 'nav_lev' or namevar EQ zaxisname OR namevar EQ 'level' OR namevar EQ 'lev' OR strmid(namevar, 0, 5) EQ 'depth'))[0] 
    140140    if zvarid EQ -1 AND inside.ndims GT 3 then begin 
    141       print, 'initncdf: the zaxis was not found..., check the the use of ZAXISNAME keyword if you whant to find one...' 
     141      ras = report( 'initncdf: the zaxis was not found..., check the the use of ZAXISNAME keyword if you whant to find one...') 
    142142;     stop 
    143143    endif 
     
    230230          tmask = finite(tmask) 
    231231          IF min(tmask) EQ 1 THEN BEGIN 
    232             print, 'missing or nan values not found...' 
     232            ras = report( 'missing or nan values not found...') 
    233233            tmask = -1 
    234234          ENDIF 
Note: See TracChangeset for help on using the changeset viewer.