Changeset 26670
- Timestamp:
- Jan 22, 2010, 11:38:51 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
-
ippScripts/Build.PL (modified) (1 diff)
-
ippScripts/MANIFEST (modified) (1 diff)
-
ippScripts/scripts/automate_stacks.pl (modified) (4 diffs)
-
ippTasks/Makefile.am (modified) (1 diff)
-
tools/gpc1_find_images.pl (modified) (1 diff)
-
tools/make_burntool_pcontrol.pl (modified) (2 diffs)
-
tools/neb-ds9.pl (modified) (2 diffs)
-
tools/wiki_nightly_stacks_table.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/Build.PL
r26378 r26670 100 100 scripts/dqstats_bundle.pl 101 101 scripts/whichimage 102 scripts/automate_stacks.pl 102 103 )], 103 104 dist_abstract => 'Scripts for running the Pan-STARRS IPP', -
trunk/ippScripts/MANIFEST
r18564 r26670 36 36 scripts/isp_trans.pl 37 37 scripts/ds9_cmf_regions.pl 38 scripts/automate_stacks.pl 38 39 t/00_distribution.t -
trunk/ippScripts/scripts/automate_stacks.pl
r26624 r26670 36 36 my ( $date, $camera, $dbname, $logfile, $verbose); 37 37 my ( $check_registration, $define_burntool, $queue_burntool, $check_chips, $queue_chips, $check_stacks, $queue_stacks); 38 my ( $help, $this_target_only, $this_filter_only, $isburning );38 my ( $help, $this_target_only, $this_filter_only, $isburning, $force_stack_count); 39 39 GetOptions( 40 40 'help|h' => \$help, … … 54 54 'this_filter_only=s' => \$this_filter_only, 55 55 'isburning' => \$isburning, 56 'force_stack_count' => \$force_stack_count, 56 57 ) or pod2usage ( 2 ); 57 58 pod2usage( -msg => … … 65 66 --this_target_only Process only a single target. 66 67 --this_filter_only Process only a single filter. 68 --isburning Signal that we are currently burntooling. 69 --force_stack_count Force the chip/warp counts. 67 70 Modes: 68 71 --check_registration Confirm the data downloaded correctly. … … 527 530 foreach my $filter (@filter_list) { 528 531 my ($Nexposures,$NprocChips,$NprocWarps,$Nalready) = pre_stack_queue($date,$target,$filter); 529 if (( $NprocChips != $NprocWarps)) { #||($NprocWarps == 0)||($NprocChips == 0)) {532 if ((!defined($force_stack_count))&&($NprocChips != $NprocWarps)) { # This makes me sad. :( 530 533 print STDERR "execute_stacks: Target $target on $date is not fully processed. ($NprocChips $NprocWarps)\n"; 531 534 $metadata_out{nsState} = 'FORCETOWARP'; -
trunk/ippTasks/Makefile.am
r26378 r26670 30 30 publish.pro \ 31 31 dqstats.pro \ 32 science.cleanup.pro 32 science.cleanup.pro \ 33 nightly_stacks.pro 33 34 34 35 other_files = \ -
trunk/tools/gpc1_find_images.pl
r26563 r26670 208 208 push @{ $mapping{$class} }, $skycell; 209 209 push @{ $mapping{$raw_class} }, $skycell; 210 # print STDERR "$raw_class $class $skycell\n"; 210 211 } 211 212 } -
trunk/tools/make_burntool_pcontrol.pl
r26527 r26670 266 266 printf(" burntool %s %s\n",$date_min,$date_max); 267 267 } 268 print "\n"; 268 unless(exists($opt{d})) { 269 print "\n"; 270 } 269 271 $N_ranges += ($#start_s + 1); 270 272 } … … 311 313 } 312 314 sub print_short_epilogue { 315 if (exists($opt{b})) { 316 print STDERR "There were no science exposures to process. Sorry, try again tomorrow.\n"; 317 return(); 318 } 313 319 print << 'END_SHORT_EPILOGUE'; 314 320 -
trunk/tools/neb-ds9.pl
r26276 r26670 4 4 getopts('AM',\%opt); 5 5 6 $cmd = 'ds9 -scale mode zscale ';6 $cmd = 'ds9 -scale mode zscale '; 7 7 8 8 if (exists($opt{A})) { … … 21 21 } 22 22 } 23 #$cmd .= " -zoom to fit -regions format xy -regions system wcs -regions load targets.reg "; 23 24 system("$cmd"); -
trunk/tools/wiki_nightly_stacks_table.pl
r26620 r26670 133 133 134 134 #warps 135 $sth = "select rawExp.dateobs,warpRun.state,rawExp.filter,count(warpRun.state),warpRun.data_group,warpRun.dist_group from warpRun JOIN fakeRun using (fake_id) JOIN camRun using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) where warpRun.label LIKE '%nightlystack' GROUP BY data_group,filter ORDER BY data_group,filter";135 $sth = "select rawExp.dateobs,warpRun.state,rawExp.filter,count(warpRun.state),warpRun.data_group,warpRun.dist_group from warpRun JOIN fakeRun using (fake_id) JOIN camRun using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id) where warpRun.label LIKE '%nightlystack' GROUP BY data_group,filter,state ORDER BY data_group,filter"; 136 136 $data_ref = $db->selectall_arrayref( $sth ); 137 137
Note:
See TracChangeset
for help on using the changeset viewer.
