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
2022c119
Commit
2022c119
authored
Jan 12, 2010
by
Uwe Schulzweida
Browse files
cgribexlib update
parent
1821e4fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/cgribexlib.c
View file @
2022c119
/* Automatically generated by m214003 at 2010-01-
08
, do not edit */
/* Automatically generated by m214003 at 2010-01-
12
, do not edit */
/* CGRIBEXLIB_VERSION="1.4.2" */
...
...
@@ -4648,7 +4648,7 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
bds_rep
=
bds_flag
>>
7
;
if
(
bds_rep
==
0
)
isec4
[
2
]
=
0
;
else
isec4
[
2
]
=
128
;
else
isec4
[
2
]
=
128
;
/* -0------ simple packing */
/* -1------ complex packing */
...
...
@@ -4781,7 +4781,12 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
jlend
=
ISEC2_NumLon
*
ISEC2_NumLat
;
}
else
jlend
=
(
jlend
*
8
-
bds_ubits
)
/
ISEC4_NumBits
;
{
if
(
jlend
>
0x10000000
)
/* 2GB/8 */
jlend
=
(
jlend
*
8
.
-
bds_ubits
)
/
ISEC4_NumBits
;
else
jlend
=
(
jlend
*
8
-
bds_ubits
)
/
ISEC4_NumBits
;
}
ISEC4_NumValues
=
jlend
+
ioff
;
...
...
@@ -9130,7 +9135,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
8
2010"" ""
15:02:59
"
;
static
const
char
grb_libvers
[]
=
"1.4.2"
" of ""Jan
12
2010"" ""
09:23:10
"
;
const
char
*
cgribexLibraryVersion
(
void
)
{
...
...
src/stream.c
View file @
2022c119
...
...
@@ -1797,6 +1797,7 @@ void streamWriteVarSlice(int streamID, int varID, int levelID, const double *dat
}
}
void
streamWriteContents
(
int
streamID
,
char
*
cname
)
{
static
char
func
[]
=
"streamWriteContents"
;
...
...
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