pytroll / pygac

A python package to read and calibrate NOAA and Metop AVHRR GAC and LAC data
https://pygac.readthedocs.org/
GNU General Public License v3.0
20 stars 25 forks source link

Fix clockdrift adjustment in case of missing TLEs #95

Closed sfinkens closed 2 years ago

sfinkens commented 2 years ago

Closes #94 by restoring the try...except block that was removed in 3f0430687. Also tried to make the handling of that exception a bit more self-explanatory.

codecov[bot] commented 2 years ago

Codecov Report

Merging #95 (efb1641) into main (5423880) will increase coverage by 0.35%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
+ Coverage   66.66%   67.02%   +0.35%     
==========================================
  Files          34       34              
  Lines        2895     2920      +25     
==========================================
+ Hits         1930     1957      +27     
+ Misses        965      963       -2     
Impacted Files Coverage Δ
pygac/pod_reader.py 63.86% <100.00%> (+0.61%) :arrow_up:
pygac/reader.py 64.75% <100.00%> (+0.96%) :arrow_up:
pygac/tests/test_pod.py 97.48% <100.00%> (+0.15%) :arrow_up:
pygac/tests/test_reader.py 99.33% <100.00%> (+0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5423880...efb1641. Read the comment docs.