IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 29, 2012, 2:08:42 PM (13 years ago)
Author:
bills
Message:

add two columns to staticskyResult n_detections and n_extended

File:
1 edited

Legend:

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

    r34286 r34733  
    132132    pxAddLabelSearchArgs(config, whereMD, "-select_data_group",    "stackRun.data_group",       "LIKE");
    133133    pxAddLabelSearchArgs(config, whereMD, "-select_filter",        "stackRun.filter",           "LIKE");
     134#ifdef notdef
    134135    PXOPT_COPY_F32(config->args, whereMD, "-select_glat_min",      "skycell.glat",              ">=");
    135136    PXOPT_COPY_F32(config->args, whereMD, "-select_glat_max",      "skycell.glat",              "<=");
     137    PXOPT_COPY_F32(config->args, whereMD, "-select_rahours_min",   "skycell.radeg/15",          ">=");
     138    PXOPT_COPY_F32(config->args, whereMD, "-select_rahours_max",   "skycell.radeg/15",          "<=");
     139    PXOPT_COPY_F32(config->args, whereMD, "-select_radeg_min",     "skycell.radeg",             ">=");
     140    PXOPT_COPY_F32(config->args, whereMD, "-select_radeg_max",     "skycell.radeg",             "<=");
     141    PXOPT_COPY_F32(config->args, whereMD, "-select_decdeg_min",    "skycell.decdeg",             ">=");
     142    PXOPT_COPY_F32(config->args, whereMD, "-select_decdeg_max",    "skycell.decdeg",             "<=");
     143#endif
     144    if (!pxskycellAddWhere(config, whereMD)) {
     145        psError(PXTOOLS_ERR_CONFIG, false, "failed to add skycell search arguments");
     146        return false;
     147    }
    136148
    137149    // find the number of requested filters:
     
    12631275
    12641276    PXOPT_LOOKUP_STR(hostname, config->args,    "-hostname", false, false);
    1265 //    PXOPT_LOOKUP_S32(n_stars, config->args,     "-n_stars", false, false);
    12661277    PXOPT_LOOKUP_S32(n_astrom, config->args,    "-n_astrom", false, false);
     1278    PXOPT_LOOKUP_S32(n_detections, config->args,    "-n_detections", false, false);
     1279    PXOPT_LOOKUP_S32(n_extended, config->args,    "-n_extended", false, false);
    12671280
    12681281    PXOPT_LOOKUP_STR(path_base, config->args,   "-path_base", false, false);
     
    13031316        sigma_dec,
    13041317        n_astrom,
     1318        n_detections,
     1319        n_extended,
    13051320        zpt_obs,
    13061321        zpt_stdev,
Note: See TracChangeset for help on using the changeset viewer.