Example #1
0
 def test_isobar_part(self):
     chart = WeatherChart()
     ip = ET.fromstring(self.isobar_part)
     result = chart.isobar_part(ip)
     print geojson.dumps(result)
     pass
Example #2
0
    def test_high_part(self):
        chart = WeatherChart()
        cp = ET.fromstring(self.high_part)
        result = chart.center_part(cp)
#        print geojson.dumps(result)
        pass
Example #3
0
 def test_parse(self):
     chart = WeatherChart()
     geo = chart.parse('./data/70_58_01_130523_VZSA50.xml')