Index: trunk/Ohana/src/fixcat/src/gcatstats.c
===================================================================
--- trunk/Ohana/src/fixcat/src/gcatstats.c	(revision 36455)
+++ trunk/Ohana/src/fixcat/src/gcatstats.c	(revision 36481)
@@ -52,5 +52,5 @@
   catstats[0].coords.pc1_1 = catstats[0].coords.pc2_2 = 1.0;
   catstats[0].coords.pc1_2 = catstats[0].coords.pc2_1 = 0.0;
-  strcpy (catstats[0].coords.ctype, "RA---TAN");
+  strcpy (catstats[0].coords.ctype, "DEC--TAN");
 
   X1 = catstats[0].X;
Index: trunk/Ohana/src/gastro/src/gstars.c
===================================================================
--- trunk/Ohana/src/gastro/src/gstars.c	(revision 36455)
+++ trunk/Ohana/src/gastro/src/gstars.c	(revision 36481)
@@ -79,5 +79,5 @@
   if (!strcasecmp (ROUGH_ASTROMETRY, "config")) {
     /* default values for coords */
-    strcpy (coords[0].ctype, "RA---TAN");
+    strcpy (coords[0].ctype, "DEC--TAN");
     coords[0].pc1_1 = CCD_PC1_1; coords[0].pc1_2 = CCD_PC1_2;
     coords[0].pc2_1 = CCD_PC2_1; coords[0].pc2_2 = CCD_PC2_2;
Index: trunk/Ohana/src/gastro2/src/coordtest.c
===================================================================
--- trunk/Ohana/src/gastro2/src/coordtest.c	(revision 36455)
+++ trunk/Ohana/src/gastro2/src/coordtest.c	(revision 36481)
@@ -85,5 +85,5 @@
   fit_eval ();
 
-  strcpy (coords.ctype, "RA---PLY");
+  strcpy (coords.ctype, "DEC--PLY");
   coords.crval1 = 0.0;
   coords.crval2 = 0.0;
Index: trunk/Ohana/src/gastro2/src/gstars2.c
===================================================================
--- trunk/Ohana/src/gastro2/src/gstars2.c	(revision 36455)
+++ trunk/Ohana/src/gastro2/src/gstars2.c	(revision 36481)
@@ -28,5 +28,5 @@
 
   /* default values for coords */
-  strcpy (Target[0].coords.ctype, "RA---TAN");
+  strcpy (Target[0].coords.ctype, "DEC--TAN");
   Target[0].coords.pc1_1 = CCD_PC1_1; Target[0].coords.pc1_2 = CCD_PC1_2;
   Target[0].coords.pc2_1 = CCD_PC2_1; Target[0].coords.pc2_2 = CCD_PC2_2;
Index: trunk/Ohana/src/getstar/src/GetFileMode.c
===================================================================
--- trunk/Ohana/src/getstar/src/GetFileMode.c	(revision 36455)
+++ trunk/Ohana/src/getstar/src/GetFileMode.c	(revision 36481)
@@ -10,5 +10,5 @@
   gfits_scan_alt (header, "SIMPLE", "%t", 1, &simple);
   haveNaxis = gfits_scan (header, "NAXIS",  "%d", 1, &Naxis);
-  haveCTYPE = gfits_scan (header, "CTYPE1", "%s", 1, ctype);
+  haveCTYPE = gfits_scan (header, "CTYPE2", "%s", 1, ctype);
 
   gfits_scan_alt (header, "EXTEND", "%t", 1, &extend);
Index: trunk/Ohana/src/getstar/src/MatchImages.c
===================================================================
--- trunk/Ohana/src/getstar/src/MatchImages.c	(revision 36455)
+++ trunk/Ohana/src/getstar/src/MatchImages.c	(revision 36481)
@@ -36,5 +36,5 @@
     tcoords.pc1_2 = tcoords.pc2_1 = 0.0;
     tcoords.Npolyterms = 1;
-    strcpy (tcoords.ctype, "RA---TAN");
+    strcpy (tcoords.ctype, "DEC--TAN");
     /* register so image->sky conversions below have correct mosaic */
   } else {
@@ -44,5 +44,5 @@
     tcoords.pc1_2 = tcoords.pc2_1 = 0.0;
     tcoords.Npolyterms = 1;
-    strcpy (tcoords.ctype, "RA---TAN");
+    strcpy (tcoords.ctype, "DEC--TAN");
   }
 
Index: trunk/Ohana/src/markrock/src/gcatstats.c
===================================================================
--- trunk/Ohana/src/markrock/src/gcatstats.c	(revision 36455)
+++ trunk/Ohana/src/markrock/src/gcatstats.c	(revision 36481)
@@ -40,5 +40,5 @@
   catstats[0].coords.pc1_1 = catstats[0].coords.pc2_2 = 1.0;
   catstats[0].coords.pc1_2 = catstats[0].coords.pc2_1 = 0.0;
-  strcpy (catstats[0].coords.ctype, "RA---TAN");
+  strcpy (catstats[0].coords.ctype, "DEC--TAN");
 
   X1 = catstats[0].X;
Index: trunk/Ohana/src/photdbc/src/find_images.c
===================================================================
--- trunk/Ohana/src/photdbc/src/find_images.c	(revision 36455)
+++ trunk/Ohana/src/photdbc/src/find_images.c	(revision 36481)
@@ -25,5 +25,5 @@
   tcoords.pc1_1  = tcoords.pc2_2 = 1.0;
   tcoords.pc1_2  = tcoords.pc2_1 = 0.0;
-  strcpy (tcoords.ctype, "RA---TAN");
+  strcpy (tcoords.ctype, "DEC--TAN");
 
   timage = gfits_table_get_Image (&db[0].ftable, &Ntimage, &db[0].swapped);
Index: trunk/Ohana/src/photdbc/src/join_stars.c
===================================================================
--- trunk/Ohana/src/photdbc/src/join_stars.c	(revision 36455)
+++ trunk/Ohana/src/photdbc/src/join_stars.c	(revision 36481)
@@ -57,5 +57,5 @@
   tcoords.pc1_2  = tcoords.pc2_1 = 0.0;
   tcoords.Npolyterms = 0;
-  strcpy (tcoords.ctype, "RA---TAN");
+  strcpy (tcoords.ctype, "DEC--TAN");
   
   /* project & sort coordinates in local linear frame */
Index: trunk/Ohana/src/uniphot/src/find_image_sgroups.c
===================================================================
--- trunk/Ohana/src/uniphot/src/find_image_sgroups.c	(revision 36455)
+++ trunk/Ohana/src/uniphot/src/find_image_sgroups.c	(revision 36481)
@@ -22,5 +22,5 @@
   coords.pc1_1 = coords.pc2_2 = 1.0;
   coords.pc1_2 = coords.pc2_1 = 0.0;
-  strcpy (coords.ctype, "RA---TAN");
+  strcpy (coords.ctype, "DEC--TAN");
   
   Ngroup = 0;
Index: trunk/Ohana/src/uniphot/src/update_dvo_uniphot.c
===================================================================
--- trunk/Ohana/src/uniphot/src/update_dvo_uniphot.c	(revision 36455)
+++ trunk/Ohana/src/uniphot/src/update_dvo_uniphot.c	(revision 36481)
@@ -61,5 +61,5 @@
   coords.pc1_1 = coords.pc2_2 = 1.0;
   coords.pc1_2 = coords.pc2_1 = 0.0;
-  strcpy (coords.ctype, "RA---TAN");
+  strcpy (coords.ctype, "DEC--TAN");
   
   for (i = 0; i < pglob.gl_pathc; i++) {
