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
2528022f
Commit
2528022f
authored
Nov 26, 2014
by
Thomas Jahns
🤸
Browse files
Merge declaration and initialization.
parent
e65ca34c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cgribex.c
View file @
2528022f
...
...
@@ -608,7 +608,6 @@ int cgribexScanTimestep1(stream_t * streamptr)
int
vlistID
;
int
comptype
;
long
unzipsize
;
compvar_t
compVar
;
char
paramstr
[
32
];
extern
int
cdiSkipRecords
;
int
nskip
=
cdiSkipRecords
;
...
...
@@ -708,7 +707,7 @@ int cgribexScanTimestep1(stream_t * streamptr)
datetime
.
date
=
vdate
;
datetime
.
time
=
vtime
;
compVar
=
cgribexVarSet
(
param
,
level1
,
level2
,
ISEC1_LevelType
,
ISEC1_TimeRange
);
compvar_t
compVar
=
cgribexVarSet
(
param
,
level1
,
level2
,
ISEC1_LevelType
,
ISEC1_TimeRange
);
for
(
recID
=
0
;
recID
<
nrecs
;
recID
++
)
{
...
...
@@ -834,7 +833,6 @@ int cgribexScanTimestep2(stream_t * streamptr)
taxis_t
*
taxis
;
int
vlistID
;
long
unzipsize
;
compvar_t
compVar
;
char
paramstr
[
32
];
streamptr
->
curTsID
=
1
;
...
...
@@ -964,7 +962,7 @@ int cgribexScanTimestep2(stream_t * streamptr)
datetime
.
date
=
vdate
;
datetime
.
time
=
vtime
;
compVar
=
cgribexVarSet
(
param
,
level1
,
level2
,
ISEC1_LevelType
,
ISEC1_TimeRange
);
compvar_t
compVar
=
cgribexVarSet
(
param
,
level1
,
level2
,
ISEC1_LevelType
,
ISEC1_TimeRange
);
for
(
recID
=
0
;
recID
<
nrecords
;
recID
++
)
{
...
...
@@ -1083,7 +1081,6 @@ int cgribexScanTimestep(stream_t * streamptr)
int
rindex
,
nrecs
=
0
;
int
nrecs_scanned
;
long
unzipsize
;
compvar_t
compVar
;
char
paramstr
[
32
];
/*
...
...
@@ -1220,7 +1217,7 @@ int cgribexScanTimestep(stream_t * streamptr)
datetime
.
date
=
vdate
;
datetime
.
time
=
vtime
;
compVar
=
cgribexVarSet
(
param
,
level1
,
level2
,
ISEC1_LevelType
,
ISEC1_TimeRange
);
compvar_t
compVar
=
cgribexVarSet
(
param
,
level1
,
level2
,
ISEC1_LevelType
,
ISEC1_TimeRange
);
for
(
vrecID
=
0
;
vrecID
<
nrecs
;
vrecID
++
)
{
...
...
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