CDL - EVAL: Difference between revisions

m
The SUM function produces the sum of the Plotvariable from the first of january to the 31 of december after which it resets to zero. So it is a cyclic function!
When applied to the temperature this leads to the Growing Degree Days, when applied to rain it leads to the yearly rainfall until the current day. For other variables it may have meaning or it may have not.
 
At the moment there can be only one sum function per chart.
 
The following example shows the daily average temperature modified to the Growing Degree Days with an offset of 5 °C:
 
[[Category:CumulusUtils]]
 
=== LN ===
The LN function provides the [https://en.wikipedia.org/wiki/Natural_logarithm Natural Logarithm] (the logarithm on the basis of the Euler number e).
It is implemented as the JavaScript function ''Math.log''.
 
=== EXP ==
The EXP function provides the power function for the base of the Euler number e.
It is implemented as the JavaScript ''Math.exp''.