Commit b0c5b850 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

added support for generic grids

parent 2c2384bd
......@@ -104,9 +104,10 @@ void *Zonstat(void *argument)
index = 0;
gridID1 = vlistGrid(vlistID1, index);
if ( gridInqType(gridID1) != GRID_LONLAT &&
gridInqType(gridID1) != GRID_GAUSSIAN &&
!(gridInqType(gridID1) == GRID_GENERIC && gridInqYsize(gridID1) <= 1) )
!(gridInqType(gridID1) == GRID_GENERIC && gridInqYsize(gridID1) > 1) )
cdoAbort("Unsupported gridtype: %s", gridNamePtr(gridInqType(gridID1)));
gridID2 = gridToZonal(gridID1);
......
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