Skip to content

Conversation

mraspaud
Copy link
Member

into code including a new module

which merges the two uncertainty outputs into a single xarray output.

ny2 and others added 29 commits February 12, 2025 13:45
…odule

which merges the two uncertainty outputs into a single xarray output.
Fixed issue causing NaNs in uncertainty output
…ible

# Conflicts:
#	pygac/calibration/vis_uncertainty.py
#	pygac/klm_reader.py
#	pygac/pod_reader.py
#	pygac/reader.py
#	pygac/utils.py
Fixed issue of NaNs appearing in uncertainty output
…er than

calibrated values ("counts" rather than "channels")
…anck

function variations but adding 0.5K@300K in radiance space for this component
…uses

radiance at 300K assuming uncertainty of 0.5K) and updates to data files
with new solar contamination routine.
write_solar option to output data to be used in unit testing
	1) Added test for updated PRT numbering module
	2) Added test for aspects of the IR uncertainty module including
	solar contamination of the gain, calculation of the min PRT standard
	deviation gain and calculation of the ICT uncertainty. Uses data from
	an orbit of real AVHRR data stored in associated CSV file.
@mraspaud
Copy link
Member Author

@jmittaz looks like matplotlib is still imported somewhere where the tests are running, since the run crashes.

Copy link

codecov bot commented Aug 22, 2025

Codecov Report

❌ Patch coverage is 62.25064% with 738 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.20%. Comparing base (338929c) to head (8832d4a).
⚠️ Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
pygac/calibration/ir_uncertainty.py 58.91% 424 Missing ⚠️
pygac/calibration/vis_uncertainty.py 10.39% 293 Missing ⚠️
pygac/tests/test_reader.py 95.88% 10 Missing ⚠️
pygac/reader.py 78.78% 7 Missing ⚠️
pygac/klm_reader.py 86.66% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #144      +/-   ##
==========================================
- Coverage   77.35%   71.20%   -6.16%     
==========================================
  Files          31       36       +5     
  Lines        3317     5226    +1909     
==========================================
+ Hits         2566     3721    +1155     
- Misses        751     1505     +754     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants