read_data.py is a simple python script that reads weather data from a json file (see weather_data.json as an example) and plots the average temperature over days for a given city.
Since read_data.py runs in a isolated docker container you need to install Docker in your system.
Please follow the instructions from the Install Docker Engine official documentation.
git clone git@github.com:p3dr0migue1/cfweather.gitcd cfweathersudo docker build -t cfweather .- in the same directory as
read_data.pycreate a directory named 'output' andcdinto it sudo docker run --rm -v $PWD:/cfcore/output -u bob cfweather python /cfcore/read_data.py
You should now have all the graphs and html template generated by read_data.py in the directory output.