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
1dd5bee0
Commit
1dd5bee0
authored
Apr 11, 2017
by
Uwe Schulzweida
Browse files
Fix typo.
parent
300491d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
1dd5bee0
...
...
@@ -499,7 +499,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
grib_get_double
(
gh
,
"LoVInDegrees"
,
&
lon_0
);
grib_get_double
(
gh
,
"Latin1InDegrees"
,
&
lat_1
);
grib_get_double
(
gh
,
"Latin2InDegrees"
,
&
lat_2
);
grib_get_long
(
gh
,
"projectionCent
e
rFlag"
,
&
projflag
);
grib_get_long
(
gh
,
"projectionCentr
e
Flag"
,
&
projflag
);
bool
lsouth
=
gribbyte_get_bit
(
projflag
,
1
);
if
(
lsouth
)
{
lat_1
=
-
lat_1
;
lat_2
=
-
lat_2
;
}
...
...
@@ -2168,7 +2168,7 @@ void gribapiDefGrid(int editionNumber, grib_handle *gh, int gridID, int comptype
GRIB_CHECK
(
my_grib_set_double
(
gh
,
"LoVInDegrees"
,
lon_0
),
0
);
GRIB_CHECK
(
my_grib_set_double
(
gh
,
"Latin1InDegrees"
,
lat_1
),
0
);
GRIB_CHECK
(
my_grib_set_double
(
gh
,
"Latin2InDegrees"
,
lat_2
),
0
);
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"projectionCent
e
rFlag"
,
projflag
),
0
);
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"projectionCentr
e
Flag"
,
projflag
),
0
);
long
uvRelativeToGrid
=
gridInqUvRelativeToGrid
(
gridID
);
if
(
uvRelativeToGrid
)
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"uvRelativeToGrid"
,
uvRelativeToGrid
),
0
);
...
...
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