| 799 | 799 | {{{ |
| 800 | 800 | SELECT exp_id,exp_time,dateobs,zpt_obs,zpt_stdev,fwhm_major,format(fwhm_major/fwhm_minor,3) as elong,format(iq_fwhm_major/iq_fwhm_minor,3) as iq_elong,format(fwhm_major-iq_fwhm_major,2) as fwhm_iq_maj,format(camProcessedExp.bg,2) as bg,format(camProcessedExp.bg_stdev,2) as bg_stdev,format(fwhm_major_uq,2) as uq,format(fwhm_major_lq,2) as lq,n_stars,comment FROM rawExp join chipRun using (exp_id) join camRun using (chip_id) join camProcessedExp using (cam_id) join fakeRun using (cam_id) join warpRun using (fake_id) WHERE warpRun.data_group like "STS.refstack.20120510" and comment like "%PP1%" group by exp_id; |
| 851 | | |
| 852 | | }}} |
| 853 | | |
| 854 | | * 20110930: |
| 855 | | {{{ |
| 856 | | mysql -hippdb03 -uippuser -pxxxx gpc1 -B -e 'select distinct exp_name,dateobs,chip_id,warp_id from warpRun join fakeRun using (fake_id) join camRun using (cam_id) join chipRun using (chip_id) join rawExp using (exp_id) where comment like "STS%PP1%" and dateobs like "2011-09-30%" and warpRun.state like "cleaned" and chipRun.state like "cleaned" group by exp_name; ' | grep -v chip_id | awk '{print "chiptool -dbname gpc1 -setimfiletoupdate -set_label STS.mopsdiffv2.mehtest -chip_id "$4"; warptool -dbname gpc1 -setskyfiletoupdate -set_label STS.mopsdiffv2.mehtest -warp_id "$5}' > ~/updatechipwarp_sts.mopsdiffv2.mehtest_110930.bat |
| 857 | | ... |
| 858 | | |
| 859 | | difftool -dbname gpc1 -definewarpstack -good_frac 0.2 -warp_label STS.mopsdiffv2.mehtest -stack_label STS.refstack.20120510 -set_dist_group NULL -set_label STS.mopsdiffv2.mehtest -set_workdir neb://@HOST@.0/meh/STS.mopsdiffv2.mehtest -set_data_group STS.mopsdiffv2.mehtest -set_reduction WARPSTACK -simple -pretend |
| 860 | | }}} |
| 861 | | |
| 862 | | |
| 863 | | |
| 864 | | Setup for publishing test: |
| 865 | | * to check but DONT run (would get sent to 5 as well as 12..) |
| 866 | | {{{ |
| 867 | | pubtool -dbname gpc1 -definerun -label STS.mopsdiffv2.mehtest -simple -pretend |
| 868 | | |
| 869 | | --> may need to add the date to the survey task list.. either that or manually load it with pubtool, need to figure out how to only do 12 |
| 870 | | ns.del.date, ns.add.date |
| 871 | | ns.set.date 2010-09-11 TOWARP -- one for pub? |
| 872 | | --> seems like a bad idea.. so how about pubtool - basically calls from |
| 873 | | ipp-localops.lin64/share/pantasks/modules/survey.pro |
| 874 | | pubtool -definerun -label $label -client_id $client_id |
| 875 | | |
| 876 | | pubtool -dbname gpc1 -definerun -label STS.mopsdiffv2.mehtest -client_id 12 -simple -pretend |
| 877 | | --> seems to work and only put to 12 -- what happened before then?? |
| 878 | | --> and works but just pos detections - thats what MD with diff_mode 2 has for WS so.. OSS now using SWEETSPOT (noconv) and diff_mode 1 |
| 879 | | |
| 880 | | -- works so setup next 2012 sample and 2011 sample then -- try pick 2011 w/o many in stack - |
| 881 | | |
| 882 | | SELECT exp_id,exp_time,dateobs,zpt_obs,zpt_stdev,fwhm_major,format(fwhm_major/fwhm_minor,3) as elong,format(iq_fwhm_major/iq_fwhm_minor,3) as iq_elong,format(fwhm_major-iq_fwhm_major,2) as fwhm_iq_maj,format(camProcessedExp.bg,2) as bg,format(camProcessedExp.bg_stdev,2) as bg_stdev,format(fwhm_major_uq,2) as uq,format(fwhm_major_lq,2) as lq,n_stars,comment FROM rawExp join chipRun using (exp_id) join camRun using (chip_id) join camProcessedExp using (cam_id) join fakeRun using (cam_id) join warpRun using (fake_id) WHERE warpRun.data_group like "STS.refstack.20120510" and comment like "%PP1%" group by exp_id; |
| 887 | | * now update 9/30/11 and 4/14/12 nights chips->warps |
| | 856 | * 20120412: |
| | 857 | {{{ |
| | 858 | mysql -hippdb03 -uippuser -pxxxx gpc1 -B -e 'select distinct exp_name,dateobs,chip_id,warp_id from warpRun join fakeRun using (fake_id) join camRun using (cam_id) join chipRun using (chip_id) join rawExp using (exp_id) where comment like "STS%PP1%" and dateobs like "2012-04-12%" and warpRun.state like "cleaned" and chipRun.state like "cleaned" group by exp_name; ' | grep -v chip_id | awk '{print "chiptool -dbname gpc1 -setimfiletoupdate -set_label STS.mopsdiffv2.mehtest -chip_id "$4"; warptool -dbname gpc1 -setskyfiletoupdate -set_label STS.mopsdiffv2.mehtest -warp_id "$5}' > ~/updatechipwarp_sts.mopsdiffv2.mehtest_120412.bat |
| | 859 | ... |
| | 860 | |
| | 861 | difftool -dbname gpc1 -definewarpstack -good_frac 0.2 -warp_label STS.mopsdiffv2.mehtest -stack_label STS.refstack.20120510 -set_dist_group NULL -set_label STS.mopsdiffv2.mehtest -set_workdir neb://@HOST@.0/meh/STS.mopsdiffv2.mehtest -set_data_group STS.mopsdiffv2.mehtest -set_reduction WARPSTACK -simple -pretend |
| | 862 | |
| | 863 | --> sample found, run w/o -pretend and finishes |
| | 864 | }}} |
| | 865 | |
| | 866 | |
| | 867 | |
| | 868 | Setup for publishing test: |
| | 869 | * to check but dont't run as would get sent to 5 as well as 12.. |
| | 870 | {{{ |
| | 871 | pubtool -dbname gpc1 -definerun -label STS.mopsdiffv2.mehtest -simple -pretend |
| | 872 | |
| | 873 | --> survey tasks ipp-localops.lin64/share/pantasks/modules/survey.pro calls |
| | 874 | pubtool -definerun -label $label -client_id $client_id |
| | 875 | |
| | 876 | pubtool -dbname gpc1 -definerun -label STS.mopsdiffv2.mehtest -client_id 12 -simple -pretend |
| | 877 | --> successful and only put to 12, and just .pos.mops detections similar to MD with diff_mode 2 has for WS so compared to OSS now using SWEETSPOT (noconv) and diff_mode 1 with .pos and .neg. |
| | 878 | }}} |
| | 879 | |
| | 880 | Continue setup next 2012 sample and 2011 sample then |
| | 881 | * now update 9/30/11 and 20120414 nights chips->warps |