IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 53 and Version 54 of STS.refstack.20120510


Ignore:
Timestamp:
Jun 15, 2012, 7:38:55 PM (14 years ago)
Author:
Mark Huber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • STS.refstack.20120510

    v53 v54  
    799799{{{
    800800SELECT 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;
     801
    801802}}}
    802803 * try for sample similar/better FWHM and worse
     
    849850| 476460 | o6031g0527o |       20 | 2012-04-14 14:44:06 | 24.4858 |    3.62349 | 1.210 | 0.85        | 166.07   | 16.03    | 4.25  | 3.28  | 8069508 | STS.180.GIQ PP1 dither 2 |
    850851
    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;
    883852--> only 1 from 9/19 used so use that date? 9/11 better and none used from it - or 9/30 to have sample of worse input (yes)
    884853--> so 4/14 after 4/12 for close in time observ and still pretty good -- would prefer one not as good..
    885854}}}
    886855
    887  * now update 9/30/11 and 4/14/12 nights chips->warps
     856 * 20120412:
     857{{{
     858mysql -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
     861difftool -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
     868Setup for publishing test:
     869 * to check but dont't run as would get sent to 5 as well as 12..
     870{{{
     871pubtool -dbname gpc1 -definerun -label STS.mopsdiffv2.mehtest -simple -pretend
     872
     873--> survey tasks ipp-localops.lin64/share/pantasks/modules/survey.pro calls
     874pubtool -definerun -label $label -client_id $client_id
     875
     876pubtool -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
     880Continue setup next 2012 sample and 2011 sample then
     881 * now update 9/30/11 and 20120414 nights chips->warps
    888882{{{
    889883mysql -hippdb01 -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
     
    909903pubtool -dbname gpc1 -definerun -label STS.mopsdiffv2.mehtest -client_id 12 -simple -pretend
    910904
    911 --> seems to have worked, removed the -pretend and out onto datastore now for MOPS to look at. 
    912 }}}
    913 
    914 
    915 
    916 || ||
     905--> worked, removed the -pretend and out onto datastore now for MOPS to look at. 
     906}}}
     907
     908
     909Diffim summary:
     910
     911|| || || || ||
    917912|| skycell || FWHM input/ref ||  Ndet || comment ||   
    918 || ||
    919 || 1.03 ||
     913|| || || || ||
     914|| 1.03 ||  || || ||
     915|| || || || ||
    920916
    921917
    922918= MOPS feedback =
    923919
     920= Automated setup for MOPS =
     921Generally already setup for MD in the survey tasks.
     922 * stdscience pantasks (not implemented yet) -- use name STS.mopsdiff?
     923{{{
     924survey.add.publish STS.mopsdiff STS.nightlyscience 12 NULL
     925add.label STS.nightlyscience
     926
     927--> check or remove
     928survey.show.publish
     929survey.del.publish STS.mopsdiff
     930
     931}}}
     932
     933
     934 * publishing pantasks (already exists)
     935{{{
     936add.label STS.nightlyscience
     937}}}
     938
     939
     940