Skip to content
Snippets Groups Projects
Commit 3135890b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Call cdoDefineGrid() before open input stream.

parent 85c32e17
No related branches found
No related tags found
No related merge requests found
......@@ -70,8 +70,6 @@ void *Setgrid(void *argument)
if ( operatorID != UNSETGRIDMASK )
operatorInputArg(cdoOperatorEnter(operatorID));
int streamID1 = streamOpenRead(cdoStreamName(0));
if ( operatorID == SETGRID )
{
operatorCheckArgc(1);
......@@ -175,6 +173,8 @@ void *Setgrid(void *argument)
griduri = operatorArgv()[0];
}
int streamID1 = streamOpenRead(cdoStreamName(0));
int vlistID1 = streamInqVlist(streamID1);
int vlistID2 = vlistDuplicate(vlistID1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment