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

scanVarAttributes: bug fix for unstructured grids

parent db2d2340
......@@ -4270,6 +4270,8 @@ void scanVarAttributes(int fileID, int nvars, ncvar_t *ncvars, ncdim_t *ncdims,
ncvars[ncvarid].gridtype = GRID_GENERIC;
else if ( strcmp(attstring, "cell") == 0 )
ncvars[ncvarid].gridtype = GRID_UNSTRUCTURED;
else if ( strcmp(attstring, "unstructured") == 0 )
ncvars[ncvarid].gridtype = GRID_UNSTRUCTURED;
else if ( strcmp(attstring, "curvilinear") == 0 )
ncvars[ncvarid].gridtype = GRID_CURVILINEAR;
else if ( strcmp(attstring, "sinusoidal") == 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