IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 17, 2010, 5:49:51 PM (16 years ago)
Author:
Paul Price
Message:

Removing the 'FPA.OBS' concept (once called 'FPA.NAME'). The original idea was to provide a bit of protection against user error --- not reading a flat into an FPA containing an image, etc. However, that's not really necessary, and there's not always a nice keyword that we can use that is the exposure number or something like that, and so we end up with a lot of unneccessary warnings. Better to do away with it completely. It's not used for anything except that check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCamera.c

    r24782 r27989  
    1919                const char *name,       ///< Name of output file
    2020                pmFPAfileType type,     ///< Type of file
    21                 const char *description, ///< Description of file
    2221                psMetadata *format,     ///< Camera format
    2322                pmFPAview *view         ///< View for PHU
     
    8483    output->save = true;
    8584
    86     if (!pmFPAAddSourceFromView(fpa, description, view, format)) {
     85    if (!pmFPAAddSourceFromView(fpa, view, format)) {
    8786        psError(PS_ERR_UNKNOWN, false, "Unable to generate output FPA.");
    8887        return false;
     
    337336      case PPMERGE_TYPE_FRINGE:
    338337        fileType = PM_FPA_FILE_FRINGE;
    339         break;
     338        break;
    340339      default:
    341340        psAbort("Unknown frame type: %x", type);
    342341    }
    343342
    344     if (!outputFile(config, outName, fileType, "Merged detrend", format, phuView)) {
     343    if (!outputFile(config, outName, fileType, format, phuView)) {
    345344        psFree(outName);
    346345        psFree(phuView);
     
    349348    psFree(outName);
    350349
    351     if (!outputFile(config, "PPMERGE.OUTPUT.SIGMA", PM_FPA_FILE_IMAGE, "Merge sigma", format, phuView)) {
     350    if (!outputFile(config, "PPMERGE.OUTPUT.SIGMA", PM_FPA_FILE_IMAGE, format, phuView)) {
    352351        psFree(phuView);
    353352        return false;
    354353    }
    355354
    356     if (!outputFile(config, "PPMERGE.OUTPUT.COUNT", PM_FPA_FILE_IMAGE, "Merged count", format, phuView)) {
     355    if (!outputFile(config, "PPMERGE.OUTPUT.COUNT", PM_FPA_FILE_IMAGE, format, phuView)) {
    357356        psFree(phuView);
    358357        return false;
Note: See TracChangeset for help on using the changeset viewer.