Changeset 25935
- Timestamp:
- Oct 23, 2009, 12:17:32 PM (17 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 7 edited
-
addtool.c (modified) (1 diff)
-
camtool.c (modified) (2 diffs)
-
chiptool.c (modified) (1 diff)
-
faketool.c (modified) (1 diff)
-
magicdstool.c (modified) (1 diff)
-
stacktool.c (modified) (1 diff)
-
warptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/addtool.c
r25840 r25935 98 98 pxcamGetSearchArgs (config, where); 99 99 PXOPT_COPY_S64(config->args, where, "-cam_id", "camRun.cam_id", "=="); 100 pxAddLabelSearchArgs (config, where, "-label", "camRun.label", "=="); 100 pxAddLabelSearchArgs (config, where, "-label", "camRun.label", "=="); // define using camRun label 101 101 PXOPT_COPY_STR(config->args, where, "-reduction", "camRun.reduction", "=="); 102 102 -
trunk/ippTools/src/camtool.c
r25851 r25935 109 109 psMetadata *where = psMetadataAlloc(); 110 110 pxcamGetSearchArgs (config, where); 111 pxAddLabelSearchArgs (config, where, "-label", "c amRun.label", "==");112 PXOPT_COPY_STR(config->args, where, "-reduction", "c amRun.reduction", "==");111 pxAddLabelSearchArgs (config, where, "-label", "chipRun.label", "=="); // define using chipRun label 112 PXOPT_COPY_STR(config->args, where, "-reduction", "chipRun.reduction", "=="); 113 113 114 114 if (!psListLength(where->list) && … … 199 199 } 200 200 201 // loop over our list of c amRun rows201 // loop over our list of chipRun rows 202 202 for (long i = 0; i < psArrayLength(output); i++) { 203 203 psMetadata *md = output->data[i]; 204 204 205 c amRunRow *row = camRunObjectFromMetadata(md);205 chipRunRow *row = chipRunObjectFromMetadata(md); 206 206 if (!row) { 207 psError(PS_ERR_UNKNOWN, false, "failed to convert metadata into c amRun");207 psError(PS_ERR_UNKNOWN, false, "failed to convert metadata into chipRun"); 208 208 psFree(output); 209 209 return false; -
trunk/ippTools/src/chiptool.c
r25851 r25935 129 129 psMetadata *where = psMetadataAlloc(); 130 130 pxchipGetSearchArgs (config, where); // rawExp only 131 pxAddLabelSearchArgs (config, where, "-label", "newExp.label", "LIKE"); 131 pxAddLabelSearchArgs (config, where, "-label", "newExp.label", "LIKE"); // define using newExp label 132 132 133 133 // psListLength(where->list) is at least 1 because exp_type defaults to "object" -
trunk/ippTools/src/faketool.c
r25851 r25935 130 130 PXOPT_COPY_TIME(config->args, where, "-dateobs_end", "dateobs", "<="); 131 131 PXOPT_COPY_STR(config->args, where, "-exp_tag", "exp_tag", "=="); 132 pxAddLabelSearchArgs (config, where, "-label", "label", "=="); 132 pxAddLabelSearchArgs (config, where, "-label", "label", "=="); // XXX does this choose the right label? 133 133 PXOPT_COPY_STR(config->args, where, "-filelevel", "filelevel", "=="); 134 134 PXOPT_COPY_STR(config->args, where, "-reduction", "reduction", "=="); -
trunk/ippTools/src/magicdstool.c
r25837 r25935 124 124 PXOPT_COPY_S32(config->args, where, "-streaks_max","streaks", "<="); 125 125 126 pxAddLabelSearchArgs (config, where, "-label", "magicRun.label", "=="); 126 pxAddLabelSearchArgs (config, where, "-label", "magicRun.label", "=="); // define using magicRun label 127 127 128 128 ippStage stageNum = ippStringToStage(stage); -
trunk/ippTools/src/stacktool.c
r25851 r25935 145 145 PXOPT_COPY_F32(config->args, where, "-select_fwhm_minor_min", "camProcessedExp.fwhm_minor", ">="); 146 146 PXOPT_COPY_F32(config->args, where, "-select_fwhm_minor_max", "camProcessedExp.fwhm_minor", "<="); 147 PXOPT_COPY_F32(config->args, where, "-select_iq_m2_max", "camProcessedExp.iq_m2", "<=");148 PXOPT_COPY_F32(config->args, where, "-select_iq_m2_min", "camProcessedExp.iq_m2", ">=");149 PXOPT_COPY_F32(config->args, where, "-select_iq_m3_max", "camProcessedExp.iq_m3", "<=");150 PXOPT_COPY_F32(config->args, where, "-select_iq_m4_min", "camProcessedExp.iq_m4", ">=");151 PXOPT_COPY_F32(config->args, where, "-select_iq_m4_max", "camProcessedExp.iq_m4", "<=");147 PXOPT_COPY_F32(config->args, where, "-select_iq_m2_max", "camProcessedExp.iq_m2", "<="); 148 PXOPT_COPY_F32(config->args, where, "-select_iq_m2_min", "camProcessedExp.iq_m2", ">="); 149 PXOPT_COPY_F32(config->args, where, "-select_iq_m3_max", "camProcessedExp.iq_m3", "<="); 150 PXOPT_COPY_F32(config->args, where, "-select_iq_m4_min", "camProcessedExp.iq_m4", ">="); 151 PXOPT_COPY_F32(config->args, where, "-select_iq_m4_max", "camProcessedExp.iq_m4", "<="); 152 152 153 153 PXOPT_COPY_STR(config->args, where, "-select_exp_type", "rawExp.exp_type", "=="); 154 154 PXOPT_COPY_F32(config->args, where, "-select_good_frac_min", "warpSkyfile.good_frac", ">="); 155 155 PXOPT_COPY_STR(config->args, where, "-select_skycell_id", "warpSkyfile.skycell_id", "=="); 156 pxAddLabelSearchArgs (config, where, "-select_label", "warpRun.label", "LIKE"); 156 pxAddLabelSearchArgs (config, where, "-select_label", "warpRun.label", "LIKE"); // define using warp label 157 157 158 158 // these are used to build the HAVING restriction -
trunk/ippTools/src/warptool.c
r25851 r25935 247 247 PXOPT_COPY_F32(config->args, where, "-sun_angle_max", "rawExp.sun_angle", "<"); 248 248 PXOPT_COPY_STR(config->args, where, "-reduction", "fakeRun.reduction", "=="); 249 pxAddLabelSearchArgs (config, where, "-label", "fakeRun.label", "==");249 pxAddLabelSearchArgs (config, where, "-label", "fakeRun.label", "=="); // define using fake label 250 250 251 251 if (!psListLength(where->list) && … … 676 676 PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpSkyCellMap.skycell_id", "=="); 677 677 PXOPT_COPY_STR(config->args, where, "-tess_id", "warpSkyCellMap.tess_id", "=="); 678 // PXOPT_COPY_STR(config->args, where, "-label", "warpRun.label", "==");679 678 pxAddLabelSearchArgs (config, where, "-label", "warpRun.label", "=="); 680 679 PXOPT_COPY_S16(config->args, where, "-fault", "warpSkyCellMap.fault", "=="); … … 1294 1293 PXOPT_COPY_STR(config->args, where, "-tess_id", "warpSkyfile.tess_id", "=="); 1295 1294 PXOPT_COPY_STR(config->args, where, "-reduction", "rawExp.reduction", "=="); 1296 // PXOPT_COPY_STR(config->args, where, "-label", "warpRun.label", "==");1297 1295 pxAddLabelSearchArgs (config, where, "-label", "warpRun.label", "=="); 1298 PXOPT_COPY_S16(config->args, where, "-fault", "warpSkyfile.fault", "==");1296 PXOPT_COPY_S16(config->args, where, "-fault", "warpSkyfile.fault", "=="); 1299 1297 1300 1298 if (!psListLength(where->list)
Note:
See TracChangeset
for help on using the changeset viewer.
