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
b238a327
Commit
b238a327
authored
Sep 23, 2008
by
Uwe Schulzweida
Browse files
streamFilesuffix: bug fix for IEG
parent
4b6092d5
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b238a327
...
...
@@ -4,6 +4,7 @@
* add new taxis functions: taxisXXXVdateBounds and taxisXXXVtimeBounds
* cdfReadVarSliceDP: add swapxy support
* cdfInqContents: support of grid stdname 'longitude' and 'latitude'
* streamFilesuffix: bug fix for IEG [report: Class Teichmann]
* netcdf: support of timeunit 'year'
* Version 1.2.1 released
...
...
src/stream.c
View file @
b238a327
...
...
@@ -465,7 +465,7 @@ int streamInqByteorder(int streamID)
char
*
streamFilesuffix
(
int
filetype
)
{
static
char
*
fileSuffix
[]
=
{
""
,
".grb"
,
".g2"
,
".nc"
,
".nc2"
,
".nc4"
,
".srv"
,
".ext"
,
".
h5
"
,
".
ieg
"
};
static
char
*
fileSuffix
[]
=
{
""
,
".grb"
,
".g2"
,
".nc"
,
".nc2"
,
".nc4"
,
".srv"
,
".ext"
,
".
ieg
"
,
".
h5
"
};
int
size
=
(
int
)
(
sizeof
(
fileSuffix
)
/
sizeof
(
char
*
));
if
(
filetype
>
0
&&
filetype
<
size
)
...
...
src/stream_int.c
View file @
b238a327
...
...
@@ -38,8 +38,8 @@ char *Filetypes[] = {
"netCDF4"
,
"SERVICE"
,
"EXTRA"
,
"HDF5"
,
"IEG"
,
"HDF5"
,
};
#undef UNDEFID
...
...
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