Changeset 236 for trunk/SRC/ReadWrite/readoldopadistcoast.pro
- Timestamp:
- 03/21/07 18:18:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ReadWrite/readoldopadistcoast.pro
r232 r236 80 80 iname_file = findfile(filename) 81 81 if iname_file[0] EQ '' then begin 82 print, 'Bad file name'82 ras = report( 'Bad file name') 83 83 return, -1 84 84 ENDIF ELSE iname_file = iname_file[0] … … 103 103 size = numrec*reclen-toomuch 104 104 if size NE filepamameters.size then begin 105 print, 'The size of the file is not the expected one!'106 print, 'Check your file or the values of ibloc, jpiglo,'107 print, 'jpjglo, jpk, jpbyt, numrec in this program'105 ras = report( 'The size of the file is not the expected one!') 106 ras = report( 'Check your file or the values of ibloc, jpiglo,') 107 ras = report( 'jpjglo, jpk, jpbyt, numrec in this program') 108 108 return, -1 109 109 endif … … 116 116 readu, numcost, iimlu, ijmlu, ikmlu 117 117 if iimlu NE jpiglo then begin 118 print, 'iimlu = '+strtrim(iimlu, 1)+' differs from jpiglo ='+strtrim(jpiglo, 1)118 ras = report( 'iimlu = '+strtrim(iimlu, 1)+' differs from jpiglo ='+strtrim(jpiglo, 1)) 119 119 return, -1 120 120 endif 121 121 if ijmlu NE jpjglo then begin 122 print, 'ijmlu = '+strtrim(ijmlu, 1)+' differs from jpjglo ='+strtrim(jpjglo, 1)122 ras = report( 'ijmlu = '+strtrim(ijmlu, 1)+' differs from jpjglo ='+strtrim(jpjglo, 1)) 123 123 return, -1 124 124 endif 125 125 if ikmlu NE jpk then begin 126 print, 'ikmlu = '+strtrim(ikmlu, 1)+' differs from jpk ='+strtrim(jpk, 1)126 ras = report( 'ikmlu = '+strtrim(ikmlu, 1)+' differs from jpk ='+strtrim(jpk, 1)) 127 127 return, -1 128 128 endif
Note: See TracChangeset
for help on using the changeset viewer.