Commit 632c9738 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfInqContents: added support for hectopascals zaxis

parent ba53493d
...@@ -4781,6 +4781,7 @@ int cdfInqContents(int streamID) ...@@ -4781,6 +4781,7 @@ int cdfInqContents(int streamID)
} }
else if ( memcmp(ncvars[ncvarid].units, "millibar", 8) == 0 || else if ( memcmp(ncvars[ncvarid].units, "millibar", 8) == 0 ||
memcmp(ncvars[ncvarid].units, "mb", 2) == 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, "hPa", 3) == 0 ||
memcmp(ncvars[ncvarid].units, "Pa", 2) == 0 ) memcmp(ncvars[ncvarid].units, "Pa", 2) == 0 )
{ {
...@@ -4862,6 +4863,7 @@ int cdfInqContents(int streamID) ...@@ -4862,6 +4863,7 @@ int cdfInqContents(int streamID)
} }
else if ( memcmp(ncvars[ncvarid].units, "millibar", 8) == 0 || else if ( memcmp(ncvars[ncvarid].units, "millibar", 8) == 0 ||
memcmp(ncvars[ncvarid].units, "mb", 2) == 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, "hPa", 3) == 0 ||
memcmp(ncvars[ncvarid].units, "Pa", 2) == 0 ) memcmp(ncvars[ncvarid].units, "Pa", 2) == 0 )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment