Changes between Version 68 and Version 69 of STS.refstack.20120510
- Timestamp:
- Jun 21, 2012, 1:02:08 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
STS.refstack.20120510
v68 v69 960 960 961 961 Distribution to MOPS via publishing - 962 * setup ?how to associate label to particular datastore location for this run for IPP-MOPS-TEST-2962 * setup -- how to associate label to particular datastore location for this run for IPP-MOPS-TEST-2 963 963 {{{ 964 964 … … 984 984 }}} 985 985 986 {{{ 987 pubtool -h -definerun 988 986 989 -definerun: 987 990 -set_label set label 988 -client_id search by client_id -- should this be set client_id ??991 -client_id search by client_id -- should this be set client_id or is search include set to use this client_id?? 989 992 -label set and search by label 990 993 -data_group search by data_group … … 998 1001 -simple use simple output format? 999 1002 -limit limit result set 1000 1001 * should simply be 1003 }}} 1004 1005 * simply just 1002 1006 {{{ 1003 1007 pubtool -dbname gpc1 -definerun -label STS.mopsdiff.mehtest -simple -pretend 1004 1008 1005 --> but how to make only to only go to client_id=12? 1006 }}} 1007 1008 {{{ 1009 --> will need to add label to publishing + add info to stdscience to tell where to put out too -- this is what needed.. similar for distribution -- 1010 --> so what has used client_id 12? nothing 1011 --> should add comment line for each entry field.. -- see survey.pro -- <tag> <label> <client_id> <comment> 1012 --> so what does <tag> do? allows multiple entries per label and is a unique key, ie for the .ds for example to be able to push out to other locations being magicked, so not important now? still needs to be different so call STS.test 1013 1009 --> but how to direct only to go to client_id=12? 1010 }}} 1011 1012 * survey.pro pantasks module in stdscience 1013 * will need to add label to publishing + add info to stdscience to tell where to put out too -- this is what needed.. similar for distribution -- 1014 * what has used client_id 12? nothing permanent in the ~ipp/stdscience/input file. 1015 * format to use in stdscience from survey.pro: <tag> <label> <client_id> <comment> 1016 * what does <tag> do? allows multiple entries per label and is a unique key. The .ds for example, to be able to push out to other locations being magicked (though not implemented now). Still should be different, so call STS.test 1017 1018 {{{ 1014 1019 survey.add.publish STS.mopsdiff STS.mopsdiff.mehtest 12 NULL 1015 1020 1016 1021 survey.del.publish STS.mopsdiff 1017 1018 --> careful STS.nightlyscience already defn to go to 5 -- survey.add.publish STS STS.nightlyscience 5 NULL 1019 --> faults! why is it trying to put to LAP?? and not just LAP, MOPS and MOPS-TEST too.. 1022 --> to remove if needed 1023 }}} 1024 * careful, STS.nightlyscience already defined to go to 5 -- survey.add.publish STS STS.nightlyscience 5 NULL 1025 1026 * faults! why is it trying to put to LAP? and not just LAP, but MOPS and MOPS-TEST too.. 1027 {{{ 1020 1028 system failure for: publish_file.pl --pub_id 422412 --camera GPC1 --workdir neb://any/gpc1/IPP-MOPS-LAP --product IPP-MOPS-LAP --stage diff --stage_id 242192 --output_forma 1021 1029 t 2 --redirect-output --need-magic --dbname gpc1 --verbose 1022 1030 }}} 1023 1031 1024 * run manually 1032 * run manually and see what is happening 1025 1033 {{{ 1026 1034 publish_file.pl --pub_id 422376 --camera GPC1 --workdir neb://any/gpc1/IPP-MOPS-TEST-2/ --product IPP-MOPS-TEST-2 --stage diff --stage_id 242198 --output_format 2 --redirect-output --dbname gpc1 --verbose 1027 1035 1028 1029 1036 neb://any/gpc1/IPP-MOPS-TEST-2/ 1030 --> loads of things in this dir- and why reports many not found because cleaned?1031 }}} 1032 1033 * should be careful running pubtool and using survey task, pubtool generically loaded for all then.. 1034 1035 * fault from log -- could this astrom issue be because STS fields or improper run?1037 --> many things in this directory -- and why reports many not found because cleaned? 1038 }}} 1039 1040 '''-- MISTAKE -- should be careful manually running pubtool and loading into survey task''' 1041 1042 * fault from specific log -- could this astrom issue be because STS fields or improper run? 1036 1043 {{{ 1037 1044 neb://any/gpc1/IPP-MOPS-TEST-2//IPP-MOPS-TEST-2.422401.log … … 1042 1049 Running [/home/panstarrs/ipp/psconfig/ipp-20120404.lin64/bin/pubtool -add -pub_id 422401 -path_base neb://any/gpc1/IPP-MOPS-TEST-2//IPP-MOPS-TEST-2.422401 -dtime_script 2.99998372793198 -hostname ippc10 -fault 2 -dbname gpc1]... 1043 1050 1044 astrom is sqrt($comp->{sigma_ra_2}**2 + $comp->{sigma_dec_2}**2) 1045 }}} 1046 1047 {{{ 1051 --> note astrom is sqrt($comp->{sigma_ra_2}**2 + $comp->{sigma_dec_2}**2) 1052 1053 --> the diffim this is for 1048 1054 neb://ipp007.0/meh/STS.mopsdiff.mehtest/STS.V4/skycell.1.02/STS.V4.skycell.1.02.WS.dif.242223 1049 1055 meh/STS.mopsdiff.mehtest/STS.V4/skycell.1.02/STS.V4.skycell.1.02.WS.dif.242223.cmf … … 1053 1059 /data/ipp007.0/nebulous/14/91/2095815037.meh:STS.mopsdiff.mehtest:STS.V4:skycell.1.02:STS.V4.skycell.1.02.WS.dif.242223.inv.cmf 1054 1060 1055 neb://ipp008.0/meh/STS.mopsdiff.mehtest/STS.V4/skycell.1.03/STS.V4.skycell.1.03.WS.dif.242223 1056 1057 --> publish_file.pl called from publish.pro - 1061 --> and publish_file.pl called from publish.pro - 1058 1062 $run = publish_file.pl --pub_id $PUB_ID --camera $CAMERA --workdir $WORKDIR --product $PRODUCT --stage $STAGE --stage_id $STAGE_ID --output_format $OUTPUT_FORMAT --redirect-output 1059 1063 … … 1061 1065 }}} 1062 1066 1063 * attempt to revert - 1067 * attempt to revert - not going to fix 1064 1068 {{{ 1065 1069 pubtool -dbname gpc1 -revert -fault 2 -pub_id 422401 1066 1070 }}} 1067 * does it still need to be added to distribution so that it ends up on the datastore? no looks like in the log that pubtool is run 1068 1069 * publish cleanup/drop - 1071 1072 * publish cleanup -- drop all the extra runs trying to publish to the other client_id 1070 1073 {{{ 1071 1074 pubtool -dbname gpc1 -updaterun -set_state drop -label STS.mopsdiff.mehtest -client_id 1 … … 1073 1076 pubtool -dbname gpc1 -updaterun -set_state drop -label STS.mopsdiff.mehtest -client_id 13 1074 1077 --> leaves 27 with client_id=12 are all valid? look at stage_id 1078 1075 1079 select pub_id,diff_id,diffRun.data_group from publishRun join publishDone using (pub_id) join diffRun where publishRun.label like "STS.mopsdiff.mehtest" and publishRun.state="new" and diff_id=stage_id; 1076 --> missing 110918 oddly, they've ended up in another client_id.. ugh..1080 --> missing 20110918 oddly, they've ended up in another client_id.. 1077 1081 }}} 1078 1082
