Ignore:
Timestamp:
12/02/08 11:53:25 (12 years ago)
Author:
astephen
Message:

Changed spacer to delimiter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/contrib/aircraft/old_na_to_nc_with_aircraft.py

    r3349 r3383  
    4949 
    5050def cdms2na(ncfile, na_file_names, naVars={}, variables=None, nFilesOnly="no",  
    51             rule=None, ffi="automatic", spacer="    ", float_format="%g",  
     51            rule=None, ffi="automatic", delimiter="    ", float_format="%g",  
    5252            rules=None, sizeLimit=None): 
    5353    """ 
     
    210210                newnamePlusLetter="%s-%.3d.na" % (newname[:-3], ivol) 
    211211                fileList.append(newnamePlusLetter) 
    212                 general.openNAFile(newnamePlusLetter, 'w', NADictCopy, spacer=spacer, float_format=float_format) 
     212                general.openNAFile(newnamePlusLetter, 'w', NADictCopy, delimiter=delimiter, float_format=float_format) 
    213213                msg="\nOutput files split on size limit: %s\nFilename used: %s" % (sizeLimit, newnamePlusLetter) 
    214214                print msg 
     
    219219 
    220220        else:            
    221             general.openNAFile(newname, 'w', builtNADict, spacer=spacer, float_format=float_format) 
     221            general.openNAFile(newname, 'w', builtNADict, delimiter=delimiter, float_format=float_format) 
    222222 
    223223        msg="\nWrote the following variables:"+"\n\t"+("\n\t".join(i[1][0])) 
Note: See TracChangeset for help on using the changeset viewer.