-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A bug calculating landsat angles #28
Comments
After some further investigation, it appears that this occurs when using GDAL-3.x. Furthermore, it seems that this is a deliberate change in the behaviour of GDAL, which everyone is now going to have to cope with. We will have to work out the best approach to dealing with this. Until then, nothing will work with GDAL-3.x. Thank you for bringing it to our attention. |
With release 1.4.10 of rios, this now works correctly with GDAL 3.x |
Original report by Anonymous.
The function sunAnglesForExtent in landsatangls.py
Line 227
Original code : (ul_long, ul_lat, ur_long, ur_lat, lr_long, lr_lat, ll_long, ll_lat) = cornerLatLong
Changed code : (ul_lat, ul_long, ur_lat, ur_long, lr_lat, lr_long, ll_lat, ll_long) = cornerLatLong
Then the output : angle map is correct.
The text was updated successfully, but these errors were encountered: