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
e0838ab1
Commit
e0838ab1
authored
Jan 09, 2013
by
Uwe Schulzweida
Browse files
vlist_check_contents: changed argument type to vlistID
parent
557a1b26
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/stream_ext.c
View file @
e0838ab1
...
...
@@ -452,7 +452,7 @@ void extScanTimestep1(int streamID)
vlistID
=
streamInqVlist
(
streamID
);
vlistDefTaxis
(
vlistID
,
taxisID
);
cdiC
heck
C
ontents
(
stream
ID
);
vlist_c
heck
_c
ontents
(
vlist
ID
);
nrecords
=
streamptr
->
tsteps
[
0
].
nallrecs
;
if
(
nrecords
<
streamptr
->
tsteps
[
0
].
recordSize
)
...
...
src/stream_ieg.c
View file @
e0838ab1
...
...
@@ -970,7 +970,7 @@ void iegScanTimestep1(int streamID)
vlistID
=
streamInqVlist
(
streamID
);
vlistDefTaxis
(
vlistID
,
taxisID
);
cdiC
heck
C
ontents
(
stream
ID
);
vlist_c
heck
_c
ontents
(
vlist
ID
);
nrecords
=
streamptr
->
tsteps
[
0
].
nallrecs
;
if
(
nrecords
<
streamptr
->
tsteps
[
0
].
recordSize
)
...
...
src/stream_int.c
View file @
e0838ab1
...
...
@@ -423,17 +423,10 @@ double cdiInqMissval(void)
}
void
cdiC
heck
C
ontents
(
int
stream
ID
)
void
vlist_c
heck
_c
ontents
(
int
vlist
ID
)
{
int
index
,
nzaxis
,
zaxisID
;
int
vlistID
;
stream_t
*
streamptr
;
streamptr
=
(
stream_t
*
)
reshGetVal
(
streamID
,
&
streamOps
);
stream_check_ptr
(
__func__
,
streamptr
);
vlistID
=
streamInqVlist
(
streamID
);
nzaxis
=
vlistNzaxis
(
vlistID
);
for
(
index
=
0
;
index
<
nzaxis
;
index
++
)
...
...
src/stream_int.h
View file @
e0838ab1
...
...
@@ -293,7 +293,7 @@ char *strfiletype(int filetype);
void
cdi_generate_vars
(
stream_t
*
streamptr
);
void
cdiC
heck
C
ontents
(
int
stream
ID
);
void
vlist_c
heck
_c
ontents
(
int
vlist
ID
);
void
cdiCreateRecords
(
int
streamID
,
int
tsID
);
...
...
src/stream_srv.c
View file @
e0838ab1
...
...
@@ -453,7 +453,7 @@ void srvScanTimestep1(int streamID)
vlistID
=
streamptr
->
vlistID
;
vlistDefTaxis
(
vlistID
,
taxisID
);
cdiC
heck
C
ontents
(
stream
ID
);
vlist_c
heck
_c
ontents
(
vlist
ID
);
nrecords
=
streamptr
->
tsteps
[
0
].
nallrecs
;
if
(
nrecords
<
streamptr
->
tsteps
[
0
].
recordSize
)
...
...
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