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
dc2128a0
Commit
dc2128a0
authored
Jul 28, 2009
by
Uwe Schulzweida
Browse files
added support for netCDF timeseries without grid
parent
1a02a03a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
dc2128a0
...
...
@@ -4406,8 +4406,14 @@ int cdfInqContents(int streamID)
{
if
(
ncvars
[
ncvarid
].
ndims
==
1
)
{
//if ( ncvars[ncvarid].isvar != TRUE ) cdfSetVar(ncvars, ncvarid, FALSE);
if
(
ncvars
[
ncvarid
].
isvar
!=
FALSE
)
cdfSetVar
(
ncvars
,
ncvarid
,
TRUE
);
if
(
timedimid
!=
UNDEFID
&&
timedimid
==
ncvars
[
ncvarid
].
dimids
[
0
]
)
{
if
(
ncvars
[
ncvarid
].
isvar
!=
FALSE
)
cdfSetVar
(
ncvars
,
ncvarid
,
TRUE
);
}
else
{
if
(
ncvars
[
ncvarid
].
isvar
!=
TRUE
)
cdfSetVar
(
ncvars
,
ncvarid
,
FALSE
);
}
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