IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39483


Ignore:
Timestamp:
Mar 24, 2016, 1:58:35 PM (10 years ago)
Author:
eugene
Message:

limit images to the area of interest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/select_images.c

    r39478 r39483  
    104104
    105105    // XXX I am just going for force this for the moment:
    106     goto found_it;
     106    // goto found_it;
    107107
    108108    /* exclude images by photcode */
    109     ecode = GetPhotcodeEquivCodebyCode (timage[i].photcode);
    110     found = FALSE;
    111     int Ns;
    112     for (Ns = 0; !found && (Ns < Nphotcodes); Ns++) {
     109    if (FALSE) {
     110      ecode = GetPhotcodeEquivCodebyCode (timage[i].photcode);
     111      found = FALSE;
     112      int Ns;
     113      for (Ns = 0; !found && (Ns < Nphotcodes); Ns++) {
    113114        if (ecode == photcodes[Ns][0].code) found = TRUE;
    114     }
    115     if (!found) continue;
     115      }
     116      if (!found) continue;
     117    }
    116118
    117119    /* exclude images by time */
     
    152154    }
    153155    if (RmaxImage - RminImage > 180.0) {
    154         double tmp = RminImage;
    155         RmaxImage = RminImage;
    156         RminImage = tmp - 360.0;
     156      double tmp = RminImage;
     157      RminImage = RmaxImage - 360.0;
     158      RmaxImage = tmp;
    157159    }
    158160
Note: See TracChangeset for help on using the changeset viewer.