IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2007, 2:44:14 PM (19 years ago)
Author:
Paul Price
Message:

Adding ability to get stamps from sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCamera.c

    r14626 r14811  
    214214    }
    215215
     216    // Sources for use as stamps
     217    bool status = false;                // Found the file?
     218    pmFPAfile *sources = pmFPAfileDefineFromArgs(&status, config, "PPSTACK.SOURCES", "PPSTACK.SOURCES");
     219    if (!status) {
     220        psError(PS_ERR_IO, false, "Failed to load file definition PPSTACK.SOURCES");
     221        return false;
     222    }
     223    if (sources && sources->type != PM_FPA_FILE_CMF) {
     224        psError(PS_ERR_IO, true, "PPSTACK.SOURCES is not of type CMF");
     225        return false;
     226    }
     227
    216228    // For photometry, we operate on the chip-mosaicked image
    217229    // we create a copy of the mosaicked image for psphot so we can write out a clean image
Note: See TracChangeset for help on using the changeset viewer.