Index: trunk/ippTasks/warp.pro
===================================================================
--- trunk/ippTasks/warp.pro	(revision 19465)
+++ trunk/ippTasks/warp.pro	(revision 19545)
@@ -158,5 +158,5 @@
     book getword warpInputExp $pageName exp_tag -var EXP_TAG
 
-    ### XXX Instead of setting these by camera, need to set by skycell_id
+    # set the host and workdir (default)
     set.host.for.camera $CAMERA $WARP_ID
     set.workdir.by.camera $CAMERA $WARP_ID $WORKDIR_TEMPLATE $default_host WORKDIR
@@ -273,11 +273,7 @@
     book getword warpPendingSkyCell $pageName exp_tag -var EXP_TAG
 
-    ### XXX Instead of setting these by camera, need to set by skycell_id
-    set.host.for.camera $CAMERA $WARP_ID
-    set.workdir.by.camera $CAMERA $WARP_ID $WORKDIR_TEMPLATE $default_host WORKDIR
-
-    # XXX we are supplied TESS_DIR, strip off path to generate TESS_ID
-    # basename $TESS_DIR -var TESS_ID
-    # sprintf outroot "%s/%s/%s/%s.%s.wrp.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $WARP_ID
+    # set the host and workdir based on the skycell hash
+    set.host.for.skycell $SKYCELL_ID
+    set.workdir.by.skycell $SKYCELL_ID $WORKDIR_TEMPLATE $default_host WORKDIR
 
     ## generate outroot specific to this exposure
