IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2008, 4:11:11 PM (18 years ago)
Author:
Paul Price
Message:

Let's do the time warp again!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/warp_skycell.pl

    r19932 r19938  
    255255            $command .= " -ignore"           if not $accept; # Completed succesfully, but can't produce product
    256256            $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));
    258258            $command .= $stats->cmdflags()   if $accept;
    259259            $command .= " -hostname $host"   if defined $host;
     
    309309        $command .= " -warp_id $warp_id";
    310310        $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));
    312312        $command .= " -code $exit_code";
    313313        $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.