source: TI02-CSML/trunk/csml/API/__init__.py @ 1487

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/csml/API/__init__.py@1487
Revision 1487, 3.0 KB checked in by domlowe, 14 years ago (diff)

more changes related to module reorganisation

Line 
1''' __init__.py  '''
2
3
4#import element tree and the parser api
5from cElementTree import *
6import csml.parser
7import ops_Dataset
8import ops_AbstractFileExtract
9import ops_ArrayGenerator
10import ops_AbstractFeature
11import ops_PointFeature
12import ops_PointSeriesFeature
13import ops_ProfileFeature
14import ops_ProfileSeriesFeature
15import ops_GridFeature
16import ops_GridSeriesFeature
17import ops_TrajectoryFeature
18
19
20
21
22
23
24
25
26
27#Assign methods  .. hmmm perhaps a loop needed here!!
28
29#Dataset methods:
30csml.parser.Dataset.parse=ops_Dataset.parse
31csml.parser.Dataset.getSecurity=ops_Dataset.getSecurity
32csml.parser.Dataset.getFeatureList=ops_Dataset.getFeatureList
33csml.parser.Dataset.getFeature=ops_Dataset.getFeature
34csml.parser.Dataset.getFileExtract=ops_Dataset.getFileExtract
35
36#AbstractFileExtract methods:
37csml.parser.AbstractFileExtract.getData=ops_AbstractFileExtract.getData
38
39#ArrayGenerator methods:
40csml.parser.ArrayGenerator.getGeneratedValues=ops_ArrayGenerator.getGeneratedValues
41
42#AbstractFeature methods:
43csml.parser.AbstractFeature.testmethod=ops_AbstractFeature.testmethod
44csml.parser.AbstractFeature.getAllowedSubsettings=ops_AbstractFeature.getAllowedSubsettings
45
46#PointFeature methods:
47csml.parser.PointFeature.testmethod=ops_PointFeature.testmethod
48#csml.parser.PointFeature.getAllowedSubsettings=ops_PointFeature.getAllowedSubsettings
49
50#PointSeriesFeature methods:
51csml.parser.PointSeriesFeature.testmethod=ops_PointSeriesFeature.testmethod
52csml.parser.PointSeriesFeature.getDomainReference=ops_PointSeriesFeature.getDomainReference
53#csml.parser.GridSeriesFeature.getDomainComplement=ops_GridSeriesFeature.getDomainComplement
54#csml.parser.GridSeriesFeature.getDomain=ops_GridSeriesFeature.getDomain
55#csml.parser.GridSeriesFeature.subsetToGridSeries=ops_GridSeriesFeature.subsetToGridSeries
56csml.parser.PointSeriesFeature.getAllowedSubsettings=ops_PointSeriesFeature.getAllowedSubsettings
57
58#ProfileFeature methods:
59csml.parser.ProfileFeature.testmethod=ops_ProfileFeature.testmethod
60#ProfileFeature.getAllowedSubsettings=ops_ProfileFeature.getAllowedSubsettings
61
62#ProfileSeriesFeature methods:
63csml.parser.ProfileSeriesFeature.testmethod=ops_ProfileSeriesFeature.testmethod
64#csml.parser.ProfileSeriesFeature.getAllowedSubsettings=ops_ProfileSeriesFeature.getAllowedSubsettings
65
66#GridFeature methods:
67csml.parser.GridFeature.testmethod=ops_GridFeature.testmethod
68#csml.parser.GridFeature.getAllowedSubsettings=ops_GridFeature.getAllowedSubsettings
69
70#GridSeriesFeature methods:
71csml.parser.GridSeriesFeature.testmethod=ops_GridSeriesFeature.testmethod
72csml.parser.GridSeriesFeature.getAllowedSubsettings=ops_GridSeriesFeature.getAllowedSubsettings
73csml.parser.GridSeriesFeature.getDomainReference=ops_GridSeriesFeature.getDomainReference
74csml.parser.GridSeriesFeature.getDomainComplement=ops_GridSeriesFeature.getDomainComplement
75csml.parser.GridSeriesFeature.getDomain=ops_GridSeriesFeature.getDomain
76csml.parser.GridSeriesFeature.subsetToGridSeries=ops_GridSeriesFeature.subsetToGridSeries
77
78#TrajectoryFeature methods:
79csml.parser.TrajectoryFeature.testmethod=ops_TrajectoryFeature.testmethod
Note: See TracBrowser for help on using the repository browser.