In [5]:
import numpy as np #numpy was imported as test 

import pandas as pd #pandas was import for compadibility with data

from pandas import set_option
set_option('display.max_rows',20) #limits rows show in table

The interconnectivity of weather variables. Does one lead them all?

Living in a coastal rainforest environment (Squamish, BC) means changing weather is a daily occurrence. Considering, Squamish has a rainforest climate, precipitation is a major factor in climate data. Also being located at the end of a sound allows Squamish to have strange weather patterns not usually found in other locations. The valley and the mountains surrounding the town account for the tunneling of stronger winds. In all, Squamish and the surrounding area have a very special environment. This makes the study of climate and weather in this area very interesting. Quest University weather station, located in the field study area, has the capacity of recording temperature (°C), relative humidity (%), precipitation (mm), wind direction (ø), wind speed  (m/s), and gust speed (m/s).  The aspect of weather that I would like to study is the correlation between measured variables and how one may drive/effect another.  Even though others have already answered this question, I believe it is important to see if my data set will come to have a similar conclusion. 

I hypothesize that specific groups of variables will be connected. The variables that I predict are related are wind speed and gust speed, Wind direction and time of day, humidity and precipitation. The last variable of temperature will have strong effects on all the variables either increasing or decreasing there effect. 

I plan to test my hypothesis by creating a computer program that will decipher trends between all variables and the selected pairs of variables that I predict are related. I will visually demonstrate this with graphical representations of variables reacting to each other highlighting specific areas of interest. However, I will also seek to find numerical or mathematical evidence of my theories.  My approach of studying only new data and not using historical data over many years will bring some inaccuracies for freak weather days (Rajagopalan , 1999). This will allow us to specifically see the reaction of variables. Considering I’m not looking at historical trends but at specific relationships of variables I do not think that historical data will influence my outcome and therefore will not hurt my scientific integrity if not used. 

My expectation of testing my hypothesis is that we will see relationships between variables. Although, I believe we will find some relationship between two variables I do not think it will be a simple linear relationship.  

 If I am able to find direct relationships between two variables it will allow future researchers to only collect data on one variable. They would then be able to use mathematical analysis or a computer program/ simulation to reverse the collected data and find the other variables(Richardson,1984) . This would make it cheaper and easier for data collection. Also this would make that data collected half experimental based and the other half simulator based data. This data creation/collection is already preformed by many different weather simulators.  

This research could lead us to more correlations between different variables in weather. Also this study can lead us to create a smaller weather simulator for this specific area. The creation of weather simulators is actually very common because area specific simulators are much more accurate then ones meant for global use (Kilsby, 2007). This is because the surface type and environment around the system influences the variables dramatically and directly. 


REFERENCES:

Kilsby, C., Jones, P., Burton, A., Ford, A., Fowler, H., Harpham, C., . . . Wilby, R. (2007). A daily weather generator for use in climate change studies. Environmental Modelling & Software, 1705-1719. Retrieved November 1, 2015.

Rajagopalan, B., & Lall, U. (1999). A k -nearest-neighbor simulator for daily precipitation and other weather variables. Water Resources Research Water Resour. Res., 3089-3101. Retrieved November 1, 2015

Richardson, C., & Writght, D. (1984). A Model for Generating Daily Weather Variables. WGEN. Retrieved November 1, 2015


In [8]:
weather_data_quest = pd.read_csv('QuestU_Remote_Weather_Station_oct312015.csv') #import data
weather_data_quest #shows data


Out[8]:
"Plot Title: QuestU_Remote_Weather_Station pre c-ston"
# Date Time, GMT-07:00 Rain, mm (LGR S/N: 10666706, SEN S/N: 10573345, LBL: Rain) Temp, °C (LGR S/N: 10666706, SEN S/N: 10658214, LBL: Temp) RH, % (LGR S/N: 10666706, SEN S/N: 10658214, LBL: RH) Wind Direction, ø (LGR S/N: 10666706, SEN S/N: 10663457, LBL: Wind Direct.) Wind Speed, m/s (LGR S/N: 10666706, SEN S/N: 10663496, LBL: Wind Speed) Gust Speed, m/s (LGR S/N: 10666706, SEN S/N: 1...
1 09/23/15 09:04:59 AM NaN 12.243 84.600 64.6 0.76 6.30
2 09/23/15 09:19:59 AM 0.00 12.316 84.400 92.7 0.00 0.76
3 09/23/15 09:34:59 AM 0.00 12.340 84.700 1.4 0.00 1.51
4 09/23/15 09:49:59 AM 0.00 12.074 84.600 7.0 0.00 1.26
5 09/23/15 10:04:59 AM 0.00 12.413 86.300 325.7 0.00 1.26
6 09/23/15 10:19:59 AM 0.00 13.522 81.400 346.8 0.00 1.76
7 09/23/15 10:34:59 AM 0.00 14.361 75.500 307.5 0.25 2.27
8 09/23/15 10:49:59 AM 0.00 14.074 74.800 355.2 0.25 2.01
9 09/23/15 11:04:59 AM 0.00 14.385 74.500 25.3 0.00 1.51
... ... ... ... ... ... ... ...
3660 10/31/15 11:49:59 AM 0.00 12.847 98.400 139.0 0.00 0.76
3661 10/31/15 12:04:59 PM 0.00 13.064 96.600 74.4 0.00 2.27
3662 10/31/15 12:19:59 PM 0.00 13.329 92.800 290.6 0.25 2.01
3663 10/31/15 12:34:59 PM 0.00 13.353 92.900 223.2 0.00 1.26
3664 10/31/15 12:49:59 PM 0.00 13.762 91.000 168.5 0.00 0.76
3665 10/31/15 01:04:59 PM 0.00 13.281 91.500 88.4 0.00 0.50
3666 10/31/15 01:19:59 PM 0.20 12.654 94.500 99.7 0.00 1.51
3667 10/31/15 01:34:59 PM 0.00 12.122 97.900 233.1 0.00 1.76
3668 10/31/15 01:49:59 PM 0.20 11.880 98.200 203.6 0.00 2.52
3669 10/31/15 02:04:59 PM 0.40 11.734 98.100 140.4 0.00 0.50

3670 rows × 1 columns


In [ ]:


In [ ]: