Skip to content

Releases: sertit/sertit-utils

v1.43.4

28 Nov 13:03
Compare
Choose a tag to compare

1.43.4 (2024-11-28)

  • FIX: Fix regression in files.read_json due to Python 3.11 where datatime.fromsioformat parses more than the output of isoformat()

v1.43.3

27 Nov 19:44
Compare
Choose a tag to compare

1.43.3 (2024-11-27)

  • FIX: Set back MAX_CORES is snap as it breaks unexpectedly a fair number of libraries

v1.43.2

27 Nov 08:45
Compare
Choose a tag to compare

1.43.2 (2024-11-27)

  • ENH: Add a environment variable to update SNAP log level (#25)
  • FIX: Better management of default SNAP values (called in snap.get_gpt_cli, not during initialization)
  • FIX: Create threaded cluster by default in rasters.get_or_create_dask_client (#26)

v1.43.1

22 Nov 12:21
Compare
Choose a tag to compare

1.43.1 (2024-11-22)

  • OPTIM: Manage dask correctly when writing a raster to disk in rasters.write (needs odc-geo and imagecodecs for COGs)
  • OPTIM: Write data with windowed=True when Dask is not enabled (for COGs)
  • FIX: Don't compute dask array in case of window keyword in rasters.read function
  • FIX: Don't allow window keyword to go into gpd.to_file function
  • FIX: Add all distributed logers to ci.reduce_verbosity

v1.43.0

14 Nov 09:17
Compare
Choose a tag to compare

1.43.0 (2024-11-14)

  • ENH: Add prune and select keys from dict functions: misc.select_dict and misc.prune_dict
  • ENH: Handle dict in misc.remove_empty_values and allow the user to add other values considered as empty
  • FIX: Select arguments from **kwargs for functions with finished number of arguments
  • FIX: Remove empty kwargs from rasters.write (leading sometimes to GDAL warnings)
  • FIX: Don't try to set any tiled argument with COG driver in rasters.write

v1.42.3

04 Nov 13:36
Compare
Choose a tag to compare

1.42.3 (2024-11-04)

  • FIX: Fix PyPI's Trusted Publisher Management mechanism
  • CI: Update SNAP version to 11.0
  • CI: Update repo for mirroring
  • LOG: Add numba in ci.reduce_verbosity

v1.42.2

01 Oct 14:50
Compare
Choose a tag to compare

1.42.2 (2024-10-01)

  • Allow geopandas < 1.0.0 (sertit-utils should work with 0.14.4)
  • PUBLISH: Use PyPI's Trusted Publisher Management mechanism

v1.42.1

25 Sep 08:59
Compare
Choose a tag to compare

1.42.1 (2024-09-25)

  • FIX: Don't use isinstance and subtypes together (#22)
  • FIX: Allow use_s3_env_var in unistra.s3_env
  • TYPO: Replace UNISTRA_S3_ENPOINT by UNISTRA_S3_ENDPOINT

v1.42.0

03 Sep 08:16
Compare
Choose a tag to compare

1.42.0 (2024-09-03)

  • ENH: Add a function snap.get_snap_version to retrieve current SNAP version (#172)
  • ENH: Allow to pass directly a version object to misc.compare_version
  • FIX: Prune empty keywords from kwargs in rasters(_rio).write to avoid throwing GDAL warnings/errors
  • FIX: Correctly throw the exception when rasters_rio.any_raster_to_rio_ds fails with a xarray data structure
  • FIX: Fix rasterization of vector on floating point rasters (with a nodata not castable to the wanted dtype)
  • FIX: Handle correctly nan values in ci.assert_val
  • FIX: Fix rasters.set_nodata with already existing nodata value in raster

v1.41.0

06 Aug 07:28
Compare
Choose a tag to compare

1.41.0 (2024-08-06)

  • BREAKING CHANGE: Renaming of rasters(_rio).get_nodata_value function to rasters(_rio).get_nodata_value_from_dtype. Older function is deprecated.
  • ENH: Creating rasters.get_nodata_value_from_xr to retrieve the nodata value as specified by rioxarray
  • FIX: Fix handling of nodata with xarray structures in sertit.rasters
  • FIX: Handle None cases in ci.assert_val
  • CI: [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #21