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
d99ea749
Commit
d99ea749
authored
Jul 05, 2013
by
Uwe Schulzweida
Browse files
streamFilesuffix: changed default filename suffix for FILETYPE_NC2 to nc
parent
8fd6d930
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d99ea749
2013-07-04 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* gribapiDefLevel::ZAXIS_DEPTH_BELOW_LAND: apply scalefactor to dlevel2 (bug fix) [report: Harald Anlauf]
* streamFilesuffix: changed default filename suffix for FILETYPE_NC2 to nc
2013-06-28 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
src/stream.c
View file @
d99ea749
...
...
@@ -524,7 +524,7 @@ int streamInqByteorder(int streamID)
char
*
streamFilesuffix
(
int
filetype
)
{
static
char
*
fileSuffix
[]
=
{
""
,
".grb"
,
".g2"
,
".nc"
,
".nc
2
"
,
".nc4"
,
".nc4"
,
".srv"
,
".ext"
,
".ieg"
,
".h5"
};
static
char
*
fileSuffix
[]
=
{
""
,
".grb"
,
".g2"
,
".nc"
,
".nc"
,
".nc4"
,
".nc4"
,
".srv"
,
".ext"
,
".ieg"
};
int
size
=
(
int
)
(
sizeof
(
fileSuffix
)
/
sizeof
(
char
*
));
if
(
filetype
>
0
&&
filetype
<
size
)
...
...
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