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
41cf816b
Commit
41cf816b
authored
Jan 26, 2019
by
Uwe Schulzweida
Browse files
ecCodes: deleteLocalDefinition for GRIB1.tmpl.
parent
b1d27d3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
41cf816b
...
...
@@ -4,6 +4,10 @@
* using EXSE library version 1.4.1
* Version 1.9.6 released
2019-01-26 Uwe Schulzweida
* ecCodes: deleteLocalDefinition for GRIB1.tmpl
2018-11-21 Uwe Schulzweida
* scanning of attribute associate* failed (bug fix)
...
...
src/gribapi.h
View file @
41cf816b
...
...
@@ -97,7 +97,8 @@ static inline void *gribHandleNew(int editionNumber)
grib_handle
*
gh
=
grib_handle_new_from_samples
(
NULL
,
(
editionNumber
==
1
)
?
"GRIB1"
:
"GRIB2"
);
if
(
gh
==
NULL
)
Error
(
"grib_handle_new_from_samples failed!"
);
if
(
editionNumber
>
1
)
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"numberOfValues"
,
0L
),
0
);
if
(
editionNumber
==
1
)
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"deleteLocalDefinition"
,
1L
),
0
);
if
(
editionNumber
==
2
)
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"numberOfValues"
,
0L
),
0
);
return
gh
;
}
...
...
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