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

Convert to RGBA mode when opening the image for adding coastlines or rivers to file. #30

Merged
merged 3 commits into from
Sep 12, 2019

Conversation

loreclem
Copy link
Contributor

@loreclem loreclem commented Sep 9, 2019

  • Closes #xxxx
  • Tests added
  • Tests passed
  • Passes git diff origin/develop **/*py | flake8 --diff
  • Fully documented

@coveralls
Copy link

coveralls commented Sep 9, 2019

Coverage Status

Coverage increased (+0.4%) to 79.845% when pulling 851fb58 on loreclem:master into eaddef8 on pytroll:master.

@mraspaud
Copy link
Member

mraspaud commented Sep 9, 2019

Thanks for the PR. Any chance you can add a small test to make sure P gets converted to RGBA in the future ?

@loreclem
Copy link
Contributor Author

loreclem commented Sep 9, 2019

I can try to add a test, yes! I'll try to have a look at it tomorrow.

@djhoese
Copy link
Member

djhoese commented Sep 9, 2019

Could you also add something to the docstrings to mention that this conversion is going to happen?

@loreclem
Copy link
Contributor Author

loreclem commented Sep 9, 2019

Docstrings updated and test added. I test only the addition of coastlines, since for testing also rivers, borders and grids we should add more shapefiles to the package: probably not necessary for the moment?

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 9b3e5a9 into pytroll:master Sep 12, 2019
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.

4 participants