From acad26f775b25990a2d562acb74b4e1472a293e3 Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Wed, 27 Jun 2007 11:57:28 +0000 Subject: [PATCH] varscan: add full vct support --- ChangeLog | 1 + src/varscan.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e599558f2..799e505f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * stream_ieg: bug fix memory leak [report: Philip Lorenz] * add function gridIsCyclic * zaxisDuplicate: bug fix + * varscan: add full vct support * cdfInqContents: print warning if cell_measures is missing * cdfInqContents: check also x/yvarid to compare curvilinear grids * Version 1.0.7 released diff --git a/src/varscan.c b/src/varscan.c index 062fe160a..0f06f9370 100644 --- a/src/varscan.c +++ b/src/varscan.c @@ -689,7 +689,8 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, double *levels, int lbo if ( zaxistype == ZAXIS_HYBRID ) { /* 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); else Warning(func, "VCT missing"); -- GitLab