Closed djhoese closed 1 year ago
Merging #532 (09fcc76) into main (2a6d769) will decrease coverage by
0.09%
. The diff coverage is97.22%
.
@@ Coverage Diff @@
## main #532 +/- ##
==========================================
- Coverage 94.34% 94.26% -0.09%
==========================================
Files 82 82
Lines 13026 13052 +26
==========================================
+ Hits 12290 12303 +13
- Misses 736 749 +13
Flag | Coverage Δ | |
---|---|---|
unittests | 94.26% <97.22%> (-0.09%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
pyresample/utils/proj4.py | 98.86% <93.75%> (-1.14%) |
:arrow_down: |
pyresample/_spatial_mp.py | 83.70% <100.00%> (+0.75%) |
:arrow_up: |
pyresample/geometry.py | 87.64% <100.00%> (+0.05%) |
:arrow_up: |
pyresample/test/test_geometry/test_area.py | 99.21% <100.00%> (+<0.01%) |
:arrow_up: |
Thanks for fixing this @djhoese !
This PR switches from using pyproj's old
Proj
interface to the newerTransformer
class. Transformers should have better overall handling of more complex projection transformation.One note is that I did have to add special handling of CRSes with prime meridian shifts (
+pm=180
) to makeget_lonlats
return what it used to. That is, lon/lats on a prime meridian 0 CRS.CC @larsbuntemeyer
git diff origin/main **/*py | flake8 --diff