Releases: xarray-contrib/xvec
Releases · xarray-contrib/xvec
Version v0.4.0
Version 0.4.0 is special, for two reasons. For one, it brings support of variable geometry (geometry inside the cube, not only as a coordinate) and plotting. For other, it contains the work @martinfleis has done in collaboration with @loreabad6, who has been instrumental in conceptualising variable geometry support in her work in the R ecosystem. Unfortunately, she did not manage to see the release. On 2nd of May 2025, Lorena tragically died, aged 31. Thank you for everything, Lorena. ❤️
What's Changed
- require python 3.10 by @martinfleis in #94
- REF: use smallest int mask in rasterize by @martinfleis in #96
- use min_scalar_type in rasterize by @martinfleis in #97
- variable geometry support, plotting, WKB IO by @martinfleis in #98
- REF: use xr.Coordinates directly by @martinfleis in #103
- DOC: fix extract points example by @martinfleis in #104
- use flexible definition of VDC by @martinfleis in #105
- fix xarray-spatial link by @martinfleis in #115
- ENH: support of categorical plots by @martinfleis in #106
Bug fixes
- BUG: cast GeometryDtype to object prior assigning as index by @martinfleis in #93
- BUG: fix casting to a GeoSeries in to_geodataframe under new xarray by @ilan-gold in #112
- BUG: fixes plotting of a 1D array with custom geometry by @martinfleis in #116
New Contributors
- @ilan-gold made their first contribution in #112
Full Changelog: v0.3.1...v0.4.0
Version v0.3.1
What's Changed
- use float32 as mask in rasterize by @martinfleis in #77
- BUG: catch empty GeometryIndex in repr by @martinfleis in #80
Other Changes
- Fix typo in documentation [unlike] by @RichardScottOZ in #72
- TYP: ignore typing error by @martinfleis in #73
- DOC: Little formatting improvements in zonal_stats.ipynb by @clausmichele in #74
New Contributors
- @RichardScottOZ made their first contribution in #72
- @clausmichele made their first contribution in #74
Full Changelog: v0.3.0...v0.3.1
Version v0.3.0
Highlights
- ENH: support exactextract as a method in zonal_stats by @masawdah in #68
- Add encode_cf, decode_cf by @dcherian in #69
What's Changed
- TYP: eliminate some typing issues by @martinfleis in #59
- TYP: fix type error by @martinfleis in #61
- DOC: fix typo by @martinfleis in #64
- ENH: implement
__repr__
for the index by @martinfleis in #65 - Document read/write with CF encoding by @dcherian in #67
New Contributors
Full Changelog: v0.2.0...v0.3.0
Version v0.2.0 - Zonal stats!
What's Changed
- MAINT: test on Python 3.12, update actions, use ruff format by @martinfleis in #54
- ENH: add zonal_stats by @masawdah in #52
- ENH: support callable as stats in zonal_stats by @martinfleis in #55
- ENH: multiple aggregations at once in zonal_stats by @martinfleis in #56
- DOC: add zonal_stats guide, update docs by @martinfleis in #57
New Contributors
Full Changelog: v0.1.0...v0.2.0
Version v0.1.0
Hello world