Index: /trunk/ippTasks/detrend.process.pro
===================================================================
--- /trunk/ippTasks/detrend.process.pro	(revision 12746)
+++ /trunk/ippTasks/detrend.process.pro	(revision 12747)
@@ -158,5 +158,5 @@
       $outroot = `ipp_datapath.pl $WORKDIR`
     end
-    $outroot = $outroot/$EXP_TAG
+    $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID/$EXP_TAG
     $logfile = $outroot/detproc.$DET_ID.$CLASS_ID.log
     stdout $logfile
@@ -280,5 +280,5 @@
       $outroot = `ipp_datapath.pl $WORKDIR`
     end
-    $outroot = $outroot/$EXP_TAG
+    $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID/$EXP_TAG
     $logfile = $outroot/detproc.$DET_ID.$ITERATION.log
     stdout $logfile
Index: /trunk/ippTasks/detrend.resid.pro
===================================================================
--- /trunk/ippTasks/detrend.resid.pro	(revision 12746)
+++ /trunk/ippTasks/detrend.resid.pro	(revision 12747)
@@ -158,5 +158,5 @@
       $outroot = `ipp_datapath.pl $WORKDIR`
     end
-    $outroot = $outroot/$EXP_TAG
+    $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID/$EXP_TAG
     $logfile = $outroot/detresid.$DET_ID.$ITERATION.$CLASS_ID.log
     stdout $logfile
@@ -281,5 +281,5 @@
       $outroot = `ipp_datapath.pl $WORKDIR`
     end
-    $outroot = $outroot/$EXP_TAG
+    $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID/$EXP_TAG
     $logfile = $outroot/detresid.$DET_ID.$ITERATION.log
     stdout $logfile
