ioos / compliance-checker

Python tool to check your datasets against compliance standards
http://ioos.github.io/compliance-checker/
Apache License 2.0
104 stars 56 forks source link

Use pint instead of cf_units #1094

Open ocefpaf opened 2 weeks ago

ocefpaf commented 2 weeks ago

There is still a long road ahead but we can probably ditch the heavy udunits2 dependency if this works.

xref.: https://github.com/Ouranosinc/xclim/issues/1788

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 70.58824% with 15 lines in your changes missing coverage. Please review.

Project coverage is 81.22%. Comparing base (b3f1891) to head (99a488e). Report is 8 commits behind head on develop.

Files Patch % Lines
compliance_checker/units.py 61.53% 15 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1094 +/- ## =========================================== - Coverage 81.68% 81.22% -0.47% =========================================== Files 25 26 +1 Lines 5226 5251 +25 Branches 1255 1257 +2 =========================================== - Hits 4269 4265 -4 - Misses 646 668 +22 - Partials 311 318 +7 ```

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