Skip to content

v1.44.0.rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@remi-braun remi-braun released this 09 Dec 10:04
· 61 commits to main since this release

1.44.0.rc1 (2024-12-09)

  • BREAKING CHANGE: Renaming of rasters(_rio).write argument path to output_path to avoid shadowing sertit.path module. Older argument is deprecated.
  • ENH: Use odc.geo.xr.mask instead of rasterio.mask to be dask-compatible in rasters (true for paint and mask) (#27)
  • ENH: Use odc.geo.xr.xr_reproject instead of rioxarray.reproject_match to be dask-compatible in rasters.collocate (#27)
  • ENH: Use xarray-spatial to be dask-compatible in rasters.slope and rasters.hillshade. (#27)
  • ENH: Add support for aspect function (only in rasters). (#29)
  • FIX: Fix the ability to save COGs with any dtype with Dask, with the workaround described here (don't compute statistics for problematic dtypes)
  • FIX: Better separability of dask (it has its own module now): don't create a client if the user doesn't specify it (as it is not required anymore in Lock). This should remove the force-use of dask.
  • OPTIM: For arrays with same shape and CRS, replace only the coordinates of other by ref's in rasters.collocate
  • OPTIM: Call dask.optimize before any dask computation (#27)
  • FIX: Fix vectorization with dask arrays (and remove the silent failure in case of exception when computing) (#27)
  • DEPS: Add an optional dependency to xarray-spatial for daskified surface tools, such as hillshade and slope

⚠️ We selected for now xarray-spatial dependency for DEM-related functiions, but this may not be the final selection.
When a bit more mature, it is rather likely that geoutils and xdem will be selected instead.
See this issue for dask-related choices.