corteva / geocube

Tool to convert geopandas vector data into rasterized xarray data.
https://corteva.github.io/geocube
BSD 3-Clause "New" or "Revised" License
344 stars 27 forks source link

Add default value in vectorize when dataarray has no name, and a warning #166

Closed Imanflow closed 8 months ago

Imanflow commented 8 months ago
snowman2 commented 8 months ago

Running this should help address linting issues:

python -m pip install pre-commit
cd ./geocube
pre-commit install
pre-commit run -a
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.28%. Comparing base (a69f63d) to head (c06e32b). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #166 +/- ## ========================================== + Coverage 96.23% 96.28% +0.04% ========================================== Files 14 14 Lines 452 457 +5 ========================================== + Hits 435 440 +5 Misses 17 17 ```

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

snowman2 commented 8 months ago

Thanks @Imanflow :+1: