Changeset 14228 for trunk/ippScripts/scripts/warp_skycell.pl
- Timestamp:
- Jul 16, 2007, 12:01:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_skycell.pl
r14225 r14228 57 57 $ipprc->define_camera($camera); 58 58 59 my $STATS = 60 [ 61 # PPSTATS KEYWORD STATISTIC WARPTOOL FLAG 62 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 63 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 64 ]; 65 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser 66 59 67 # Look for programs we need 60 68 my $missing_tools; … … 119 127 120 128 # Run pswarp 121 my $stats = PS::IPP::Metadata::Stats->new(); # Stats parser122 129 unless ($no_op) { 123 130 my $command = "$pswarp -list $list1Name"; … … 155 162 } 156 163 157 # Add the processed file to the database158 my $bg = $stats->bg_mean();159 my $bg_stdev = $stats->bg_stdev();160 161 164 unless ($no_update) { 162 165 my $command = "$warptool -addwarped -warp_id $warp_id -skycell_id $skycell_id -tess_id $tess_id" . 163 " -uri $outputImage -path_base $outputRoot"; # -path_base $outputRoot"; #Command to run dettool164 $command .= " -bg $bg -bg_stdev $bg_stdev";166 " -uri $outputImage -path_base $outputRoot"; # Command to run dettool 167 $command .= $stats->cmdflags(); 165 168 $command .= " -dbname $dbname" if defined $dbname; 166 169
Note:
See TracChangeset
for help on using the changeset viewer.
