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
88b84d3a
Commit
88b84d3a
authored
Jan 14, 2014
by
Uwe Schulzweida
Browse files
stream_gribapi: changed varDefOptGribInt() to varDefOptGribDbl() (bug fix)
parent
8fcb99a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
88b84d3a
2014-01-13 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_cdf::define_all_grids: bug fix for unstructured grids
with
and an additional undefined dimension [report: Florian Prill]
* stream_cdf::define_all_grids: bug fix for unstructured grids and an additional undefined dimension [report: Florian Prill]
2014-01-08 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
src/stream_gribapi.c
View file @
88b84d3a
...
...
@@ -957,7 +957,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
if
(
linitial_field
)
{
if
(
grib_get_double
(
gh
,
cdiAdditionalGRIBKeys
[
i
],
&
dval
)
==
0
)
varDefOptGrib
Int
(
varID
,
dval
,
cdiAdditionalGRIBKeys
[
i
]);
varDefOptGrib
Dbl
(
varID
,
dval
,
cdiAdditionalGRIBKeys
[
i
]);
}
/* note: if the key is not defined, we do not throw an error! */
}
...
...
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