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/LECTURE/GRIB/read_grib.pro

    r232 r236  
    4141  openr, num, gribfile, /GET_LUN, ERROR = err, /SWAP_IF_LITTLE_ENDIAN 
    4242  if err ne 0 then begin 
    43     print, !err_string 
     43    ras = report(!err_string) 
    4444    return, -1 
    4545  ENDIF 
     
    6464  goodvar = where(codes EQ varcode) 
    6565  IF goodvar[0] EQ -1 THEN BEGIN 
    66     print, 'no var code '+strtrim(varcode, 2)+' in the file' 
     66    ras = report( 'no var code '+strtrim(varcode, 2)+' in the file') 
    6767    return, -1 
    6868  ENDIF 
     
    7373  gooddate = where(dates GE date1 AND dates LE date2) 
    7474  IF gooddate[0] EQ -1 THEN BEGIN 
    75     print, 'no dates between '+strtrim(date1, 2)+' and '+strtrim(date2, 2)+' in the file' 
     75    ras = report( 'no dates between '+strtrim(date1, 2)+' and '+strtrim(date2, 2)+' in the file') 
    7676    return, -1 
    7777  ENDIF 
Note: See TracChangeset for help on using the changeset viewer.