Skip to content

p3dr0migue1/cfweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

read_data

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.

Requirements

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.

Usage

  1. git clone [email protected]:p3dr0migue1/cfweather.git
  2. cd cfweather
  3. sudo docker build -t cfweather .
  4. in the same directory as read_data.py create a directory named 'output' and cd into it
  5. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages