Ignore:
Timestamp:
05/04/07 14:31:07 (13 years ago)
Author:
domlowe
Message:

various fixes to subsetting output

File:
1 edited

Legend:

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

    r2361 r2385  
    145145        go.gridAxesSpanned=csml.parser.csString(key) 
    146146        go.coordAxisValues = csml.parser.SpatialOrTemporalPositionList() 
     147        go.coordAxisValues.id=csml.csmllibs.csmlextra.getRandomID() 
    147148        if key==crs.axes[crs.timeAxis]: 
    148149            go.coordAxisValues.timePositionList=csml.parser.csString(domainSubset[key]) 
     
    151152        else: 
    152153            go.coordAxisValues.coordinateList=csml.parser.csString(domainSubset[key]) #self.domain.key placeholder 
     154        seqRule= csml.parser.SequenceRule() 
     155        seqRule.CONTENT='Linear' 
     156        seqRule.axisOrder='+1'  #TO DO. Work this out. 
     157        go.sequenceRule=seqRule 
    153158        ords.append(go) #go needs a few more properties setting 
    154159    cTT.gridOrdinates=ords 
Note: See TracChangeset for help on using the changeset viewer.