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
51bdc105
Commit
51bdc105
authored
Jul 22, 2009
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
98b569c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
51bdc105
...
...
@@ -3615,15 +3615,14 @@ void printNCvars(NCVAR *ncvars, int nvars)
{
axis
[
ndim
++
]
=
'v'
;
for
(
i
=
0
;
i
<
ncvars
[
ncvarid
].
ndims
;
i
++
)
{
/*
{
/*
if ( ncvars[ncvarid].tvarid != -1 ) axis[ndim++] = iaxis[0];
else if ( ncvars[ncvarid].zvarid != -1 ) axis[ndim++] = iaxis[1];
else if ( ncvars[ncvarid].yvarid != -1 ) axis[ndim++] = iaxis[2];
else if ( ncvars[ncvarid].xvarid != -1 ) axis[ndim++] = iaxis[3];
else
*/
axis
[
ndim
++
]
=
'?'
;
*/
axis
[
ndim
++
]
=
'?'
;
}
}
else
...
...
@@ -4308,8 +4307,9 @@ int cdfInqContents(int streamID)
{
if
(
ncvars
[
ncvarid
].
ndims
==
1
)
{
if
(
ncvars
[
ncvarid
].
isvar
!=
TRUE
)
cdfSetVar
(
ncvars
,
ncvarid
,
FALSE
);
// if ( ncvars[ncvarid].isvar != TRUE ) cdfSetVar(ncvars, ncvarid, FALSE);
if
(
ncvars
[
ncvarid
].
isvar
!=
FALSE
)
cdfSetVar
(
ncvars
,
ncvarid
,
TRUE
);
if
(
ncdimid
==
ncvars
[
ncvarid
].
dimids
[
0
]
&&
ncdims
[
ncdimid
].
ncvarid
==
UNDEFID
)
if
(
strcmp
(
ncvars
[
ncvarid
].
name
,
ncdims
[
ncdimid
].
name
)
==
0
)
{
...
...
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