IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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/getstar/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.