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
dfa0bb98
Commit
dfa0bb98
authored
Apr 22, 2015
by
Uwe Schulzweida
Browse files
cgribexlib: update to version 1.7.2
parent
4810ccd4
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
dfa0bb98
2015-04-28 Uwe Schulzweida
* Version 1.6.9 released
* using CGRIBEX library version 1.7.2
2015-04-22 Uwe Schulzweida
...
...
src/cgribexlib.c
View file @
dfa0bb98
/* Automatically generated by m214003 at 2015-0
3-04
, do not edit */
/* Automatically generated by m214003 at 2015-0
4-22
, do not edit */
/* CGRIBEXLIB_VERSION="1.7.
1
" */
/* CGRIBEXLIB_VERSION="1.7.
2
" */
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5)
#pragma GCC diagnostic push
...
...
@@ -2456,42 +2456,48 @@ int gribTimeIsFC(int *isec1)
void
gribDateTime
(
int
*
isec1
,
int
*
date
,
int
*
time
)
{
static
int
lprint
=
TRUE
;
int
ryear
,
rmonth
,
rday
,
rhour
,
rminute
,
second
;
int
julday
,
secofday
;
int64_t
addsec
=
0
;
int64_t
time_period
=
0
;
int
century
;
extern
int
grib_calendar
;
century
=
ISEC1_Century
;
if
(
century
<
0
)
century
=
-
century
;
century
-=
1
;
int
century
=
ISEC1_Century
;
int
ryear
=
ISEC1_Year
;
ryear
=
ISEC1_Year
;
/* if ( century != 0 ) */
if
(
century
==
-
255
&&
ryear
==
127
)
{
if
(
ryear
==
100
)
{
ryear
=
0
;
century
+=
1
;
}
century
=
0
;
ryear
=
0
;
}
else
{
if
(
century
<
0
)
century
=
-
century
;
century
-=
1
;
if
(
ryear
!=
255
)
{
ryear
=
century
*
100
+
ryear
;
if
(
ISEC1_Century
<
0
)
ryear
=
-
ryear
;
}
else
ryear
=
1
;
/* if ( century != 0 ) */
{
if
(
ryear
==
100
)
{
ryear
=
0
;
century
+=
1
;
}
if
(
ryear
!=
255
)
{
ryear
=
century
*
100
+
ryear
;
if
(
ISEC1_Century
<
0
)
ryear
=
-
ryear
;
}
else
ryear
=
1
;
}
}
rmonth
=
ISEC1_Month
;
rday
=
ISEC1_Day
;
int
rmonth
=
ISEC1_Month
;
int
rday
=
ISEC1_Day
;
rhour
=
ISEC1_Hour
;
rminute
=
ISEC1_Minute
;
second
=
0
;
int
rhour
=
ISEC1_Hour
;
int
rminute
=
ISEC1_Minute
;
int
second
=
0
;
/* printf("ref %d/%d/%d %d:%d\n", ryear, rmonth, rday, rhour, rminute); */
...
...
@@ -14197,7 +14203,7 @@ void encode_dummy(void)
(
void
)
encode_array_unrolled_double
(
0
,
0
,
0
,
NULL
,
NULL
,
0
,
0
,
NULL
);
(
void
)
encode_array_unrolled_float
(
0
,
0
,
0
,
NULL
,
NULL
,
0
,
0
,
NULL
);
}
static
const
char
grb_libvers
[]
=
"1.7.
1
"
" of ""
Mar 4
2015"" ""13:
33:3
4"
;
static
const
char
grb_libvers
[]
=
"1.7.
2
"
" of ""
Apr 22
2015"" ""13:
44:0
4"
;
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