CDL - EVAL: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
(Created page with "== Introduction == The EVAL functions gives the possibility to modfy a measurement and plot the result as a separate line. So theoretically one could plot the Dewpoint as a ca...")
 
To be able to accomplish the calculations, on e needs certain additional functions such as SUM, LN and EXP. The functions which are available to the user are described below. The list will grow as the functions become available.
 
== Equation ==
Each equation is formulated between square brackets and is meant to modify a weather variable. Available to the user are functions, the weather variables and the mathematical operators +, -, * and /. EVAL Equations are more or less formally described as:
 
EVAL '[' Equation ']'
 
Equation := Term [ '+'|'-'|'*'|'/' Term ]
 
Term := '(' Equation ')' | Function '(' Equation ')' | Plotvariable | Number
 
Number := <Integer>[.[<Integer>]]
 
== Functions ==

Navigation menu