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 default for 'weight_delta_max' to match docstring #463

Merged
merged 2 commits into from
Oct 25, 2022

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Oct 24, 2022

As described in pytroll/python-geotiepoints#38 I discovered that the default weight_delta_max in the dask EWA code did not match the docstring. The docstring is correct for MODIS data and matches what has been in the EWA algorithm forever (it was originally written for MODIS code).

I really don't want to add a test for this.

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

@djhoese djhoese added the bug label Oct 24, 2022
@djhoese
Copy link
Member Author

djhoese commented Oct 24, 2022

Wow, turns out it was wrong in the legacy resampler too. Fixed in both now.

@djhoese djhoese self-assigned this Oct 24, 2022
@codecov
Copy link

codecov bot commented Oct 24, 2022

Codecov Report

Merging #463 (162125d) into main (c56533c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #463   +/-   ##
=======================================
  Coverage   94.28%   94.28%           
=======================================
  Files          69       69           
  Lines       12394    12394           
=======================================
  Hits        11686    11686           
  Misses        708      708           
Flag Coverage Δ
unittests 94.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pyresample/ewa/_legacy_dask_ewa.py 84.69% <ø> (ø)
pyresample/ewa/dask_ewa.py 90.16% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 93.791% when pulling 162125d on djhoese:bugfix-dask-ewa-defaults into c56533c on pytroll:main.

Copy link
Member

@mraspaud mraspaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mraspaud mraspaud merged commit 87a803a into pytroll:main Oct 25, 2022
@djhoese djhoese deleted the bugfix-dask-ewa-defaults branch October 25, 2022 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants