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
5f22d10b
Commit
5f22d10b
authored
Sep 26, 2017
by
Uwe Schulzweida
Browse files
Check ncvarboundsid.
parent
6751e2f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_o.c
View file @
5f22d10b
...
...
@@ -75,7 +75,7 @@ void cdfDefTimeValue(stream_t *streamptr, int tsID)
if
(
taxis
->
has_bounds
)
{
ncvarid
=
streamptr
->
basetime
.
ncvarboundsid
;
assert
(
ncvarid
!
=
CDI_UNDEFID
);
if
(
ncvarid
=
=
CDI_UNDEFID
)
Error
(
"Call to taxisWithBounds() missing!"
);
timevalue
=
cdiEncodeTimeval
(
taxis
->
vdate_lb
,
taxis
->
vtime_lb
,
&
streamptr
->
tsteps
[
0
].
taxis
);
size_t
start
[
2
],
count
[
2
];
...
...
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