Skip to content
GitLab
Menu
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
6df4ec57
Commit
6df4ec57
authored
May 21, 2014
by
Uwe Schulzweida
Browse files
GRIB2: remove unknown cfName
parent
a8e71d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
6df4ec57
...
...
@@ -928,6 +928,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
vlen
=
CDI_MAX_NAME
;
status
=
grib_get_string
(
gh
,
"cfName"
,
stdname
,
&
vlen
);
if
(
status
!=
0
||
vlen
<=
1
)
stdname
[
0
]
=
0
;
else
if
(
strncmp
(
stdname
,
"unknown"
,
7
)
==
0
)
stdname
[
0
]
=
0
;
}
}
// fprintf(stderr, "param %d name %s %s %s\n", param, name, longname, units);
...
...
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