IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35039 for trunk/ippTools/share


Ignore:
Timestamp:
Jan 23, 2013, 4:55:10 PM (13 years ago)
Author:
bills
Message:

Add skycell args to staticskytool -todo -revert and -revertskycal to
allow selecting by coordinates.
Add -abs_glat_min and -abs_glat_max to the skycell args to make it easier
to select things away from or near the galactic plane

Location:
trunk/ippTools/share
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/staticskytool_revert.sql

    r28154 r35039  
    11DELETE FROM staticskyResult
    2 USING staticskyResult, staticskyRun
     2USING staticskyResult, staticskyRun, staticskyInput, stackRun, skycell
    33WHERE staticskyRun.sky_id = staticskyResult.sky_id
     4    AND staticskyRun.sky_id = staticskyInput.sky_id
     5    AND staticskyInput.stack_id = stackRun.stack_id
     6    AND stackRun.tess_id = skycell.tess_id
     7    AND stackRun.skycell_id = skycell.skycell_id
    48    AND staticskyRun.state = 'new'
    59    AND staticskyResult.fault != 0
  • trunk/ippTools/share/staticskytool_revertskycal.sql

    r32962 r35039  
    11DELETE FROM skycalResult
    2 USING skycalResult, skycalRun, stackRun
     2USING skycalResult, skycalRun, stackRun, skycell
    33WHERE skycalRun.skycal_id = skycalResult.skycal_id
    44    AND stackRun.stack_id = skycalRun.stack_id
    55    AND skycalRun.state = 'new'
    66    AND skycalResult.fault != 0
     7    AND stackRun.tess_id = skycell.tess_id
     8    AND stackRun.skycell_id = skycell.skycell_id
Note: See TracChangeset for help on using the changeset viewer.