You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mikael Nordin
00ad94fbe4
|
5 years ago | |
---|---|---|
LICENSE | 5 years ago | |
README.md | 5 years ago | |
aggregateweather.py | 5 years ago | |
check_rainfall.sh | 5 years ago | |
getweather.py | 5 years ago | |
requirements.txt | 5 years ago | |
weather.ini | 5 years ago | |
weather.sql | 5 years ago |
README.md
weather
Some pythonscripts that get weather data from SMHI and calculates evapotranspiration.
Needs a mysql database:
mysql -e "CREATE DATABASE weather"
mysql -e "CREATE USER 'weather'@'localhost' IDENTIFIED BY 'password'"
mysql -e "GRANT ALL PRIVILEGES ON weather.* TO 'weather'@'localhost'"
mysql weather < weather.sql
vim weather.ini
./getweather.py
./aggregateweather.py