IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16326


Ignore:
Timestamp:
Feb 5, 2008, 4:08:18 PM (18 years ago)
Author:
Paul Price
Message:

Don't get list of tessellations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Operations.pm

    r15680 r16326  
    11# Copyright (c) 2007  Paul Price
    22#
    3 # $Id: Operations.pm,v 1.4 2007-11-22 00:55:32 price Exp $
     3# $Id: Operations.pm,v 1.5 2008-02-06 02:08:18 price Exp $
    44
    55package PS::IPP::Operations;
     
    5858    my $dvoImageExtract = can_run('dvoImageExtract') or die "Can't find dvoImageExtract";
    5959
    60     my $tessellations = $ipprc->tessellations() or
    61         (carp "Can't get list of tessellations." and return 0); # Hash of defined tessellations
    62 
    63     ### Because DVO doesn't use psModules, it doesn't understand Nebulous --- check
    64     my $scheme = file_scheme($$tessellations{$tess_id}); # The scheme, e.g., file, path, neb
    65     if (defined $scheme and lc($scheme) eq 'neb') {
    66         carp "Tessellation $tess_id refers to a Nebulous path: $$tessellations{$tess_id}";
     60    my $tess_dir = $ipprc->tessellation_catdir( $tess_id ); # Tessellation catdir for DVO
     61    unless (defined $tess_dir) {
     62        carp "Can't get list of tessellations.";
    6763        return 0;
    6864    }
    69    
    70     my $tess_dir = $ipprc->convert_filename_absolute( $$tessellations{$tess_id} ); # Catdir for DVO
    7165
    7266    foreach my $skycell_id ( @$skycells ) {
Note: See TracChangeset for help on using the changeset viewer.