IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2010, 3:45:08 PM (16 years ago)
Author:
Paul Price
Message:

Branching to branches/pap_delete for development of deletion of convolved diffs.

  • ppSub will now only write the convolved images if explicitly requested on the command-line.
  • diff_skyfile.pl only requests convolved images for warps (because we don't need to run magic on stacks).
  • magic_process.pl deletes the convolved images when done.
  • If magic_process.pl can't find the convolved image to use (e.g., it's already been deleted because we're re-running magic), then it is created on the fly using ppSubConvolve and the previously calculated convolution kernel.
Location:
branches/pap_delete
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/pap_delete/ppSub/src/ppSubCamera.c

    r27040 r27537  
    219219    data->photometry = psMetadataLookupBool(NULL, recipe, "PHOTOMETRY");
    220220
    221     bool mdok;                          // Status of MD lookup
    222     bool saveConv = psMetadataLookupBool(&mdok, recipe, "SAVE.CONVOLVED"); // Save convolved images?
    223 
    224221    // Convolved input image
    225222    pmFPAfile *inConvImage = defineOutputFile(config, input, true, "PPSUB.INPUT.CONV", PM_FPA_FILE_IMAGE);
     
    230227        return false;
    231228    }
    232     if (saveConv) {
    233         inConvImage->save = true;
    234         inConvMask->save = true;
    235     }
     229    inConvImage->save = data->saveInConv;
     230    inConvMask->save = data->saveInConv;
    236231    if (inVar) {
    237232        pmFPAfile *inConvVar = defineOutputFile(config, inConvImage, false, "PPSUB.INPUT.CONV.VARIANCE",
     
    241236            return false;
    242237        }
    243         if (saveConv) {
    244             inConvVar->save = true;
    245         }
     238        inConvVar->save = data->saveInConv;
    246239    }
    247240
     
    254247        return false;
    255248    }
    256     if (saveConv) {
    257         refConvImage->save = true;
    258         refConvMask->save = true;
    259     }
     249    refConvImage->save = data->saveRefConv;
     250    refConvMask->save = data->saveRefConv;
    260251    if (refVar) {
    261252        pmFPAfile *refConvVar = defineOutputFile(config, refConvImage, false, "PPSUB.REF.CONV.VARIANCE",
     
    265256            return false;
    266257        }
    267         if (saveConv) {
    268             refConvVar->save = true;
    269         }
     258        refConvVar->save = data->saveRefConv;
    270259    }
    271260
Note: See TracChangeset for help on using the changeset viewer.