IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 21, 2008, 2:15:21 PM (18 years ago)
Author:
eugene
Message:

adding various additional fields as options to -runs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080219/ippTools/src/dettool.c

    r16504 r16572  
    10121012    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
    10131013
     1014    PXOPT_COPY_STR(config->args, config->where, "-inst", "camera", "==");
     1015    PXOPT_COPY_STR(config->args, config->where, "-telescope", "telescope", "==");
     1016    PXOPT_COPY_STR(config->args, config->where, "-filter", "filter", "==");
     1017
     1018    // airmass_min  < airmass  < airmass_max
     1019    PXOPT_COPY_F32(config->args, config->where, "-airmass", "airmass_min", "<=");
     1020    PXOPT_COPY_F32(config->args, config->where, "-airmass", "airmass_max", ">=");
     1021
     1022    // exp_time_min < exp_time < exp_time_max
     1023    PXOPT_COPY_F32(config->args, config->where, "-exp_time", "exp_time_min", "<=");
     1024    PXOPT_COPY_F32(config->args, config->where, "-exp_time", "exp_time_max", ">=");
     1025
     1026    // ccd_temp_min < ccd_temp < ccd_temp_max
     1027    PXOPT_COPY_F32(config->args, config->where, "-ccd_temp", "ccd_temp_min", "<=");
     1028    PXOPT_COPY_F32(config->args, config->where, "-ccd_temp", "ccd_temp_max", ">=");
     1029
     1030    PXOPT_COPY_F64(config->args, config->where, "-posang", "posang_min", "<=");
     1031    PXOPT_COPY_F64(config->args, config->where, "-posang", "posang_max", ">=");
     1032
    10141033    // XXX fix the hard coding of the table name
    10151034    psArray *runs = psDBSelectRows(config->dbh, "detRun", config->where, 0);
Note: See TracChangeset for help on using the changeset viewer.