Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.3 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.3 KB

##Winds Aloft (Again...) D3JS, Flask, Beautiful Soup, Jquery and Sqlite3

##Who it matters for Well I like to skydive, but anyone who needs to know wind speeds could find some use in this.

##Why it is useful The World Meteorological Organization nomenclature specifies the wind speed, direction, and temperature in a silly way. I scrape it from their site 4 times daily (when it is updated), parse it, then display it.

##Where is the data coming from NOAA makes it available here It covers the contintental US.

##Why are you so bad at javascript? Sucking at something is the first step towards actually being kinda good at something.

###How do I get started? You will need to install Python ~>2.7.x, pip, and virtualenv

  • git clone https://github.com/astuyve/wx2.git
  • cd wx2
  • virtualenv venv (Create a new virtual environment)
  • source ./venv/bin/activate (Start environment)
  • pip install -r requirements.txt (Install dependencies)
  • python db_scrape.py (Run data scraper to populate Sqlite database)
  • python app.py (Start the Flask web server on localhost:5000)

###Getting fresh data Run the scraper. python db_scrape.py

###How can I help? Fork it and make some changes then send me a pull request!