Commit acad26f7 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

varscan: add full vct support

parent 2bf121d7
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* stream_ieg: bug fix memory leak [report: Philip Lorenz] * stream_ieg: bug fix memory leak [report: Philip Lorenz]
* add function gridIsCyclic * add function gridIsCyclic
* zaxisDuplicate: bug fix * zaxisDuplicate: bug fix
* varscan: add full vct support
* cdfInqContents: print warning if cell_measures is missing * cdfInqContents: print warning if cell_measures is missing
* cdfInqContents: check also x/yvarid to compare curvilinear grids * cdfInqContents: check also x/yvarid to compare curvilinear grids
* Version 1.0.7 released * Version 1.0.7 released
......
...@@ -689,7 +689,8 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, double *levels, int lbo ...@@ -689,7 +689,8 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, double *levels, int lbo
if ( zaxistype == ZAXIS_HYBRID ) if ( zaxistype == ZAXIS_HYBRID )
{ {
/* if ( vctsize > 0 && vctsize >= 2*(nlevels+1)) */ /* if ( vctsize > 0 && vctsize >= 2*(nlevels+1)) */
if ( vctsize > 0 && vctsize >= 2*(nlevels)) /* if ( vctsize > 0 && vctsize >= 2*(nlevels)) */
if ( vctsize > 0 )
zaxisDefVct(zaxisID, vctsize, vct); zaxisDefVct(zaxisID, vctsize, vct);
else else
Warning(func, "VCT missing"); Warning(func, "VCT missing");
......
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