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
61c5501b
Commit
61c5501b
authored
Feb 13, 2013
by
Uwe Schulzweida
Browse files
cgribexGetTsteptype: changed default to TSTEP_INSTANT
parent
2d869857
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
61c5501b
...
...
@@ -3,6 +3,10 @@
* Version 1.6.0 released
* using CGRIBEX library version 1.6.0
2013-02-13 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cgribexGetTsteptype: changed default to TSTEP_INSTANT [Bug #3211]
2013-02-04 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* netCDF: ignore the attribute valid_range, if the data type is inconsitent
...
...
src/stream_cgribex.c
View file @
61c5501b
...
...
@@ -125,7 +125,7 @@ int cgribexTimeIsFC(int *isec1)
static
int
cgribexGetTsteptype
(
int
timerange
)
{
int
tsteptype
=
0
;
int
tsteptype
=
TSTEP_INSTANT
;
static
int
lprint
=
TRUE
;
switch
(
timerange
)
...
...
@@ -826,7 +826,7 @@ int cgribexScanTimestep2(stream_t * streamptr)
cdi_create_records
(
streamptr
,
tsID
);
nrecords
=
streamptr
->
tsteps
[
tsID
].
nallrecs
;
streamptr
->
tsteps
[
1
].
recIDs
=
(
int
*
)
malloc
(
nrecords
*
sizeof
(
int
));
if
(
nrecords
)
streamptr
->
tsteps
[
1
].
recIDs
=
(
int
*
)
malloc
(
nrecords
*
sizeof
(
int
));
streamptr
->
tsteps
[
1
].
nrecs
=
0
;
for
(
recID
=
0
;
recID
<
nrecords
;
recID
++
)
streamptr
->
tsteps
[
1
].
recIDs
[
recID
]
=
-
1
;
...
...
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