Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
Show 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" */
/* CGRIBEXLIB_VERSION="1.4.2" */
...
@@ -4781,7 +4781,12 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
...
@@ -4781,7 +4781,12 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
jlend
=
ISEC2_NumLon
*
ISEC2_NumLat
;
jlend
=
ISEC2_NumLon
*
ISEC2_NumLat
;
}
}
else
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
;
ISEC4_NumValues
=
jlend
+
ioff
;
...
@@ -9130,7 +9135,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
...
@@ -9130,7 +9135,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return
(
gribLen
);
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
*
const
char
*
cgribexLibraryVersion
(
void
)
cgribexLibraryVersion
(
void
)
{
{
...
...
src/stream.c
View file @
2022c119
...
@@ -1797,6 +1797,7 @@ void streamWriteVarSlice(int streamID, int varID, int levelID, const double *dat
...
@@ -1797,6 +1797,7 @@ void streamWriteVarSlice(int streamID, int varID, int levelID, const double *dat
}
}
}
}
void
streamWriteContents
(
int
streamID
,
char
*
cname
)
void
streamWriteContents
(
int
streamID
,
char
*
cname
)
{
{
static
char
func
[]
=
"streamWriteContents"
;
static
char
func
[]
=
"streamWriteContents"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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