Gu Weibin
Gu Weibin
# 明确参数的意义 参考https://blog.csdn.net/VickyChenVC/article/details/107861708 # 6S参数的设置 优先读取头文件信息参数。2022年之后的GF1数据应该是改版了。可以用ENVI的国产卫星工具打开,能正常识别参数。或者在https://data.cresda.cn/#/home 查看影像具体信息。可以自行对比头文件在考虑是否修改。 ```python # 传感器类型 自定义 s.geometry = Geometry.User() s.geometry.solar_z = 90-float(dom.getElementsByTagName('SolarZenith')[0].firstChild.data) s.geometry.solar_a = float(dom.getElementsByTagName('SolarAzimuth')[0].firstChild.data) # s.geometry.view_z = float(dom.getElementsByTagName('SatelliteZenith')[0].firstChild.data) # s.geometry.view_a = float(dom.getElementsByTagName('SatelliteAzimuth')[0].firstChild.data) s.geometry.view_z =...