Commit 05758f4b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

expr: docu update.

parent a340a5da
......@@ -31,7 +31,7 @@ The following operators are supported:
- & subtraction & x - y & Difference of x and y
* & multiplication & x * y & Product of x and y
/ & division & x / y & Quotient of x and y
\exp & exponentiation & x \exp y & Exponentiates x with y
\exp & exponentiation & x \exp y & Exponentiates x with y
== & equal to & x == y & 1, if x equal to y; else 0
!= & not equal to & x != y & 1, if x not equal to y; else 0
> & greater than & x > y & 1, if x greater than y; else 0
......@@ -184,6 +184,11 @@ STRING File with processing instructions
@EndParameter
@BeginNote
The expr commands sellevel(x,k) and sellevidx(x,k) are only avaiable with @oper{exprf}/@oper{aexprf}.
@EndNote
@BeginExample
Assume an input dataset contains at least the variables 'aprl', 'aprc' and 'ts'.
To create a new variable 'var1' with the sum of 'aprl' and 'aprc' and a variable 'var2'
......
......@@ -1264,7 +1264,7 @@ static const char *EnlargeHelp[] = {
" enlarge,grid ifile ofile",
"",
"DESCRIPTION",
" Enlarge all fields of ifile to a user given grid. Normally only the last ",
" Enlarge all fields of ifile to a user given horizontal grid. Normally only the last ",
" field element is used for the enlargement. If however the input and output",
" grid are regular lon/lat grids, a zonal or meridional enlargement is possible.",
" Zonal enlargement takes place, if the xsize of the input field is 1 and ",
......@@ -1359,7 +1359,7 @@ static const char *ExprHelp[] = {
" - & subtraction & x - y & Difference of x and y ",
" * & multiplication & x * y & Product of x and y ",
" / & division & x / y & Quotient of x and y",
" ^ & exponentiation & x ^y & Exponentiates x with y ",
" ^ & exponentiation & x ^y & Exponentiates x with y ",
" == & equal to & x == y & 1, if x equal to y; else 0",
" != & not equal to & x != y & 1, if x not equal to y; else 0",
" > & greater than & x > y & 1, if x greater than y; else 0",
......@@ -1436,6 +1436,9 @@ static const char *ExprHelp[] = {
"PARAMETER",
" instr STRING Processing instructions (need to be 'quoted' in most cases)",
" filename STRING File with processing instructions",
"",
"NOTE",
" The expr commands sellevel(x,k) and sellevidx(x,k) are only avaiable with exprf/aexprf.",
NULL
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment