IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2024, 1:11:00 PM (3 years ago)
Author:
eugene
Message:

add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/ippTools/src/fftool.c

    r42524 r42590  
    104104}
    105105
    106 
     106// NOTE: this mode seems to be insufficiently constrained.  It first identifies the
     107// set of stackRun/skycalRun entries that lack a fullForceRun match.  But the
     108// second stage is selecting all warps only based on (tess_id, skycell_id, filter) without
     109// restriction to those which contributed to the stack
    107110static bool definebyqueryMode(pxConfig *config)
    108111{
     
    150153    }
    151154    PXOPT_COPY_F32(config->args, warpWhereMD, "-select_good_frac_min",  "warpSkyfile.good_frac",   ">=");
     155    // XXX the tess_id and filter below can never be used because they are removed above (for stack)
     156    // these options should be something like -select_warp_tess_id and -select_warp_filter
    152157    PXOPT_COPY_STR(config->args, warpWhereMD, "-select_tess_id",       "warpRun.tess_id",         "==");
    153158    pxAddLabelSearchArgs(config, warpWhereMD, "-select_filter",        "rawExp.filter",          "LIKE");
     
    223228    psString warpQueryTemplate = pxDataGet("fftool_definebyquery_select_warps.sql");
    224229
     230    // NOTE: these allow the set of input warps to be restricted
    225231    whereClause = psDBGenerateWhereConditionSQL(warpWhereMD, NULL);
    226232    psStringAppend(&warpQueryTemplate, "\nAND %s", whereClause);
     
    339345}
    340346
     347// NOTE: this mode and 'definebyquery' seem to be nearly identical except that
     348// 'definebyquery' allows for restrictions on the input warps by label, data_group,
     349// warp_id, tess_id, filter, good_frac
    341350static bool defineforstacksMode(pxConfig *config)
    342351{
Note: See TracChangeset for help on using the changeset viewer.