Skip to content
GitLab
Menu
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
632c9738
Commit
632c9738
authored
Oct 08, 2009
by
Uwe Schulzweida
Browse files
cdfInqContents: added support for hectopascals zaxis
parent
ba53493d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
632c9738
...
...
@@ -4781,6 +4781,7 @@ int cdfInqContents(int streamID)
}
else
if
(
memcmp
(
ncvars
[
ncvarid
].
units
,
"millibar"
,
8
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"mb"
,
2
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"hectopas"
,
8
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"hPa"
,
3
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"Pa"
,
2
)
==
0
)
{
...
...
@@ -4862,6 +4863,7 @@ int cdfInqContents(int streamID)
}
else
if
(
memcmp
(
ncvars
[
ncvarid
].
units
,
"millibar"
,
8
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"mb"
,
2
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"hectopas"
,
8
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"hPa"
,
3
)
==
0
||
memcmp
(
ncvars
[
ncvarid
].
units
,
"Pa"
,
2
)
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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