IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11108


Ignore:
Timestamp:
Jan 15, 2007, 12:00:18 PM (19 years ago)
Author:
magnier
Message:

adding -time constraint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDetrendDB.c

    r10725 r11108  
    101101    unsigned int nFail;
    102102
     103    // XXXXX ***** MAJOR HACK ***** Josh dropped INST from detrun, so I am using 'object' for
     104    // now in dettool ('object' is not relevant to detrun!!!)
     105
    103106    pmDetrendSelectResults *results = pmDetrendSelectResultsAlloc();
    104 
    105     // generate the detselect command
    106     // psStringAppend (&line, "detselect -inst %s -time %s -det_type %s", options->camera, time, type);
    107     // XXX we need to put in the filter and other restrictions based on the recipe
    108     // detselect -search -simple returns: DET_ID ITERATION CLASS TYPE
    109     // XXXXX ***** MAJOR HACK ***** Josh dropped INST from detrun, so I am using 'object' for
    110     // now ('object' is not relevant to detrun!!!)
    111     // XXX this operation is not applying the time-based selections yet.
    112     psStringAppend (&line, "detselect -search -inst %s -det_type %s", options->camera, type);
    113 
    114     // psStringAppend (&line, "detselect -search -simple -object %s -det_type %s", options->camera, type);
     107    psStringAppend (&line, "detselect -search -inst %s -det_type %s -time %s", options->camera, type, time);
     108
    115109    if (options->filter) {
    116110        psStringAppend (&line, " -filter %s", options->filter);
Note: See TracChangeset for help on using the changeset viewer.