Commit 2de9882e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

renamed smooth to smoothpoint

parent a9ba5fcd
......@@ -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 SMOOTHP = cdoOperatorAdd("smoothpoint", 0, 0, NULL);
int SMOOTH9 = cdoOperatorAdd("smooth9", 0, 0, NULL);
int operatorID = cdoOperatorID();
if ( operatorID == SMOOTH )
if ( operatorID == SMOOTHP )
{
int pargc = operatorArgc();
......@@ -414,7 +414,7 @@ void *Smooth(void *argument)
for ( int i = 0; i < xnsmooth; ++i )
{
if ( operatorID == SMOOTH )
if ( operatorID == SMOOTHP )
smooth(gridID, missval, array1, array2, &nmiss, xmax_points, xsearch_radius, xweight0, xweightInf);
else if ( operatorID == SMOOTH9 )
smooth9(gridID, missval, array1, array2, &nmiss);
......
......@@ -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 {"smoothpoint", "smooth9"}
#define SortOperators {"sortcode", "sortparam", "sortname", "sortlevel"}
#define SorttimestampOperators {"sorttimestamp", "sorttaxis"}
#define SpecinfoOperators {"specinfo"}
......
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