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
08b46dc2
Commit
08b46dc2
authored
Dec 18, 2015
by
Thomas Jahns
🤸
Browse files
Fix update of grid type-related fields for lazy cdf grids.
parent
ca71ba4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
08b46dc2
...
...
@@ -5278,7 +5278,12 @@ void define_all_grids(stream_t *streamptr, int vlistID, ncdim_t *ncdims, int nva
}
}
grid
->
type
=
ncvars
[
ncvarid
].
gridtype
;
if
(
grid
->
type
!=
ncvars
[
ncvarid
].
gridtype
)
{
int
gridtype
=
ncvars
[
ncvarid
].
gridtype
;
grid
->
type
=
gridtype
;
cdiGridTypeInit
(
grid
,
gridtype
,
grid
->
size
);
}
if
(
grid
->
size
==
0
)
{
...
...
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