IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 12, 2007, 5:17:43 PM (19 years ago)
Author:
eugene
Message:

fixed handling of the photcodes in mextract and avextract

File:
1 edited

Legend:

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

    r13479 r14191  
    2222
    2323  switch (field->ID) {
    24     // XXX not sure how to apply the photcode here....
    2524    case MEAS_MAG: /* magnitudes are already determined above */
     25      // if user has requested a photcode, supply the value only if we match (else NO_MAG)
     26      if ((field->photcode->type != PHOT_MAG) &&
     27          (measure[0].photcode != field->photcode->code)) {
     28          break;
     29      }
    2630      switch (field->magMode) {
    2731        case MAG_INST:
Note: See TracChangeset for help on using the changeset viewer.