Releases: sertit/sertit-utils
Releases · sertit/sertit-utils
v1.45.2
v1.45.1
1.45.1 (2025-02-17)
- FIX: Add more tolerances in
geometry.simplify_footprint
to allow further simplification, and a warning in case of failure - FIX: Force 2D geometries in
rasters.crop
asodc.geo.xr.crop
don't work with 3D geometries - FIX: Fix nodata casting in
rasters_rio.rasterize
for float values casted into integers - OPTIM: Only write rasters on disk with
windowed=True
in case of big rasters (w/h > 20,00020,000 pixels) - DEPR: Remove mention to DS2 in Unistra (keep only the mounting points for legacy purposes)
- CI: Refactor
.gitlab-ci.yml
file with new GitLab templates
v1.45.0
1.45.0 (2025-01-27)
- ENH: Use
odc.geo.xr.crop
instead ofrio.clip
to makerasters.crop
dask-compatible (#27) - ENH: Allow to pass the version number as a string to
misc.compare_versions
- FIX: Fixes when trying to write COGs with dask in
rasters.write
- FIX: Propagate correctly kwargs when writing COGs with dask in
rasters.write
v1.44.6
1.44.6 (2025-01-13)
- DEPS: Only ask for
cloudpathlib[s3]
as a dependency (and notcloudpathlib[all]
)
v1.44.5
1.44.5 (2025-01-10)
- ENH: Add the ability to round rasters values in
ci.assert_raster_max_mismatch
- FIX: Fix regression in
rasters.collocate
whereodc.geo.xr_reproject
was not used correctly. - FIX: Fix when trying to pop non-existing
nodata
keyword inrasters.collocate
v1.44.4
1.44.4 (2025-01-07)
- FIX: Fix regression in
rasters.any_raster_to_xr_ds
(rightException
not thrown,UnboundLocalError
thrown instead when trying to return non-existing variable)
v1.44.3
1.44.3 (2025-01-06)
- FIX: Manage case where we have a
pd.Dataframe
instead of agpd.GeoDataFrame
invectors.read
(reading a.dbf
file for instance) - FIX: Simplify decorator function of
rasters.read
, to better check the input types and to have a clearer function name and clearer exceptions - FIX: Simplify decorators
rasters.any_raster_to_xr_ds
andrasters_rio.any_raster_to_rio_ds
to better check the input types and to have clearer exceptions
v1.44.2
1.44.2 (2024-12-23)
- ENH: Drop
isort
,black
andflake8
and useruff
- ENH: Use
pyproject.toml
instead ofsetup.py
- FIX: Fix too broad exception in case of
geopandas >= 1.0
- FIX: Fix deprecation warning for
get_nodata_value_from_dtype
inrasters_rio
- FIX: Force blocksize to 128 when writing small COGs on disk (in order to have multiple overview levels)
- FIX: Use
np.tan
inrasters.slope
- FIX: Allow str as paths in
ci.assert_files_equal
- FIX: Better alignement between
rasters.read
function andrasters.any_raster_to_xr_ds
decorator - FIX: Fix
rasters.sieve
function withxr.apply_ufunc
- OPTIM: Compute the spatial index by default in
vectors.read
(setvectors.read(..., compute_sindex=False)
if you don't want to compute them) - CI: Rename CI folder and remove unnecessary intermediate folder
v1.44.1
1.44.1 (2024-12-12)
- OPTIM: Don't download an archive stored on the cloud when trying to read a vector stored inside it in
vectors.read
- OPTIM: Don't download files stored on cloud when applying
ci.assert_files_equal
on them - OPTIM: Offer the ability to give the archived file list directly to
path.get_archived_file_list
andfiles.read_archived_file
, as this operation is expensive when done with large archives stored on the cloud (and thus better done only once).
Propagated intopath.get_archived_path
,path.get_archived_rio_path
,vectors.read
,xml.read_archive
,files.read_archived_xml
andfiles.read_archived_html
- CI: Test both Dask's multithreaded and local cluster in CI
- DEPR: Deprecate
xml_regex
andfile_regex
arguments from above-mentioned functions in favor of a harmonizedregex
argument. - DEPS: Reduce
dask
-related dependencies to the libraries related to this project (abandondask[complete]
as we don't need most of the embedded libraries). - DOCS: Add notebooks to document best practises
v1.44.1.dev1
- OPTIM: Offer the ability to give the archived file list directly to
path.get_archived_file_list
andfiles.read_archived_file
, as this operation is expensive when done with large archives stored on the cloud (and thus better done only once).
Propagated intopath.get_archived_path
,path.get_archived_rio_path
,vectors.read
,files.read_archived_xml
andfiles.read_archived_html