Skip to content

Use earthkit-utils#672

Merged
sandorkertesz merged 11 commits intodevelopfrom
feature/use-earthkit-utils
Apr 23, 2025
Merged

Use earthkit-utils#672
sandorkertesz merged 11 commits intodevelopfrom
feature/use-earthkit-utils

Conversation

@sandorkertesz
Copy link
Collaborator

@sandorkertesz sandorkertesz commented Apr 4, 2025

This PR moves the array backend/namespace code into earthkit-utils.

The change is backward compatible.

Remark

It is still possible to do this:

from earthkit.data import array_api

Previously, array_api was an alias to the array module in earthkit.data.utils. This module is now located in earthkit.utils, so it is imported from there behind the scenes.

@sandorkertesz sandorkertesz changed the title Use earthkit utils Use earthkit-utils Apr 4, 2025
@sandorkertesz sandorkertesz requested a review from HCookie April 4, 2025 17:11
@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2025

Codecov Report

Attention: Patch coverage is 83.01887% with 9 lines in your changes missing coverage. Please review.

Project coverage is 90.85%. Comparing base (6a41bd8) to head (b412762).

Files with missing lines Patch % Lines
tests/grib/test_grib_backend.py 69.23% 4 Missing ⚠️
tests/array_fieldlist/array_fl_fixtures.py 72.72% 3 Missing ⚠️
tests/documentation/test_notebooks.py 50.00% 0 Missing and 1 partial ⚠️
tests/grib/grib_fixtures.py 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #672      +/-   ##
===========================================
+ Coverage    90.46%   90.85%   +0.38%     
===========================================
  Files          160      160              
  Lines        12217    12136      -81     
  Branches       595      593       -2     
===========================================
- Hits         11052    11026      -26     
+ Misses         983      930      -53     
+ Partials       182      180       -2     

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

@sandorkertesz sandorkertesz merged commit 006632f into develop Apr 23, 2025
124 checks passed
@sandorkertesz sandorkertesz deleted the feature/use-earthkit-utils branch April 23, 2025 15:52
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.

2 participants