IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2007, 10:20:28 AM (19 years ago)
Author:
eugene
Message:

added explicit option to request internal mask and weight image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageParseCamera.c

    r14211 r14223  
    385385
    386386    // Turn off mask and weight output if we're not doing anything interesting
    387     bool noMask = (!options->doMask && !options->doShutter && !options->doFlat && !options->doPhotom);
    388     if (noMask && outMask->save) {
     387    if (!options->doMaskBuild && outMask->save) {
    389388        psWarning("output mask image (BASE.MASK.FITS) requested, but not generated: skipping.\n");
    390389        outMask->save = false;
    391390    }
    392     if (noMask && outWeight->save) {
     391    if (!options->doWeightBuild && outWeight->save) {
    393392        psWarning("output weight image (BASE.WEIGHT.FITS) requested, but not generated: skipping.\n");
    394393        outWeight->save = false;
    395394    }
    396     if (noMask && chipMask->save) {
     395    if (!options->doMaskBuild && chipMask->save) {
    397396        psWarning("output mask image (CHIP.MASK.FITS) requested, but not generated: skipping.\n");
    398397        chipMask->save = false;
    399398    }
    400     if (noMask && chipWeight->save) {
     399    if (!options->doWeightBuild && chipWeight->save) {
    401400        psWarning("output weight image (CHIP.WEIGHT.FITS) requested, but not generated: skipping.\n");
    402401        chipWeight->save = false;
Note: See TracChangeset for help on using the changeset viewer.