IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2007, 3:19:34 PM (19 years ago)
Author:
Paul Price
Message:

Removing pmConceptsFilterIDfromConcept, which is obsolete now that FPA.FILTER is interpolated on read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsPhotcode.c

    r11104 r11144  
    4040    return photcode;
    4141}
    42 
    43 char *pmConceptsFilterIDfromConcept (char *concept, psMetadata *concepts, psMetadata *camera)
    44 {
    45 
    46     bool status;
    47 
    48     char *filterName = psMetadataLookupStr (&status, concepts, concept);
    49     if (!status)
    50         psAbort ("psModules", "missing concept %s", concept);
    51     psMetadata *filterTable = psMetadataLookupPtr (&status, camera, "FILTER.ID");
    52     if (!status)
    53         psAbort ("ppImage", "missing FILTER.ID table");
    54     char *filter = psMetadataLookupStr (&status, filterTable, filterName);
    55     if (!status)
    56         psAbort ("ppImage", "FILTER %s not found in FILTER.ID table", filterName);
    57 
    58     return filter;
    59 }
    60 
Note: See TracChangeset for help on using the changeset viewer.