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
cef70794
Commit
cef70794
authored
Jan 08, 2010
by
Uwe Schulzweida
Browse files
cgribexlib update
parent
6260d66d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cgribexlib.c
View file @
cef70794
/* Automatically generated by m214003 at 2010-01-0
7
, do not edit */
/* Automatically generated by m214003 at 2010-01-0
8
, do not edit */
/* CGRIBEXLIB_VERSION="1.4.2" */
...
...
@@ -4790,7 +4790,7 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
*/
/* ISEC4_NumValues = GET_UINT3(bds[17],bds[18],bds[19])*8/ISEC4_NumBits;*/
if
(
gribrec_len
(
bds
[
14
],
bds
[
15
],
bds
[
16
])
>
JP23SET
)
len
=
((
size_t
)
((
bds
[
17
]
<<
16
)
+
(
bds
[
18
]
<<
16
)
+
(
bds
[
19
]
<<
8
)
+
bds
[
20
]));
len
=
((
size_t
)
((
bds
[
17
]
<<
24
)
+
(
bds
[
18
]
<<
16
)
+
(
bds
[
19
]
<<
8
)
+
bds
[
20
]));
else
len
=
((
size_t
)
((
bds
[
17
]
<<
16
)
+
(
bds
[
18
]
<<
8
)
+
bds
[
19
]));
...
...
@@ -8949,7 +8949,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
source
=
(
char
*
)
bds
+
datstart
+
bds_zoffset
;
if
(
llarge
)
sourceLen
=
((
size_t
)
((
bds
[
21
]
<<
16
)
+
(
bds
[
22
]
<<
16
)
+
(
bds
[
23
]
<<
8
)
+
bds
[
24
]));
sourceLen
=
((
size_t
)
((
bds
[
21
]
<<
24
)
+
(
bds
[
22
]
<<
16
)
+
(
bds
[
23
]
<<
8
)
+
bds
[
24
]));
else
sourceLen
=
((
size_t
)
((
bds
[
20
]
<<
16
)
+
(
bds
[
21
]
<<
8
)
+
bds
[
22
]));
...
...
@@ -8962,7 +8962,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
dest
=
(
char
*
)
bds
+
datstart
;
if
(
llarge
)
destLen
=
((
size_t
)
((
bds
[
17
]
<<
16
)
+
(
bds
[
18
]
<<
16
)
+
(
bds
[
19
]
<<
8
)
+
bds
[
20
]));
destLen
=
((
size_t
)
((
bds
[
17
]
<<
24
)
+
(
bds
[
18
]
<<
16
)
+
(
bds
[
19
]
<<
8
)
+
bds
[
20
]));
else
destLen
=
((
size_t
)
((
bds
[
17
]
<<
16
)
+
(
bds
[
18
]
<<
8
)
+
bds
[
19
]));
...
...
@@ -9114,7 +9114,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return
(
gribLen
);
}
static
const
char
grb_libvers
[]
=
"1.4.2"
" of ""Jan
7
2010"" ""13:
59:13
"
;
static
const
char
grb_libvers
[]
=
"1.4.2"
" of ""Jan
8
2010"" ""13:
31:36
"
;
const
char
*
cgribexLibraryVersion
(
void
)
{
...
...
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