Commit 8ef59a63 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

eofcoeff: error if combined with other operators.

parent 1203e59f
...@@ -41,6 +41,9 @@ void *Eofcoeff(void * argument) ...@@ -41,6 +41,9 @@ void *Eofcoeff(void * argument)
int nrecs, nmiss; int nrecs, nmiss;
cdoInitialize(argument); cdoInitialize(argument);
if ( processSelf() != 0 ) cdoAbort("This operator can't be combined with other operators!");
cdoOperatorAdd("eofcoeff", 0, 0, NULL); cdoOperatorAdd("eofcoeff", 0, 0, NULL);
int streamID1 = streamOpenRead(cdoStreamName(0)); int streamID1 = streamOpenRead(cdoStreamName(0));
......
...@@ -40,6 +40,9 @@ void *Eofcoeff3d(void * argument) ...@@ -40,6 +40,9 @@ void *Eofcoeff3d(void * argument)
int nrecs, nmiss; int nrecs, nmiss;
cdoInitialize(argument); cdoInitialize(argument);
if ( processSelf() != 0 ) cdoAbort("This operator can't be combined with other operators!");
cdoOperatorAdd("eofcoeff3d", 0, 0, NULL); cdoOperatorAdd("eofcoeff3d", 0, 0, NULL);
int streamID1 = streamOpenRead(cdoStreamName(0)); int streamID1 = streamOpenRead(cdoStreamName(0));
......
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