Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 1142)
+++ trunk/BNC/bncgetthread.cpp	(revision 1143)
@@ -60,5 +60,5 @@
 using namespace std;
 
-// Constructor
+// Constructor 1
 ////////////////////////////////////////////////////////////////////////////
 bncGetThread::bncGetThread(const QByteArray& rawInpFileName, 
@@ -66,5 +66,5 @@
 
   _format = format;
-  _staID  = "SASS";  
+  _staID  = rawInpFileName.left(4);  
 
   initialize();
@@ -76,4 +76,6 @@
 }
 
+// Constructor 2
+////////////////////////////////////////////////////////////////////////////
 bncGetThread::bncGetThread(const QUrl& mountPoint, 
                            const QByteArray& format,
@@ -86,5 +88,4 @@
   _mountPoint = mountPoint;
   _staID      = mountPoint.path().mid(1).toAscii();
-  _staID_orig = _staID;
   _format     = format;
   _latitude   = latitude;
@@ -96,4 +97,6 @@
 }
 
+// Initialization
+////////////////////////////////////////////////////////////////////////////
 void bncGetThread::initialize() {
 
@@ -104,4 +107,5 @@
   _rawInpFile = 0;
   _rawOutFile = 0;
+  _staID_orig = _staID;
 
   // Check name conflict
