Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
98b569c5
Commit
98b569c5
authored
Jul 22, 2009
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
7f808f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
98b569c5
...
...
@@ -5068,7 +5068,9 @@ int cdfInqContents(int streamID)
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
.
size
=
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment