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
7020adfe
Commit
7020adfe
authored
Oct 05, 2011
by
Uwe Schulzweida
Browse files
stream_cdf::cdfInqContents: check units of hybrid levels
parent
7dd8dfd5
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7020adfe
2011-10-05 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_cdf::cdfInqContents: check units of hybrid levels
2011-10-02 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* deflate compression with netCDF4 doesn't work (bug fix) [report: Geert Jan van Oldenborgh]
...
...
configure
View file @
7020adfe
...
...
@@ -809,7 +809,6 @@ enable_dependency_tracking
with_gnu_ld
with_sysroot
enable_libtool_lock
with_gnu_ld
enable_largefile
with_threads
with_zlib
...
...
@@ -839,25 +838,16 @@ LDFLAGS
LIBS
CPPFLAGS
CPP
CPPFLAGS
FC
FCFLAGS
LDFLAGS
LIBS
FPP
FPPFLAGS
F77
FFLAGS
LDFLAGS
LIBS
CXX
CXXFLAGS
LDFLAGS
LIBS
CPPFLAGS
CCC
CXXCPP
CPPFLAGS
FCMODEXT'
...
...
src/stream_cdf.c
View file @
7020adfe
...
...
@@ -4809,7 +4809,7 @@ void verify_coordinate_vars_1(int ndims, ncdim_t *ncdims, ncvar_t *ncvars, int t
{
ncvars
[
ncvarid
].
zaxistype
=
ZAXIS_PRESSURE
;
}
else
if
(
strcmp
(
ncvars
[
ncvarid
].
units
,
"level"
)
==
0
)
else
if
(
strcmp
(
ncvars
[
ncvarid
].
units
,
"level"
)
==
0
||
strcmp
(
ncvars
[
ncvarid
].
units
,
"1"
)
==
0
)
{
if
(
strcmp
(
ncvars
[
ncvarid
].
longname
,
"hybrid level at layer midpoints"
)
==
0
)
ncvars
[
ncvarid
].
zaxistype
=
ZAXIS_HYBRID
;
...
...
@@ -4890,7 +4890,7 @@ void verify_coordinate_vars_2(int nvars, ncvar_t *ncvars)
ncvars
[
ncvarid
].
zaxistype
=
ZAXIS_PRESSURE
;
continue
;
}
else
if
(
strcmp
(
ncvars
[
ncvarid
].
units
,
"level"
)
==
0
)
else
if
(
strcmp
(
ncvars
[
ncvarid
].
units
,
"level"
)
==
0
||
strcmp
(
ncvars
[
ncvarid
].
units
,
"1"
)
==
0
)
{
if
(
strcmp
(
ncvars
[
ncvarid
].
longname
,
"hybrid level at layer midpoints"
)
==
0
)
ncvars
[
ncvarid
].
zaxistype
=
ZAXIS_HYBRID
;
...
...
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