Code Monkey home page Code Monkey logo

climate_query_sqlalchemy's Introduction

climate_query_sqlalchemy

Using SQLAlchemy ORM queries, Pandas, and Matplotlib, an analysis was conducted for temperature and precipitation measurements with queries into dates, date ranges, and locations of a climate database. A precipitation analysis was conducted by querying 12 months of precipitation data and plotted within a chart for the date ranges marked by precipitation in Inches. Calculations were conducted for a Station Analysis to inquire on the most active station in the dataset(i.e. the station with the highest number of observations). Using that Station ID, calculations were conducted to find the lowest, highest and average temperature for a years time of station data and plotted within a histogram for temperature ranges on a y-axis of frequency counts.

Based on the queries developed a Flask based API was created for data exploration within the range of dates.

Two alternative Temperature analysis were conducted and are contained within the Bonus folder:

  • The first, Temperature Analysis I compares temperature averages in Hawaii for the months of June in December and runs Statistic tests to determine if there is a meaningful difference in temperature between the two seasons, known that Hawaii is reputed to have mild weather year-round. [Temp_Analysis_I.ipynb]
  • The second Temperature Analysis II, conducts a study looking into the historical data for a selected week of August to compare temperatures in previous years for the week. A calculation for minimum, maximum, and average temperature were queried and plotted into a bar chart. For that same week, a Daily Rainfall Average analysis was conducted and plotted into an area plot to show the daily normals for each date in the week with calculations of a=minimum, maximum, and average precipitation measurements.[Temp_Analysis_II.ipynb]

The [Resources] folder contains two csv files for the data, hawaii_measurements.csv and stations_measurements.csv both join on Station.

climate_query_sqlalchemy's People

Contributors

cspence001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.