Skip to content
GitLab
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
12fdaa16
Commit
12fdaa16
authored
Jun 06, 2013
by
Uwe Schulzweida
Browse files
use 'number_of_grid_used' only for undefined grid types
parent
078cf99f
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
12fdaa16
...
...
@@ -2,6 +2,10 @@
* Version 1.6.1 released
2013-06-06 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* use 'number_of_grid_used' only for undefined grid types
2013-06-03 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* added patch from Florian Prill: Lesen von 'number_of_grid_used', GRID_REFERENCE (bug fix)
...
...
src/stream_cdf.c
View file @
12fdaa16
...
...
@@ -5674,7 +5674,8 @@ void define_all_grids(stream_t *streamptr, int vlistID, ncdim_t *ncdims, int nva
}
}
if
(
number_of_grid_used
!=
UNDEFID
)
if
(
number_of_grid_used
!=
UNDEFID
&&
(
grid
.
type
==
UNDEFID
||
grid
.
type
==
GRID_GENERIC
)
)
{
grid
.
type
=
GRID_REFERENCE
;
grid
.
number
=
number_of_grid_used
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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