Open dcherian opened 8 months ago
Attention: Patch coverage is 10.34483%
with 26 lines
in your changes missing coverage. Please review.
Project coverage is 83.06%. Comparing base (
a9cebee
) to head (d33610e
). Report is 14 commits behind head on main.:exclamation: Current head d33610e differs from pull request most recent head 0291802
Please upload reports for the commit 0291802 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
cf_xarray/geometry.py | 7.14% | 26 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In Xvec we could flatten the array and use it as an index instead of latitude and longitude coordinates if there's a use case for that.
This converts "bounds" in the 2-element form to an array of shapely polygons, one per grid cell. A step towards nicely packaging conservative regridding for the ecosystem. It could easily be generalized to the 4-element "vertex" form
Modified from https://notebooksharing.space/view/c6c1f3a7d0c260724115eaa2bf78f3738b275f7f633c1558639e7bbd75b31456#displayOptions=
cc @martinfleis @benbovy @aulemahal for awareness. I'm not sure if this is at all useful for
xvec
but on the off-chance that it is..