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
a4939037
Commit
a4939037
authored
Jan 26, 2016
by
Uwe Schulzweida
Browse files
0002-Bug-fix-Default-initialization-of-tile-index-from-Fl.patch
parent
876ed3f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
a4939037
...
...
@@ -27,7 +27,7 @@
extern
int
cdiInventoryMode
;
static
const
var_tile_t
dummy_tiles
=
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
};
static
const
var_tile_t
dummy_tiles
=
{
0
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
};
typedef
struct
{
int
param
;
...
...
@@ -529,7 +529,7 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
// fprintf(stderr, "param %d name %s %s %s\n", param, name, longname, units);
/* add the previously read record data to the (intermediate) list of records */
int
tile_index
=
-
1
,
varID
;
int
tile_index
=
0
,
varID
;
varAddRecord
(
recID
,
param
,
gridID
,
zaxistype
,
lbounds
,
level1
,
level2
,
level_sf
,
level_unit
,
datatype
,
&
varID
,
&
levelID
,
tsteptype
,
numavg
,
leveltype1
,
leveltype2
,
varname
,
stdname
,
longname
,
units
,
tiles
,
&
tile_index
);
...
...
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