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
dc5105bd
Commit
dc5105bd
authored
Aug 10, 2018
by
Uwe Schulzweida
Browse files
cgribexGetGrid: if firstLon >= 180 sub 360.
parent
dcef83da
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
dc5105bd
2018-08-0
9
Uwe Schulzweida
2018-08-
1
0 Uwe Schulzweida
* using CGRIBEX library version 1.9.1
* Version 1.9.5 released
2018-08-10 Uwe Schulzweida
* cgribexGetGrid: if firstLon >= 180 sub 360
2018-08-05 Uwe Schulzweida
* taxisCopyTimestep: delete target units if reference time differ (bug fix)
...
...
configure.ac
View file @
dc5105bd
...
...
@@ -68,6 +68,8 @@ AC_CHECK_MEMBERS([struct stat.st_blksize])
# ----------------------------------------------------------------------
# Checks for header files
AC_CHECK_HEADERS([malloc.h])
AC_CHECK_HEADERS([unistd.h])
AC_CHECK_HEADERS([sys/time.h])
AX_EXECINFO
# ----------------------------------------------------------------------
# Checks for the availability of functions
...
...
src/stream_cgribex.c
View file @
dc5105bd
...
...
@@ -187,7 +187,13 @@ void cgribexGetGrid(stream_t *streamptr, int *isec2, int *isec4, grid_t *grid, i
{
bool
recompinc
=
true
;
if
(
ISEC2_LastLon
<
ISEC2_FirstLon
)
ISEC2_LastLon
+=
360000
;
if
(
ISEC2_LastLon
<
ISEC2_FirstLon
)
{
if
(
ISEC2_FirstLon
>=
180000
)
ISEC2_FirstLon
-=
360000
;
else
ISEC2_LastLon
+=
360000
;
}
if
(
ijDirectionIncrementGiven
&&
ISEC2_LonIncr
>
0
)
{
...
...
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