[Kst] kdeextragear-2/kst/kst/datasources/cdf (silent)
George Staikos
staikos at kde.org
Thu Jul 29 03:32:50 CEST 2004
CVS commit by staikos:
remove debug :)
CVS_SILENT
M +4 -2 cdf.cpp 1.4
--- kdeextragear-2/kst/kst/datasources/cdf/cdf.cpp #1.3:1.4
@@ -76,4 +76,5 @@ int CdfSource::readField(double *v, cons
}
+ kdDebug() << _filename << " opened." << endl;
QString ftmp = field;
ftmp.truncate(CDF_VAR_NAME_LEN);
@@ -81,4 +82,5 @@ int CdfSource::readField(double *v, cons
strcpy(varName, ftmp.latin1());
status = CDFlib(SELECT_, zVAR_NAME_, varName, GET_, zVAR_DATATYPE_, &dataType, NULL_);
+ kdDebug() << " CDFlib SELECT called." << endl;
if (status < CDF_OK) { // if not zVar, try rVar
kdDebug() << ftmp << ": " << " not a zVAR" << endl;
@@ -97,4 +99,5 @@ int CdfSource::readField(double *v, cons
status = CDFlib (GET_, BOO(isZvar, zVAR_MAXREC_, rVAR_MAXREC_), &maxRec, NULL_);
+ kdDebug() << " CDFlib GET called." << endl;
if (n < 0) {
n = 1;
@@ -109,5 +112,4 @@ int CdfSource::readField(double *v, cons
GET_, BOO(isZvar, zVAR_DATA_, rVAR_DATA_), binary,
NULL_);
- kdDebug() << "v[" << i-s << "]" << endl;
switch (dataType) {
case CDF_INT2:
@@ -136,5 +138,5 @@ int CdfSource::readField(double *v, cons
}
// Uncomment following to see that it DOES read the values successfully
- kdDebug() << field << "[" << i << "]=" << v[i] << endl;
+ //kdDebug() << field << "[" << i << "]=" << v[i] << endl;
}
More information about the Kst
mailing list