Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
3a686d3e
Commit
3a686d3e
authored
Jul 27, 2016
by
Uwe Schulzweida
Browse files
Init streamID1.
parent
d093d233
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Ensval.c
View file @
3a686d3e
...
...
@@ -46,7 +46,7 @@ void *Ensval(void *argument)
int
nrecs
=
0
,
nrecs0
,
nmiss
,
nostreams
=
0
,
ngrids
;
int
levelID
,
varID
;
int
gridsize
=
0
;
int
streamID1
,
vlistID
;
int
vlistID
;
int
gridID
=
-
1
;
int
have_miss
=
0
;
int
stream
,
streamID
=
0
;
...
...
@@ -134,8 +134,6 @@ void *Ensval(void *argument)
for
(
fileID
=
0
;
fileID
<
nfiles
;
fileID
++
)
{
streamID
=
streamOpenRead
(
cdoStreamName
(
fileID
));
if
(
fileID
==
0
)
streamID1
=
streamID
;
vlistID
=
streamInqVlist
(
streamID
);
ef
[
fileID
].
streamID
=
streamID
;
...
...
@@ -143,6 +141,8 @@ void *Ensval(void *argument)
ef
[
fileID
].
array
=
NULL
;
}
int
streamID1
=
ef
[
0
].
streamID
;
if
(
cdoVerbose
)
cdoPrint
(
"Opened %i Input Files for Ensemble Operator"
,
nfiles
);
...
...
Write
Preview
Supports
Markdown
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