Changeset 9539 for trunk/psModules/src/camera/pmFPAConstruct.c
- Timestamp:
- Oct 13, 2006, 11:22:09 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAConstruct.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAConstruct.c
r9514 r9539 28 28 29 29 bool status = true; // Result of MD lookup 30 psMetadata *cells = psMetadataLookupM D(&status, format, "CELLS"); // The CELLS30 psMetadata *cells = psMetadataLookupMetadata(&status, format, "CELLS"); // The CELLS 31 31 if (!status || !cells) { 32 32 psError(PS_ERR_IO, true, "Unable to determine CELLS of camera.\n"); … … 34 34 } 35 35 36 psMetadata *cellData = psMetadataLookupM D(&status, cells, cellName); // The data for the particular cell36 psMetadata *cellData = psMetadataLookupMetadata(&status, cells, cellName); // The data for the particular cell 37 37 if (!status || !cellData) { 38 38 psLogMsg(__func__, PS_LOG_WARN, "Unable to find specs for cell %s: ignored\n", cellName); … … 389 389 390 390 bool mdok = true; // Status of MD lookup 391 psMetadata *file = psMetadataLookupM D(&mdok, format, "FILE"); // File information391 psMetadata *file = psMetadataLookupMetadata(&mdok, format, "FILE"); // File information 392 392 if (!mdok || !file) { 393 393 psError(PS_ERR_IO, true, "Unable to find FILE information in camera format configuration.\n"); … … 427 427 428 428 bool mdok = true; // Status from MD lookups 429 psMetadata *components = psMetadataLookupM D(&mdok, camera, "FPA"); // FPA components429 psMetadata *components = psMetadataLookupMetadata(&mdok, camera, "FPA"); // FPA components 430 430 if (!mdok || !components) { 431 431 psError(PS_ERR_IO, true, "Failed to lookup \"FPA\""); … … 475 475 476 476 bool mdok = true; // Status from metadata lookups 477 psMetadata *fileInfo = psMetadataLookupM D(&mdok, format, "FILE"); // The file information477 psMetadata *fileInfo = psMetadataLookupMetadata(&mdok, format, "FILE"); // The file information 478 478 if (!mdok || !fileInfo) { 479 479 psError(PS_ERR_IO, false, "Unable to find FILE in the camera format configuration.\n"); … … 553 553 // In cases 2 and 3, the CONTENTS is of type METADATA, and is either a menu (if EXTENSIONS=NONE), or a 554 554 // list of extensions otherwise. 555 psMetadata *contents = psMetadataLookupM D(&mdok, format, "CONTENTS"); // The contents of the FITS file555 psMetadata *contents = psMetadataLookupMetadata(&mdok, format, "CONTENTS"); // The contents of the FITS file 556 556 if (!mdok || !contents) { 557 557 if (mdok && !contents) { … … 775 775 776 776 bool mdok = true; // Status from metadata lookups 777 psMetadata *fileInfo = psMetadataLookupM D(&mdok, format, "FILE"); // The file information777 psMetadata *fileInfo = psMetadataLookupMetadata(&mdok, format, "FILE"); // The file information 778 778 if (!mdok || !fileInfo) { 779 779 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.
