Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
2de9882e
Commit
2de9882e
authored
Mar 23, 2016
by
Uwe Schulzweida
Browse files
renamed smooth to smoothpoint
parent
a9ba5fcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Smooth.c
View file @
2de9882e
...
...
@@ -313,12 +313,12 @@ void *Smooth(void *argument)
cdoInitialize
(
argument
);
int
SMOOTH
=
cdoOperatorAdd
(
"smooth"
,
0
,
0
,
NULL
);
int
SMOOTH9
=
cdoOperatorAdd
(
"smooth9"
,
0
,
0
,
NULL
);
int
SMOOTH
P
=
cdoOperatorAdd
(
"smooth
point
"
,
0
,
0
,
NULL
);
int
SMOOTH9
=
cdoOperatorAdd
(
"smooth9"
,
0
,
0
,
NULL
);
int
operatorID
=
cdoOperatorID
();
if
(
operatorID
==
SMOOTH
)
if
(
operatorID
==
SMOOTH
P
)
{
int
pargc
=
operatorArgc
();
...
...
@@ -414,7 +414,7 @@ void *Smooth(void *argument)
for
(
int
i
=
0
;
i
<
xnsmooth
;
++
i
)
{
if
(
operatorID
==
SMOOTH
)
if
(
operatorID
==
SMOOTH
P
)
smooth
(
gridID
,
missval
,
array1
,
array2
,
&
nmiss
,
xmax_points
,
xsearch_radius
,
xweight0
,
xweightInf
);
else
if
(
operatorID
==
SMOOTH9
)
smooth9
(
gridID
,
missval
,
array1
,
array2
,
&
nmiss
);
...
...
src/modules.c
View file @
2de9882e
...
...
@@ -420,7 +420,7 @@ void *Maggraph(void *argument);
#define ShowinfoOperators {"showyear", "showmon", "showdate", "showtime", "showtimestamp", "showcode", "showunit", \
"showparam", "showname", "showstdname", "showlevel", "showltype", "showformat"}
#define SinfoOperators {"sinfo", "sinfop", "sinfon", "sinfoc", "seinfo", "seinfop", "seinfon", "seinfoc"}
#define SmoothOperators {"smooth", "smooth9"}
#define SmoothOperators {"smooth
point
", "smooth9"}
#define SortOperators {"sortcode", "sortparam", "sortname", "sortlevel"}
#define SorttimestampOperators {"sorttimestamp", "sorttaxis"}
#define SpecinfoOperators {"specinfo"}
...
...
Write
Preview
Markdown
is supported
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