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
8c2a62c3
Commit
8c2a62c3
authored
May 29, 2013
by
Uwe Schulzweida
Browse files
netCDF: skip 4D variables without time dimension (bug fix)
parent
4ec4478d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8c2a62c3
...
...
@@ -2,6 +2,10 @@
* Version 1.6.1 released
2013-05-29 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* netCDF: skip 4D variables without time dimension (bug fix)
2013-05-28 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* GRIB2: added support for pressure levels with 3 fractional digits
...
...
src/stream_cdf.c
View file @
8c2a62c3
...
...
@@ -6678,7 +6678,15 @@ int cdfInqContents(stream_t *streamptr)
if
(
ncvars
[
ncvarid
].
ndims
>
4
)
{
ncvars
[
ncvarid
].
isvar
=
0
;
Warning
(
"%d dimensional variables unsupported, skipped variable %s!"
,
Warning
(
"%d dimensional variables are not supported, skipped variable %s!"
,
ncvars
[
ncvarid
].
ndims
,
ncvars
[
ncvarid
].
name
);
continue
;
}
if
(
ncvars
[
ncvarid
].
ndims
==
4
&&
timedimid
==
UNDEFID
)
{
ncvars
[
ncvarid
].
isvar
=
0
;
Warning
(
"%d dimensional variables without time dimension are not supported, skipped variable %s!"
,
ncvars
[
ncvarid
].
ndims
,
ncvars
[
ncvarid
].
name
);
continue
;
}
...
...
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