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/camera_exp.pl

    r19937 r19938  
    349349    $fpaCommand .= $camStats->cmdflags();
    350350    $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));
    352352} else {
    353353    $fpaCommand .= " -updaterun -state full";
     
    384384            $command .= " -path_base $outroot";
    385385            $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));
    387387        } else {
    388388            $command .= " -updateprocessedexp";
Note: See TracChangeset for help on using the changeset viewer.