Changeset 9189 for trunk/ippTools/src/regtool.c
- Timestamp:
- Oct 3, 2006, 6:35:19 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtool.c
r9057 r9189 794 794 return false; 795 795 } 796 psString obstype = psMetadataLookupStr(&status, config->args, "-obstype"); 797 if (!status) { 798 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -obstype"); 799 return false; 800 } 801 if (!obstype) { 802 psError(PS_ERR_UNKNOWN, true, "-obstype is required"); 803 return false; 804 } 796 805 797 806 return rawDetrendExpRowAlloc( … … 812 821 az, 813 822 ccd_temp, 814 posang 823 posang, 824 obstype 815 825 ); 816 826 } … … 937 947 if (isnan(posang)) { 938 948 psError(PS_ERR_UNKNOWN, true, "-posang is required"); 949 return false; 950 } 951 psString obstype = psMetadataLookupStr(&status, config->args, "-obstype"); 952 if (!status) { 953 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -obstype"); 954 return false; 955 } 956 if (!obstype) { 957 psError(PS_ERR_UNKNOWN, true, "-obstype is required"); 939 958 return false; 940 959 } … … 957 976 az, 958 977 ccd_temp, 959 posang 978 posang, 979 obstype 960 980 ); 961 981 }
Note:
See TracChangeset
for help on using the changeset viewer.
