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

Ignore pyproj to_proj4 warning when converting an AreaDefinition to a string #512

Merged
merged 8 commits into from
May 5, 2023

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented May 4, 2023

This should resolve a majority of the warnings generated during pyresample and satpy tests. There are still many cases of tests using area_def.proj_str == other_area.proj_str, but we'll get to those later.

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

@djhoese djhoese added the bug label May 4, 2023
@djhoese djhoese self-assigned this May 4, 2023
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #512 (b2eab5e) into main (1357e3a) will decrease coverage by 0.01%.
The diff coverage is 97.46%.

@@            Coverage Diff             @@
##             main     #512      +/-   ##
==========================================
- Coverage   94.32%   94.31%   -0.01%     
==========================================
  Files          79       79              
  Lines       12905    12936      +31     
==========================================
+ Hits        12172    12201      +29     
- Misses        733      735       +2     
Flag Coverage Δ
unittests 94.31% <97.46%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
pyresample/future/geometry/area.py 100.00% <ø> (ø)
pyresample/utils/cf.py 90.17% <ø> (ø)
pyresample/gradient/__init__.py 95.16% <83.33%> (+0.01%) ⬆️
pyresample/geometry.py 87.50% <95.65%> (-0.06%) ⬇️
pyresample/area_config.py 90.44% <100.00%> (ø)
pyresample/geo_filter.py 100.00% <100.00%> (ø)
pyresample/test/test_geometry/test_area.py 99.19% <100.00%> (+0.01%) ⬆️
pyresample/test/test_gradient.py 98.98% <100.00%> (ø)
pyresample/test/test_resample_blocks.py 98.62% <100.00%> (ø)
...le/test/test_resamplers/test_resampler_registry.py 96.55% <100.00%> (+0.63%) ⬆️

@coveralls
Copy link

coveralls commented May 4, 2023

Coverage Status

Coverage: 93.843% (-0.0007%) from 93.843% when pulling b2eab5e on djhoese:bugfix-ignore-proj-warn-areastr into 1357e3a 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, looks good with the context managers!

@mraspaud mraspaud merged commit 327cec1 into pytroll:main May 5, 2023
24 of 25 checks passed
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