IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 14, 2009, 5:01:49 PM (17 years ago)
Author:
Paul Price
Message:

Fixing bugs found when testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_mops_translate.pl

    r24190 r24191  
    7878check_fitsio($status);
    7979
    80 # Plate scales
    81 my $cdelt1 = $$inHeader{'CDELT1'} or die("Can't find CDELT1");
    82 my $cdelt2 = $$inHeader{'CDELT2'} or die("Can't find CDELT2");
    83 
    8480# Read table data
    8581$inFits->movnam_hdu(BINARY_TBL, $extname, 0, $status) and check_fitsio($status);
     
    109105}
    110106
     107# Plate scales
     108#my $cdelt1 = $$inHeader{'CDELT1'} or die("Can't find CDELT1");
     109#my $cdelt2 = $$inHeader{'CDELT2'} or die("Can't find CDELT2");
     110### XXX WCS wasn't being set in inverse diffs, but it's available elsewhere
     111my $cdelt1 = $$scale[0] / 3600;
     112my $cdelt2 = $$scale[1] / 3600;
    111113
    112114# Parse the list of columns
Note: See TracChangeset for help on using the changeset viewer.