IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34458


Ignore:
Timestamp:
Sep 20, 2012, 4:51:00 PM (14 years ago)
Author:
watersc1
Message:

I can't think of a clean way to choose the right WCS to use. I'm
going to call this "done," with the caveat that inputs should be
ordered correctly (000 skycell or equivalent first).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20120906/ppSkycell/src/ppSkycellLoop.c

    r34457 r34458  
    232232            if (!projhdu) {
    233233              projhdu = file->fpa->hdu;
    234             }
     234              //              psMetadataCopy(projhdu->header,file->fpa->hdu->header);
     235            }
     236#if 0
     237            else {
     238              if ((psMetadataLookupF32(NULL,file->fpa->hdu->header,"CRPIX1") >=
     239                   psMetadataLookupF32(NULL,projhdu->header,"CRPIX1"))&&
     240                  (psMetadataLookupF32(NULL,file->fpa->hdu->header,"CRPIX2") >=
     241                   psMetadataLookupF32(NULL,projhdu->header,"CRPIX1"))) {
     242                projhdu = file->fpa->hdu;
     243                psMetadataCopy(projhdu->header,file->fpa->hdu->header);
     244              }
     245            }
     246#endif   
     247           
    235248            pmReadout *inRO = pmFPAviewThisReadout(view, file->fpa); // Readout with input
    236249            psFree(view);
Note: See TracChangeset for help on using the changeset viewer.