Ignore:
Timestamp:
27/02/07 09:00:28 (13 years ago)
Author:
domlowe
Message:

parameter added to subsetted feature, plus general tidying and removal of obselete csmlwrapper functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/API/ops_GridSeriesFeature.py

    r2207 r2210  
    8989    cvg.rangeSet=rangeSet 
    9090    cvg.gridSeriesDomain=newdomain     
     91     
     92    #parameter, as before subsetting. 
     93    param = self.parameter 
     94         
     95    #create a stand alone gridseries feature containing this coverage 
    9196    csmlWrap=csml.csmllibs.csmlfeaturewrap.CSMLWrapper() 
    92      
    93     #create a stand alone gridseries feature containing this coverage 
    94     subsettedFeature=csmlWrap.createGridSeriesFeature(value=cvg,featureID=self.id,description=self.description) 
     97    subsettedFeature=csmlWrap.createGridSeriesFeature(value=cvg,parameter=param,featureID=self.id,description=self.description) 
    9598  
    9699     
     
    131134    csmlWrap=csml.csmllibs.csmlfeaturewrap.CSMLWrapper() 
    132135     
     136    #parameter, as before subsetting. 
     137    param = self.parameter 
     138     
    133139    #create a stand alone gridseries feature containing this coverage 
    134     subsettedFeature=csmlWrap.createProfileSeriesFeature(value=cvg,featureID=self.id,description=self.description) 
     140    subsettedFeature=csmlWrap.createProfileSeriesFeature(value=cvg,parameter=param, featureID=self.id,description=self.description) 
    135141  
    136142     
Note: See TracChangeset for help on using the changeset viewer.