Commit 98b569c5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

No commit message

No commit message
parent 7f808f09
...@@ -5068,7 +5068,9 @@ int cdfInqContents(int streamID) ...@@ -5068,7 +5068,9 @@ int cdfInqContents(int streamID)
if ( grid.size == 0 ) if ( grid.size == 0 )
{ {
if ( ncvars[ncvarid].ndims == 1 && ncvars[ncvarid].dimtype[0] == T_AXIS ) if ( (ncvars[ncvarid].ndims == 1 && ncvars[ncvarid].dimtype[0] == T_AXIS) ||
(ncvars[ncvarid].ndims == 2 && ncvars[ncvarid].dimtype[0] == T_AXIS &&
ncvars[ncvarid].dimtype[1] == Z_AXIS) )
{ {
grid.type = GRID_GENERIC; grid.type = GRID_GENERIC;
grid.size = 1; grid.size = 1;
......
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