Outdoor air temperature in Finland: Difference between revisions

From Opasnet
Jump to navigation Jump to search
No edit summary
(updated to match Helsinki energy decision 2015 data needs)
Line 1: Line 1:
{{variable|moderator = Virpi Kollanus}}
{{variable|moderator=Jouni}}
 
[[Category: CLAIH]]
[[Category: CLAIH]]


== Scope ==
== Question ==


Describes the outdoor air temperature in Finland.
What are the outdoor air temperatures in Finland previously, now and in the future in different climate areas?


'''Dimensions and boundaries'''
== Answer ==
*Time
**Year
***2009
***2030
**Resolution
***hourly/daily/monthly?
*Spatial
*World development scenarios
**A2
**A1B
**B1


== Definition ==
== Rationale ==


=== Data ===
Data from Statistics Finland:
* [http://ilmatieteenlaitos.fi/energialaskennan-testivuodet-nyky Current temperature, wind, and solar radiation]
* [http://ilmatieteenlaitos.fi/energialaskennan-testivuodet-tulevaisuuden-ilmastossa Future temperature, wind, and solar radiation]
* The data contains the following parameters: Timestep Year Month Day Time Temperature(°C) Relative_humidity(%) Wind_direction(degrees) Wind_speed(m/s) Direct_normal_solar_radiation(W/m2) Diffuse_horisontal_radiation(W/m2) Global_horisontal_radiation(W/m2)


Description of the data used for obtaining the value of the variable
=== Calculations ===
(e.g. measurement data; mathematical method and its parameters).
Please include references (preferably using the ''<nowiki><ref></ref></nowiki>'' tags)
and links to original data, as appropriate.


=== Causality ===
<rcode embed=0>
## This is code is Op_en2959/temperatures [[Outdoor air temperature in Finland]]
library(OpasnetUtils)


List of upstream variables.
ta <- opbase.data("Op_en2959", subset = "Vantaa") # [[Outdoor air temperature in Finland]]
The variables can be listed used descriptive (free-format) names or unambiguous identifiers
hours <- as.character(ta$Date)
(e.g. [[Analytica]] IDs).


=== Unit ===
hours <- as.POSIXct(strptime(hours, format = "%Y-%b-%d %H:%M:%S"))
hours <- hours + as.difftime(as.character(ta$Time), format = "%H:%M")


Unit in which the result is expressed.
# Adjust temperature data: 2.3 C is the average difference between Kuopio and Helsinki
hours <- data.frame(Time = hours, Result = as.numeric(as.character(ta$Result)) + 2.3)
hours <- hours[!is.na(hours$Result) , ]
hours$Date <- as.POSIXct(strptime(format(hours$Time, "%Y-%m-%d"), format = "%Y-%m-%d"))
hours <- hours[hours$Time >= as.POSIXct("2014-03-01 00:00:00") & hours$Time < as.POSIXct("2015-03-01 00:00:00") , ]


=== Formula ===
days <- aggregate(hours["Result"], hours["Date"], FUN = mean)
days$Temperature <- cut(days$Result, breaks = seq(-30, 33, 3))
temperatures <- Ovariable("temperature", data = aggregate(days["Result"], days["Temperature"], FUN = mean))
temperdays <- Ovariable("temperdays", data = aggregate(days["Result"], days["Temperature"], FUN = length))


Algebra or other explicit methods if possible
objects.store(temperatures, temperdays)
(e.g. [[Analytica]] code between the <nowiki>''<anacode></anacode>''</nowiki> delimiters).
cat("Objects temperature, temperdays stored.\n")


== Result ==
#ggplot(hours, aes(x = Time, y = Result))+geom_line() + geom_point(data = days, aes(x = Date, y = Result, colour = "Daily mean", size = 2))
#ggplot(hours, aes(x = Time, y = Result))+geom_point()
</rcode>


If possible, a numerical expression or distribution.


==See also==
==See also==


*[[CLAIH assessment]]
*[[CLAIH assessment]]
{{Helsinki energy decision}}


==References==
==References==


Will appear here automatically, if cited above using the ''<nowiki><ref></ref></nowiki>'' tags.
<references/>
Additional references can also be listed here.


<references/>
== Related files ==

Revision as of 13:00, 11 October 2015

Question

What are the outdoor air temperatures in Finland previously, now and in the future in different climate areas?

Answer

Rationale

Data from Statistics Finland:

Calculations

+ Show code


See also

Template:Helsinki energy decision

References


Related files