Charts - Temperature charts: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
#Warmer Days - Plotting the number of days with a temperature higher than 25 °C as stacked column in classes of 5 degree width
#Warmer Days - Plotting the number of days with a temperature higher than 25 °C as stacked column in classes of 5 degree width
#Heatmap - Showing a heatmap chart for all data available
#Heatmap - Showing a heatmap chart for all data available
Below you will find an example image of each chart and an explanation of the origin of the numbers
Below you will find an example image of each chart and an explanation of the origin of the numbers.
 
For the calculations the standard C# LINQ-functions Min, Max and Avg are used. For the standard deviation this [https://stackoverflow.com/questions/2253874/standard-deviation-in-linq LINQ-extension] is used with a modification for a minimum number of observations required of 2, if less the StdDev returns 0 (zero).


== Monthly Temperature ==
== Monthly Temperature ==
Line 24: Line 26:
[[File:Year Temperature Statistics per Month.jpg|thumb|right|Year Temperature Statistics per Month]]
[[File:Year Temperature Statistics per Month.jpg|thumb|right|Year Temperature Statistics per Month]]
This chart is similar to the previous one, only now the the user can select a specific month through a row of buttons on top of the chart.
This chart is similar to the previous one, only now the the user can select a specific month through a row of buttons on top of the chart.
== Warmer Days ==
[[File:Warmer Days.jpg|thumb|right|Warmer Days]]
This chart show a stacked column per year showing the number of days with a temperature larger than or equal to 25 °C. If the user use Fahrenheit, the boundaries are converted to the equivalent value in Fahrenheit, so 25 °C becomes automatically 77 °F. The classes used are 25-30 °C, 30-35 °C, 35-40 °C and 40+ °C. If climate changes faster then we think, another class will be added.
The colours of this chart are hardcoded and cannot be changed. Moving the mouse around in the column sections provides the specific values in the tooltips.
== Heatmap ==
[[File:Heatmap.jpg|thumb|right|Heatmap]]
This chart shows the Heatmap for all days in the Dayfile.
When the number of years is larger than the number set in parameter ''HeatmapNumberOfYearsPerPage'', the chart is split in pages with only ''HeatmapNumberOfYearsPerPage'' years shown. At the same time buttons appear on top the chart (see image) to give the user the possibility to browser the subsequent years or show all years if he wishes.


[[Category:CumulusUtils]]
[[Category:CumulusUtils]]

Navigation menu