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

Remap: abort for unsupported target grid type - generic

parent 14e19072
No related branches found
No related tags found
No related merge requests found
...@@ -779,6 +779,8 @@ void *Remap(void *argument) ...@@ -779,6 +779,8 @@ void *Remap(void *argument)
gridID2 = cdoDefineGrid(operatorArgv()[0]); gridID2 = cdoDefineGrid(operatorArgv()[0]);
} }
if ( gridInqType(gridID2) == GRID_GENERIC ) cdoAbort("Unsupported target grid type (generic)!");
int streamID1 = streamOpenRead(cdoStreamName(0)); int streamID1 = streamOpenRead(cdoStreamName(0));
int filetype = streamInqFiletype(streamID1); int filetype = streamInqFiletype(streamID1);
......
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