The online API has all database rows seeded. Please follow the instructions below if you would like to have your own database.
Blogs covering this project can be found on my site:
This Rails/ActiveRecord API is a collection of all hourly/daily/monthly data from every NWS-certified station in the USA. Main information has been pulled into the SQL database accessed by this API, if you would like to pull this information yourself and seed your own database please visit the NCEI site and view the QCLCDdate.zip
links.
-
Run
bundle
to install Ruby gems for the API -
Run
npm install
to install Javascript files for the app -
Database creation
rake db:scrape_stations
pulls all station datarake db:scrape_hourlies
pulls all hourly datarake db:scrape_dailies
pulls all daily datarake db:scrape_monthlies
pulls all monthly data
This React application allows a user to view all data of weather conditions that occurred for any date and location in the US over the past 10 years, including clear weather graphs to help visualize the weather breakdowns.
For any date and location, a user can view the main info for that day, including its daily and weekly data.
The API creates neat JSON data for stations:
Daily data:
And much more, which is easily viewed on the front end.
This application also allows you to view historical data for each year's given date.
With soon-to-be-released trend lines to view how the weather may look like in the future.
- Navigation - Buttons near date to easily go forward/backward a day/year
- Navigation - Clear data button
- Media - queries for #weather tweets/images based on date/location
- Favorites - save your favorite stations for quick loading
- Forecasts - show comparisons to MOS forecasts for that day
- Nearby - show a map with nearby locations to load in data for
- condense massive state of tabbed main components into arrays
- convert app to Redux
- Fix state/station section not loading in information on refresh