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
2ecfa566
Commit
2ecfa566
authored
May 22, 2018
by
Uwe Schulzweida
Browse files
cgribexDefTime: added warning if time axis type changes.
parent
a1da0caf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cgribex.c
View file @
2ecfa566
...
...
@@ -1571,6 +1571,13 @@ void cgribexDefTime(int *isec1, int vdate, int vtime, int tsteptype, int numavg,
if
(
ip2
<
0
||
ip2
>
0xFF
)
timetype
=
TAXIS_ABSOLUTE
;
}
static
bool
lwarn
=
true
;
if
(
lwarn
&&
timetype
==
TAXIS_ABSOLUTE
)
{
lwarn
=
false
;
Warning
(
"Can't store forecast time %ld %d relative to %ld %d, converted to absolute time!"
,
(
long
)
vdate
,
vtime
,
(
long
)
rdate
,
rtime
);
}
ISEC1_TimeRange
=
timerange
;
ISEC1_TimePeriod1
=
ip1
;
ISEC1_TimePeriod2
=
ip2
;
...
...
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