IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of AddStar_PV2


Ignore:
Timestamp:
Oct 10, 2014, 2:25:38 PM (12 years ago)
Author:
heather
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddStar_PV2

    v1 v1  
     1= This is a wiki for how Heather has been running the addstars  for PV2 3pi =
     2
     3== Current Status of AddStar/Merge ==
     4
     5 * all minidvodbs for all slices are ready
     6 
     7 * all is done on ippdvo2's account, merging is primarily managed through addstar.stsci00 and addstar.stsci01
     8
     9 * slice00.skycal -- DONE!
     10 * slice02.skycal -- DONE!
     11 * slice04.skycal -- DONE!
     12 * slice06.skycal --- broken! it's ready to be redone, but will take some careful queueing, please leave for heather
     13 * slice08.skycal --- broken! it's ready to be redone, but will take some careful queueing, please leave for heather
     14 * slice10.skycal -- DONE!
     15 * slice12.skycal -- DONE!
     16 * slice14.skycal -- DONE!
     17 * slice16.skycal -- DONE!
     18 * slice18.skycal -- DONE!
     19 * slice20.skycal -- DONE!
     20 * slice22.skycal -- DONE!
     21 * pole.skycal -- DONE!
     22
     23 * slice00.cam --- broken!
     24 * slice02.cam --- broken!
     25 * slice04.cam --- broken!
     26 * slice06.cam --- broken!
     27 * slice08.cam - ready for merging into slices!
     28 * slice10.cam - ready for merging into slices!
     29 * slice12.cam - ready for merging into slices!
     30 * slice14.cam - ready for merging into slices!
     31 * slice16.cam - ready for merging into slices!
     32 * slice18.cam - ready for merging into slices!
     33 * slice20.cam - ready for merging into slices!
     34 * slice22.cam   - ready for merging into slices!
     35 * pole.skycal  - ready for merging into slices!
     36
     37
     38
     39== Creation of minidvodbs  ==
     40
     41=== Queueing/ requeing of addstar runs ===
     42
     43to queue addstar runs for three pi v2,
     44
     45run the following script
     46
     47{{{
     48tools/heather/queuesliceslap2.pl
     49}}}
     50
     51This will do addtool -queries for the missing slices (chopped by ra dec ranges, based on centers of the exposure)
     52
     53=== pantasks stuff ===
     54
     55
     56
     57
     58
     59=== check that all the exposures are done, and that the minidvodb is in the proper state ===
     60
     61== Merging of minidvodbs into slices ==
     62
     63This is a bit tricky, because we do the first one first, STOP IT, then make a hosttable.dat and dvodist -out it
     64
     65 1. Decide which stscii will be the head node (usually I've been using either stsci00 or stsci01), and edit ippdvo2's ippconfig/site.config so that the slice we are working on (for this example, slice04.cam), points to stsci00.1  (or whatever disk is decided). Check that there is at least 500GB of space on the chosen drive.
     66
     67 
     68  2. queue the 'segments'
     69{{{
     70survey.add.merge cam.slice04.0 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.0.cam
     71survey.add.merge cam.slice04.1 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.1.cam
     72survey.add.merge cam.slice04.2 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.2.cam
     73survey.add.merge cam.slice04.3 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.3.cam
     74survey.add.merge cam.slice04.4 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.4.cam
     75survey.add.merge cam.slice04.5 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.5.cam
     76survey.add.merge cam.slice04.6 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.6.cam
     77survey.add.merge cam.slice04.7 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.7.cam
     78survey.add.merge cam.slice04.8 LAP.PV2.V2.20130717.slice04.cam LAP.PV2.V2.slice04.8.cam
     79}}}
     80
     81
     82 * the exception is the pole is one segment : LAP.PV2.V2.pole.cam (no segments)
     83
     84 3.  check mysql that the first segment is loaded
     85
     86{{{
     87select * from mergedvodbRun where mergedvodb = 'LAP.PV2.V2.20130717.slice04.cam';
     88}}}
     89
     90 4. once there is at least 1 mergedvodbRUn listed, start the merge on that and turn it off:
     91add.mergedvodb LAP.PV2.V2.20130717.slice04.cam
     92mergedvodb.merge.on
     93status (until you see that it is working on the first merge)
     94mergedvodb.merge.off
     95}}}
     96
     97 5. wait for the merge to be done, without faults, for that first one
     98
     99 6. copy hosttable from one of the other LAP.ThreePi slices, do the following edits:
     100   * make sure the slice# is correct
     101   * make sure it is skycal or cam (as necessary)
     102   * give it a unique dir name (I usually go with ……slice04.cam.(merge_id), or ……slice04.cam.(mergeid).V2 as necessary
     103   * do not use stsci drives with < 500GB -- find those in the HostTable.dat and shift around as necessary
     104
     105 7. dvodist -out (path)
     106
     107 8. go back to pantasks and
     108
     109{{{
     110mergedvodb.merge.on
     111}}}
     112
     113 9. periodically check with commands
     114
     115{{{
     116select minidvodb_path, minidvodb_id, merge_id, merge_order, mergedvodbRun.state, mergedvodbProcessed.fault from mergedvodbRun left join mergedvodbProcessed using (merge_id) left join minidvodbRun using (minidvodb_id) where mergedvodb like "LAP%slice04.cam";
     117}}}
     118
     119 10. if it faults, it needs to be redone (but you can set the mergedvodbProcessed.fault = 0 and the mergedvodbRun.state = 'broken', and revert to find if the others work fine
     120
     121{{{
     122   mergetool -revertmerged -mergedvodb (stuff) -dbname gpc1
     123}}}
     124
     125
     126
     127== Miscellaneous ==
     128
     129=== Check disk space on stscis ===
     130
     131I have a couple of tools, checked into tools/heather
     132{{{
     133check_stsci0.pl
     134check_stsci1.pl
     135check_stsci2.pl
     136}}}
     137