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
77f5471d
Commit
77f5471d
authored
Mar 08, 2017
by
Thomas Jahns
🤸
Browse files
Improve alignment of grid_llc_t.
parent
f2f31fd5
Changes
2
Show whitespace changes
Inline
Side-by-side
src/grid.c
View file @
77f5471d
...
...
@@ -3634,7 +3634,7 @@ void gridDefParamLCC(int gridID, double originLon, double originLat, double lonP
gridptr
->
lcc
.
xinc
=
xinc
;
gridptr
->
lcc
.
yinc
=
yinc
;
gridptr
->
lcc
.
projflag
=
projflag
;
gridptr
->
lcc
.
scanflag
=
scanflag
;
gridptr
->
lcc
.
scanflag
=
(
short
)
scanflag
;
gridptr
->
lcc
.
defined
=
TRUE
;
gridMark4Update
(
gridID
);
}
...
...
@@ -4181,7 +4181,7 @@ gridUnpack(char * unpackBuffer, int unpackBufferSize,
gridP
->
type
=
intBuffer
[
GRID_PACK_INT_IDX_TYPE
];
gridP
->
prec
=
intBuffer
[
GRID_PACK_INT_IDX_PREC
];
gridP
->
lcc
.
projflag
=
intBuffer
[
GRID_PACK_INT_IDX_LCC_PROJFLAG
];
gridP
->
lcc
.
scanflag
=
intBuffer
[
GRID_PACK_INT_IDX_LCC_SCANFLAG
];
gridP
->
lcc
.
scanflag
=
(
short
)
intBuffer
[
GRID_PACK_INT_IDX_LCC_SCANFLAG
];
gridP
->
lcc
.
defined
=
(
short
)
intBuffer
[
GRID_PACK_INT_IDX_LCC_DEFINED
];
gridP
->
isCyclic
=
(
short
)
intBuffer
[
GRID_PACK_INT_IDX_IS_CYCLIC
];
gridP
->
x
.
flag
=
(
short
)
intBuffer
[
GRID_PACK_INT_IDX_X_FLAG
];
...
...
src/grid.h
View file @
77f5471d
...
...
@@ -68,7 +68,7 @@ struct grid_lcc_t {
double
xinc
;
double
yinc
;
int
projflag
;
int
scanflag
;
short
scanflag
;
/* must be combination of 128, 64, 32 */
short
defined
;
};
...
...
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