IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 4, 2011, 5:03:20 PM (15 years ago)
Author:
watersc1
Message:

definewarpwarp:

Add mintimediff to restrict the minimum time difference allowed between inputs.
Fix bug that prevented the data_group from being set from the command line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/difftool.c

    r32218 r32482  
    16341634    PXOPT_COPY_F32(config->args, selectWhere, "-timediff",
    16351635                   "ABS(TIME_TO_SEC(TIMEDIFF(inputRawExp.dateobs, templateRawExp.dateobs)))", "<=");
     1636    PXOPT_COPY_F32(config->args, selectWhere, "-mintimediff",
     1637                   "ABS(TIME_TO_SEC(TIMEDIFF(inputRawExp.dateobs, templateRawExp.dateobs)))", ">=");
    16361638
    16371639    // other where restrictions:
     
    18671869        const char *tess_id = psMetadataLookupStr(NULL, row, "tess_id");
    18681870        psString input_data_group = psMetadataLookupStr(NULL, row, "input_data_group");
    1869         if (input_data_group) {
     1871        if (!data_group) {
    18701872          data_group = input_data_group;
    18711873        }
Note: See TracChangeset for help on using the changeset viewer.