IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27141 for trunk/pstamp


Ignore:
Timestamp:
Mar 2, 2010, 12:20:13 PM (16 years ago)
Author:
bills
Message:

updates to a little test script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/test/test_lookup.pl

    r23267 r27141  
    1919my $img_type;
    2020my $id;
    21 my $class_id;
    2221my $x;
    2322my $y;
     
    2524my $mjd_max;
    2625my $filter;
     26my $skycell_id;
     27my $tess_id;
     28my $component;
     29my $data_group;
     30my $inverse;
     31my $need_magic = 1;
    2732
    2833
     
    3338    'img_type=s'=>  \$img_type,
    3439    'id=s'      =>  \$id,
    35     'class_id=s'=>  \$class_id,
     40    'component=s'=>  \$component,
    3641    'x=s'       =>  \$x,
    3742    'y=s'       =>  \$y,
     
    5358}
    5459
    55 $class_id = "null" if !defined($class_id);
     60$component = "null" if !defined($component);
    5661
    57 my $results = locate_images($ipprc, $image_db, $req_type, $img_type, $id, $class_id,
    58             $x, $y, $mjd_min, $mjd_max, $filter, $verbose);
     62my $results = locate_images($ipprc, $image_db, $req_type, $img_type, $id, $tess_id, $component,
     63            $inverse, $need_magic,
     64            $x, $y, $mjd_min, $mjd_max, $filter, $data_group, $verbose);
    5965
    6066foreach my $i (@$results) {
    61     print "${img_type}_id: $id";
     67    print "${img_type}_id: $id" if $id;
    6268    if ($i->{exp_id}) {
    6369        print " exp_id $i->{exp_id}\n"
Note: See TracChangeset for help on using the changeset viewer.