IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 20, 2006, 11:18:03 PM (20 years ago)
Author:
jhoblitt
Message:

add -inst option to set the camera name
ignore -camera

File:
1 edited

Legend:

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

    r6090 r6122  
    99//    psMetadataAddS32  (where, PS_LIST_TAIL, "TYPE",  0, "==", P2_TYPE_OBJECT);
    1010
    11     if (config->camera != NULL) {
    12         psMetadataAddStr(where, PS_LIST_TAIL, "camera", 0, "==", config->camera_name);
     11    if (config->camera_name != NULL) {
     12        psMetadataAddStr(where, PS_LIST_TAIL, "camera", 0, "==",
     13            config->camera_name);
    1314    }
    1415    if (config->filter != NULL) {
    15         psMetadataAddStr(where, PS_LIST_TAIL, "filter", 0, "==", config->filter);
     16        psMetadataAddStr(where, PS_LIST_TAIL, "filter", 0, "==",
     17            config->filter);
    1618    }
    1719    // psMetadataConfig does not support times yet
     
    2729    psFree (where);
    2830    if (!exposures) {
    29         psError(PS_ERR_UNKNOWN, false, "database access failed");
     31        psError(PS_ERR_UNKNOWN, false, "no rawScienceExp rows found");
    3032
    3133        return NULL;
Note: See TracChangeset for help on using the changeset viewer.