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
98e563d9
Commit
98e563d9
authored
Jan 24, 2018
by
Uwe Schulzweida
Browse files
Init iscan and jscan.
parent
b9ace57e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gribapi_utilities.c
View file @
98e563d9
...
...
@@ -572,7 +572,7 @@ void gribapiGetGrid(grib_handle *gh, grid_t *grid)
if
(
gridtype
==
GRID_LONLAT
&&
nlat
>
1
)
FAIL_ON_GRIB_ERROR
(
grib_get_double
,
gh
,
"jDirectionIncrementInDegrees"
,
&
grid
->
y
.
inc
);
long
iscan
,
jscan
;
long
iscan
=
0
,
jscan
=
0
;
FAIL_ON_GRIB_ERROR
(
grib_get_long
,
gh
,
"iScansNegatively"
,
&
iscan
);
FAIL_ON_GRIB_ERROR
(
grib_get_long
,
gh
,
"jScansPositively"
,
&
jscan
);
if
(
iscan
)
grid
->
x
.
inc
=
-
grid
->
x
.
inc
;
...
...
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