IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36083


Ignore:
Timestamp:
Aug 31, 2013, 5:24:27 AM (13 years ago)
Author:
eugene
Message:

merge changes from EAM branch (additional handling for chip to chip warping and to ignore sources if desired)

Location:
trunk/pswarp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r35563 r36083  
    5454    // We re-activate the CMF load so we can transform the sources as well as the pixels.
    5555    // We only need to read in these if the astrometry source is CMF.
    56     pmFPAfileActivate(config->files, true, "PSWARP.ASTROM");
     56    if (psMetadataLookupBool(&status, recipe, "SOURCES")) {
     57        pmFPAfileActivate(config->files, true, "PSWARP.ASTROM");
     58    }
    5759
    5860    // loop over this section once per input group
  • trunk/pswarp/src/pswarpOverlaps.c

    r35563 r36083  
    117117        psTrace ("pswarp", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);
    118118        // if (!chip->file_exists) { continue; } // this fpa refers to the output file, so no chip exist
     119        if (!chip->toFPA) { continue; } // this fpa refers to the output file, so no chip exist
    119120        assert (chip->toFPA);
    120121        chip->process = true; // start with process true, we will de-activate later (pswarpFindOverlaps)
     
    179180    for (int j = 0; j < output->chips->n; j++) {
    180181        pmChip *chip = output->chips->data[j];
     182
     183        if (!isfinite(tgt->Pmin->data.F32[j])) continue;
     184        if (!isfinite(tgt->Pmax->data.F32[j])) continue;
     185        if (!isfinite(tgt->Qmin->data.F32[j])) continue;
     186        if (!isfinite(tgt->Qmax->data.F32[j])) continue;
    181187
    182188        // we have src bounds
Note: See TracChangeset for help on using the changeset viewer.