IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 9, 2009, 12:14:22 PM (16 years ago)
Author:
watersc1
Message:

dqstatstool: I forgot to commit this last week.

summit copy: added support for use_compress option in the datastore entry in the database. This should allow gpc1 and isp data to be copied using the same code.

dbconfig: database changes to support the above.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/summit.copy.pro

    r25340 r26378  
    147147# run pzgetexp periodically to populate pzPendingExp in the database (no I/O)
    148148# this task is querying the data store for a list of exposures ("filesets")
    149 # and inserting these into a db table on the local cluster (pzPendingExp)
     149# and inserting these into a db table on the local cluster (pzDownloadExp)
    150150task pzgetexp
    151151  periods      -exec     30
     
    446446        stderr $LOGDIR/summit.copy.log
    447447
     448        book getpage pzDataStore 0 -var PZDSPAGE -key dbname $DBNAME
     449        book getword pzDataStore $PZDSPAGE use_compress  -var USECOMPRESS
     450
    448451        $run = summit_copy.pl --uri $URI --filename $FILENAME --exp_name $EXP_NAME --inst $CAMERA --telescope $TELESCOPE --class $CLASS --class_id $CLASS_ID --bytes $BYTES --md5 $MD5SUM --dbname $DBNAME --timeout 120 --verbose --copies 2
    449         if ($COMPRESS)
     452        if ($USECOMPRESS == 1)
    450453            $run = $run --compress
    451         else
    452             $run = $run --bytes $BYTES
    453         end
    454         if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0") && (not($COMPRESS)))
     454        end
     455#        if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0") && (not($COMPRESS)))
    455456# && (($YEAR > 2008) || (("$YEAR" = "2007") && ($MONTH > 8))))
    456             $run = $run --md5 $MD5SUM
    457         end
     457#            $run = $run --md5 $MD5SUM
     458#        end
    458459        if ($NEBULOUS)
    459460            $run = $run --nebulous
     
    463464        # store the pageName for future reference below
    464465        options $pageName
    465 
     466       
    466467        # create the command line
    467468        if ($VERBOSE > 1)
Note: See TracChangeset for help on using the changeset viewer.