[Kst] kdeextragear-2/kst/kst/datasources/cdf

George Staikos staikos at kde.org
Tue Aug 3 19:16:57 CEST 2004


CVS commit by staikos: 

update from Nicolas


  M +3 -1      cdf.cpp   1.8
  M +1 -1      cdf.h   1.3


--- kdeextragear-2/kst/kst/datasources/cdf/cdf.cpp  #1.7:1.8
@@ -85,5 +85,5 @@ int CdfSource::readField(double *v, cons
   kdDebug() << " CDFlib SELECT called." << endl;
   if (status < CDF_OK) { // if not zVar, try rVar
-    kdDebug() << ftmp << ": " << " not a zVAR" << endl;
+    kdDebug() << ftmp << ": " << " not a zVAR (" << status <<")" << endl;
     isZvar = false;
     status = CDFlib(SELECT_, rVAR_NAME_, varName, GET_, rVAR_DATATYPE_, &dataType, NULL_);
@@ -194,4 +194,5 @@ int CdfSource::frameCount(const QString&
     return 0;
   }
+  kdDebug() << _filename << ": counting frames for " << field << endl;
   
   // Handle the case where the argument is null (return max number of records for all vars)
@@ -230,4 +231,5 @@ int CdfSource::frameCount(const QString&
   
   CDFclose(id);
+  kdDebug() << _filename << "/" << field << ": " << maxRec << " frames found" << endl;
   if (status< CDF_OK) return 0;
   else return (int) maxRec;

--- kdeextragear-2/kst/kst/datasources/cdf/cdf.h  #1.2:1.3
@@ -3,5 +3,5 @@
                              -------------------
     begin                : 17/06/2004
-    copyright            : (C) 2004 Nicolas Brisset <Nicolas.Brisset at eurocopter.com >
+    copyright            : (C) 2004 Nicolas Brisset <nicodev at users.sourceforge.net>
     email                : kst at kde.org
  ***************************************************************************/





More information about the Kst mailing list