- Timestamp:
- Oct 9, 2013, 4:06:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r36057 r36192 693 693 $out->{data_state} = $out->{state} = $out->{stack_state}; 694 694 } else { 695 # XXX: Consider looking up skycal results even if we are 695 $out->{data_state} = $out->{state}; 696 697 # XXX: Consider looking up skycal and staticsky results even if we are 696 698 # not using releasetool 697 $out->{data_state} = $out->{state};698 699 } 699 700 } … … 731 732 $out->{mask} = $ipprc->filename($mask_name, $mask_base, $class_id) if $mask_name; 732 733 $out->{weight} = $ipprc->filename($weight_name, $base, $class_id) if $weight_name; 733 $out->{cmf} = $ipprc->filename($cmf_name, $base, $class_id) if $cmf_name;734 $out->{psf} = $ipprc->filename($psf_name, $base, $class_id) if $psf_name;735 734 $out->{backmdl}= $ipprc->filename($backmdl_name,$base, $class_id) if $backmdl_name; 735 if ($image->{staticsky_path_base}) { 736 $out->{psf} = $ipprc->filename("PSPHOT.STACK.PSF.SAVE", $image->{staticsky_path_base}, $image->{stack_id}); 737 # if astrom was not set above to the skycal cmf get the sources file from staticsky 738 $out->{cmf} = $ipprc->filename("PSPHOT.STACK.OUTPUT", $image->{staticsky_path_base}, $image->{stack_id}) if !$out->{astrom}; 739 } else { 740 $out->{psf} = $ipprc->filename($psf_name, $base, $class_id) if $psf_name; 741 $out->{cmf} = $ipprc->filename($cmf_name, $base, $class_id) if $cmf_name; 742 } 736 743 } 737 744 … … 808 815 $command .= " -priority_order"; 809 816 } 810 $command .= " -surveyName $survey" ;817 $command .= " -surveyName $survey" if $survey; 811 818 } else { 812 819 $command = "$stacktool -dbname $imagedb"; … … 2051 2058 # see if we need to start the scs (skycell server) 2052 2059 2060 my $very_verbose = 0; 2061 2053 2062 if (!$scs_tess_id or ($scs_tess_id ne $tess_id)) { 2054 2063 if ($scs_tess_id) { … … 2076 2085 2077 2086 # start an scs 2087 print "Starting skycell server for $tess_dir_resolved.\n"; 2078 2088 2079 2089 # create pipes for communicating with the server … … 2111 2121 my $command = "$dvoImagesAtCoords -D CATDIR $tess_dir_resolved -coords -"; 2112 2122 2113 print STDERR "SCS: execing $command\n" ;2123 print STDERR "SCS: execing $command\n" if $very_verbose; 2114 2124 2115 2125 unless(exec $command) { … … 2146 2156 } 2147 2157 2148 my $very_verbose = 0;2149 2158 print STDERR " sent coordinates to skycell server\n" if $very_verbose; 2150 2159
Note:
See TracChangeset
for help on using the changeset viewer.
