Changeset 240 for trunk/SRC/ReadWrite
- Timestamp:
- 03/28/07 14:17:24 (17 years ago)
- Location:
- trunk/SRC/ReadWrite
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ReadWrite/read_grads.pro
r236 r240 179 179 infof2read=fstat(unit) 180 180 if infof2read.size NE filesize then begin 181 ras = report( 'According to '+filename+' the file size must be '+strtrim(filesize, 1)+' instead of '+strtrim(infof2read.size, 1))182 ras = report( 'jpi: '+strtrim(jpi, 2))183 ras = report( 'jpj: '+strtrim(jpj, 2))184 ras = report( 'jpt: '+strtrim(jpt, 2))185 ras = report( 'format size in byte: '+strtrim(fmtsz, 2))186 ras = report( 'number of xy arrays: '+strtrim(nxybloc, 2))181 ras = report(['According to '+filename+' the file size must be '+strtrim(filesize, 1)+' instead of '+strtrim(infof2read.size, 1), $ 182 'jpi: '+strtrim(jpi, 2), $ 183 'jpj: '+strtrim(jpj, 2), $ 184 'jpt: '+strtrim(jpt, 2), $ 185 'format size in byte: '+strtrim(fmtsz, 2), $ 186 'number of xy arrays: '+strtrim(nxybloc, 2)]) 187 187 return, -1 188 188 endif -
trunk/SRC/ReadWrite/readoldopadistcoast.pro
r238 r240 103 103 size = numrec*reclen-toomuch 104 104 if size NE filepamameters.size then begin 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')105 ras = report(['The size of the file is not the expected one!', $ 106 'Check your file or the values of ibloc, jpiglo,', $ 107 'jpjglo, jpk, jpbyt, numrec in this program']) 108 108 return, -1 109 109 endif -
trunk/SRC/ReadWrite/readoldoparestart.pro
r236 r240 145 145 iname_file = findfile(filename) 146 146 if iname_file[0] EQ '' then begin 147 ras = report( 147 ras = report('Bad file name') 148 148 return 149 149 ENDIF ELSE iname_file = iname_file[0] … … 165 165 size = numrec*reclen-toomuch 166 166 if size NE filepamameters.size then begin 167 ras = report( 'The size of the file is not the expected one!')168 ras = report( 'Check your file or the values of ibloc, jpiglo,')169 ras = report( 'jpjglo, jpk, jpbyt, numrec in this program')167 ras = report(['The size of the file is not the expected one!', $ 168 'Check your file or the values of ibloc, jpiglo,', $ 169 'jpjglo, jpk, jpbyt, numrec in this program']) 170 170 return 171 171 endif -
trunk/SRC/ReadWrite/scanctl.pro
r238 r240 273 273 files = strsplit(files,/extract) 274 274 if n_elements(files) NE 2 then begin 275 ras = report( 'Bad definition of the filename. There should be 2 elements:')276 ras = report( 'DEST and 1 filename that may define many files')275 ras = report(['Bad definition of the filename. There should be 2 elements:', $ 276 'DEST and 1 filename that may define many files']) 277 277 stop 278 278 endif
Note: See TracChangeset
for help on using the changeset viewer.