Skip to content

Releases: sertit/sertit-utils

v1.30.1

20 Oct 12:54
Compare
Choose a tag to compare

1.30.1 (2023-10-20)

  • FIX: Reorder raster in rasters.read whith the given indexes order
  • FIX: Allow to write with any driver in rasters(_rio).write
  • FIX: Create proper variables for environment variables in snap
  • FIX: Normalize geometries before testing within ci
  • FIX: files.get_archived_rio_path returns the result of path.get_archived_rio_path instead of incorrect one.
  • CI: Update pre-commit hooks

v1.30.0

04 Oct 14:14
Compare
Choose a tag to compare

1.30.0 (2023-10-04)

  • BREAKING CHANGE: Creating a path module where following files functions have been transferred (original have been deprecated): get_root_path, listdir_abspath, to_abspath, real_rel_path, get_archived_file_list, get_archived_path, get_archived_rio_path, get_filename, get_ext, find_files, get_file_in_dir, is_writable.
  • ENH: Add a s3 modules handling other endpoints than Unistra's
  • ENH: Add deprecation for ci functions handled in other modules (such as s3_env, define_s3_client, get_db2_path, get_db2_path, get_db2_path)
  • FIX: Allow unistra.s3_env to wrap functions with arguments
  • FIX: Manage the case with fsspec path given to vectors.read
  • CI: Better testing of kwargs handling in vectors.read
  • Update README

v1.29.1

26 Sep 09:22
Compare
Choose a tag to compare

1.29.1 (2023-09-26)

  • ENH: Add a function covering vectors.corresponding_utm_projection's usecase (converting lat/lon to UTM CRS): vectors.to_utm_crs. Returns directly a CRS instead of a string. Keep the deprecation for corresponding_utm_projection but not for the same reason.

v1.29.0

25 Sep 12:51
Compare
Choose a tag to compare

1.29.0 (2023-09-25)

  • BREAKING CHANGE: Creating a geometry module where following vectors have been transferred: from_polygon_to_bounds, from_bounds_to_polygon, get_wider_exterior, make_valid. The function fill_polygon_holes has been created.
  • ENH: Add a vectors.utm_crs context manager allowing the user to compute seamlessly geographic-based operation (such as centroids, area computation...)
  • ENH: Add a sertit.types containing aliases to common typings
  • ENH: Add **kwargs in vectors.read
  • ENH: Handles unchecked attributes in ci.assert_xr_encoding_attrs
  • ENH: Add more types
  • ENH: Add a new module unistra used to handle functions referring to Unistra's environment
  • FIX: Return an AssertionError text in ci.assert_xr_encoding_attrs
  • FIX: Fix display.scale_to_uint8 with numpy masked arrays
  • DEPR: Deprecation of vectors.corresponding_utm_projection in favor to geopandas' estimate_utm_crs

v1.28.3

20 Jul 10:24
Compare
Choose a tag to compare

1.28.3 (2023-07-20)

  • FIX: Fixing Windows archived rasterio path (switching to vsizip/vsitar for all platform)

v1.28.2

07 Jul 15:01
Compare
Choose a tag to compare

1.28.2 (2023-07-07)

  • FIX: Allow collocating rasters (only if they are given as DataArrays) from different dtypes
  • FIX: Make VRT relative in merge_vrt if possible

v1.28.1

22 Jun 14:11
Compare
Choose a tag to compare

1.28.1 (2023-06-22)

  • FIX: Add a workaround for a weird bug with dask's reshape

v1.28.0

15 Jun 08:25
Compare
Choose a tag to compare

1.28.0 (2023-06-15)

  • ENH: Add a vectors.copy function to handle the copy of shapefiles
  • FIX: Fix debug message in files.copy

v1.27.3

12 Jun 11:07
Compare
Choose a tag to compare

1.27.3 (2023-06-12)

  • FIX: Add stacklevel=3 when throwing deprecation warnings
  • CI: Add a test to check if the deprecation warning is thrown

v1.27.2

07 Jun 12:20
Compare
Choose a tag to compare
  • FIX: Allow users to read KMZ vectors (as it is now handled by fiona with LIBKML)
  • FIX: Better manage non-existing file given as a window rasters(_rio).read