基于6s模型的遥感影像大气校正时运行sentinel2数据时出现错误

博主您好,请问在py6s程序运行哨兵2数据的时候出现如下问题,应该如何解决呀?谢谢!
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话会报此错误。