IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2011, 11:00:22 AM (15 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/tools/refstacktool

    r31711 r32337  
    2525my $tess_version = 'V2';
    2626my $input_data_group;
     27my $object;
    2728
    2829my $dbname = "gpc1";
     
    5051    'tess_version=s'=> \$tess_version,
    5152    'tess_id=s'     => \$tess_id,
     53    'object=s'      => \$object,
    5254    'workdir=s'     => \$workdir,
    5355    'reduction=s'   => \$reduction,
     
    6062
    6163pod2usage( -msg => "Only one of --queue and --pretend may be supplied ", -exitval => 2 ) if $queue and $pretend;
     64
     65$n_inputs_min = $n_inputs_max if ($n_inputs_max < $n_inputs_min);
    6266
    6367my ($d, $m, $y) = (gmtime) [3,4,5];
     
    8286$selection_args .= " AND dateobs >= '$date_begin'";
    8387$selection_args .= " AND date(dateobs) <= '$date_end'" if $date_end;
     88$selection_args .= " AND object like '$object'" if $object;
    8489
    8590$input_data_group = "'$field.%'";
     
    289294Optional. The default value is "field.%. For example 'MD05%'
    290295
     296=item * --object <object>
     297
     298Select exposures whose "object" matches the supplied value. (The SQL wild
     299chard character '%' is useful here.
     300
     301Optional.
     302
    291303=item * --n_inputs_min <n_inputs_min>
    292304
Note: See TracChangeset for help on using the changeset viewer.