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
libcdi
Commits
17f4cc28
Commit
17f4cc28
authored
Jul 06, 2016
by
Uwe Schulzweida
Browse files
Renamed define_all_vars() to cdf_define_all_vars().
parent
d44c8178
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
17f4cc28
...
...
@@ -2839,7 +2839,7 @@ int cmpvarname(const void *s1, const void *s2)
/* define all input data variables */
static
void
define_all_vars
(
stream_t
*
streamptr
,
int
vlistID
,
int
instID
,
int
modelID
,
int
*
varids
,
int
nvars
,
int
num_ncvars
,
ncvar_t
*
ncvars
)
void
cdf_
define_all_vars
(
stream_t
*
streamptr
,
int
vlistID
,
int
instID
,
int
modelID
,
int
*
varids
,
int
nvars
,
int
num_ncvars
,
ncvar_t
*
ncvars
)
{
if
(
CDI_Debug
)
for
(
int
i
=
0
;
i
<
nvars
;
i
++
)
Message
(
"varids[%d] = %d"
,
i
,
varids
[
i
]);
...
...
@@ -3759,7 +3759,7 @@ int cdfInqContents(stream_t *streamptr)
streamptr
->
ntsteps
=
(
long
)
ntsteps
;
/* define all data variables */
define_all_vars
(
streamptr
,
vlistID
,
instID
,
modelID
,
varids
,
nvars_data
,
nvars
,
ncvars
);
cdf_
define_all_vars
(
streamptr
,
vlistID
,
instID
,
modelID
,
varids
,
nvars_data
,
nvars
,
ncvars
);
cdiCreateTimesteps
(
streamptr
);
...
...
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