ghiggi / gpm_api

Global Precipitation Measurement Mission (GPM) python package to download and analyze data with xarray
https://gpm-api.readthedocs.io
MIT License
46 stars 4 forks source link

Refactor and test utils functions #36

Closed ghiggi closed 5 months ago

ghiggi commented 5 months ago

Prework

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and communicate accordingly:

The PR fulfills these requirements:

coveralls commented 5 months ago

Coverage Status

coverage: 61.695% (+2.1%) from 59.56% when pulling e3b58f42dbeeea2f51047cfebdb40a244b23610c on refactor_get_slices into 429f87480a3c93a9b2355819683bec1833dd1e6d on main.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (429f874) 59.56% compared to head (e3b58f4) 61.69%.

Files Patch % Lines
gpm_api/utils/decorators.py 85.71% 6 Missing :warning:
gpm_api/utils/dask.py 50.00% 5 Missing :warning:
gpm_api/utils/checks.py 93.33% 3 Missing :warning:
gpm_api/configs.py 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #36 +/- ## ========================================== + Coverage 59.56% 61.69% +2.13% ========================================== Files 62 62 Lines 5549 5498 -51 ========================================== + Hits 3305 3392 +87 + Misses 2244 2106 -138 ```

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