IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 23, 2013, 4:55:10 PM (13 years ago)
Author:
bills
Message:

Add skycell args to staticskytool -todo -revert and -revertskycal to
allow selecting by coordinates.
Add -abs_glat_min and -abs_glat_max to the skycell args to make it easier
to select things away from or near the galactic plane

File:
1 edited

Legend:

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

    r34973 r35039  
    503503    PXOPT_COPY_S64(config->args, whereMD, "-sky_id", "sky_id", "==");
    504504    pxAddLabelSearchArgs (config, whereMD, "-label", "staticskyRun.label", "==");
     505    pxskycellAddWhere(config, whereMD);
    505506
    506507    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    735736    pxAddLabelSearchArgs(config, where, "-label", "staticskyRun.label", "==");
    736737    PXOPT_COPY_S16(config->args, where, "-fault", "staticskyResult.fault", "==");
     738
     739    if (!pxskycellAddWhere(config, where)) {
     740        psError(PXTOOLS_ERR_CONFIG, false, "failed to add skycell search arguments");
     741        return false;
     742    }
    737743
    738744    if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) {
     
    14781484    pxAddLabelSearchArgs(config, where, "-filter", "stackRun.filter", "==");
    14791485    PXOPT_COPY_S16(config->args, where, "-fault", "skycalResult.fault", "==");
     1486    if (!pxskycellAddWhere(config, where)) {
     1487        psError(PXTOOLS_ERR_CONFIG, false, "failed to add skycell search arguments");
     1488        return false;
     1489    }
    14801490
    14811491    if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) {
Note: See TracChangeset for help on using the changeset viewer.