Changeset 3190 for DPPP


Ignore:
Timestamp:
09/01/08 13:59:23 (12 years ago)
Author:
mkochan
Message:

Code polishing, created the convertor.Convertor class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csmlwrappers.py

    r3174 r3190  
    1 class GSWrapper(object): 
     1class GridSeriesFeatureWrapper(object): 
    22    ''' A wrapper that has useful methods for interrogating a GridSeries CSML feature ''' 
    33    def __init__(self, gsfeature): 
     
    1010        east = self.feature.boundedBy.upperCorner.CONTENT.split()[0]         
    1111        west = self.feature.boundedBy.lowerCorner.CONTENT.split()[0] 
    12          
    13          
    14         #need to fix 0,360 to -180,180,  
    15         #for now: 
     12 
     13        # [EXTEND] Need to fix 0,360 to -180,180, for now: 
    1614        if east=='360.0': east='180' 
    1715        if west=='0.0': west='-180' 
     
    2826     
    2927    def getTimeBounds(self): 
    30         timebounds='blah' 
     28        timebounds='' 
    3129        return timebounds     
    3230     
Note: See TracChangeset for help on using the changeset viewer.