Ignore:
Timestamp:
30/06/08 11:51:21 (11 years ago)
Author:
domlowe
Message:

Global attribtues now preserved except when they are data dependent CF attributes (which need recalculating). So far this is only implemented for gridseries to gridseries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmldataiface.py

    r4019 r4033  
    608608        return highlims 
    609609         
     610    def getGlobalAttributes(self): 
     611        '''return dictionary of 'global' attributes''' 
     612        atts= self.file.attributes.keys() 
     613        globalatts={} 
     614        for i in range(0,len(atts)): 
     615            globalatts[atts[i]]=self.file.attributes[atts[i]] 
     616        return globalatts 
     617         
    610618     
    611619class cdmlInterface(cdunifInterface): 
Note: See TracChangeset for help on using the changeset viewer.