Changeset 1350
- Timestamp:
- 02/08/06 12:14:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/parser/parser_extra.py
r1297 r1350 130 130 ordinate.axisValues = arrayDescriptor 131 131 break 132 132 #also times may reference 133 if hasattr(feature.domain, 'domainReference'): 134 if hasattr(feature.domain.domainReference, 'times'): 135 if hasattr(feature.domain.domainReference.times, 'href'): 136 #search descriptors for a match. 137 for arrayDescriptor in self.dataset.arrayDescriptors: 138 if arrayDescriptor.id == feature.domain.domainReference.times.href[1:]: #remove '#' 139 #remove times xlink attribute and replace with Object. 140 feature.domain.domainReference.times.timePositions= arrayDescriptor 141 break 142 143 #sys.exit() 133 144 #uom may reference UnitDefinitions. Replace these too 134 145 if hasattr(self.dataset,'arrayDescriptors'):
Note: See TracChangeset
for help on using the changeset viewer.