IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16828


Ignore:
Timestamp:
Mar 5, 2008, 11:07:22 AM (18 years ago)
Author:
Paul Price
Message:

No warpInputExp any more.

Location:
trunk/ippTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/difftool_inputskyfile.sql

    r14257 r16828  
    1717        AND diffInputSkyfile.skycell_id = warpSkyfile.skycell_id
    1818        AND diffInputSkyfile.tess_id    = warpSkyfile.tess_id
    19     JOIN warpInputExp
    20         ON diffInputSkyfile.warp_id = warpInputExp.warp_id
     19    JOIN warpRun
     20        ON diffInputSkyfile.warp_id = warpRun.warp_id
    2121    JOIN camProcessedExp
    22         ON warpInputExp.cam_id = camProcessedExp.cam_id
     22        ON warpRun.cam_id = camProcessedExp.cam_id
    2323    JOIN chipRun
    2424        ON camProcessedExp.chip_id = chipRun.chip_id
     
    4747    JOIN stackInputSkyfile
    4848        ON diffInputSkyfile.stack_id = stackInputSkyfile.stack_id
    49     JOIN warpInputExp
    50         ON stackInputSkyfile.warp_id = warpInputExp.warp_id
     49    JOIN warpRun
     50        ON stackInputSkyfile.warp_id = warpRun.warp_id
    5151    JOIN camProcessedExp
    52         ON warpInputExp.cam_id = camProcessedExp.cam_id
     52        ON warpRun.cam_id = camProcessedExp.cam_id
    5353    JOIN chipRun
    5454        ON camProcessedExp.chip_id = chipRun.chip_id
  • trunk/ippTools/share/stacktool_inputskyfile.sql

    r14031 r16828  
    99    AND stackRun.skycell_id       = warpSkyfile.skycell_id
    1010    AND stackRun.tess_id          = warpSkyfile.tess_id
    11 JOIN warpInputExp
    12     ON stackInputSkyfile.warp_id = warpInputExp.warp_id
     11JOIN warpRun
     12    ON stackInputSkyfile.warp_id = warpRun.warp_id
    1313JOIN camProcessedExp
    14     ON warpInputExp.cam_id = camProcessedExp.cam_id
     14    ON warpRun.cam_id = camProcessedExp.cam_id
    1515JOIN chipRun
    1616    ON camProcessedExp.chip_id = chipRun.chip_id
  • trunk/ippTools/src/warptool.c

    r16734 r16828  
    193193
    194194    if (config->where) {
    195         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
     195        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
    196196        psStringAppend(&query, " AND %s", whereClause);
    197197        psFree(whereClause);
     
    240240
    241241        // negative simple so the default is true
    242         if (!ippdbPrintMetadatas(stdout, output, "warpInputExp", !simple)) {
     242        if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) {
    243243            psError(PS_ERR_UNKNOWN, false, "failed to print array");
    244244            psFree(output);
     
    268268
    269269    if (config->where) {
    270         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
     270        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
    271271        psStringAppend(&query, " AND %s", whereClause);
    272272        psFree(whereClause);
     
    343343
    344344    if (config->where) {
    345         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
     345        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
    346346        psStringAppend(&query, " AND %s", whereClause);
    347347        psFree(whereClause);
     
    390390
    391391        // negative simple so the default is true
    392         if (!ippdbPrintMetadatas(stdout, output, "warpInputExp", !simple)) {
     392        if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) {
    393393            psError(PS_ERR_UNKNOWN, false, "failed to print array");
    394394            psFree(output);
     
    402402}
    403403
    404    
     404
    405405static bool addoverlapMode(pxConfig *config)
    406406{
     
    673673    // XXX need to validate that this coresponds to an warpInputImfile
    674674    if (!warpSkyfileInsert(config->dbh,
    675                            (psS64)atoll(warp_id),
    676                            skycell_id,
    677                            tess_id,
    678                            uri,
    679                            path_base,
    680                            bg,
    681                            bg_stdev,
    682                            dtime_warp,
    683                            hostname,
    684                            good_frac,
    685                            ignore,
    686                            code
     675                           (psS64)atoll(warp_id),
     676                           skycell_id,
     677                           tess_id,
     678                           uri,
     679                           path_base,
     680                           bg,
     681                           bg_stdev,
     682                           dtime_warp,
     683                           hostname,
     684                           good_frac,
     685                           ignore,
     686                           code
    687687        )) {
    688688        if (!psDBRollback(config->dbh)) {
     
    717717    // < 5 & MYSQL 5 versions need to be kept in sync
    718718
    719 #undef MYSQL5 
     719#undef MYSQL5
    720720#if MYSQL5
    721721    // XXX at MySQL 4.1.21 (probably all of 4.1.x) chokes and dies on this
Note: See TracChangeset for help on using the changeset viewer.