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
39c4c571
Commit
39c4c571
authored
Oct 26, 2010
by
Uwe Schulzweida
Browse files
cgribexAddRecord: correct xinc/yinc if necessary
parent
b417227d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
39c4c571
2010-10-26 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cgribexAddRecord: correct xinc/yinc if necessary [report: Anders Ullerstig]
2010-10-12 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cdfDefVCT: remove var mlev and ilev (bug fix) [report: Torsten Weber]
...
...
src/stream_cgribex.c
View file @
39c4c571
...
...
@@ -312,6 +312,9 @@ void cgribexAddRecord(int streamID, int param, int *isec1, int *isec2, double *f
{
if
(
grid
.
xsize
>
1
)
{
if
(
ISEC2_ResFlag
&&
ISEC2_LonIncr
>
0
)
if
(
ISEC2_LonIncr
*
(
grid
.
xsize
-
1
)
>
360000
)
ISEC2_LonIncr
=
0
;
if
(
ISEC2_ResFlag
&&
ISEC2_LonIncr
>
0
)
grid
.
xinc
=
ISEC2_LonIncr
*
0
.
001
;
else
...
...
@@ -338,6 +341,9 @@ void cgribexAddRecord(int streamID, int param, int *isec1, int *isec2, double *f
{
if
(
grid
.
ysize
>
1
)
{
if
(
ISEC2_ResFlag
&&
ISEC2_LatIncr
>
0
)
if
(
ISEC2_LatIncr
*
(
grid
.
ysize
-
1
)
>
180000
)
ISEC2_LatIncr
=
0
;
if
(
ISEC2_ResFlag
&&
ISEC2_LatIncr
>
0
)
grid
.
yinc
=
ISEC2_LatIncr
*
0
.
001
;
else
...
...
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