Changeset 11687 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Feb 7, 2007, 1:58:17 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.
