IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31529


Ignore:
Timestamp:
May 11, 2011, 3:09:06 PM (15 years ago)
Author:
watersc1
Message:

Add -warp_id selection to definebyquery mode. This adds the flexibility of using definebyquery to queue blocks of skycells, with the ability to selectively include only the warps we want to keep.

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r31477 r31529  
    246246    PXOPT_COPY_STR(config->args,  where, "-select_data_group",         "warpRun.data_group", "==");
    247247    pxAddLabelSearchArgs (config, where, "-select_label",              "warpRun.label", "LIKE"); // define using warp label
    248 
     248    pxAddLabelSearchArgs (config, where, "-warp_id",                   "warpRun.warp_id", "==");
     249   
    249250    // these are used to build the HAVING restriction
    250251    PXOPT_COPY_S32(config->args, having, "-min_num", "num_warp", ">=");
  • trunk/ippTools/src/stacktoolConfig.c

    r30945 r31529  
    9191    psMetadataAddF64(definebyqueryArgs, PS_LIST_TAIL, "-select_zpt_obs_max", 0, "define max zero point", NAN);
    9292    psMetadataAddF64(definebyqueryArgs, PS_LIST_TAIL, "-select_astrom", 0, "define max astrometry rms", NAN);
     93    psMetadataAddS64(definebyqueryArgs, PS_LIST_TAIL, "-warp_id", PS_META_DUPLICATE_OK, "include this warp ID (multiple OK)", 0);
    9394    psMetadataAddS32(definebyqueryArgs, PS_LIST_TAIL, "-random", 0, "use this number of random elements", 0);
    9495    psMetadataAddS32(definebyqueryArgs, PS_LIST_TAIL, "-min_num", 0, "minimum number of inputs", 0);
Note: See TracChangeset for help on using the changeset viewer.