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
f25298a3
Commit
f25298a3
authored
Jan 21, 2010
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
f1501c05
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_ieg.c
View file @
f25298a3
...
...
@@ -660,9 +660,7 @@ void iegAddRecord(int streamID, int param, int *pdb, int *gdb, double *vct,
level2
=
0
;
if
(
IEG_P_LevelType
(
pdb
)
==
100
)
level1
*=
100
;
}
/*
fprintf(stderr, "%d %d %d %d\n", param, IEG_P_LevelType(pdb), IEG_P_Level1(pdb), IEG_P_Level2(pdb));
*/
(
*
record
).
size
=
recsize
;
(
*
record
).
position
=
position
;
(
*
record
).
param
=
param
;
...
...
@@ -1086,7 +1084,9 @@ int iegScanTimestep2(int streamID)
}
if
(
recID
==
nrecords
)
{
Warning
(
func
,
"param %d level %d not found at timestep %d"
,
param
,
rlevel
,
tsID
+
1
);
char
paramstr
[
32
];
cdiParamToString
(
param
,
paramstr
,
sizeof
(
paramstr
));
Warning
(
func
,
"param %s level %d not defined at timestep 1"
,
paramstr
,
rlevel
);
return
(
CDI_EUFSTRUCT
);
}
...
...
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