IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 16, 2009, 9:44:29 AM (17 years ago)
Author:
bills
Message:

Store the size in bytes and md5sum of the Compressed raw image files
in pzDownloadImfile. Propagate the values to rawImfile so that they are
available for checking.
(summitImfile has the parameters of the files before they are compressed)

File:
1 edited

Legend:

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

    r23831 r25418  
    3434my $ppStatsFromMetadata = can_run( 'ppStatsFromMetadata' ) or (warn "Can't find ppStatsFromMetadata" and $missing_tools = 1);
    3535
    36 my ($cache, $exp_id, $tmp_class_id, $tmp_exp_name, $uri, $dbname, $verbose, $no_update, $no_op, $logfile);
     36my ($cache, $exp_id, $tmp_class_id, $tmp_exp_name, $uri, $bytes, $md5sum, $dbname, $verbose, $no_update, $no_op, $logfile);
    3737GetOptions(
    3838    'caches'           => \$cache,
     
    4141    'tmp_exp_name|n=s' => \$tmp_exp_name,
    4242    'uri|u=s'          => \$uri,
     43    'bytes=s'          => \$bytes,
     44    'md5sum=s'         => \$md5sum,
    4345    'dbname|d=s'       => \$dbname,    # Database name
    4446    'verbose'          => \$verbose,   # Print to stdout
     
    123125$command .= " -tmp_class_id $tmp_class_id"; # the original class_id supplied by the user, replace by ppStats CLASS.ID
    124126$command .= " -uri $uri ";
     127$command .= " -bytes $bytes" if $bytes;
     128$command .= " -md5sum $md5sum" if $md5sum and ($md5sum ne 'NULL');
    125129$command .= " -hostname $host" if defined $host;
    126130$command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.