IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6752


Ignore:
Timestamp:
Mar 31, 2006, 4:52:04 PM (20 years ago)
Author:
Paul Price
Message:

Changing FORMAT to FILE in the camera format configuration files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmFPAConstruct.c

    r6743 r6752  
    7070// Get the name of a PHU chip or cell from the header
    7171static psString phuNameFromHeader(const char *name, // The name to lookup: "CELL.NAME" or "CHIP.NAME"
    72                                   const psMetadata *format, // FORMAT within the camera format description
     72                                  const psMetadata *format, // FILE within the camera format description
    7373                                  const psMetadata *header // Primary header
    7474                                 )
     
    7777    psString keyword = psMetadataLookupStr(&mdok, format, name);
    7878    if (!mdok || strlen(keyword) == 0) {
    79         psError(PS_ERR_IO, false, "Unable to find %s in the FORMAT.\n", name);
     79        psError(PS_ERR_IO, false, "Unable to find %s in the FILE.\n", name);
    8080        return false;
    8181    }
     
    142142
    143143    bool mdok = true;                   // Status from metadata lookups
    144     psMetadata *formatSpec = psMetadataLookupMD(&mdok, format, "FORMAT"); // The format specification
     144    psMetadata *formatSpec = psMetadataLookupMD(&mdok, format, "FILE"); // The format specification
    145145    if (!mdok || !formatSpec) {
    146         psError(PS_ERR_IO, false, "Unable to find FORMAT in the camera format configuration.\n");
     146        psError(PS_ERR_IO, false, "Unable to find FILE in the camera format configuration.\n");
    147147        return NULL;
    148148    }
Note: See TracChangeset for help on using the changeset viewer.