IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 26, 2010, 9:18:39 AM (16 years ago)
Author:
Serge CHASTEL
Message:

Merging trunk in branch

Location:
branches/sc_branches/trunkTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/sc_branches/trunkTest

  • branches/sc_branches/trunkTest/tools/czarplot.pl

    r28922 r29060  
    3838        );
    3939
    40 print "\n";
     40
     41print "\n*******************************************************************************\n";
     42print "* \n";
     43my $quit = 0;
     44if (@ARGV) {
     45    $quit=1;
     46    print "* UNKNKOWN: option                          @ARGV\n";
     47}
    4148if (!$histogram) {
    4249    print "* OPTIONAL: plot histogram                  -h                          (default=off)\n";}
     
    5057    print "* OPTIONAL: choose a stage                  -s <chip|cam|warp|etc>      (default=none)\n";}
    5158if (!$interval) {
    52     print "* OPTIONAL: choose time interval in past    -i <'1 hour'|'1 day'|etc>   (default=interval since 7am this morning)\n";}
     59    print "* OPTIONAL: choose time interval in past    -i <'1 hour'|'1 day'|etc>   (default=none\n";}
    5360if (!$begin) {
    5461    print "* OPTIONAL: choose a begin time             -b <datetime>               (default=7am this morning)\n";}
     
    5764if (!$path) {
    5865    print "* OPTIONAL: choose an output location       -o <path>                   (default=none)\n";}
     66print "*\n*******************************************************************************\n";
    5967
    60 print "\n";
     68if ($quit) { exit; }
    6169
    6270# default values
     
    7179$czarDb->setDateFormat("%Y%m%d-%H%i%s");
    7280
     81
     82# GENE PLOTS my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png size 1280,960 font \"/usr/share/fonts/corefonts/arial.ttf\" 12" : "X11", $path, $save_temps);
    7383my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png font \"/usr/share/fonts/corefonts/arial.ttf\" 8" : "X11", $path, $save_temps);
    74 
    75 my @allStages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");
    7684
    7785# sort out times
     
    7987if (!$begin) {
    8088    if ($interval) {$begin = $czarDb->subtractInterval($end, $interval);}
    81     else {$begin =  strftime('%Y-%m-%d 07:00',localtime);}
     89    else {$begin =  strftime('%Y-%m-%d 06:30',localtime);}
    8290}
    8391
Note: See TracChangeset for help on using the changeset viewer.