Traceback (most recent call last):
File "D:\Desktop\AtmosphericCorrection-master\AtmosphericCorrection_Sentinel.py", line 353, in <module>
SixsInputParameter = BasicParameters()
File "D:\Desktop\AtmosphericCorrection-master\AtmosphericCorrection_Sentinel.py", line 163, in BasicParameters
SixsParameters["SolarZenithAngle"] = float(SunAngle[0].getElementsByTagName('ZENITH_ANGLE')[0].firstChild.data)
IndexError: list index out of range
IndexError: list index out of range,表示索引超出范围,检查SunAngle和SunAngle[0].getElementsByTagName('ZENITH_ANGLE')两个值,如果为None话会报此错误。