Skip to content

Fix bug in _ensure_increasing_x#27

Merged
konstntokas merged 9 commits intomainfrom
konstntokas-xxx-fix_bug
Feb 24, 2026
Merged

Fix bug in _ensure_increasing_x#27
konstntokas merged 9 commits intomainfrom
konstntokas-xxx-fix_bug

Conversation

@konstntokas
Copy link
Collaborator

@konstntokas konstntokas commented Feb 20, 2026

  • Fixed a bug in xcube_resampling.rectify_dataset that occurred when processing
    datasets with decreasing x-coordinates.
  • Boolean (bool) data arrays now default to nearest-neighbor interpolation.
    For spatial aggregation, values are centered, and 0 is used as the default fill
    value—matching the behavior of integer arrays to ensure consistent and valid results.

Checklist:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/
  • Changes documented in CHANGES.md
  • CI checks pass
  • Test coverage remains or increases (target 100%)

@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.65%. Comparing base (d900146) to head (94a06e7).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   98.65%   98.65%           
=======================================
  Files          20       20           
  Lines        2006     2009    +3     
=======================================
+ Hits         1979     1982    +3     
  Misses         27       27           

☔ 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.

@konstntokas konstntokas merged commit 8344881 into main Feb 24, 2026
1 check passed
@konstntokas konstntokas deleted the konstntokas-xxx-fix_bug branch February 24, 2026 18:26
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.

1 participant