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
7cb95e73
Commit
7cb95e73
authored
Oct 02, 2015
by
Thomas Jahns
🤸
Browse files
Use shorter notation.
parent
8e4f629c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/stream_cgribex.c
View file @
7cb95e73
...
@@ -408,8 +408,8 @@ void cgribexAddRecord(stream_t * streamptr, int param, int *isec1, int *isec2, d
...
@@ -408,8 +408,8 @@ void cgribexAddRecord(stream_t * streamptr, int param, int *isec1, int *isec2, d
datatype
,
&
varID
,
&
levelID
,
tsteptype
,
numavg
,
ISEC1_LevelType
,
-
1
,
datatype
,
&
varID
,
&
levelID
,
tsteptype
,
numavg
,
ISEC1_LevelType
,
-
1
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
(
*
record
).
varID
=
(
short
)
varID
;
record
->
varID
=
(
short
)
varID
;
(
*
record
).
levelID
=
(
short
)
levelID
;
record
->
levelID
=
(
short
)
levelID
;
varDefCompType
(
varID
,
comptype
);
varDefCompType
(
varID
,
comptype
);
...
...
src/stream_gribapi.c
View file @
7cb95e73
...
@@ -555,8 +555,8 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
...
@@ -555,8 +555,8 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
datatype
,
&
varID
,
&
levelID
,
tsteptype
,
numavg
,
leveltype1
,
leveltype2
,
datatype
,
&
varID
,
&
levelID
,
tsteptype
,
numavg
,
leveltype1
,
leveltype2
,
varname
,
stdname
,
longname
,
units
,
tiles
,
&
tile_index
);
varname
,
stdname
,
longname
,
units
,
tiles
,
&
tile_index
);
(
*
record
).
varID
=
(
short
)
varID
;
record
->
varID
=
(
short
)
varID
;
(
*
record
).
levelID
=
(
short
)
levelID
;
record
->
levelID
=
(
short
)
levelID
;
varDefCompType
(
varID
,
comptype
);
varDefCompType
(
varID
,
comptype
);
...
...
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