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
3cf1606f
Commit
3cf1606f
authored
Jan 13, 2010
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
6e820f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_grb.c
View file @
3cf1606f
...
...
@@ -125,7 +125,7 @@ int grbReadRecord(int streamID, double *data, int *nmiss)
grbDecode
(
filetype
,
gribbuffer
,
recsize
,
data
,
gridsize
,
streamptr
->
unreduced
,
nmiss
,
&
zip
,
&
missval
);
if
(
nmiss
>
0
)
vlistDefVarMissval
(
vlistID
,
varID
,
missval
);
if
(
*
nmiss
>
0
)
vlistDefVarMissval
(
vlistID
,
varID
,
missval
);
streamptr
->
tsteps
[
tsID
].
records
[
recID
].
zip
=
zip
;
...
...
@@ -373,7 +373,7 @@ void grbReadVarSliceDP(int streamID, int varID, int levelID, double *data, int *
grbDecode
(
filetype
,
gribbuffer
,
recsize
,
data
,
gridsize
,
streamptr
->
unreduced
,
nmiss
,
&
zip
,
&
missval
);
if
(
nmiss
>
0
)
vlistDefVarMissval
(
vlistID
,
varID
,
missval
);
if
(
*
nmiss
>
0
)
vlistDefVarMissval
(
vlistID
,
varID
,
missval
);
fileSetPos
(
fileID
,
currentfilepos
,
SEEK_SET
);
...
...
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