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
b9cc283d
Commit
b9cc283d
authored
Aug 30, 2007
by
Uwe Schulzweida
Browse files
stream_grb:grbDefGrid use ISEC2_ScanFlag
parent
fca87ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_grb.c
View file @
b9cc283d
...
...
@@ -1791,6 +1791,8 @@ void grbDefGrid(int *isec1, int *isec2, int gridID)
ISEC2_Reduced
=
FALSE
;
ISEC2_ScanFlag
=
0
;
switch
(
gridtype
)
{
case
GRID_LONLAT
:
...
...
@@ -1851,6 +1853,12 @@ void grbDefGrid(int *isec1, int *isec2, int gridID)
ISEC2_LonSP
=
NINT
((
gridInqXpole
(
gridID
)
+
180
)
*
1000
);
}
/* East -> West */
if
(
ISEC2_LastLon
<
ISEC2_FirstLon
)
ISEC2_ScanFlag
+=
1
;
/* South -> North */
if
(
ISEC2_LastLat
>
ISEC2_FirstLat
)
ISEC2_ScanFlag
+=
2
;
break
;
}
case
GRID_SPECTRAL
:
...
...
@@ -1880,8 +1888,6 @@ void grbDefGrid(int *isec1, int *isec2, int gridID)
default:
Error
(
func
,
"%s grid unsupported!"
,
gridNamePtr
(
gridtype
));
}
ISEC2_ScanFlag
=
0
;
}
...
...
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