Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
24333d49
Commit
24333d49
authored
Nov 20, 2015
by
Uwe Schulzweida
Browse files
atan: activate docu
parent
f41d9430
Changes
4
Hide whitespace changes
Inline
Side-by-side
OPERATORS
View file @
24333d49
...
...
@@ -186,6 +186,7 @@ Operator catalog:
Math tan Tangent
Math asin Arc sine
Math acos Arc cosine
Math atan Arc tangent
Math reci Reciprocal value
Arithc addc Add a constant
Arithc subc Subtract a constant
...
...
doc/tex/mod/Math
View file @
24333d49
...
...
@@ -5,7 +5,7 @@
@Section = Arithmetic
@Class = Arithmetic
@Arguments = ifile ofile
@Operators = abs int nint pow sqr sqrt exp ln log10 sin cos tan asin acos reci
@Operators = abs int nint pow sqr sqrt exp ln log10 sin cos tan asin acos
atan
reci
@BeginDescription
This module contains some standard mathematical functions.
...
...
src/modules.c
View file @
24333d49
...
...
@@ -276,7 +276,7 @@ void *Maggraph(void *argument);
#define AdisitOperators {"adisit", "adipot"}
#define AfterburnerOperators {
"afterburner",
"after"}
#define AfterburnerOperators {"after"}
#define ArithOperators {"add", "sub", "mul", "div", "min", "max", "atan2"}
#define ArithcOperators {"addc", "subc", "mulc", "divc", "mod"}
#define ArithdaysOperators {"muldpm", "divdpm", "muldpy", "divdpy", "muldoy"}
...
...
@@ -335,7 +335,7 @@ void *Maggraph(void *argument);
#define HarmonicOperators {"harmonic"}
#define HistogramOperators {"histcount", "histsum", "histmean", "histfreq"}
#define ImportamsrOperators {"import_amsr"}
#define ImportbinaryOperators {"import_binary"
, "import_grads"
}
#define ImportbinaryOperators {"import_binary"}
#define ImportcmsafOperators {"import_cmsaf"}
#define ImportobsOperators {"import_obs"}
#define InfoOperators {"info", "infop", "infon", "infoc", "map"}
...
...
@@ -824,45 +824,45 @@ static int NumModules = sizeof(Modules) / sizeof(Modules[0]);
static
const
char
*
opalias
[][
2
]
=
{
{
"a
nomaly"
,
"ymonsub"
},
{
"
deltap_fl
"
,
"deltap"
},
{
"d
iffv
"
,
"diffn"
},
{
"
covar0
"
,
"timcovar"
},
{
"covar0
r
"
,
"fld
covar"
},
{
"
gathe
r"
,
"collgrid"
},
{
"g
eopotheight"
,
"gheight"
},
{
"g
gstat"
,
"info"
},
{
"ggstat
s
"
,
"
s
info"
},
{
"g
lobavg
"
,
"
fldavg"
},
{
"
infos
"
,
"sinfo"
},
{
"i
nfov"
,
"i
nfon"
},
{
"in
tgrid
"
,
"intgridbil"
},
{
"
log
"
,
"ln"
},
{
"
lmean
"
,
"ymonmean"
},
{
"l
mmean
"
,
"ymonmean"
},
{
"lm
avg
"
,
"ymon
avg"
},
{
"lm
std
"
,
"ymon
std"
},
{
"l
smean
"
,
"y
seasmean"
},
{
"
chvar
"
,
"
chname"
},
{
"
ncode
"
,
"npar"
},
{
"
n
var"
,
"npar"
},
{
"
outputkey"
,
"outputtab"
},
{
"var
des
"
,
"pardes"
},
{
"
delvar
"
,
"delname"
},
{
"
read_e5ml"
,
"
import_e5ml
"
},
{
"
remapcon1"
,
"remaplaf"
},
{
"remap
dis
1"
,
"remap
nn"
},
{
"
scatter"
,
"
distgrid"
},
{
"s
howva
r"
,
"
showname"
},
{
"s
elgridname"
,
"s
elgrid"
},
{
"sel
var"
,
"sel
name"
},
{
"setvar"
,
"setname"
},
{
"setpartabv"
,
"setpartabn"
},
{
"sinfov"
,
"sinfon"
},
{
"sortvar"
,
"sortname"
},
{
"splitvar"
,
"splitname"
},
{
"sort"
,
"timsort"
},
{
"eca_r1mm"
,
"eca_rr1"
},
{
"a
fterburner"
,
"after"
},
{
"
anomaly
"
,
"ymonsub"
},
{
"d
eltap_fl
"
,
"deltap"
},
{
"
diffv
"
,
"diffn"
},
{
"covar0"
,
"tim
covar"
},
{
"
covar0
r"
,
"fldcovar"
},
{
"g
ather"
,
"collgrid"
},
{
"g
eopotheight"
,
"gheight"
},
{
"ggstat"
,
"info"
},
{
"g
gstats
"
,
"
sinfo"
},
{
"
globavg
"
,
"fldavg"
},
{
"i
mport_grads"
,
"i
mport_binary"
},
{
"in
fos
"
,
"sinfo"
},
{
"
infov
"
,
"infon"
},
{
"
intgrid
"
,
"intgridbil"
},
{
"l
og
"
,
"ln"
},
{
"lm
ean
"
,
"ymon
mean"
},
{
"lm
mean
"
,
"ymon
mean"
},
{
"l
mavg
"
,
"y
monavg"
},
{
"
lmstd
"
,
"
ymonstd"
},
{
"
lsmean
"
,
"yseasmean"
},
{
"
ch
var"
,
"chname"
},
{
"
ncode"
,
"npar"
},
{
"
n
var"
,
"npar"
},
{
"
outputkey
"
,
"outputtab"
},
{
"
vardes"
,
"
pardes
"
},
{
"
delvar"
,
"delname"
},
{
"remap
con
1"
,
"remap
laf"
},
{
"
remapdis1"
,
"
remapnn"
},
{
"s
catte
r"
,
"
distgrid"
},
{
"s
howvar"
,
"s
howname"
},
{
"sel
gridname"
,
"sel
grid"
},
{
"setvar"
,
"setname"
},
{
"setpartabv"
,
"setpartabn"
},
{
"sinfov"
,
"sinfon"
},
{
"sortvar"
,
"sortname"
},
{
"splitvar"
,
"splitname"
},
{
"sort"
,
"timsort"
},
{
"eca_r1mm"
,
"eca_rr1"
},
{
"fpressure"
,
"pressure_fl"
},
{
"hpressure"
,
"pressure_hl"
},
{
"ensrkhistspace"
,
"ensrkhist_space"
},
...
...
src/operator_help.h
View file @
24333d49
...
...
@@ -1357,7 +1357,7 @@ static const char *ExprHelp[] = {
static
const
char
*
MathHelp
[]
=
{
"NAME"
,
" abs, int, nint, pow, sqr, sqrt, exp, ln, log10, sin, cos, tan, asin, acos, "
,
" reci - Mathematical functions"
,
"
atan,
reci - Mathematical functions"
,
""
,
"SYNOPSIS"
,
" <operator> ifile ofile"
,
...
...
@@ -1395,6 +1395,8 @@ static const char *MathHelp[] = {
" o(t,x) = asin(i(t,x))"
,
" acos Arc cosine"
,
" o(t,x) = acos(i(t,x))"
,
" atan Arc tangent"
,
" o(t,x) = atan(i(t,x))"
,
" reci Reciprocal value"
,
" o(t,x) = 1 / i(t,x)"
,
NULL
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment