Changeset 2520


Ignore:
Timestamp:
29/05/07 15:07:38 (12 years ago)
Author:
domlowe
Message:

fixed list bug in csmlfeaturetypes.py

Location:
TI02-CSML/trunk/csml
Files:
2 edited

Legend:

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

    r2409 r2520  
    1 #!/usr/bin/env python 
     1    #!/usr/bin/env python 
    22#************************************************************************************** 
    33#csmlfeaturetypes.py 
     
    251251            else: 
    252252                sd =csml.parser.CSMLStorageDescriptor() 
    253                 sd.descriptors=aa 
     253                sd.descriptors=[aa] 
    254254                setattr(self.ds_element, 'storageDescriptor',sd) 
    255255            va=csml.parser.ValueArray() 
  • TI02-CSML/trunk/csml/testfiles/gridseries/subset.py

    r2500 r2520  
    4343subsetDictionary={} 
    4444subsetDictionary['time']=('2794-12-1T0:0:0.0', '2804-12-1T0:0:0.0') 
    45 subsetDictionary['latitude']=(-90,60) 
     45#subsetDictionary['latitude']=(-90,60) 
     46#subsetDictionary['longitude']=(-31.1265,30.258) 
     47subsetDictionary['latitude']=(-5,5) 
    4648subsetDictionary['longitude']=(-31.1265,30.258) 
    47  
    4849#request subsetted data from features (can set paths here) and add to container 
    4950#subset a feature 
Note: See TracChangeset for help on using the changeset viewer.