IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20616


Ignore:
Timestamp:
Nov 9, 2008, 5:04:11 PM (18 years ago)
Author:
Paul Price
Message:

Adding binned jpegs.
Using ipp_datapath.pl instead of neb-locate since not everything is in Nebulous.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diff_outputs.pl

    r20577 r20616  
    1616                             'WEIGHT' => '.wt.fits', # Weight
    1717                             'SOURCES' => '.cmf', # Sources
     18                             'JPEG1' => '.b1.jpg', # Binned JPEG
     19                             'JPEG2' => '.b2.jpg', # Binned JPEG
    1820                         };
    1921
     
    6668    foreach my $type ( keys %$extensions ) {
    6769        my $ext = $$extensions{$type}; # Extension
    68         my $neb = "$path$ext"; # Nebulous file
    69         my $source = `neb-locate --path $neb` or die "Unable to locate $neb\n"; # Actual file
     70        my $file = "$path$ext"; # File
     71        my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Actual file
    7072        chomp $source;
    71         my ($target) = $source =~ m|^.*:(.*)|; # Target name
     73        my ($target) = $source =~ m|^.*[:/](.*)|; # Target name
    7274        !system "cp $source $target" or die "Unable to copy $source\n";
    7375    }
Note: See TracChangeset for help on using the changeset viewer.