Performing Analysis Of Meteorological Data

Is there any change due in weather to global warming in of Finland by using Data analytics?

Image for post
Image for post
Effect of global warming on weather.

In this blog we will discuss about a data_analysis which is based on the following datasets.

One type of data that’s easier to find on the net is Weather data. Many sites provide historical data on many meteorological parameters such as pressure, temperature, humidity, wind_speed, visibility, etc.

My goal in this Internship (of data analysis) is to transform the raw data into information and then convert it into knowledge. We will be performing some basic tasks to perform our analysis such as data cleaning ,data normalizing ,testing the hypothesis and finally inferring certain information.

Today our aim will be to perform Data Analysis on a Meteorological Dataset which you can find here.

The Dataset has hourly temperature recorded for last 10 years starting from 2006–04–01 to 2016–09–09 . It corresponds to Finland, a country in the Northern Europe.

“Has the Apparent temperature and humidity compared monthly across 10 years of the data indicate an increase due to Global warming” following is the Hypothesis for the analysis.

The Hypothesis means we need to find whether the average Apparent temperature for the month of a month say April starting from 2006 to 2016 and the average humidity for the same period have increased or not. This monthly analysis has to be done for all 12 months over the 10 year period. So you are basically resampling your data from hourly to monthly, then comparing the same month over the 10 year period. Support your analysis by appropriate visualizations using matplotlib and / or seaborn library.

The Null Hypothesis H0 is “Has the Apparent temperature and humidity compared monthly across 10 years of the data indicate an increase due to Global warming.”

The H0 means we need to find whether the average Apparent temperature for the month of a month say April starting from 2006 to 2016 and the average humidity for the same period have increased or not.

Image for post
Image for post
import Libraries.
Image for post
Image for post
dataset
Image for post
Image for post
datatype
Image for post
Image for post
Looking at the dataset
Image for post
Image for post
Dropping the unwanted columns.

For better visualization we need to change the datatype of the ‘Formatted Date’ column to datetime and set this column as a index in our dataset.

Image for post
Image for post
Converting the Timezone to +00:00 UTC

Plot of variation in Apparent Temperature and Humidity with time.

> Firstly we will plot the whole dataset for all months.

Image for post
Image for post
Graph for all months.
Image for post
Image for post
Graph for month of April

Plotting the variation in Apparent Temperature and Average Humidity of each month over the years.

Image for post
Image for post
Barplot.
Image for post
Image for post
graph of year.
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

From this analysis we infer that there are either sharp rise in temperatures or sharp falls over the 10 yrs. Hence we can conclude that Global Warming has caused a major difference and unreliability in temperature predictability also taking humidity into consideration we can say that it has almost remained same throughout the past years.

I am thankful to mentors at https://internship.suvenconsultants.com for providing awesome problem statements and giving many of us a Coding Internship Experience. Thank you www.suvenconsultants.com.

Written by

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store