Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

astuyve/wx2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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!

About

Weather in d3js (again).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published