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

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

identifying code that needs changing for csml v2 and putting stubs in where possible. More detailed notes in v2notes.txt file

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   
20
21def subsetToGridSeries(self,   csmlpath=None, ncpath=None,**kwargs):
22    #MUST be supplied with a CSMLContainer object to store the subsetted feature in
23   
24    return subsettedFeature, pathToSubsetNetCDF
25    #container.attachNetCDFFile(nc)
Note: See TracBrowser for help on using the repository browser.