Skip to content
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

Fix EWA resampling for new versions of pyresample #547

Merged
merged 1 commit into from
Dec 14, 2018

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Dec 13, 2018

The current pyresample master branch returns dask arrays from
get_lonlats if they were already dask arrays underneath. Previously
this method would return whatever was passed to SwathDefinition.

This was caught by my local tests where I'm using pyresample master branch. This would have been caught by tests in the future once the new pyresample is released, so no tests were added. I'm just fixing this preemptively.

  • Tests added
  • Tests passed
  • Passes git diff origin/master -- "*py" | flake8 --diff

The current pyresample master branch returns dask arrays from
get_lonlats if they were already dask arrays underneath. Previously
this method would return whatever was passed to SwathDefinition.
@codecov
Copy link

codecov bot commented Dec 13, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@12298a9). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #547   +/-   ##
=========================================
  Coverage          ?   75.41%           
=========================================
  Files             ?      136           
  Lines             ?    18777           
  Branches          ?        0           
=========================================
  Hits              ?    14160           
  Misses            ?     4617           
  Partials          ?        0
Impacted Files Coverage Δ
satpy/resample.py 88.88% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12298a9...da24c69. Read the comment docs.

@djhoese djhoese merged commit 56dbddd into pytroll:master Dec 14, 2018
@djhoese djhoese deleted the bugfix-ewa-lonlats branch December 14, 2018 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant