Commit dffb62dc authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Removed comments

parent 5c1bd21d
......@@ -281,7 +281,6 @@ static const char HURR_LONGNAME2[] = "Greatest number of consecutive hurricane
static void addWithFrequency(std::vector<std::string> &params, const char *operatorName)
{
//copy everything from params except the first
KVList kvlist;
if (kvlist.parseArguments(1, params) != 0) cdoAbort("Argument parse error!");
auto kv = kvlist.search("freq");
......@@ -309,7 +308,6 @@ void *EcaCfd(void *process)
if ( operatorArgc() > 1 )
{
auto params = cdoGetOperArgv();
//copy everything from params except the first
params = std::vector<std::string>(params.begin() + 1, params.end());
addWithFrequency(params, "eca_cfd");
}
......@@ -361,7 +359,6 @@ void *EcaCsu(void *process)
if ( operatorArgc() > 2 )
{
auto params = cdoGetOperArgv();
//copy everything from params except the first
params = std::vector<std::string>(params.begin() + 2, params.end());
addWithFrequency(params, "eca_csu");
}
......@@ -718,7 +715,6 @@ void *EcaId(void *process)
if ( operatorArgc() > 0 )
{
auto params = cdoGetOperArgv();
//copy everything from params except the first
addWithFrequency(params, "eca_id");
}
else
......
Supports Markdown
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