IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 2, 2015, 7:53:00 AM (11 years ago)
Author:
eugene
Message:

add mkcmf -forcedgalaxy; add forcedelete mode to mkgpc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/test/mkgpc1data.dvo

    r39016 r39021  
    249249
    250250    ## this is not generating photcodes recognized as stack by relphot
     251    if ($SMALLTEST && ($stkID != 1) && ($stkID != 4)) continue
    251252
    252253    mkinput $offset $rawfile
     
    331332    echo addstar -D SKY_DEPTH 4 -D CATDIR $catdir -D CAMERA simtest $cmffile -D CATFORMAT $2 -quick-airmass -xrad
    332333    exec addstar -D SKY_DEPTH 4 -D CATDIR $catdir -D CAMERA simtest $cmffile -D CATFORMAT $2 -quick-airmass -xrad
     334  end
     335 
     336  # add the forcedgalaxy files for the above warps:
     337  for i 0 $stackdata:n
     338    list word -split $stackdata:$i
     339    $stkID = $word:0
     340    $rawfile = $word:2\.txt
     341    $cmffile = $word:2\.cmf
     342    $offset = $word:3
     343    $filter = $word:4
     344
     345    ## this is not generating photcodes recognized as stack by relphot
     346    if ($SMALLTEST && ($stkID != 1) && ($stkID != 4)) continue
     347
     348    echo mkcmf -forcedgalaxy -photcode SIMTEST.$filter.ForcedWarp $rawfile $cmffile -extroot SkyChip -date 2008/1/1 -time $i\:00:00 -mjd 54466.0 -radec $RA $DEC -type $1 -imageID $stkID -sourceID 1 -tess_id $TESS_ID -skycell $SKYCELL
     349    exec mkcmf -forcedgalaxy -photcode SIMTEST.$filter.ForcedWarp $rawfile $cmffile -extroot SkyChip -date 2008/1/1 -time $i\:00:00 -mjd 54466.0 -radec $RA $DEC -type $1 -imageID $stkID -sourceID 1 -tess_id $TESS_ID -skycell $SKYCELL
     350
     351    echo loadgalphot -D CATDIR $catdir $cmffile
     352    exec loadgalphot -D CATDIR $catdir $cmffile
    333353  end
    334354
Note: See TracChangeset for help on using the changeset viewer.