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) |
---|
Line | |
---|---|
1 | ''' ops_GridSeriesFeature contains operations for GridSeriesFeatures''' |
2 | |
3 | import csml.parser |
4 | import csml.csmllibs.csmltime |
5 | import csml.csmllibs.csmldocument |
6 | import csml.API.ops_AbstractFeature |
7 | import csml.csmllibs.netCDFWriter |
8 | |
9 | |
10 | def testmethod(self): |
11 | #print 'testmethod for gridseries feature' |
12 | return 'testmethod - gridseries' |
13 | |
14 | def getAllowedSubsettings(self): |
15 | return ['subsetToGridSeries'] #other operations |
16 | |
17 | def getDomain(self) |
18 | #need some sort of domain |
19 | |
20 | |
21 | def 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.