Skip to content

Releases: xarray-contrib/xarray-spatial

v0.7.0

02 Mar 14:59
b734348

Choose a tag to compare

New hydrology, terrain metrics, and surface distance modules; 3D multi-band support for focal functions; GPU-accelerated polygonize with connected-component labelling; and broad dask+cupy backend coverage across the library.

New Features

  • Add 3D multi-band support to focal functions (#924)
  • Add foundational hydrology tools (#921)
  • Add terrain metrics module: TRI, TPI, and Roughness (#920)
  • Add surface_distance module: 3D terrain distance via multi-source Dijkstra (#918)
  • Add CI benchmark workflow with regression detection (#917)
  • Polygonize: GPU CCL, promotion, dispatcher, GeoJSON output, and benchmarks (#916)
  • Add GPU (CuPy) backends for proximity, allocation, direction (#909)
  • Add GPU (CuPy) backend for cost_distance (#910)
  • Add out-of-core dask CPU viewshed (#897)
  • Add dask+cupy backends for focal tools (#896)
  • Add emerging_hotspots() for time-series trend analysis (#890)
  • Replace O(n^4) regions() with scipy union-find, add dask/cupy backends (#898)

Bug Fixes & Improvements

  • Make dask backends truly lazy, add agg parameter (#914)
  • Fill remaining dask+cupy gaps (terrain, perlin, crosstab) (#913)
  • Add comprehensive input validation across public API (#912)
  • Fix dask zonal.stats() bug, add dask+cupy backend, edge-case tests (#911)
  • Prevent OOM and unknown chunks in classify.py dask paths (#895)
  • Replace np.unique/np.isfinite with dask-safe helpers in zonal.py (#894)
  • Extend KDTree path to allocation/direction to prevent OOM (#893)
  • Add memory guard and tiled KDTree fallback to proximity (#892)
  • Add memory guard, bounded A*, and HPA* to prevent OOM (#891)

v0.6.0

25 Feb 06:58
c8b2d20

Choose a tag to compare

What's Changed

Full Changelog: v0.5.3...v0.6.0

Version 0.5.3

23 Feb 05:10
468b026

Choose a tag to compare

Version 0.5.3 - 2026-02-22

  • Fixes #733: add cost_distance() for weighted proximity (#859)
  • Fixes #734: make noise a lazy import so datasets module is usable without it (#858)
  • Fixes #774: suppress dd.concat unknown divisions warning in zonal_stats (#857)
  • Fixes #392: document and test 3D time-series zonal stats via Dataset (#856)
  • Fix hotspots dask performance: 2-pass streaming with O(chunk_size) memory (#855)
  • Fixes #134: add xr.Dataset as input type for appropriate modules (#854)
  • Warnings(17) filtering for non-GPU (#850)
  • Fixes #190: GPU-enable all classification operations (#852)
  • updating links and text (#849)
  • fixes 766 document handling of f32 vs. f64 data when using xarray spatial (#847)
  • Fix rioxarray band_as_variable DataArray extraction (#846)
  • added majority as default stat for zonal operations with numpy and cupy (#844)
  • fixed proximity intermediate large numpy array problem and proximity output coords are now lazy if input is dask array (#843)
  • Changed regions parameter connections to neighborhood and updated docstring (#842)
  • Testing and Updating Examples (#837)
  • added horizontal vertical unit mismatch heuristic to help address issue #840 (#841)
  • Fixes #838 update legacy repo url links (#839)
  • added colorado dem to examples datasets yaml

Version 0.5.2

18 Dec 20:10
21bdc79

Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2

Version 0.5.1

16 Dec 15:33
273a8ef

Choose a tag to compare

What's Changed

  • updated runner, python setup action and checkout actions for PyPI publish by @brendancol in #826

Full Changelog: v0.5.0...v0.5.1

Version 0.5.0

15 Dec 21:04
a196844

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

26 Apr 18:13
v0.4.0
555706c

Choose a tag to compare

What's Changed

Full Changelog: v0.3.7...v0.4.0

Version 0.3.7 - 2023-06-09

09 Jun 04:33
v0.3.7
7d5bb49

Choose a tag to compare

The 0.3.7 release is a hot fix for 0.3.6, which has problem with publishing to PyPi as the package exceeds the limit of 100MB. In this new release, example notebooks are cleaned up to reduce the package size.

What's Changed

Version 0.3.6 - 2023-06-02

02 Jun 14:04
v0.3.6
0cc27c5

Choose a tag to compare

With the 0.3.6 release, xarray-spatial now supports python 3.11. This release focuses on demonstrating the reliability of the library by adding more tests against GDAL/QGIS.

What's Changed

Version 0.3.5 - 2022-06-05

05 Jun 15:38
v0.3.5
5973ec4

Choose a tag to compare

The 0.3.5 release mainly addresses the scaling issue in GPU viewshed to gain better accurate triangulation.
The GPU raytraced viewshed should now give comparable results to the CPU version.
However, the 2 versions use 2 different approaches, there can be slightly differences at some points
where a version returns visible while the other considers them as invisible.
Many thanks to @nodell111, @a7az0th, and the maintainers @thuydotm for contributing to this release.

Enhancements

  • command to get change log (#716)
  • Added Feature Proposal Template (#714)

Bug Fixes

  • Improved viewshed rtx. Now result should match the CPU version (#715)