IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2008, 3:57:39 PM (18 years ago)
Author:
jhoblitt
Message:

add camtool -revertprocessedexp query support

File:
1 edited

Legend:

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

    r17171 r17216  
    142142    psMetadataAddStr(queueArgs, PS_LIST_TAIL, "-set_end_stage",  0,
    143143            "define end stage", NULL);
     144    psMetadataAddBool(queueArgs, PS_LIST_TAIL, "-all",  0,
     145            "allow everything to be queued without search terms", false);
    144146
    145147    // -updaterun
     
    229231            "define max solar angle", NAN);
    230232
     233    psMetadataAddBool(updaterunArgs, PS_LIST_TAIL, "-all",  0,
     234            "allow everything to be queued without search terms", false);
    231235    psMetadataAddStr(updaterunArgs, PS_LIST_TAIL, "-state", 0,
    232236            "set state", NULL);
     
    337341    // -revertprocessedexp
    338342    psMetadata *revertprocessedexpArgs = psMetadataAlloc();
    339     psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0,
    340             "search by camtool ID (required)", NULL);
    341     psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-chip_id", 0,
    342             "search by chiptool ID", NULL);
     343    // XXX need to allow multiple cam_ids
     344    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-cam_id",  0,
     345            "search by cam_id", NULL);
     346    // XXX need to allow multiple chip_ids
     347    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-chip_id",  0,
     348            "search by chip_id", NULL);
     349    // XXX need to allow multiple exp_ids
     350    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_id",  0,
     351            "search by exp_id", NULL);
     352    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_name",  0,
     353            "search by exp_name", NULL);
     354    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-inst",  0,
     355            "search for camera", NULL);
     356    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-telescope",  0,
     357            "search for telescope", NULL);
     358    psMetadataAddTime(revertprocessedexpArgs, PS_LIST_TAIL, "-dateobs_begin", 0,
     359            "search for exposures by time (>=)", NULL);
     360    psMetadataAddTime(revertprocessedexpArgs, PS_LIST_TAIL, "-dateobs_end", 0,
     361            "search for exposures by time (<)", NULL);
     362    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_tag",  0,
     363            "search by exp_tag", NULL);
     364    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_type",  0,
     365            "search by exp_type", NULL);
     366    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-filelevel",  0,
     367            "search by filelevel", NULL);
     368    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-reduction",  0,
     369            "search by reduction class", NULL);
     370    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-filter",  0,
     371            "search for filter", NULL);
     372    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-airmass_min",  0,
     373            "define min airmass", NAN);
     374    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-airmass_max",  0,
     375            "define max airmass", NAN);
     376    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-ra_min",  0,
     377            "define min", NAN);
     378    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-ra_max",  0,
     379            "define max", NAN);
     380    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-decl_min",  0,
     381            "define min", NAN);
     382    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-decl_max",  0,
     383            "define max", NAN);
     384    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_time_min",  0,
     385            "define min", NAN);
     386    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-exp_time_max",  0,
     387            "define max", NAN);
     388    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-sat_pixel_frac_min",  0,
     389            "define max fraction of saturated pixels", NAN);
     390    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-sat_pixel_frac_max",  0,
     391            "define min fraction of saturated pixels", NAN);
     392    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-bg_min",  0,
     393            "define max", NAN);
     394    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-bg_max",  0,
     395            "define max", NAN);
     396    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-bg_stdev_min",  0,
     397            "define max", NAN);
     398    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-bg_stdev_max",  0,
     399            "define max", NAN);
     400    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-bg_mean_stdev_min",  0,
     401            "define max", NAN);
     402    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-bg_mean_stdev_max",  0,
     403            "define max", NAN);
     404    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-alt_min",  0,
     405            "define min", NAN);
     406    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-alt_max",  0,
     407            "define max", NAN);
     408    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-az_min",  0,
     409            "define min", NAN);
     410    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-az_max",  0,
     411            "define max", NAN);
     412    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-ccd_temp_min",  0,
     413            "define min ccd tempature", NAN);
     414    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-ccd_temp_max",  0,
     415            "define max ccd tempature", NAN);
     416    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-posang_min",  0,
     417            "define min rotator position angle", NAN);
     418    psMetadataAddF64(revertprocessedexpArgs, PS_LIST_TAIL, "-posang_max",  0,
     419            "define max rotator position angle", NAN);
     420    psMetadataAddStr(revertprocessedexpArgs, PS_LIST_TAIL, "-object",  0,
     421            "search by exposure object", NULL);
     422    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-solang_min",  0,
     423            "define min solar angle", NAN);
     424    psMetadataAddF32(revertprocessedexpArgs, PS_LIST_TAIL, "-solang_max",  0,
     425            "define max solar angle", NAN);
     426
     427    psMetadataAddBool(revertprocessedexpArgs, PS_LIST_TAIL, "-all",  0,
     428            "allow everything to be queued without search terms", false);
    343429    psMetadataAddS16(revertprocessedexpArgs, PS_LIST_TAIL, "-code",  0,
    344430            "search by fault code", 0);
     431
    345432
    346433    // -updateprocessedexp
Note: See TracChangeset for help on using the changeset viewer.