Changeset 38121
- Timestamp:
- Apr 13, 2015, 6:15:47 PM (11 years ago)
- Location:
- tags/ipp-20150329/ippScripts
- Files:
-
- 8 edited
- 3 copied
-
Build.PL (modified) (2 diffs)
-
MANIFEST (modified) (1 diff)
-
scripts/addstar_run.pl (modified) (1 diff)
-
scripts/diff_skycell.pl (modified) (2 diffs)
-
scripts/lap_queue_diff.pl (copied) (copied from trunk/ippScripts/scripts/lap_queue_diff.pl )
-
scripts/sc_check_diff.pl (copied) (copied from trunk/ippScripts/scripts/sc_check_diff.pl )
-
scripts/sc_prepare_camera.pl (modified) (1 diff)
-
scripts/sc_prepare_diff.pl (copied) (copied from trunk/ippScripts/scripts/sc_prepare_diff.pl )
-
scripts/sc_prepare_run.pl (modified) (3 diffs)
-
scripts/sc_remote_poll.pl (modified) (1 diff)
-
scripts/skycalibration.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20150329/ippScripts/Build.PL
r38062 r38121 128 128 scripts/diffphot.pl 129 129 scripts/lap_science.pl 130 scripts/lap_queue_diff.pl 130 131 scripts/videophot_process.pl 131 132 scripts/listvideocells.pl … … 139 140 scripts/sc_mk_stack_mdc.pl 140 141 scripts/sc_mk_staticsky_mdc.pl 142 scripts/sc_check_diff.pl 141 143 scripts/sc_prepare_camera.pl 142 144 scripts/sc_prepare_chip.pl 143 145 scripts/sc_prepare_stack.pl 144 146 scripts/sc_prepare_staticsky.pl 147 scripts/sc_prepare_diff.pl 145 148 scripts/sc_prepare_warp.pl 146 149 scripts/sc_prepare_run.pl -
tags/ipp-20150329/ippScripts/MANIFEST
r38062 r38121 49 49 scripts/skycell_jpeg.pl 50 50 scripts/lap_science.pl 51 scripts/lap_queue_diff.pl 51 52 scripts/regenerate_background.pl 52 53 scripts/sc_mk_stack_mdc.pl 53 54 scripts/sc_mk_staticsky_mdc.pl 55 scripts/sc_check_diff.pl 54 56 scripts/sc_prepare_camera.pl 55 57 scripts/sc_prepare_chip.pl 56 58 scripts/sc_prepare_stack.pl 57 59 scripts/sc_prepare_staticsky.pl 60 scripts/sc_prepare_diff.pl 58 61 scripts/sc_prepare_warp.pl 59 62 scripts/sc_remote_exec.pl -
tags/ipp-20150329/ippScripts/scripts/addstar_run.pl
r37739 r38121 102 102 103 103 if ($stage =~/fullforce/) { 104 $reduction='DEFAULT'; 105 #hardwired because why not 106 } 107 if ($stage =~/diff/) { 104 108 $reduction='DEFAULT'; 105 109 #hardwired because why not -
tags/ipp-20150329/ippScripts/scripts/diff_skycell.pl
r35325 r38121 128 128 # $use_convolved = 1; ## This is a hack to do a test for mops, and should not be committed. 129 129 # } 130 131 # Re-implement prescan to decide if this is a warp-stack or warp-warp. Or stack-stack, but that's what we don't care about now. 132 my $diff_type = ''; 133 134 if ((${ $files }[0]->{warp_id} != 0)&&(${ $files }[1]->{warp_id} != 0)) { 135 $diff_type = "WW"; 136 } 137 elsif ((${ $files }[0]->{stack_id} != 0)&&(${ $files }[1]->{stack_id} != 0)) { 138 $diff_type = "SS"; 139 } 140 elsif (((${ $files }[0]->{warp_id} != 0)&&(${ $files }[1]->{stack_id} != 0))) { 141 $diff_type = "WS"; 142 } 143 else { # Something has gone horribly wrong. 144 $diff_type = "WW"; # just pretend it never happened, and let it fail elsewhere. 145 } 130 146 131 147 # ppSub does (input) - (template) after PSF-match convolution. … … 254 270 &my_die("Couldn't find input: $templateMask", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateMask); 255 271 &my_die("Couldn't find input: $templateVariance", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateVariance); 256 &my_die("Couldn't find input: $templateSources", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateSources); 272 #&my_die("Couldn't find input: $templateSources", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateSources); 273 274 if ($diff_type eq 'WS') { 275 # LANL processed stack images do not have a set of sources transferred back, so we need to choose a different source list. 276 unless($ipprc->file_exists($templateSources)) { 277 if ($ipprc->file_exists($inputSources)) { 278 $templateSources = $inputSources; 279 print "CHANGED:templateSources: $templateSources\n"; 280 } 281 } 282 &my_die("Couldn't find input: $templateSources", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateSources); 283 } 284 else { 285 &my_die("Couldn't find input: $templateSources", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateSources); 286 } 257 287 &my_die("Couldn't find input: $input", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($input); 258 288 &my_die("Couldn't find input: $inputMask", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputMask); -
tags/ipp-20150329/ippScripts/scripts/sc_prepare_camera.pl
r38000 r38121 90 90 my ($workdir,$exp_tag,$reduction); 91 91 { 92 92 93 ### $command = "$camtool -processedexp -cam_id $cam_id "; ### THIS LINE ONLY TO TEST! 93 94 my $command = "$camtool -pendingexp -cam_id $cam_id "; -
tags/ipp-20150329/ippScripts/scripts/sc_prepare_run.pl
r37833 r38121 24 24 # my $remote_root = '/lustre/scratch1/turquoise/watersc1/ps1/'; # Far side destination base location 25 25 my $remote_root = '/scratch3/watersc1/'; 26 my $remote_raw = "${remote_root}/tmp/"; # Directory to find raw data in.27 28 my $threads = 2; # How many threads are we going to use?26 my $remote_raw = "${remote_root}/tmp/"; # Directory to find raw data in. 27 28 my $threads = 2; # How many threads are we going to use? 29 29 30 30 my $fail_state = "prep_fail"; … … 37 37 $job_cost{"stack"} = 1500 / 60 / 60; 38 38 $job_cost{"staticsky"} = 2; # really? avg time of 5720s? 39 $job_cost{"diff"} = 300 / 60 / 60; 39 40 40 41 # This object holds how "expensive" a given job is in terms of cores on a node. … … 46 47 $job_subscription{"stack"} = 3; 47 48 $job_subscription{"staticsky"} = 3; 49 $job_subscription{"diff"} = 1; 48 50 49 51 my $proc_per_node = 24; # processors per node -
tags/ipp-20150329/ippScripts/scripts/sc_remote_poll.pl
r37833 r38121 510 510 ($class_id, $stage_id) = $file =~ /(skycell.\d\d\d\d.\d\d\d).stk.(\d*).dbinfo/; 511 511 } 512 512 elsif ($stage eq 'staticsky') { 513 # ($class_id, $stage_id) = $file =~ /(/; 514 } 515 elsif ($stage eq 'diff') { 516 # ($class_id,$stage_id) = $file =~ /(/; 517 } 513 518 return ($stage_id, $class_id); 514 519 } -
tags/ipp-20150329/ippScripts/scripts/skycalibration.pl
r38035 r38121 122 122 my $recipe_psphot = $ipprc->reduction($reduction, "STACKPHOT_PSPHOT"); 123 123 unless ($recipe_psphot) { 124 &my_die("Couldn't find selected reduction for STA TCKPHOT_PSPHOT: $reduction\n", $skycal_id, $PS_EXIT_CONFIG_ERROR);124 &my_die("Couldn't find selected reduction for STACKPHOT_PSPHOT: $reduction\n", $skycal_id, $PS_EXIT_CONFIG_ERROR); 125 125 } 126 126
Note:
See TracChangeset
for help on using the changeset viewer.
