This repository contains a tool to convert raw weather data from OpenMateo into a format that can be easily imported into Power BI.
- This script creates the folders needed to store the data in the correct format.
- This script contains the functions needed to convert the raw data.
- It works by separating raw
patch#.csvfile into cleanlocation#.csvandweather-data-no-location#.csvfiles.
- This script helps to clean the location data.
- There appeared to be an issue with the location coordinates, coming from OpenMateo, since it supported only the first 2 decimal places.
- This script fixes the issue by creating a new file with the correct coordinates from
uk-train-stations.csv.
- This script stitches corrected-location data to the weather data.
- So, it creates a final
FINAL-Weather.csvfile which then can be imported easily into PowerBI
- This script generates the URLs for the forecast raw data.
- It then creates a
FINAL-URLS.csvfile which contains the URLs for the forecast data.
- This script downloads the forecast data from the URLs in
FINAL-URLS.csv.
- Works same as
B1_Weather_Helper.pybut for the forecast data.
- Works same as
B2_Location_Helper.pybut for the forecast data.
- Works same as
B3_Mapper.pybut for the forecast data.