Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mpim-sw
libcdi
Commits
7d86ccce
Commit
7d86ccce
authored
Jan 22, 2021
by
Uwe Schulzweida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gribapiDefDateTimeRel: check range of startStep and endStep only for editionNumber 1.
parent
9d9d5c24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
ChangeLog
ChangeLog
+4
-0
src/stream_gribapi.c
src/stream_gribapi.c
+3
-1
No files found.
ChangeLog
View file @
7d86ccce
...
...
@@ -3,6 +3,10 @@
* using CGRIBEX library version 1.9.5
* Version 1.9.10 released
2021-01-22 Uwe Schulzweida
* gribapiDefDateTimeRel: check range of startStep and endStep only for editionNumber 1
2021-01-07 Uwe Schulzweida
* gridDefParamRLL: set x/y units to degrees
...
...
src/stream_gribapi.c
View file @
7d86ccce
...
...
@@ -1819,7 +1819,9 @@ int gribapiDefDateTimeRel(int editionNumber, grib_handle *gh, int64_t fdate, int
proDefTempNum
==
55
||
proDefTempNum
==
40055
)
// Tile
startStep
=
endStep
;
if
(
endStep
<
startStep
||
startStep
>
255
||
endStep
>
255
)
if
(
endStep
<
startStep
)
return
status
;
if
(
editionNumber
==
1
&&
(
startStep
>
255
||
endStep
>
255
)
)
{
startStep
=
0
;
endStep
=
0
;
...
...
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