Ignore:
Timestamp:
26/02/07 14:19:17 (13 years ago)
Author:
domlowe
Message:

subsetToProfileSeries working, but not fully complete

File:
1 edited

Legend:

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

    r2105 r2207  
    4848        pass 
    4949             
    50     def addProfileSeriesFeature(self): 
    51         pass 
     50    def createProfileSeriesFeature(self,value, parameter=None,featureID=None,description=None): 
     51        feat=csml.parser.ProfileSeriesFeature() 
     52        if featureID: 
     53            feat.id= featureID 
     54        else: 
     55            feat.id='No ID' 
     56        if description: 
     57            feat.description=description 
     58        else: 
     59            feat.description='No Description' 
     60        feat.value=value 
     61        #feat.parameter=parameter 
     62        return feat 
    5263 
    5364    def createGridSeriesFeature(self,value, parameter=None,featureID=None,description=None): 
Note: See TracChangeset for help on using the changeset viewer.