Charts - Wind charts: Difference between revisions

m
Line 76: Line 76:
With the ''WindrunClassWidth'' the following is calculated:
With the ''WindrunClassWidth'' the following is calculated:
#The maximum windrun which ever occurred on the station is determined (call it ''MaxWindRun'')
#The maximum windrun which ever occurred on the station is determined (call it ''MaxWindRun'')
#The number of windrun classes is calculated as: <math>\left (\frac{MaxWindRun}{WindrunClassWidth}\ + 1 \right)</math>
#The <math>number of windrun classes</math> is calculated as: <math>\left (\frac{MaxWindRun}{WindrunClassWidth}\ + 1 \right)</math>
#Then all classes are defined as <math>class[ i ] = WindrunClassWidth + i \times WindrunClassWidth</math>
#Then all classes are defined as (Loop over the number of windrun classes as calculated above) <math>class[ i ] = WindrunClassWidth + i \times WindrunClassWidth</math>


Then the these classes are used for the Windrun chart.
These classes are used for the Windrun chart.


=== YADR Report class configuration ===
=== YADR Report class configuration ===
A similar procedure is used for the legend under the YADR Windrun report with the difference that here always 13 classes are used. Reason is that the extreme classes are easier to see in this colour accented text report than it is in the percental Windrun chart.
A similar procedure is used for the legend under the YADR Windrun report with the difference that here always 13 classes are used. Reason is that the extreme classes are easier to see in this colour accented text report than it is in the percental Windrun chart.