IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36481 for trunk/Ohana


Ignore:
Timestamp:
Feb 6, 2014, 12:20:57 PM (12 years ago)
Author:
eugene
Message:

be consistent with images ctype (derived from DEC not RA)

Location:
trunk/Ohana/src
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/fixcat/src/gcatstats.c

    r27435 r36481  
    5252  catstats[0].coords.pc1_1 = catstats[0].coords.pc2_2 = 1.0;
    5353  catstats[0].coords.pc1_2 = catstats[0].coords.pc2_1 = 0.0;
    54   strcpy (catstats[0].coords.ctype, "RA---TAN");
     54  strcpy (catstats[0].coords.ctype, "DEC--TAN");
    5555
    5656  X1 = catstats[0].X;
  • trunk/Ohana/src/gastro/src/gstars.c

    r34088 r36481  
    7979  if (!strcasecmp (ROUGH_ASTROMETRY, "config")) {
    8080    /* default values for coords */
    81     strcpy (coords[0].ctype, "RA---TAN");
     81    strcpy (coords[0].ctype, "DEC--TAN");
    8282    coords[0].pc1_1 = CCD_PC1_1; coords[0].pc1_2 = CCD_PC1_2;
    8383    coords[0].pc2_1 = CCD_PC2_1; coords[0].pc2_2 = CCD_PC2_2;
  • trunk/Ohana/src/gastro2/src/coordtest.c

    r8300 r36481  
    8585  fit_eval ();
    8686
    87   strcpy (coords.ctype, "RA---PLY");
     87  strcpy (coords.ctype, "DEC--PLY");
    8888  coords.crval1 = 0.0;
    8989  coords.crval2 = 0.0;
  • trunk/Ohana/src/gastro2/src/gstars2.c

    r34088 r36481  
    2828
    2929  /* default values for coords */
    30   strcpy (Target[0].coords.ctype, "RA---TAN");
     30  strcpy (Target[0].coords.ctype, "DEC--TAN");
    3131  Target[0].coords.pc1_1 = CCD_PC1_1; Target[0].coords.pc1_2 = CCD_PC1_2;
    3232  Target[0].coords.pc2_1 = CCD_PC2_1; Target[0].coords.pc2_2 = CCD_PC2_2;
  • trunk/Ohana/src/getstar/src/GetFileMode.c

    r34088 r36481  
    1010  gfits_scan_alt (header, "SIMPLE", "%t", 1, &simple);
    1111  haveNaxis = gfits_scan (header, "NAXIS",  "%d", 1, &Naxis);
    12   haveCTYPE = gfits_scan (header, "CTYPE1", "%s", 1, ctype);
     12  haveCTYPE = gfits_scan (header, "CTYPE2", "%s", 1, ctype);
    1313
    1414  gfits_scan_alt (header, "EXTEND", "%t", 1, &extend);
  • trunk/Ohana/src/getstar/src/MatchImages.c

    r34430 r36481  
    3636    tcoords.pc1_2 = tcoords.pc2_1 = 0.0;
    3737    tcoords.Npolyterms = 1;
    38     strcpy (tcoords.ctype, "RA---TAN");
     38    strcpy (tcoords.ctype, "DEC--TAN");
    3939    /* register so image->sky conversions below have correct mosaic */
    4040  } else {
     
    4444    tcoords.pc1_2 = tcoords.pc2_1 = 0.0;
    4545    tcoords.Npolyterms = 1;
    46     strcpy (tcoords.ctype, "RA---TAN");
     46    strcpy (tcoords.ctype, "DEC--TAN");
    4747  }
    4848
  • trunk/Ohana/src/markrock/src/gcatstats.c

    r27435 r36481  
    4040  catstats[0].coords.pc1_1 = catstats[0].coords.pc2_2 = 1.0;
    4141  catstats[0].coords.pc1_2 = catstats[0].coords.pc2_1 = 0.0;
    42   strcpy (catstats[0].coords.ctype, "RA---TAN");
     42  strcpy (catstats[0].coords.ctype, "DEC--TAN");
    4343
    4444  X1 = catstats[0].X;
  • trunk/Ohana/src/photdbc/src/find_images.c

    r30616 r36481  
    2525  tcoords.pc1_1  = tcoords.pc2_2 = 1.0;
    2626  tcoords.pc1_2  = tcoords.pc2_1 = 0.0;
    27   strcpy (tcoords.ctype, "RA---TAN");
     27  strcpy (tcoords.ctype, "DEC--TAN");
    2828
    2929  timage = gfits_table_get_Image (&db[0].ftable, &Ntimage, &db[0].swapped);
  • trunk/Ohana/src/photdbc/src/join_stars.c

    r29938 r36481  
    5757  tcoords.pc1_2  = tcoords.pc2_1 = 0.0;
    5858  tcoords.Npolyterms = 0;
    59   strcpy (tcoords.ctype, "RA---TAN");
     59  strcpy (tcoords.ctype, "DEC--TAN");
    6060 
    6161  /* project & sort coordinates in local linear frame */
  • trunk/Ohana/src/uniphot/src/find_image_sgroups.c

    r31160 r36481  
    2222  coords.pc1_1 = coords.pc2_2 = 1.0;
    2323  coords.pc1_2 = coords.pc2_1 = 0.0;
    24   strcpy (coords.ctype, "RA---TAN");
     24  strcpy (coords.ctype, "DEC--TAN");
    2525 
    2626  Ngroup = 0;
  • trunk/Ohana/src/uniphot/src/update_dvo_uniphot.c

    r34088 r36481  
    6161  coords.pc1_1 = coords.pc2_2 = 1.0;
    6262  coords.pc1_2 = coords.pc2_1 = 0.0;
    63   strcpy (coords.ctype, "RA---TAN");
     63  strcpy (coords.ctype, "DEC--TAN");
    6464 
    6565  for (i = 0; i < pglob.gl_pathc; i++) {
Note: See TracChangeset for help on using the changeset viewer.