Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
172f960f
Commit
172f960f
authored
Apr 17, 2020
by
Uwe Schulzweida
Browse files
cdfInqContents: assign time variables from coordinates attribute.
parent
c6d44a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
172f960f
...
...
@@ -4033,6 +4033,7 @@ int cdfInqContents(stream_t *streamptr)
if
(
ncvars
[
cvarid
].
islon
||
ncvars
[
cvarid
].
isx
)
ncvar
->
xvarid
=
cvarid
;
else
if
(
ncvars
[
cvarid
].
islat
||
ncvars
[
cvarid
].
isy
)
ncvar
->
yvarid
=
cvarid
;
else
if
(
ncvars
[
cvarid
].
islev
)
ncvar
->
zvarid
=
cvarid
;
else
if
(
ncvars
[
cvarid
].
istime
)
ncvar
->
tvarid
=
cvarid
;
else
if
(
ncvars
[
cvarid
].
isc
)
ncvar
->
cvarids
[
i
]
=
cvarid
;
else
if
(
ncvars
[
cvarid
].
warn
==
false
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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