Hi Everyone,
I am trying to extract xa, xb, xc coefficient for landsat imagery using Py6S. The codes are the following
"from Py6S import *
s = SixS()
s.atmos_profile = AtmosProfile.UserWaterAndOzone(6.5, 0.4)
s.wavelength = Wavelength(PredefinedWavelengths.LANDSAT_TM_B3)
s.ground_reflectance = GroundReflectance.HomogeneousWalthall(1.08, 0.48, 4.96, 0.5)
s.geometry = Geometry.Landsat_TM()
s.geometry.month = 7
s.geometry.day = 14
s.geometry.gmt_decimal_hour = 7.75
s.geometry.latitude = 51.148
s.geometry.longitude = 0.307
s.run()
print(s.outputs.coef_xa)
print(s.outputs.coef_xb)
print(s.outputs.coef_xc)"
But I got the following error.
OutputParsingError Traceback (most recent call last)
<ipython-input-49-329d756bc115> in <module>
11 s.geometry.longitude = 0.307
12 s.run()
---> 13 print(s.outputs.coef_xa)
C:\ProgramData\Anaconda3\envs\py6s-env\lib\site-packages\Py6S\outputs.py in __getattr__(self, name)
108 return self.rat[name]
109 else:
--> 110 raise OutputParsingError("The specifed output variable does not exist.")
111
112 def __dir__(self):
OutputParsingError: The specifed output variable does not exist.
Please help me to figure out the problem.
Rergards,