IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35189


Ignore:
Timestamp:
Feb 20, 2013, 3:51:00 PM (13 years ago)
Author:
bills
Message:

changes to bgtool

Location:
trunk/ippTools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/bgtool_chip.sql

    r35100 r35189  
    55    chipBackgroundRun.label,
    66    chipBackgroundRun.data_group,
     7    chipBackgroundRun.chip_id,
     8    chipBackgroundRun.cam_id,
    79    rawExp.exp_id,
    810    rawExp.exp_name,
     
    1214    rawExp.ra,
    1315    rawExp.decl,
    14     rawExp.exp_time,
    15     chipRun.chip_id
     16    rawExp.exp_time
    1617FROM chipBackgroundRun
    1718JOIN chipBackgroundImfile USING(chip_bg_id)
  • trunk/ippTools/share/bgtool_warp.sql

    r35154 r35189  
    22    warpBackgroundSkyfile.*,
    33    warpBackgroundRun.state,
     4    warpBackgroundRun.warp_id,
     5    camRun.cam_id,
     6    warpBackgroundRun.chip_bg_id,
    47    warpBackgroundRun.workdir,
    58    warpBackgroundRun.label,
     9    warpRun.label as warp_label,
    610    rawExp.exp_id,
    711    rawExp.exp_name,
  • trunk/ippTools/src/bgtool.c

    r35154 r35189  
    16531653
    16541654    psMetadata *where = psMetadataAlloc();
    1655     PXOPT_COPY_S64(config->args, where, "-warp_bg_id",    "warpBackgroundRun.warp_bg_id", "==");
    1656     PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpBackgroundSkyfile.skycell_id", "==");
    1657     pxAddLabelSearchArgs(config, where, "-label",   "warpBackgroundRun.label", "LIKE");
     1655    PXOPT_COPY_S64(config->args, where, "-warp_bg_id",   "warpBackgroundRun.warp_bg_id", "==");
     1656    PXOPT_COPY_S64(config->args, where, "-warp_id",      "warpBackgroundRun.warp_id", "==");
     1657    PXOPT_COPY_S64(config->args, where, "-chip_bg_id",   "warpBackgroundRun.chip_bg_id", "==");
     1658    PXOPT_COPY_STR(config->args, where, "-skycell_id",   "warpBackgroundSkyfile.skycell_id", "==");
     1659    pxAddLabelSearchArgs(config, where, "-label",        "warpBackgroundRun.label", "LIKE");
    16581660    pxAddLabelSearchArgs(config, where, "-data_group",   "warpBackgroundRun.data_group", "LIKE");
    16591661    pxAddLabelSearchArgs(config, where, "-dist_group",   "warpBackgroundRun.data_group", "LIKE");
  • trunk/ippTools/src/bgtoolConfig.c

    r35154 r35189  
    355355    psMetadata *warpArgs = psMetadataAlloc();
    356356    psMetadataAddS64(warpArgs, PS_LIST_TAIL, "-warp_bg_id", 0, "search by warp_bg_id", 0);
     357    psMetadataAddS64(warpArgs, PS_LIST_TAIL, "-warp_id", 0, "search by warp_id", 0);
     358    psMetadataAddS64(warpArgs, PS_LIST_TAIL, "-chip_bg_id", 0, "search by chip_bg_id", 0);
    357359    psMetadataAddStr(warpArgs, PS_LIST_TAIL, "-skycell_id", 0, "search by skycell_id", NULL);
    358360    psMetadataAddS16(warpArgs, PS_LIST_TAIL, "-fault",  0, "search by fault code", 0);
Note: See TracChangeset for help on using the changeset viewer.