ImperialCollegeLondon / pyrealm

Development of the pyrealm package, providing an integrated toolbox for modelling plant productivity, growth and demography using Python.
https://pyrealm.readthedocs.io/
MIT License
19 stars 8 forks source link

Implement array interoperability across numpy, dask and cupy #272

Open j-emberton opened 1 month ago

j-emberton commented 1 month ago

Description

closes #269

Changes to code to generalise array processing beyond Numpy to include cupy and dask. This will allow better use of Pyrealm within HPC workflows. Extends code without breaking current functionality.

Key tasks:

Fixes #269

Type of change

Key checklist

Further checks

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.

Project coverage is 95.10%. Comparing base (2072e0b) to head (3686a3f). Report is 34 commits behind head on develop.

Files Patch % Lines
pyrealm/typing.py 71.42% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #272 +/- ## =========================================== - Coverage 95.24% 95.10% -0.15% =========================================== Files 28 29 +1 Lines 1703 1735 +32 =========================================== + Hits 1622 1650 +28 - Misses 81 85 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.