IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of ippToPspsSa10Vacation


Ignore:
Timestamp:
Oct 29, 2012, 11:03:31 AM (14 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPspsSa10Vacation

    v2 v3  
    200200I generally build the cam stage first and then the staticsky stage. For simplicity you can do both simultaneously (I don't think it matters):
    201201
     202Bill edits: We are using the skycal stage not staticsky. I have updated the following to reflect that
     203
    202204to queue the minidvodb stuff:
    203205{{{
    204   survey.add.addstar SAS.cam SAS_v8 SAS.20121027 SAS.20121027 cam
    205   survey.add.addstar SAS.staticsky SAS_v10 SAS.20121027 SAS.20121027 staticsky
    206   add.minidvodb  SAS.20121027 SAS.20121027.MINI SAS.20121027 1 GPC1
    207   add.label SAS.20121027
    208 }}}
    209 once you are satisfied that staticsky is working properly and doing the right stuff, you can turn on creation/merge of the merge dvodb:
    210 {{{
    211   add.mergedvodb SAS.20121027
    212   survey.add.mergedvodb SAS.20121027 SAS.20121027 SAS.20121027
    213 }}}
    214 Note that once the staticskys have completed, there will still be that last minidvodb that is in 'active', since it kicks to be merged after a day. If all the staticskys have been addstarred, you can set the state (with mysql) of the current active minidvodb for this to the state 'to_be_merged'  which will cause it to go get merged (wait for it...)
     206  survey.add.addstar SAS.cam SAS_v8 SAS.20121029 SAS.20121029 cam
     207  survey.add.addstar SAS.skycal SAS_v10 SAS.20121029 SAS.20121029 skycal
     208  add.minidvodb  SAS.20121029 SAS.20121029.MINI SAS.20121029 1 GPC1
     209  add.label SAS.20121029
     210}}}
     211once you are satisfied that skycal addstars are working properly and doing the right stuff, you can turn on creation/merge of the merge dvodb:
     212{{{
     213  add.mergedvodb SAS.20121029
     214  survey.add.mergedvodb SAS.20121029 SAS.20121029 SAS.20121029
     215}}}
     216Note that once the skycals have completed, there will still be that last minidvodb that is in 'active', since it kicks to be merged after a day. If all the skycals have been addstarred, you can set the state (with mysql) of the current active minidvodb for this to the state 'to_be_merged'  which will cause it to go get merged (wait for it...)
    215217
    216218Once the merge dvodb is built, it needs to be 'spiffed':
    217219
    218 These are what I used last time (change SAS as needed)
    219 {{{
    220 relphot -averages -reset -update -boundary-tree ~ipp/RINGS.V3.tree.fits -D CAMERA gpc1 -D CATDIR /data/ipp005.0/gpc1/catdirs/SAS/20120901
    221 relastro -update-objects -reset -update -D CAMERA gpc1 -D CATDIR /data/ipp005.0/gpc1/catdirs/SAS/20120901
     220These are the commands to use. (Edited to use the corrected tree file and to use the v10 catdir name
     221{{{
     222relphot -averages -reset -update -boundary-tree ~ipp/RINGS.V3.tree.v1.fits -D CAMERA gpc1 -D CATDIR /data/ipp005.0/gpc1/catdirs/SAS/20121029
     223relastro -update-objects -reset -update -D CAMERA gpc1 -D CATDIR /data/ipp005.0/gpc1/catdirs/SAS/20121029
    222224}}}
    223225