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
3cddf082
Commit
3cddf082
authored
Jan 31, 2013
by
Uwe Schulzweida
Browse files
stream_cgribex::cgribexGetGrid: add 360 to lastLon, if lastlon <firstLon [Bug #3189]
parent
4506c7e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
3cddf082
...
...
@@ -3,6 +3,10 @@
* Version 1.6.0 released
* using CGRIBEX library version 1.6.0
2013-01-31 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* starem_cgribex::cgribexGetGrid: add 360 to lastLon, if lastlon <firstLon [Bug #3189]
2013-01-08 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* netCDF: check position of time dimension
...
...
src/stream_cgribex.c
View file @
3cddf082
...
...
@@ -188,6 +188,7 @@ void cgribexGetGrid(stream_t *streamptr, int *isec2, int *isec4, grid_t *grid, i
if
(
ISEC2_ResFlag
&&
ISEC2_LonIncr
>
0
)
{
if
(
ISEC2_LastLon
<
ISEC2_FirstLon
&&
ISEC2_LastLon
<
0
)
ISEC2_LastLon
+=
360000
;
if
(
abs
(
ISEC2_LastLon
-
(
ISEC2_FirstLon
+
ISEC2_LonIncr
*
(
grid
->
xsize
-
1
)))
<=
2
)
{
recompinc
=
FALSE
;
...
...
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