Changeset 11687 for trunk/psModules/src/camera
- Timestamp:
- Feb 7, 2007, 1:58:17 PM (19 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 9 edited
-
pmFPALevel.c (modified) (1 diff)
-
pmFPAMosaic.c (modified) (2 diffs)
-
pmFPARead.c (modified) (3 diffs)
-
pmFPAWrite.c (modified) (2 diffs)
-
pmFPAfileDefine.c (modified) (9 diffs)
-
pmFPAfileFitsIO.c (modified) (3 diffs)
-
pmFPAfileIO.c (modified) (4 diffs)
-
pmFPAview.c (modified) (2 diffs)
-
pmHDUGenerate.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPALevel.c
r9621 r11687 30 30 return NameREADOUT; 31 31 default: 32 psAbort( PS_FILE_LINE,"You can't get here; level = %d", level);32 psAbort("You can't get here; level = %d", level); 33 33 } 34 34 return NULL; -
trunk/psModules/src/camera/pmFPAMosaic.c
r11255 r11687 497 497 COPY_WITH_PARITY_DIFFERENCE(U8); 498 498 default: 499 psAbort( __func__,"Should never get here.\n");499 psAbort("Should never get here.\n"); 500 500 } 501 501 … … 526 526 FILL_IN(U8); 527 527 default: 528 psAbort( __func__,"Should never get here.\n");528 psAbort("Should never get here.\n"); 529 529 } 530 530 -
trunk/psModules/src/camera/pmFPARead.c
r11624 r11687 138 138 } 139 139 } else { 140 psAbort( __func__,"Read direction can only be 1 (rows) or 2 (cols).\n");140 psAbort("Read direction can only be 1 (rows) or 2 (cols).\n"); 141 141 } 142 142 … … 204 204 break; 205 205 default: 206 psAbort( __func__,"Unknown read type: %x\n", type);206 psAbort("Unknown read type: %x\n", type); 207 207 } 208 208 … … 258 258 break; 259 259 default: 260 psAbort( __func__,"Unknown read type: %x\n", type);260 psAbort("Unknown read type: %x\n", type); 261 261 } 262 262 -
trunk/psModules/src/camera/pmFPAWrite.c
r11626 r11687 86 86 return &hdu->weights; 87 87 default: 88 psAbort( __func__,"Unknown write type: %x\n", type);88 psAbort("Unknown write type: %x\n", type); 89 89 } 90 90 return NULL; … … 105 105 return pmHDUWriteWeight(hdu, fits); 106 106 default: 107 psAbort( __func__,"Unknown write type: %x\n", type);107 psAbort("Unknown write type: %x\n", type); 108 108 } 109 109 return false; -
trunk/psModules/src/camera/pmFPAfileDefine.c
r11475 r11687 768 768 // a camera config is needed (as source of file rule) 769 769 if (config->cameraName == NULL) { 770 psAbort ("pmFPAfileDefine","camera defined but not cameraName!");770 psAbort("camera defined but not cameraName!"); 771 771 } 772 772 … … 807 807 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, "PPIMAGE"); 808 808 if (!status) 809 psAbort ("psModules","PPIMAGE recipe not found");809 psAbort("PPIMAGE recipe not found"); 810 810 psMetadata *detConstraints = psMetadataLookupPtr (&status, recipe, "DETREND.CONSTRAINTS"); 811 811 if (!status) 812 psAbort ("psModules","DETREND.CONSTRAINTS not found");812 psAbort("DETREND.CONSTRAINTS not found"); 813 813 // XXX allow this and just skip? 814 814 … … 816 816 psMetadata *constraints = psMetadataLookupPtr (&status, detConstraints, typeName); 817 817 if (!status) { 818 psAbort ("psModules","DETREND.CONSTRAINTS for type %s not found", typeName);818 psAbort("DETREND.CONSTRAINTS for type %s not found", typeName); 819 819 } 820 820 psFree(typeName); … … 825 825 while ((item = psMetadataGetAndIncrement (iter)) != NULL) { 826 826 if (item->type != PS_DATA_STRING) { 827 psAbort ("psModules","invalid type for DETREND.CONSTRAINT element");827 psAbort("invalid type for DETREND.CONSTRAINT element"); 828 828 } 829 829 char *option = item->name; // item->name must correspond to a valid detselect option … … 833 833 options->filter = psMetadataLookupPtr (&status, input->concepts, concept); 834 834 if (!status) 835 psAbort ("psModules","failed to find filter (concept %s)", concept);835 psAbort("failed to find filter (concept %s)", concept); 836 836 837 837 } … … 839 839 options->exptime = psMetadataLookupF32 (&status, input->concepts, concept); 840 840 if (!status) 841 psAbort ("psModules","exptime not found (concept %s)", concept);841 psAbort("exptime not found (concept %s)", concept); 842 842 } 843 843 if (!strcasecmp (option, "airmass")) { 844 844 options->airmass = psMetadataLookupF32 (&status, input->concepts, concept); 845 845 if (!status) 846 psAbort ("psModules","airmass not found (concept %s)", concept);846 psAbort("airmass not found (concept %s)", concept); 847 847 } 848 848 # if (0) … … 850 850 options->dettemp = psMetadataLookupF32 (&status, input->concepts, concept); 851 851 if (!status) 852 psAbort ("psModules","dettemp not found (concept %s)", concept);852 psAbort("dettemp not found (concept %s)", concept); 853 853 } 854 854 if (!strcasecmp (option, "version")) { … … 856 856 options->version = psMetadataLookupF32 (&status, input->concepts, concept); 857 857 if (!status) 858 psAbort ("psModules","version not found (concept %s)", concept);858 psAbort("version not found (concept %s)", concept); 859 859 } 860 860 if (!strcasecmp (option, "twilight")) { … … 863 863 options->twilight = psMetadataLookupF32 (&status, input->concepts, concept); 864 864 if (!status) 865 psAbort ("psModules","twilight not found (concept %s)", concept);865 psAbort("twilight not found (concept %s)", concept); 866 866 } 867 867 # endif -
trunk/psModules/src/camera/pmFPAfileFitsIO.c
r11339 r11687 47 47 case PM_FPA_LEVEL_NONE: 48 48 default: 49 psAbort( PS_FILE_LINE,"Should never get here: bad phu level.\n");49 psAbort("Should never get here: bad phu level.\n"); 50 50 } 51 51 … … 87 87 case PM_FPA_LEVEL_NONE: 88 88 default: 89 psAbort( PS_FILE_LINE,"Should never get here: bad phu level.\n");89 psAbort("Should never get here: bad phu level.\n"); 90 90 } 91 91 return NULL; … … 280 280 case PM_FPA_LEVEL_NONE: 281 281 default: 282 psAbort( PS_FILE_LINE,"Should never reach here: invalid file level.");282 psAbort("Should never reach here: invalid file level."); 283 283 } 284 284 -
trunk/psModules/src/camera/pmFPAfileIO.c
r11450 r11687 75 75 } 76 76 default: 77 psAbort ("pmFPAfileIO","fileLevel not correctly set");77 psAbort("fileLevel not correctly set"); 78 78 break; 79 79 } … … 126 126 } 127 127 default: 128 psAbort ("pmFPAfileIO","fileLevel not correctly set");128 psAbort("fileLevel not correctly set"); 129 129 break; 130 130 } … … 800 800 break; 801 801 default: 802 psAbort( PS_FILE_LINE,"You can't get here");802 psAbort("You can't get here"); 803 803 } 804 804 } … … 821 821 break; 822 822 default: 823 psAbort( PS_FILE_LINE,"You can't get here");823 psAbort("You can't get here"); 824 824 } 825 825 } -
trunk/psModules/src/camera/pmFPAview.c
r9710 r11687 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $6 * @date $Date: 200 6-10-21 04:02:36$5 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-02-07 23:58:17 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 289 289 hdu = pmHDUFromCell (cell); 290 290 if (!hdu) { 291 psAbort(" psModules", "a split readout is not covered by the current paradigm");291 psAbort("a split readout is not covered by the current paradigm"); 292 292 } 293 293 if (hdu->blankPHU) -
trunk/psModules/src/camera/pmHDUGenerate.c
r11254 r11687 119 119 break; 120 120 default: 121 psAbort( __func__,"Shouldn't ever get here!\n");121 psAbort("Shouldn't ever get here!\n"); 122 122 } 123 123 … … 381 381 psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section 382 382 if (!mdok || !trimsec) { 383 psAbort( __func__,"Shouldn't ever get here --- CELL.TRIMSEC should have been set above.\n");383 psAbort("Shouldn't ever get here --- CELL.TRIMSEC should have been set above.\n"); 384 384 } 385 385 psList *biassecs = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.BIASSEC"); // Bias secionts 386 386 if (!mdok || !biassecs) { 387 psAbort( __func__,"Shouldn't ever get here --- CELL.BIASSEC should have been set above.\n");387 psAbort("Shouldn't ever get here --- CELL.BIASSEC should have been set above.\n"); 388 388 } 389 389 psListIterator *biassecsIter = psListIteratorAlloc(biassecs, PS_LIST_HEAD, false); // Iterator … … 557 557 return pmHDUGenerateForChip(cell->parent); 558 558 default: 559 psAbort( __func__,"Shouldn't ever get here: check your camera format configuration.\n");559 psAbort("Shouldn't ever get here: check your camera format configuration.\n"); 560 560 } 561 561 return false; … … 605 605 return pmHDUGenerateForFPA(chip->parent); 606 606 default: 607 psAbort( __func__,"Shouldn't ever get here: check your camera format configuration.\n");607 psAbort("Shouldn't ever get here: check your camera format configuration.\n"); 608 608 } 609 609 return false; … … 647 647 } 648 648 default: 649 psAbort( __func__,"Shouldn't ever get here: check your camera format configuration.\n");649 psAbort("Shouldn't ever get here: check your camera format configuration.\n"); 650 650 } 651 651 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
