IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2007, 12:21:18 PM (19 years ago)
Author:
eugene
Message:

complete merge from branch dvo-mods-2007-02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/imextract.c

    r7917 r12332  
    6363      return (FALSE);
    6464    }
    65     if ((code[0].type != PHOT_PRI) && (code[0].type != PHOT_SEC) && (code[0].type != PHOT_DEP)) {
     65    if ((code[0].type != PHOT_SEC) && (code[0].type != PHOT_DEP)) {
    6666      gprint (GP_ERR, "photcode must be primary, secondary, or dependent code\n");
    6767      return (FALSE);
     
    114114    if (PhotcodeSelect) {
    115115      if (code[0].type == PHOT_DEP) {
    116         if (code[0].code != image[j].source) continue;
     116        if (code[0].code != image[j].photcode) continue;
    117117      } else {
    118         if (code[0].code != GetPhotcodeEquivCodebyCode (image[j].source)) continue;
     118        if (code[0].code != GetPhotcodeEquivCodebyCode (image[j].photcode)) continue;
    119119      }
    120120    }
     
    139139      break;
    140140    case (AIRMASS):
    141       vec[0].elements[N] = image[j].secz_PS;
     141      vec[0].elements[N] = image[j].secz;
    142142      break;
    143143    case (MCAL):
    144       vec[0].elements[N] = image[j].Mcal_PS;
     144      vec[0].elements[N] = image[j].Mcal;
    145145      break;
    146146    case (dMCAL):
    147       vec[0].elements[N] = image[j].dMcal_PS;
     147      vec[0].elements[N] = image[j].dMcal;
    148148      break;
    149149    case (PHOTCODE):
    150       vec[0].elements[N] = image[j].source;
     150      vec[0].elements[N] = image[j].photcode;
    151151      break;
    152152    case (TIME):
Note: See TracChangeset for help on using the changeset viewer.