-
Notifications
You must be signed in to change notification settings - Fork 287
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
Handle bilinear caching in Pyresample #1406
Handle bilinear caching in Pyresample #1406
Conversation
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.
LGTM
This needs a new pyresample release, right? |
satpy/resample.py
Outdated
try: | ||
from pyresample.gradient import GradientSearchResampler | ||
except ImportError: | ||
warnings.warn('Gradient search resampler not available. Maybe missing `shapely`?.') |
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.
Is it possible to do this check inside some other function or to only show it when a user requests gradient search? It gets really annoying when most people probably aren't going to use the gradient search (for now at least).
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.
Moved the warning to a place where the user tries to use it.
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!
…om/pnuu/satpy into feature-save_bil_info-in-resampler
👉 View analysis in DeepCode’s Dashboard | Configure the bot |
Codecov Report
@@ Coverage Diff @@
## master #1406 +/- ##
==========================================
- Coverage 90.66% 90.64% -0.02%
==========================================
Files 236 236
Lines 33958 33940 -18
==========================================
- Hits 30787 30766 -21
- Misses 3171 3174 +3
Continue to review full report at Codecov.
|
I added a quick'n'dirty fix to |
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.
Nice job!
This is the other half of moving bilinear resampler caching to Pyresample, the other bit is here. The PR in Pyresample needs to be merged and released, then retrigger the tests here and make a new Satpy release ASAP to have a matching features available.
flake8 satpy