IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 28, 2010, 4:12:14 PM (16 years ago)
Author:
rhenders
Message:

Handling save_temps arg properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/roboczar.pl

    r28729 r28752  
    1717my $save_temps = 0;
    1818
    19 my $czarDb = new czartool::CzarDb($czarDbName, "ippdb01", "ipp", "ipp");
    20 my $gpc1Db = new czartool::Gpc1Db("gpc1", "ippdb01", "ippuser", "ippuser");
    21 my $pantasks = new czartool::Pantasks();
    22 my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", "png", "~/", $save_temps);
    23 $czarDb->setDateFormat("%Y%m%d-%H%i%s");
    24 
    25 my @stages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");
    26 
    27 
    2819GetOptions (
    2920        "period|p=s" => \$period, # TODO more Db args
    3021        "dbname|d=s" => \$czarDbName,
    3122        );
     23
     24my $czarDb = new czartool::CzarDb($czarDbName, "ippdb01", "ipp", "ipp", 0, $save_temps); # TODO last arg here is save_temps, should get as arg
     25my $gpc1Db = new czartool::Gpc1Db("gpc1", "ippdb01", "ippuser", "ippuser");
     26my $pantasks = new czartool::Pantasks();
     27my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", "png", "/tmp", $save_temps);
     28$czarDb->setDateFormat("%Y%m%d-%H%i%s");
     29
     30my @stages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");
     31
    3232
    3333timePoll($period);
Note: See TracChangeset for help on using the changeset viewer.