IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 15, 2026, 4:38:57 PM (45 hours ago)
Author:
eugene
Message:

modest hack to handle simtest, which does not generate camera-stage masks (due to the absence of a static mask for simtest)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r43086 r43114  
    476476        # With the mdc file it has all of the information that it needs.
    477477        $image_name   = "PPIMAGE.CHIP";
    478         # $mask_name    = "PPIMAGE.CHIP.MASK";
    479         # XXX: really need to handle this properly!
    480         $mask_name    = "PSASTRO.OUTPUT.MASK";
     478
     479        # XXX: really need to handle this properly!  warp_skycell.pl has an example of how to examine the
     480        # config system and/or the mdc file to make this choice.
     481        if ($imagedb eq "simtest") {
     482            $mask_name    = "PPIMAGE.CHIP.MASK";
     483        } else {
     484            $mask_name    = "PSASTRO.OUTPUT.MASK";
     485        }
    481486        $weight_name  = "PPIMAGE.CHIP.VARIANCE";
    482487        $cmf_name     = "PSPHOT.OUTPUT";
Note: See TracChangeset for help on using the changeset viewer.