Changeset 19938
- Timestamp:
- Oct 6, 2008, 4:11:11 PM (18 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 6 edited
-
camera_exp.pl (modified) (2 diffs)
-
chip_imfile.pl (modified) (2 diffs)
-
diff_skycell.pl (modified) (2 diffs)
-
fake_imfile.pl (modified) (2 diffs)
-
stack_skycell.pl (modified) (2 diffs)
-
warp_skycell.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r19937 r19938 349 349 $fpaCommand .= $camStats->cmdflags(); 350 350 $fpaCommand .= " -hostname $host" if defined $host; 351 $fpaCommand .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));351 $fpaCommand .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 352 352 } else { 353 353 $fpaCommand .= " -updaterun -state full"; … … 384 384 $command .= " -path_base $outroot"; 385 385 $command .= " -path_base $outroot" if defined $outroot; 386 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));386 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 387 387 } else { 388 388 $command .= " -updateprocessedexp"; -
trunk/ippScripts/scripts/chip_imfile.pl
r19932 r19938 237 237 $command .= " -dbname $dbname" if defined $dbname; 238 238 $command .= $stats->cmdflags(); 239 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));239 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 240 240 } else { 241 241 $command = "$chiptool -tofullimfile"; … … 276 276 $command .= " -path_base $outroot"; 277 277 $command .= " -hostname $host" if defined $host; 278 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));278 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 279 279 } else { 280 280 $command .= "$chiptool -updateprocessedimfile"; -
trunk/ippScripts/scripts/diff_skycell.pl
r19932 r19938 244 244 my $command = "$difftool -adddiffskyfile -diff_id $diff_id -uri $outputName -path_base $outroot"; 245 245 $command .= $stats->cmdflags(); 246 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));246 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 247 247 $command .= " -hostname $host" if defined $host; 248 248 $command .= " -dbname $dbname" if defined $dbname; … … 267 267 if (defined $diff_id and not $no_update) { 268 268 my $command = "$difftool -adddiffskyfile -diff_id $diff_id -code $exit_code"; 269 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));269 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 270 270 $command .= " -hostname $host" if defined $host; 271 271 $command .= " -dbname $dbname" if defined $dbname; -
trunk/ippScripts/scripts/fake_imfile.pl
r19932 r19938 197 197 $command .= " -path_base $outroot"; 198 198 $command .= " -dbname $dbname" if defined $dbname; 199 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));199 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 200 200 # XXX add this after defined 201 201 # $command .= $stats->cmdflags(); … … 229 229 $command .= " -class_id $class_id"; 230 230 $command .= " -path_base $outroot"; 231 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));231 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 232 232 $command .= " -code $exit_code"; 233 233 $command .= " -dbname $dbname" if defined $dbname; -
trunk/ippScripts/scripts/stack_skycell.pl
r19932 r19938 267 267 $command .= " -uri $outputName -path_base $outroot"; 268 268 $command .= " -hostname $host" if defined $host; 269 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));269 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 270 270 } else { 271 271 $mode = "-updaterun -state full"; … … 298 298 $command .= " -addsumskyfile"; 299 299 $command .= " -hostname $host" if defined $host; 300 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));300 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 301 301 } else { 302 302 $command .= " -updatesumskyfile"; -
trunk/ippScripts/scripts/warp_skycell.pl
r19932 r19938 255 255 $command .= " -ignore" if not $accept; # Completed succesfully, but can't produce product 256 256 $command .= " -uri $outputImage" if $accept; 257 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));257 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 258 258 $command .= $stats->cmdflags() if $accept; 259 259 $command .= " -hostname $host" if defined $host; … … 309 309 $command .= " -warp_id $warp_id"; 310 310 $command .= " -skycell_id $skycell_id"; 311 $command .= (" -dtime_script " . (( $mjd_start - DateTime->now->mjd) * 86400));311 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 312 312 $command .= " -code $exit_code"; 313 313 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
