Index: /trunk/BNC/upload/bncuploadcaster.cpp
===================================================================
--- /trunk/BNC/upload/bncuploadcaster.cpp	(revision 3189)
+++ /trunk/BNC/upload/bncuploadcaster.cpp	(revision 3190)
@@ -291,5 +291,10 @@
   
     QTextStream in(lines[ii].toAscii());
+
     in >> prn;
+    if (prn[0] == 'P') {
+      prn.remove(0,1);
+    }
+
     if ( ephMap.contains(prn) ) {
       in >> xx(1) >> xx(2) >> xx(3) >> xx(4) >> xx(5) 
@@ -336,4 +341,5 @@
         QString outLine;
         processSatellite(ep, epoTime.gpsw(), epoTime.gpssec(), prn, xx, sd, outLine);
+        cout << "outLine: " << outLine.toAscii().data() << endl;
         if (_outFile) {
           _outFile->write(epoTime.gpsw(), epoTime.gpssec(), outLine);
@@ -386,4 +392,5 @@
   
     int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer));
+    cout << "write clock " << len << endl;
     if (len > 0) {
       this->write(obuffer, len);
@@ -395,4 +402,5 @@
     char obuffer[CLOCKORBIT_BUFFERSIZE];
     int len = MakeBias(&bias, BTYPE_AUTO, 0, obuffer, sizeof(obuffer));
+    cout << "write bias " << len << endl;
     if (len > 0) {
       this->write(obuffer, len);
