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
Update AGRI/L1 geolocation #1782
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1782 +/- ##
==========================================
+ Coverage 92.90% 92.92% +0.02%
==========================================
Files 265 265
Lines 38942 39092 +150
==========================================
+ Hits 36178 36327 +149
- Misses 2764 2765 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github seems very confused in its diff. Hard to tell what was changed, but given that you have the whole history of the code laid out in your description I assume this looks right. Looks like @zxdawn offered to test it soon. After he verifies that it works we can merge it. Thanks @simonrp84!
Jobs failed due to hungup HTTP connection. I've restarted them. |
No idea what's up with the diff.
|
@simonrp84 the website building is failing because scipy change the structure of their docs website. Can you edit this file in your PR and drop the Line 271 in a76c17e
Edit: Commit message something like "Update intersphinx URL for scipy" |
Done as you requested. Codefactor complaining now, shall I remove that |
Don't worry about it. This is the sphinx documentation configuration file. While this method does have a docstring so |
Ok, in that case I think this is ready to merge. |
Could we add a test to make sure such a problem doesn't happen again? |
@simonrp84 Tested it for the newest 500m C02 data and it's good: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @simonrp84 for fixing this! A test would be great so that I know if I break something when looking at the area extents again.
I'm finished with the area test and the refactor. @zxdawn @simonrp84 If you have time to have a quick look... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mraspaud Excellent refactoring work!
As described in #1773, the geolocation is incorrect for FY4A/AGRI. This is due to the code containing a
+2000
within the area definition extent, which was originally required to ensure the geolocation was correct.However, since that code was added the
geos_area
code for satpy has been updated and the factor of2000
is no longer required. This PR removes the unneeded code and means that AGRI data will be better geolocated.(edit) I also removed an
elif
that codefactor was moaning about. This doesn't affect how the code runs.