IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41951


Ignore:
Timestamp:
Dec 2, 2021, 3:49:55 PM (5 years ago)
Author:
eugene
Message:

adding options to stacktool definebyquery to select by ra,dec region

Location:
branches/eam_branches/ipp-20211108/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/ippTools/src/stacktool.c

    r41297 r41951  
    264264    pxAddLabelSearchArgs (config, where, "-warp_id",                   "warpRun.warp_id", "==");
    265265   
     266    // Add position dependence here.
     267    if (!pxspaceBoxAddWhere(config, where)) {
     268      psError(psErrorCodeLast(), false, "pxSpaceBoxAddWhere failed");
     269      return false;
     270    }
     271 
    266272    // these are used to build the HAVING restriction
    267273    PXOPT_COPY_S32(config->args, having, "-min_num", "num_warp", ">=");
  • branches/eam_branches/ipp-20211108/ippTools/src/stacktoolConfig.c

    r41297 r41951  
    103103    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-pretend",  0, "do not actually modify the database", false);
    104104    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-simple", 0, "use the simple output format", false);
     105    pxspaceBoxAddArguments(definebyqueryArgs);
    105106
    106107    // -definerun
Note: See TracChangeset for help on using the changeset viewer.