IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2011, 11:50:32 AM (15 years ago)
Author:
watersc1
Message:

add route to skip bad exposures if their pzDownloadExp.state = drop

File:
1 edited

Legend:

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

    r30283 r30290  
    250250    psMetadata *row = output->data[i];
    251251
     252    if (strcasecmp(psMetadataLookupStr(NULL,row,"download_state"),"drop") == 0) {
     253      continue;
     254    }
     255   
    252256    if ((psMetadataLookupS32(NULL,row,"is_downloaded") != 1)||
    253257        (psMetadataLookupS32(NULL,row,"is_registered") != 1)) {
     
    352356  for (long i = 0; i < output->n; i++) {
    353357    psMetadata *row = output->data[i];
     358
     359    if (strcasecmp(psMetadataLookupStr(NULL,row,"download_state"),"drop") == 0) {
     360      continue;
     361    }
    354362
    355363    bool status = false;
Note: See TracChangeset for help on using the changeset viewer.