CAL-REGRESS Error Not Enough Valid Points - Printable Version +- ReSe User Support Forum (https://forum.rese-apps.com) +-- Forum: Support Discussions (https://forum.rese-apps.com/forumdisplay.php?fid=9) +--- Forum: ATCOR-4 (https://forum.rese-apps.com/forumdisplay.php?fid=12) +--- Thread: CAL-REGRESS Error Not Enough Valid Points (/showthread.php?tid=152) |
CAL-REGRESS Error Not Enough Valid Points - FCarotenuto - 20-Dec-2022 I'm trying to run a 3-targets inflight calibration on some CASI/SASI hyperspectral data. Targets are a black tarp, an asphalt and a bright gray tarp. I have airborne at-sensor radiance (1-10000 range) and ground target reflectance (0-1 range). Target reflectance has been spectrally resampled to the airborne sensor. I've run the c1 inflight calibration over the 3 targets obtaining the various *.cal, *.adj and *.rdn files that have been renamed sequentially (calib1, calib2, etc.). Still, when I try to run the CAL-REGRESS module it stops with the following error: "PLOT: Not enough valid and unique points". I've checked the various files and they seem to have been written normally. My only guess, by checking the *.adj files, is that there's a rounding problem. In the *.adj file, target reflectance is converted to percentage with precision 1 only and this yield bands with the same reflectance value within the same target. For example, the black tarp has all reflectance values equal to 4.5% between 550 and 830 nm. The original spectrally resampled reflectance, though, had 7 digits precision and the values were not at all identical between the various bands. Could this be the problem? What can I do to address this? RE: CAL-REGRESS Error Not Enough Valid Points - reseadmin - 21-Dec-2022 We need to analyze the situation based on your data. Please forward the outputs for the three panels to support@rese-apps.com such that we can check what happens. RE: CAL-REGRESS Error Not Enough Valid Points - FCarotenuto - 22-Dec-2022 (21-Dec-2022, 09:19 AM)reseadmin Wrote: We need to analyze the situation based on your data. Please forward the outputs for the three panels to support@rese-apps.com such that we can check what happens. Thank you for your support! I've just forwarded the files. RE: CAL-REGRESS Error Not Enough Valid Points - reseadmin - 24-Dec-2022 The problem was caused by zero radiance in some bands which could not be calibrated. The issue is cought in the cal_Regress code now and included in the latest build of ATCOR4. |