source: nappy/trunk/BUG_FIX_LOG.txt @ 3377

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/nappy/trunk/BUG_FIX_LOG.txt@3394
Revision 3377, 2.0 KB checked in by astephen, 12 years ago (diff)

Moved more stuff out of python package to clean up.

Line 
121/06/05
2
3Fixed bug that would not write DX value (it would default to zero) if only 2
4items in the coordinate variable array. in cdms2na.py - getAxisDefinition
5
6Fixed bug that mixed up the order of coordinate variable arrays in when reading
7NASA Ames files. This would re-order (t,z,y,x) to (t,x,y,z) in the header
8definition only. - fixed with one line in naFile2010.py -
9NAFile2010.readHeader() - self.X.reverse() added. Note that direct NetCDF to
10NASA Ames would not have been affected by this bug.
11
12Changed the way that headers are written so that the entire header is written to
13a StringIO object (string acting as a file). Then split the string to count the
14lines, rewrite line 1 with the correct number of header lines and then write
15that to a real file. Changes made in:
16
17
18naFile1001.py:    def writeHeader(self):
19naFile1001.py:    def writeData(self):
20naFile1010.py:    def writeHeader(self):                                                                #0
21naFile1010.py:    def writeData(self):                                                                  #08
22naFile1020.py:    def writeHeader(self):
23naFile1020.py:    def writeData(self):                                                                      #
24naFile2010.py:    def writeHeader(self):
25naFile2010.py:    def writeData(self):
26naFile2110.py:    def writeHeader(self):
27naFile2110.py:    def writeData(self):
28naFile2160.py:    def writeHeader(self):
29naFile2160.py:    def _writeAuxVariablesHeaderSect
30naFile2160.py:    def writeData(self):
31naFile2310.py:    def writeHeader(self):
32naFile2310.py:    def writeData(self):
33naFile.py:    def _writeCommonHeader(self):
34naFile.py:    def _writeVariablesHeaderSection(sel
35naFile.py:    def _writeAuxVariablesHeaderSection(
36naFile.py:    def _writeComments(self):
37
38
39Added the facility to decide the output format of floats and spaces in NASA Ames
40output - so far only implemented in NAFile2010.py
41
42NEED TO DO THE REST - Note that we should only cater for spacing and float_format
43in the main data arrays, NOT in all the header stuff!!!
Note: See TracBrowser for help on using the repository browser.