IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 11:22:09 AM (20 years ago)
Author:
Paul Price
Message:

Fixing psLib APIs following clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAConstruct.c

    r9514 r9539  
    2828
    2929    bool status = true;                 // Result of MD lookup
    30     psMetadata *cells = psMetadataLookupMD(&status, format, "CELLS"); // The CELLS
     30    psMetadata *cells = psMetadataLookupMetadata(&status, format, "CELLS"); // The CELLS
    3131    if (!status || !cells) {
    3232        psError(PS_ERR_IO, true, "Unable to determine CELLS of camera.\n");
     
    3434    }
    3535
    36     psMetadata *cellData = psMetadataLookupMD(&status, cells, cellName); // The data for the particular cell
     36    psMetadata *cellData = psMetadataLookupMetadata(&status, cells, cellName); // The data for the particular cell
    3737    if (!status || !cellData) {
    3838        psLogMsg(__func__, PS_LOG_WARN, "Unable to find specs for cell %s: ignored\n", cellName);
     
    389389
    390390    bool mdok = true;                   // Status of MD lookup
    391     psMetadata *file = psMetadataLookupMD(&mdok, format, "FILE"); // File information
     391    psMetadata *file = psMetadataLookupMetadata(&mdok, format, "FILE"); // File information
    392392    if (!mdok || !file) {
    393393        psError(PS_ERR_IO, true, "Unable to find FILE information in camera format configuration.\n");
     
    427427
    428428    bool mdok = true;                   // Status from MD lookups
    429     psMetadata *components = psMetadataLookupMD(&mdok, camera, "FPA"); // FPA components
     429    psMetadata *components = psMetadataLookupMetadata(&mdok, camera, "FPA"); // FPA components
    430430    if (!mdok || !components) {
    431431        psError(PS_ERR_IO, true, "Failed to lookup \"FPA\"");
     
    475475
    476476    bool mdok = true;                   // Status from metadata lookups
    477     psMetadata *fileInfo = psMetadataLookupMD(&mdok, format, "FILE"); // The file information
     477    psMetadata *fileInfo = psMetadataLookupMetadata(&mdok, format, "FILE"); // The file information
    478478    if (!mdok || !fileInfo) {
    479479        psError(PS_ERR_IO, false, "Unable to find FILE in the camera format configuration.\n");
     
    553553    // In cases 2 and 3, the CONTENTS is of type METADATA, and is either a menu (if EXTENSIONS=NONE), or a
    554554    // list of extensions otherwise.
    555     psMetadata *contents = psMetadataLookupMD(&mdok, format, "CONTENTS"); // The contents of the FITS file
     555    psMetadata *contents = psMetadataLookupMetadata(&mdok, format, "CONTENTS"); // The contents of the FITS file
    556556    if (!mdok || !contents) {
    557557        if (mdok && !contents) {
     
    775775
    776776    bool mdok = true;                   // Status from metadata lookups
    777     psMetadata *fileInfo = psMetadataLookupMD(&mdok, format, "FILE"); // The file information
     777    psMetadata *fileInfo = psMetadataLookupMetadata(&mdok, format, "FILE"); // The file information
    778778    if (!mdok || !fileInfo) {
    779779        psError(PS_ERR_IO, false, "Unable to find FILE in the camera format configuration.\n");
Note: See TracChangeset for help on using the changeset viewer.