Index: /tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_detections_dvopsps.c
===================================================================
--- /tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_detections_dvopsps.c	(revision 37303)
+++ /tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_detections_dvopsps.c	(revision 37304)
@@ -68,5 +68,5 @@
     catalog.Nsecfilt  = GetPhotcodeNsecfilt ();
 
-    if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "w")) {
+    if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "r")) {
       fprintf (stderr, "ERROR: failure reading catalog %s\n", catalog.filename);
       exit (1);
Index: /tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_objects_dvopsps.c
===================================================================
--- /tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_objects_dvopsps.c	(revision 37303)
+++ /tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_objects_dvopsps.c	(revision 37304)
@@ -56,5 +56,5 @@
     catalog.Nsecfilt  = GetPhotcodeNsecfilt ();
 
-    if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "w")) {
+    if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "r")) {
       fprintf (stderr, "ERROR: failure reading catalog %s\n", catalog.filename);
       exit (1);
Index: /tags/ipp-pv3-20140717/Ohana/src/getstar/src/getstar.c
===================================================================
--- /tags/ipp-pv3-20140717/Ohana/src/getstar/src/getstar.c	(revision 37303)
+++ /tags/ipp-pv3-20140717/Ohana/src/getstar/src/getstar.c	(revision 37304)
@@ -14,5 +14,5 @@
   set_db (&db);
 
-  sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, TRUE, SKY_DEPTH, VERBOSE);
+  sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, FALSE, SKY_DEPTH, VERBOSE);
   if (!sky) exit (1);
     
