Commit 87d582ae authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

No commit message

No commit message
parent cf3b4fcb
......@@ -3948,7 +3948,7 @@ int cdfInqContents(int streamID)
ncvars[ncvarid].gridtype = GRID_GAUSSIAN_REDUCED;
else if ( strcmp(attstring, "gaussian") == 0 )
ncvars[ncvarid].gridtype = GRID_GAUSSIAN;
else if ( strcmp(attstring, "spectral") == 0 )
else if ( strncmp(attstring, "spectral", 8) == 0 )
ncvars[ncvarid].gridtype = GRID_SPECTRAL;
else if ( strcmp(attstring, "trajectory") == 0 )
ncvars[ncvarid].gridtype = GRID_TRAJECTORY;
......
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