pytroll / pyresample

Geospatial image resampling in Python
http://pyresample.readthedocs.org
GNU Lesser General Public License v3.0
344 stars 95 forks source link

Fix gradient resampling to same area not working #508

Closed mraspaud closed 1 year ago

mraspaud commented 1 year ago

This implements a noop when source and destination areas are the same for gradient search instead of raising an error.

coveralls commented 1 year ago

Coverage Status

Coverage: 93.799% (+0.004%) from 93.795% when pulling 08b714e5b2e4ae16d0803d22d231a7761ce4028e on mraspaud:fix-gradient-equal-areas into f3e713ebbf95915f6d695cb6a4617d90409dd23b on pytroll:main.

codecov[bot] commented 1 year ago

Codecov Report

Merging #508 (08b714e) into main (0340c4f) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #508   +/-   ##
=======================================
  Coverage   94.27%   94.27%           
=======================================
  Files          78       78           
  Lines       12838    12845    +7     
=======================================
+ Hits        12103    12110    +7     
  Misses        735      735           
Flag Coverage Δ
unittests 94.27% <100.00%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
pyresample/test/test_gradient.py 98.98% <100.00%> (ø)
pyresample/test/test_resamplers/test_resampler.py 100.00% <100.00%> (ø)

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