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
652dcbf0
Commit
652dcbf0
authored
Oct 06, 2009
by
Uwe Schulzweida
Browse files
cdtInqContents: set default time units to DAYS
parent
e96493b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
652dcbf0
...
...
@@ -5831,7 +5831,14 @@ int cdfInqContents(int streamID)
if
(
streamptr
->
tsteps
[
0
].
taxis
.
type
==
TAXIS_RELATIVE
)
taxisID
=
taxisCreate
(
TAXIS_RELATIVE
);
else
taxisID
=
taxisCreate
(
TAXIS_ABSOLUTE
);
{
taxisID
=
taxisCreate
(
TAXIS_ABSOLUTE
);
if
(
!
timehasunits
)
{
taxisDefTunit
(
taxisID
,
TUNIT_DAY
);
streamptr
->
tsteps
[
0
].
taxis
.
unit
=
TUNIT_DAY
;
}
}
if
(
calendar
!=
UNDEFID
)
{
...
...
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