Changeset 30227
- Timestamp:
- Jan 9, 2011, 11:13:17 AM (15 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pztool.c (modified) (2 diffs)
-
pztoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pztool.c
r30206 r30227 297 297 298 298 psMetadata *where = psMetadataAlloc(); 299 PXOPT_COPY_STR(config->args, where, "-exp_name", "exp_name", "=="); 300 PXOPT_COPY_STR(config->args, where, "-inst", "camera", "=="); 301 PXOPT_COPY_STR(config->args, where, "-telescope", "telescope", "=="); 302 PXOPT_COPY_STR(config->args, where, "-exp_type", "exp_type", "=="); 299 PXOPT_COPY_STR(config->args, where, "-exp_name", "exp_name", "=="); 300 PXOPT_COPY_STR(config->args, where, "-inst", "camera", "=="); 301 PXOPT_COPY_STR(config->args, where, "-telescope", "telescope", "=="); 302 PXOPT_COPY_STR(config->args, where, "-exp_type", "exp_type", "=="); 303 PXOPT_COPY_TIME(config->args, where, "-dateobs_begin", "dateobs", ">="); 304 PXOPT_COPY_TIME(config->args, where, "-dateobs_end", "dateobs", "<="); 303 305 304 306 PXOPT_LOOKUP_BOOL(desc, config->args, "-desc", false); … … 328 330 329 331 if (psListLength(where->list)) { 330 psString whereClause = psDBGenerateWhereConditionSQL(where, "pzDownloadImfile");332 psString whereClause = psDBGenerateWhereConditionSQL(where, NULL); 331 333 psStringAppend(&query, " AND %s", whereClause); 332 334 psFree(whereClause); -
trunk/ippTools/src/pztoolConfig.c
r30206 r30227 76 76 psMetadataAddStr(pendingimfileArgs, PS_LIST_TAIL, "-inst", 0, "define camera ID", NULL); 77 77 psMetadataAddStr(pendingimfileArgs, PS_LIST_TAIL, "-telescope", 0, "define telescope ID", NULL); 78 psMetadataAddTime(pendingimfileArgs, PS_LIST_TAIL, "-dateobs_begin", 0, "search for exposures by time (>=)", NULL); 79 psMetadataAddTime(pendingimfileArgs, PS_LIST_TAIL, "-dateobs_end", 0, "search for exposures by time (<=)", NULL); 78 80 psMetadataAddStr(pendingimfileArgs, PS_LIST_TAIL, "-exp_type", 0, "define exposure type", NULL); 79 81 psMetadataAddBool(pendingimfileArgs, PS_LIST_TAIL, "-desc", 0, "sort ouput in descending format", false);
Note:
See TracChangeset
for help on using the changeset viewer.
