beanumber / macleish

An R package to download and process weather and spatial data from the MacLeish Field Station in Whately, MA
2 stars 6 forks source link

investigate correlation between readings at different weather stations #10

Open beanumber opened 8 years ago

beanumber commented 8 years ago

The correlations between the temperature readings is very high.

temp <- whately_2015 %>%
  inner_join(orchard_2015, by = c("when" = "when"))
cor(Temp_C_Avg.x ~ Temp_C_Avg.y, data = temp)
[1] 0.9608951

Once we solve #9 and #8 it will probably be even higher.

But it also appears that the Whately station has higher readings for higher temperatures. Why? Is it because it's closer to the Sun?

xyplot(Temp_C_Avg.x ~ Temp_C_Avg.y, data = temp)
ladd(panel.abline(0,1))

Is this a real effect? Can we model it?

liwencong1995 commented 8 years ago

The correlations between the temperature readings is 0.9608951; the correlation coefficients between variables of wind measurements and humidity readings are around 0.7. Since one of the weather station is much taller than the other one, it is not surprising that the two weather stations have similar but different readings for most of the variables.

However, the correlation coefficients between the pressure readings and rainfall readings are 0.21156019 and 0.129286628.