Changeset 3271 for TI02-CSML/trunk/csml/API/ops_RaggedSectionFeature.py
- Timestamp:
- 25/01/08 15:13:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/csml/API/ops_RaggedSectionFeature.py
r3096 r3271 1 ''' ops_RaggedSectionFeature contains operations for RaggedSectionFeatures '''1 ''' ops_RaggedSectionFeature contains operations for RaggedSectionFeatures. These methods are attached to GridFeature instances at runtime.''' 2 2 import csml 3 3 import MA,MV,Numeric … … 6 6 7 7 def testmethod(self): 8 ''' test method''' 8 9 print 'testmethod for ragged section feature' 9 10 return 'testmethod 2' 10 11 11 12 def getDomain(self): 12 #returns domain as a dictionary of ordinates {name: [values], ...}13 '''returns domain as a dictionary of ordinates {name: [values], ...}''' 13 14 self.domain={} 14 15 … … 48 49 49 50 def subsetByTime(self, outputdir=None, ncname='pointseries.nc' ,time=None): 51 ''' subset a ragged section by time 52 @param outputdir: name of directory to write data files to 53 @param ncname: name of netcdf file to write out 54 @param time: subset selection by time. 55 @return: subsettedFeature (RaggedSectionFeature) pathToSubsetNetCDF (filepath), descriptor (array descriptor instance) 56 ''' 57 50 58 descriptors=[] 51 59 if outputdir is not None:
Note: See TracChangeset
for help on using the changeset viewer.