Charts - Rain charts: Difference between revisions

m
Line 26: Line 26:
The chart shows the monthly values of total rain that month for each year. The years have a different colour according to [[Charts#Colours|the colour scheme]]. The number of series directly visible is governed by the parameter [[Charts#MaxNrOfSeriesVisibileInGraph|MaxNrOfSeriesVisibleInGraphs]].
The chart shows the monthly values of total rain that month for each year. The years have a different colour according to [[Charts#Colours|the colour scheme]]. The number of series directly visible is governed by the parameter [[Charts#MaxNrOfSeriesVisibileInGraph|MaxNrOfSeriesVisibleInGraphs]].


If the value of the inifile parameter [[Charts#UseNormalRainReference|UseNormalRainReference]] is ''Normal'' the user sees a black line representing the normal average values of total rainfall. When UseNormalRainReference is ''StationAverage'' the user sees a grey line representing the station average values of total rainfall. And obviously when the parameter value is ''Both'', the user sees both lines. In addition to the Station Average Value line, the estimator '''s''' for the [https://en.wikipedia.org/wiki/Standard_deviation standard deviation] <math>\boldsymbol{\sigma}</math> belonging to that line, is always shown as a grey surface with the width of '''s''' for a specific month.<br>
If the value of the inifile parameter [[Charts#UseNormalRainReference|UseNormalRainReference]] is ''Normal'' the user sees a black line representing the normal average values of total rainfall. When UseNormalRainReference is ''StationAverage'' the user sees a grey line representing the station average values of total rainfall. And obviously when the parameter value is ''Both'', the user sees both lines. In addition to the Station Average Value line, the estimator '''s''' for the [https://en.wikipedia.org/wiki/Standard_deviation standard deviation] <math>\boldsymbol{\sigma}</math> belonging to that line, is always shown as a grey surface with the width of '''s''' for a specific month.
 
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).


== Yearly Rain statistics ==
== Yearly Rain statistics ==