IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2006, 9:35:47 AM (20 years ago)
Author:
Paul Price
Message:

Changing name conventions to match those in doc/ippTools/filenames.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/detrend_apply_norm.pl

    r8976 r9004  
    55
    66use IPC::Cmd qw( can_run run );
    7 use PS::IPP::Metadata::Config;
    8 use PS::IPP::Metadata::List qw( parse_md_list );
    97use Data::Dumper;
    108
     
    1816    $value,                     # Value to multiple (for normalisation)
    1917    $input,                     # Input file
    20     $output                     # Output file
     18    $camera,                    # Camera
     19    $detType                    # Detrend type
    2120    );
    2221GetOptions(
     
    2625    'value|v=s'         => \$value,
    2726    'input_uri|u=s'     => \$input,
    28     'output_uri|o=s'    => \$output,
     27    'camera|c=s'        => \$camera,
     28    'det_type|t=s'      => \$detType
    2929    ) or pod2usage( 2 );
    3030   
    3131pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    32 pod2usage(     -msg => "Required options: --det_id --iteration --class_id --value --input_uri --output_uri",
     32pod2usage(     -msg => "Required options: --det_id --iteration --class_id --value --input_uri --camera --det_type",
    3333    -exitval => 3,
    3434    ) unless defined $detId
    35         and defined $iter
    36             and defined $classId
    37                 and defined $value
    38                     and defined $input
    39                         and defined $output;
    40                        
     35    and defined $iter
     36    and defined $classId
     37    and defined $value
     38    and defined $input
     39    and defined $camera
     40    and defined $detType;
     41
    4142
    4243# Look for programs we need
     
    4647die "Can't find required tools.\n" if $missing_tools;
    4748
    48 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
     49# Output name
     50my $output = $camera . '.' . $detType . '.norm.' . $detId . '.' . $iter . '.' . $classId . '.fits';
    4951
    5052# Run ppArith
Note: See TracChangeset for help on using the changeset viewer.