source: DPPP/kml/csml2kml/python/csml2kml/tests/testPointSeriesConvertor.py @ 3303

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

Added tests directory to csml2kml

Line 
1import PointSeriesConvertor
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('CSML2KMLConfig/CSMLStationPointSeries')
9
10# Do the conversion
11convertor = PointSeriesConvertor(config, '../../output/exampleps.3.xml')
Note: See TracBrowser for help on using the repository browser.