-
Notifications
You must be signed in to change notification settings - Fork 94
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
Index Error when calling boundary
with non full disk geos ara
#529
Comments
Oh no, what terrible timing to bring up this issue. @mraspaud just started his month long holiday and he has the most familiarity with this. It is possible some of this might get cleaned up with: since there was confusion caused by the naming of the frequency/number of pixels when generating the lon/lat arrays. The frequency should have been set to pyresample/pyresample/geometry.py Lines 2785 to 2793 in 07382cc
So is it possible this intersection logic is not handling the anti-meridian or something? Oh but your example here is GOES East...that should be fine, right? You/we might need to add some prints to figure out why the geos boundary is so small (7 elements). |
Oh or is this a shapely or numpy change that is causing this? |
I saw #526 but did not read through it yet. From the code I was a little confused since I think the reason is that for a non full disk |
This might have to be a @mraspaud answer (and @pnuu if he's available). Basically I see two possible solutions:
|
I think option 2. would be the cleaner one but might involve more refactoring. My first guess for just solving the problem was more on the line of option 1. if I understand it correctly. |
When trying to get the boundary of a non full disk geostationary
AreaDefinition
currently anIndexError
will be thrown.Expected Output
The boundary lons/lats should be returned as in the full disk case.
Actual Result, Traceback if applicable
Versions of Python, package at hand and relevant dependencies
Python: 3.10.8
Pyresample: v1.27.1
The text was updated successfully, but these errors were encountered: