source: TI02-CSML/branches/CSML2/API/ops_GridSeriesFeature.py @ 1738

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/branches/CSML2/API/ops_GridSeriesFeature.py@1738
Revision 1738, 720 bytes checked in by domlowe, 14 years ago (diff)

commenting out and fixing v1 imports

Line 
1''' ops_GridSeriesFeature  contains operations for GridSeriesFeatures'''
2
3import csml.parser
4import csml.csmllibs.csmltime
5import csml.csmllibs.csmldocument
6import csml.API.ops_AbstractFeature
7import csml.csmllibs.netCDFWriter
8
9
10def testmethod(self):
11    #print 'testmethod for gridseries feature'
12    return 'testmethod - gridseries'
13
14def getAllowedSubsettings(self):
15    return ['subsetToGridSeries']  #other operations
16
17def getDomain(self):
18    #need some sort of domain
19    pass
20
21def subsetToGridSeries(self,   csmlpath=None, ncpath=None,**kwargs):
22    #MUST be supplied with a CSMLContainer object to store the subsetted feature in
23    return subsettedFeature, pathToSubsetNetCDF
24    #container.attachNetCDFFile(nc)
Note: See TracBrowser for help on using the repository browser.