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
e78ec18b
Commit
e78ec18b
authored
Jan 26, 2016
by
Uwe Schulzweida
Browse files
0006-some-more-better-debug-output.patch
parent
a3e31d15
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/cdf_read.c
View file @
e78ec18b
...
...
@@ -493,7 +493,7 @@ void cdfGetSliceSlapDescription(stream_t *streamptr, int varId, int levelId, boo
if
(
CDI_Debug
)
for
(
int
idim
=
0
;
idim
<
ndims
;
idim
++
)
Message
(
"dim = %d start = %d count = %d"
,
idim
,
start
[
idim
],
count
[
idim
]);
Message
(
"dim = %d start = %d count = %d"
,
idim
,
(
*
start
)
[
idim
],
(
*
count
)
[
idim
]);
int
nvdims
;
cdf_inq_varndims
(
fileId
,
ncvarid
,
&
nvdims
);
...
...
src/stream_cdf.c
View file @
e78ec18b
...
...
@@ -5791,6 +5791,10 @@ int cmpvarname(const void *s1, const void *s2)
static
void
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
]);
}
if
(
streamptr
->
sortname
)
{
struct
varinfo
*
varInfo
...
...
@@ -5808,6 +5812,10 @@ void define_all_vars(stream_t *streamptr, int vlistID, int instID, int modelID,
varids
[
varID
]
=
varInfo
[
varID
].
ncvarid
;
}
Free
(
varInfo
);
if
(
CDI_Debug
)
{
for
(
int
i
=
0
;
i
<
nvars
;
i
++
)
Message
(
"sorted varids[%d] = %d"
,
i
,
varids
[
i
]);
}
}
for
(
int
varID1
=
0
;
varID1
<
nvars
;
varID1
++
)
...
...
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