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
86eae4dc
Commit
86eae4dc
authored
Feb 05, 2019
by
Uwe Schulzweida
Browse files
cdfInqContents(): bug fix for ncvars[nctimevarid].units.
parent
ba5ab54c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
86eae4dc
...
...
@@ -3986,7 +3986,7 @@ int cdfInqContents(stream_t *streamptr)
// time varID
int
nctimevarid
=
streamptr
->
basetime
.
ncvarid
;
if
(
!
time_has_units
||
streamptr
->
basetime
.
lwrf
)
ncvars
[
nctimevarid
].
units
[
0
]
=
0
;
if
(
nctimevarid
!=
CDI_UNDEFID
&&
(
!
time_has_units
||
streamptr
->
basetime
.
lwrf
)
)
ncvars
[
nctimevarid
].
units
[
0
]
=
0
;
if
(
time_has_units
)
{
...
...
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