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

Adapt reader mviri_l1b_fiduceo_nc #2802

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Merge pull request #1 from bkremmli/mviri_release2

73acfb7
Select commit
Loading
Failed to load commit list.
Open

Adapt reader mviri_l1b_fiduceo_nc #2802

Merge pull request #1 from bkremmli/mviri_release2
73acfb7
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) failed Jun 6, 2024 in 32s

CodeScene PR Check

Code Health Quality Gates: FAILED

  • Declining Code Health: 2 findings(s) 🚩

View detailed results in CodeScene

Details

🚩 Declining Code Health (highest to lowest):

  • Code Duplication test_mviri_l1b_fiduceo_nc.py
  • Large Method test_mviri_l1b_fiduceo_nc.py: fixture_fake_dataset

Annotations

Check warning on line 649 in satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

❌ New issue: Code Duplication

The module contains 2 functions with similar structure: TestInterpolator.fixture_acq_time_vis_exp,TestInterpolator.fixture_time_ir_wv. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.

Check warning on line 332 in satpy/tests/reader_tests/test_mviri_l1b_fiduceo_nc.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

❌ New issue: Large Method

fixture_fake_dataset has 73 lines, threshold = 70. Large functions with many lines of code are generally harder to understand and lower the code health. Avoid adding more lines to this function.