Ignore:
Timestamp:
15/08/05 10:09:38 (15 years ago)
Author:
astephen
Message:

Latest version - for compatibility with web service. Includes multiple file
output on conversion from NetCDF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/naFile1001.py

    r349 r366  
    3838        """         
    3939        self._writeCommonHeader() 
    40         self.file.write(("%s "*self.NIV+"\n") % tuple(self.DX)) 
    41         self.file.write("%s\n"*self.NIV % tuple(self.XNAME)) 
     40        self.header.write(("%s "*self.NIV+"\n") % tuple(self.DX)) 
     41        self.header.write("%s\n"*self.NIV % tuple(self.XNAME)) 
    4242        self._writeVariablesHeaderSection() 
    4343        self._writeComments() 
     44        lines=self._fixHeaderLength(self.header) 
     45        self.file.writelines(lines) 
    4446 
    4547    def _setupArrays(self): 
Note: See TracChangeset for help on using the changeset viewer.