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
554e563f
Commit
554e563f
authored
Jun 16, 2010
by
Uwe Schulzweida
Browse files
stream_history: added NC4 support
parent
be59bb8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
554e563f
2010-06-1
5
Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
2010-06-1
6
Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* using CGRIBEX library version 1.4.5
* Version 1.4.5 released
2010-05-16 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_history: added NC4 support [report: Etienne Tourigny]
2010-05-13 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cdfDefXYaxis: check also dimnames (bug fix) [report: Mikhail Itkin]
...
...
src/stream_history.c
View file @
554e563f
...
...
@@ -15,7 +15,9 @@ void streamDefHistory(int streamID, int length, const char *history)
streamptr
=
stream_to_pointer
(
streamID
);
if
(
streamptr
->
filetype
==
FILETYPE_NC
||
streamptr
->
filetype
==
FILETYPE_NC2
)
if
(
streamptr
->
filetype
==
FILETYPE_NC
||
streamptr
->
filetype
==
FILETYPE_NC2
||
streamptr
->
filetype
==
FILETYPE_NC4
)
{
char
*
histstring
;
size_t
len
;
...
...
@@ -40,7 +42,9 @@ int streamInqHistorySize(int streamID)
streamptr
=
stream_to_pointer
(
streamID
);
if
(
streamptr
->
filetype
==
FILETYPE_NC
||
streamptr
->
filetype
==
FILETYPE_NC2
)
if
(
streamptr
->
filetype
==
FILETYPE_NC
||
streamptr
->
filetype
==
FILETYPE_NC2
||
streamptr
->
filetype
==
FILETYPE_NC4
)
{
size
=
cdfInqHistorySize
(
streamID
);
}
...
...
@@ -55,7 +59,9 @@ void streamInqHistoryString(int streamID, char *history)
streamptr
=
stream_to_pointer
(
streamID
);
if
(
streamptr
->
filetype
==
FILETYPE_NC
||
streamptr
->
filetype
==
FILETYPE_NC2
)
if
(
streamptr
->
filetype
==
FILETYPE_NC
||
streamptr
->
filetype
==
FILETYPE_NC2
||
streamptr
->
filetype
==
FILETYPE_NC4
)
{
cdfInqHistoryString
(
streamID
,
history
);
}
...
...
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