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

Fix dataid attribute access in JMA HRIT readers #2415

Merged
merged 2 commits into from Mar 15, 2023

Conversation

sfinkens
Copy link
Member

JMA HRIT readers still use dataid attribute access, which was removed in 0.41.0. Use key access instead.

A mock in the unit test was masking the problem...

  • Tests added

@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Merging #2415 (a5d4ede) into main (03bb82c) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2415      +/-   ##
==========================================
- Coverage   94.76%   94.74%   -0.02%     
==========================================
  Files         329      329              
  Lines       48880    48880              
==========================================
- Hits        46320    46311       -9     
- Misses       2560     2569       +9     
Flag Coverage Δ
behaviourtests 4.42% <0.00%> (-0.01%) ⬇️
unittests 95.37% <100.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
satpy/readers/hrit_jma.py 97.94% <100.00%> (ø)
satpy/tests/reader_tests/test_ahi_hrit.py 100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

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

@sfinkens sfinkens marked this pull request as ready for review March 15, 2023 16:59
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!

@djhoese djhoese merged commit 856f404 into pytroll:main Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants