Changeset 348 for nappy/trunk/naFile.py


Ignore:
Timestamp:
15/11/04 14:27:32 (15 years ago)
Author:
selatham
Message:

08/11/04 include Sue Latham's changes for bug fixes and new Write methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/naFile.py

    r347 r348  
    77 
    88""" 
     9#   Copyright (C) 2004 NERC DataGrid 
     10#   This software may be distributed under the terms of the 
     11#   Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt 
     12 
     13# 08/05/04 updated by selatham for bug fixes and new write methods 
    914 
    1015# Imports from python standard library 
     
    175180        Writes the auxiliary variables section of the header. 
    176181        Assumes we are at the right point in the file. 
    177         """         
     182        """ 
    178183        self.file.write("%s\n" % self.NAUXV) 
    179184        if self.NAUXV>0: 
    180185            self.file.write(("%s "*self.NAUXV+"\n")  % tuple(self.ASCAL)) 
    181186            self.file.write(("%s "*self.NAUXV+"\n")  % tuple(self.AMISS)) 
    182             self.file.write("%s\n"*self.NV % tuple(self.ANAME)) 
     187            self.file.write("%s\n"*self.NAUXV % tuple(self.ANAME))                      #08/11/04 selatham 
    183188 
    184189    def _readCharAuxVariablesHeaderSection(self): 
Note: See TracChangeset for help on using the changeset viewer.