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
36dd2dd8
Commit
36dd2dd8
authored
Feb 14, 2017
by
Uwe Schulzweida
Browse files
gribapiDefLevelType: check for GRIB1_LTYPE_ISOBARIC_PA.
parent
c2ef4cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
36dd2dd8
...
@@ -2258,7 +2258,7 @@ static
...
@@ -2258,7 +2258,7 @@ static
void
gribapiDefLevelType
(
grib_handle
*
gh
,
int
gcinit
,
const
char
*
keyname
,
long
leveltype
)
void
gribapiDefLevelType
(
grib_handle
*
gh
,
int
gcinit
,
const
char
*
keyname
,
long
leveltype
)
{
{
bool
lset
=
false
;
bool
lset
=
false
;
if
(
(
leveltype
==
99
||
leveltype
==
100
)
&&
gribEditionNumber
(
gh
)
==
1
)
if
(
(
leveltype
==
GRIB1_LTYPE_ISOBARIC_PA
||
leveltype
==
99
||
leveltype
==
100
)
&&
gribEditionNumber
(
gh
)
==
1
)
{
{
if
(
gribGetLong
(
gh
,
"indicatorOfTypeOfLevel"
)
!=
leveltype
)
lset
=
true
;
if
(
gribGetLong
(
gh
,
"indicatorOfTypeOfLevel"
)
!=
leveltype
)
lset
=
true
;
}
}
...
...
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