IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 7, 2009, 1:29:37 PM (17 years ago)
Author:
Paul Price
Message:

Name detection files published to datastore with output root name publish.PUB_ID.EXP_ID, after request from Larry to include 'FPA_ID' in the file name.

File:
1 edited

Legend:

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

    r24640 r24707  
    3939
    4040# Parse the command-line arguments
    41 my ( $pub_id, $camera, $stage, $stage_id, $format, $product, $workdir );
     41my ( $pub_id, $exp_id, $camera, $stage, $stage_id, $format, $product, $workdir );
    4242my ( $dbname, $verbose, $no_update, $save_temps, $redirect );
    4343
    4444GetOptions(
    4545    'pub_id=s'          => \$pub_id, # Publish identifier
     46    'exp_id=s'          => \$exp_id, # Exposure identifier
    4647    'camera=s'          => \$camera, # Camera name
    4748    'stage=s'           => \$stage,       # Stage of interest
     
    5758
    5859pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    59 pod2usage( -msg => "Required options: --pub_id --camera --stage --stage_id --product --workdir",
     60pod2usage( -msg => "Required options: --pub_id --exp_id --camera --stage --stage_id --product --workdir",
    6061           -exitval => $PS_EXIT_CONFIG_ERROR) unless
    6162    defined $pub_id and
     63    defined $exp_id and
    6264    defined $camera and
    6365    defined $product and
     
    6668    defined $workdir;
    6769
    68 my $outroot = "$workdir/$product.$pub_id"; # Output root name
     70my $outroot = "$workdir/$product.$pub_id.$exp_id"; # Output root name
    6971
    7072my $ipprc = PS::IPP::Config->new( $camera ) or
Note: See TracChangeset for help on using the changeset viewer.