source: DPPP/kml/csml2kml/python/csml2kml/tests/testStationConvertor.py @ 3362

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/DPPP/kml/csml2kml/python/csml2kml/tests/testStationConvertor.py@3362
Revision 3362, 417 bytes checked in by mkochan, 13 years ago (diff)

Made StationConvertor? class use the Station.py module.

Line 
1from StationConvertor import StationConvertor
2from cElementTree import ElementTree
3
4# Load the configuration XML element
5configTree = ElementTree()
6configTree.parse('../../../testdata/midas.csml2kml.conf.xml')
7configRoot = configTree.getroot()
8config = configRoot.find('CSMLStationPointSeries')
9
10# Do the conversion
11convertor = StationConvertor(config, '../../../output/exampleps_stations.3.xml')
12convertor.convert()
Note: See TracBrowser for help on using the repository browser.