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
14e0aa29
Commit
14e0aa29
authored
Apr 29, 2019
by
Uwe Schulzweida
Browse files
cdf_define_all_zaxes: dimids are greater than ndims after ncrename (bug fix).
parent
e66bcaad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
14e0aa29
...
...
@@ -2962,7 +2962,7 @@ int cdf_define_all_zaxes(stream_t *streamptr, int vlistID, ncdim_t *ncdims, int
}
const
int
zaxisindex
=
vlistZaxisIndex
(
vlistID
,
zaxisID
);
streamptr
->
zaxisID
[
zaxisindex
]
=
zdimid
;
streamptr
->
zaxisID
[
zaxisindex
]
=
zdimid
>=
0
?
ncdims
[
zdimid
].
dimid
:
zdimid
;
if
(
CDI_Debug
)
Message
(
"zaxisID %d %d %s"
,
zaxisID
,
ncvarid
,
ncvar
->
name
);
...
...
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