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
524c74c0
Commit
524c74c0
authored
Oct 26, 2012
by
Uwe Schulzweida
Browse files
stream_gribapi.c::gribapiScanTimestep: changed GRIBAPI_MISSVAL to cdiDefaultMissval
parent
1fe2b3dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
524c74c0
...
...
@@ -3,6 +3,10 @@
* Version 1.5.8 released
* using CGRIBEX library version 1.5.5
2012-10-26 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_gribapi.c::gribapiScanTimestep: changed GRIBAPI_MISSVAL to cdiDefaultMissval
2012-10-18 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* vlistCopyFlag: copy ensdata (bug fix) [report: Jaison Ambadan]
...
...
src/stream_gribapi.c
View file @
524c74c0
...
...
@@ -29,7 +29,7 @@ typedef struct {
int
level1
;
int
level2
;
int
ltype
;
}
compvar2_t
;
}
compvar2_t
;
#if defined (HAVE_LIBGRIB_API)
...
...
@@ -998,7 +998,7 @@ int gribapiScanTimestep1(int streamID)
}
gh
=
grib_handle_new_from_message
(
NULL
,
(
void
*
)
gribbuffer
,
recsize
);
GRIB_CHECK
(
grib_set_double
(
gh
,
"missingValue"
,
GRIBAPI_MISSVAL
),
0
);
GRIB_CHECK
(
grib_set_double
(
gh
,
"missingValue"
,
cdiDefaultMissval
),
0
);
GRIB_CHECK
(
grib_get_long
(
gh
,
"editionNumber"
,
&
editionNumber
),
0
);
...
...
@@ -1322,7 +1322,7 @@ int gribapiScanTimestep2(int streamID)
}
gh
=
grib_handle_new_from_message
(
NULL
,
(
void
*
)
gribbuffer
,
recsize
);
GRIB_CHECK
(
grib_set_double
(
gh
,
"missingValue"
,
GRIBAPI_MISSVAL
),
0
);
GRIB_CHECK
(
grib_set_double
(
gh
,
"missingValue"
,
cdiDefaultMissval
),
0
);
GRIB_CHECK
(
grib_get_long
(
gh
,
"editionNumber"
,
&
editionNumber
),
0
);
...
...
@@ -1630,7 +1630,7 @@ int gribapiScanTimestep(int streamID)
}
gh
=
grib_handle_new_from_message
(
NULL
,
(
void
*
)
gribbuffer
,
recsize
);
GRIB_CHECK
(
grib_set_double
(
gh
,
"missingValue"
,
GRIBAPI_MISSVAL
),
0
);
GRIB_CHECK
(
grib_set_double
(
gh
,
"missingValue"
,
cdiDefaultMissval
),
0
);
GRIB_CHECK
(
grib_get_long
(
gh
,
"editionNumber"
,
&
editionNumber
),
0
);
...
...
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