Ignore:
Timestamp:
04/17/14 10:49:43 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules; typo; dupe empty lines; trailing blanks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ReadWrite/readoldopadistcoast.pro

    r372 r495  
    1818; @returns 
    1919; a structure that contains two elements: tdistcoast (the 
    20 ; distance for the t-points) and fdiscoast (the distance for the 
     20; distance for the t-points) and fdistcoast (the distance for the 
    2121; f-points). 
    2222; 
     
    7575                            , IBLOC=ibloc, JPBYT=jpbyt, NUMREC=numrec 
    7676; 
    77 ; 
    7877  compile_opt idl2, strictarrsubs 
    7978; 
     
    8685   openr,numcost , iname_file, /get_lun, /swap_if_little_endian 
    8786; check the size of the file 
    88    filepamameters = fstat(numcost) 
     87   fileparameters = fstat(numcost) 
    8988; default parameter definition for ORCA2 
    9089   IF keyword_set(ibloc) THEN ibloc = long(ibloc) ELSE ibloc = 4096L 
     
    9796; number of records 
    9897   IF keyword_set(numrec) THEN numrec = long(numrec) ELSE numrec = 3L*jpk 
    99 ; difference between the record length and the size of the contened 
     98; difference between the record length and the size of the contained 
    10099; array. 
    101100   toomuch = reclen-jpiglo*jpjglo*jpbyt 
    102101; expected size computation 
    103102   size = numrec*reclen-toomuch 
    104    if size NE filepamameters.size then begin 
     103   if size NE fileparameters.size then begin 
    105104      ras = report(['The size of the file is not the expected one!', $ 
    106105      'Check your file or the values of ibloc, jpiglo,', $ 
Note: See TracChangeset for help on using the changeset viewer.