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
8971a299
Commit
8971a299
authored
Feb 16, 2007
by
Uwe Schulzweida
Browse files
grbDefGrid: write absolute value of y-inc
parent
3acc3352
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8971a299
2007-02-?? Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* using GRIB library version 1.0.5
* grbDefTime: change to absolute time axis if value < 0
* grbDefGrid: write absolute value of y-inc [report: Paul Dando]
* grbDefTime: change to absolute time axis if value < 0 [report: Frank Toussaint]
* grbDefGrid: change generic grid to lonlat grid
* grbScanTimestep: bug fix for unsorted codes
* LOCK/UNLOCK around _init_pointer
...
...
src/dmemory.c
View file @
8971a299
...
...
@@ -12,7 +12,10 @@
#if ! defined (HAVE_CONFIG_H)
#if ! defined (HAVE_MALLOC_H)
/*
# if defined (__sun) || defined (__i386) || defined (__ia64) || defined (SX)
*/
# if defined (__i386) || defined (__ia64) || defined (SX)
# define HAVE_MALLOC_H
# endif
#endif
...
...
src/stream_grb.c
View file @
8971a299
...
...
@@ -1767,6 +1767,8 @@ void grbDefGrid(int *isec1, int *isec2, int gridID)
ISEC2_LatIncr
=
NINT
(
gridInqYinc
(
gridID
)
*
1000
);
if
(
fabs
(
gridInqYinc
(
gridID
)
*
1000
-
ISEC2_LatIncr
)
>
FLT_EPSILON
)
ISEC2_LatIncr
=
0
;
if
(
ISEC2_LatIncr
<
0
)
ISEC2_LatIncr
=
-
ISEC2_LatIncr
;
}
if
(
ISEC2_LatIncr
==
0
||
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