import sys
sys.path.append('..')
import Wind
import time
wind_speed = Wind.WindSpeed()
wind_dir = Wind.WindDirection()
for i in range(10):
    time.sleep(5)
    data = wind_speed.get_all_data()
    units = data['units']
    ispeed = data['speed']
    aspeed = data['average']
    gust = data['gust']
    print('Current speed: {0:6.2f} {1}'.format(ispeed, units))
    print('Average speed: {0:6.2f} {1}'.format(aspeed, units))
    print('Gust: {0:6.2f} {1}'.format(gust, units))
    data = wind_dir.get_wind_direction()
    print('Direction {0:5.1f}°, {1}'.format(data[0], data[1]))

bc7e5bb836ace2224d742451e93b4d072eb2b50b
<mask token>

<mask token>
sys.path.append('..')
<mask token>
for i in range(10):
    time.sleep(5)
    data = wind_speed.get_all_data()
    units = data['units']
    ispeed = data['speed']
    aspeed = data['average']
    gust = data['gust']
    print('Current speed: {0:6.2f} {1}'.format(ispeed, units))
    print('Average speed: {0:6.2f} {1}'.format(aspeed, units))
    print('Gust: {0:6.2f} {1}'.format(gust, units))
    data = wind_dir.get_wind_direction()
    print('Direction {0:5.1f}°, {1}'.format(data[0], data[1]))

<mask token>
sys.path.append('..')
<mask token>
wind_speed = Wind.WindSpeed()
wind_dir = Wind.WindDirection()
for i in range(10):
    time.sleep(5)
    data = wind_speed.get_all_data()
    units = data['units']
    ispeed = data['speed']
    aspeed = data['average']
    gust = data['gust']
    print('Current speed: {0:6.2f} {1}'.format(ispeed, units))
    print('Average speed: {0:6.2f} {1}'.format(aspeed, units))
    print('Gust: {0:6.2f} {1}'.format(gust, units))
    data = wind_dir.get_wind_direction()
    print('Direction {0:5.1f}°, {1}'.format(data[0], data[1]))

import sys
sys.path.append('..')
import Wind
import time
wind_speed = Wind.WindSpeed()
wind_dir = Wind.WindDirection()
for i in range(10):
    time.sleep(5)
    data = wind_speed.get_all_data()
    units = data['units']
    ispeed = data['speed']
    aspeed = data['average']
    gust = data['gust']
    print('Current speed: {0:6.2f} {1}'.format(ispeed, units))
    print('Average speed: {0:6.2f} {1}'.format(aspeed, units))
    print('Gust: {0:6.2f} {1}'.format(gust, units))
    data = wind_dir.get_wind_direction()
    print('Direction {0:5.1f}°, {1}'.format(data[0], data[1]))
