IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 13, 2009, 6:24:00 PM (17 years ago)
Author:
watersc1
Message:

Added more valid data_states to dettool.c

Fixed command line option comments for -data_state

ipp_cleanup.pl now contains preliminary handlers for the detrend cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup/ippTools/src/dettool.c

    r23829 r24785  
    18171817    if (!strcmp(data_state, "drop")) return true;
    18181818    if (!strcmp(data_state, "register")) return true;
     1819    // These are valid data states, and are necessary for the cleanup to work correctly.
     1820    if (!strcmp(data_state, "full")) return true;
     1821    if (!strcmp(data_state, "goto_cleaned")) return true;
     1822    if (!strcmp(data_state, "goto_scrubbed")) return true;
     1823    if (!strcmp(data_state, "goto_purged")) return true;
     1824    if (!strcmp(data_state, "cleaned")) return true;
     1825    if (!strcmp(data_state, "scrubbed")) return true;
     1826    if (!strcmp(data_state, "purged")) return true;
     1827    if (!strcmp(data_state, "error_cleaned")) return true;
     1828    if (!strcmp(data_state, "error_scrubbed")) return true;
     1829    if (!strcmp(data_state, "error_purged")) return true;
    18191830
    18201831    psError(PS_ERR_UNKNOWN, true, "invalid data state: %s", data_state);
Note: See TracChangeset for help on using the changeset viewer.