source: TI02-CSML/trunk/parser/API/ops_AbstractFileExtract.py @ 1032

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/parser/API/ops_AbstractFileExtract.py@1040
Revision 1032, 498 bytes checked in by domlowe, 14 years ago (diff)

domainreference + domaincomplement working in api

Line 
1''' ops_AbstractFileExtract  contains operations for AbstractFileExtracts'''
2from API import *
3
4def testmethod(self):
5    print 'testmethod for AbstractFileExtract feature'
6    return 'testmethod AbstractFileExtract'
7
8
9def getData(self):
10    #should handle setAxis or setVariable as cdms netcdf model
11    DI = csmldataiface.DataInterface()
12    DI=DI.getUnknownInterfaceType(self.fileName)
13    DI.openFile(self.fileName)
14    DI.setAxis(self.variableName)
15    data=DI.getDataForAxis()
16    return data
Note: See TracBrowser for help on using the repository browser.