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
27bef78d
Commit
27bef78d
authored
Jul 17, 2013
by
Uwe Schulzweida
Browse files
cgribexlib update
parent
e653a050
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cgribexlib.c
View file @
27bef78d
/* Automatically generated by m214003 at 2013-07-1
6
, do not edit */
/* Automatically generated by m214003 at 2013-07-1
7
, do not edit */
/* CGRIBEXLIB_VERSION="1.6.2" */
...
...
@@ -6298,6 +6298,16 @@ int decodeBDS(int decscale, unsigned char *bds, int *isec2, int *isec4,
locnd
+=
4
*
ioff
;
/* RealCoef */
}
}
else
{
if
(
lcomplex
)
{
*
iret
=
1999
;
gprintf
(
__func__
,
" Second order packed grids unsupported!"
);
gprintf
(
__func__
,
" Return code = %d"
,
*
iret
);
return
(
0
);
}
}
/* Decode data values to floating point and store in fsec4. */
/* First calculate the number of data values. */
...
...
@@ -6716,10 +6726,12 @@ void gribDecode(int *isec0, int *isec1, int *isec2, double *fsec2, int *isec3,
{
*
iret
=
-
801
;
}
//printf("nlat %d nlon %d \n", nlat, nlon);
//printf("nvalues %d %d\n", nvalues, ISEC4_NumValues);
if
(
dfunc
==
'R'
&&
*
iret
==
-
801
)
gprintf
(
__func__
,
"Number of values (%d) and sum of lons per row (%d) differ, abort conversion to regular grid!"
,
ISEC4_NumValues
,
nvalues
);
gprintf
(
__func__
,
"Number of values (%d) and sum of lons per row (%d) differ, abort conversion to regular
Gaussian
grid!"
,
ISEC4_NumValues
,
nvalues
);
if
(
dfunc
==
'R'
&&
*
iret
!=
-
801
)
{
...
...
@@ -6732,8 +6744,7 @@ void gribDecode(int *isec0, int *isec1, int *isec2, double *fsec2, int *isec3,
((
ISEC1_Parameter
==
27
)
||
(
ISEC1_Parameter
==
28
)
||
(
ISEC1_Parameter
==
29
)
||
(
ISEC1_Parameter
==
30
));
(
void
)
qu2reg3
(
fsec4
,
ISEC2_RowLonPtr
,
nlat
,
nlon
,
FSEC3_MissVal
,
iret
,
lsect3
,
lperio
,
lveggy
);
(
void
)
qu2reg3
(
fsec4
,
ISEC2_RowLonPtr
,
nlat
,
nlon
,
FSEC3_MissVal
,
iret
,
lsect3
,
lperio
,
lveggy
);
if
(
bitmapSize
>
0
)
{
...
...
@@ -10810,7 +10821,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return
(
gribLen
);
}
static
const
char
grb_libvers
[]
=
"1.6.2"
" of ""Jul 1
6
2013"" ""1
5:13:17
"
;
static
const
char
grb_libvers
[]
=
"1.6.2"
" of ""Jul 1
7
2013"" ""1
7:58:22
"
;
const
char
*
cgribexLibraryVersion
(
void
)
{
...
...
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