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
b7dea9bc
Commit
b7dea9bc
authored
May 17, 2017
by
Uwe Schulzweida
Browse files
cdfDefAxisCommon: get nvertex from gridInqNvertex().
parent
6970e2d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_o.c
View file @
b7dea9bc
...
@@ -547,7 +547,7 @@ cdfDefAxisCommon(stream_t *streamptr, int gridID, int gridindex, int ndims,
...
@@ -547,7 +547,7 @@ cdfDefAxisCommon(stream_t *streamptr, int gridID, int gridindex, int ndims,
}
}
if
(
pbounds
)
if
(
pbounds
)
{
{
size_t
nvertex
=
2
;
size_t
nvertex
=
gridInqNvertex
(
gridID
)
;
if
(
nc_inq_dimid
(
fileID
,
bndsName
,
&
nvdimID
)
!=
NC_NOERR
)
if
(
nc_inq_dimid
(
fileID
,
bndsName
,
&
nvdimID
)
!=
NC_NOERR
)
cdf_def_dim
(
fileID
,
bndsName
,
nvertex
,
&
nvdimID
);
cdf_def_dim
(
fileID
,
bndsName
,
nvertex
,
&
nvdimID
);
}
}
...
...
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