Skip to content

React.js application that allows you to view weather data from any location in the USA from the past 10 years.

Notifications You must be signed in to change notification settings

mikemerin/WeatherCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

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:

WeatherCraft Blog part 1

WeatherCraft Blog part 2

WeatherCraftAPI

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 data
    • rake db:scrape_hourlies pulls all hourly data
    • rake db:scrape_dailies pulls all daily data
    • rake db:scrape_monthlies pulls all monthly data

WeatherCraftApp

KNYC 20160123 Front End

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:

Central Park Station

Daily data:

Central Park on January 23, 2016

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.

KNYC 20160123 Front End Historical

With soon-to-be-released trend lines to view how the weather may look like in the future.

Future updates

  • 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

Future bug fixes

  • Fix state/station section not loading in information on refresh

About

React.js application that allows you to view weather data from any location in the USA from the past 10 years.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published