Releases: sertit/sertit-utils
Releases · sertit/sertit-utils
v1.30.1
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 ofpath.get_archived_rio_path
instead of incorrect one. - CI: Update pre-commit hooks
v1.30.0
1.30.0 (2023-10-04)
- BREAKING CHANGE: Creating a
path
module where followingfiles
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 ass3_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
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 forcorresponding_utm_projection
but not for the same reason.
v1.29.0
1.29.0 (2023-09-25)
- BREAKING CHANGE: Creating a
geometry
module where followingvectors
have been transferred:from_polygon_to_bounds
,from_bounds_to_polygon
,get_wider_exterior
,make_valid
. The functionfill_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
1.28.3 (2023-07-20)
- FIX: Fixing Windows archived rasterio path (switching to
vsizip
/vsitar
for all platform)
v1.28.2
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
1.28.1 (2023-06-22)
- FIX: Add a workaround for a weird bug with dask's
reshape
v1.28.0
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
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
- 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