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

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

Changed PointSeriesConvertor? into StationConvertor?

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