Releases: sentinel-hub/eo-learn
Releases · sentinel-hub/eo-learn
Version 1.4.0
Changelog:
- (codebreaking) Complete overhaul of
eolearn.coregistration. See documentation for details. - (codebreaking) Removed non-working HVPlot backend for
eolearn.visualization. - (codebreaking) The
SpatialResizeTaskhad a bug when resizing w.r.t resolution. The issue was fixed and the signature of the task was redesigned to better avoid mistakes. See documentation for details. - (codebreaking) The
EOPatchmethodsget_featuresandget_feature_listwere recombined into a newget_featuresmethod. The methodget_time_serieswas removed. See documentation for details. - (codebreaking) Removed unsound
use_int_coordsoption ineolearn.ml_tools.sampling.random_point_in_triangle. - Added ability to specify query in execute method of
MeteoblueTask. SentinelHubInputTaskno longer saves redundant data into meta-features.- Module
eolearn.core.utils.typeswas moved toeolearn.core.types. Old one will be removed in the future. - Switched
opencv-contrib-python-headlessrequirement toopencv-python-headless - Added type annotations to most of the code base.
- Various improvements to tests and code.
Version 1.3.1
Changelog:
- Sentinel Hub IO tasks now support a custom timestamp filtration via
timestamp_filterparameter, contributed by @ColinMoldenhauer. MergeFeatureTasknow supports theaxisparameter.- Fix minor issues with the coregistration module.
- Prepare for future removal of
sentinelhub.os_utils. - Fix type annotations after
mypyupdate. - Improvements to tests and various minor changes.
Version 1.3.0
Changelog:
- (codebreaking) Adapted Sentinel Hub tasks to
sentinelhub-py 3.8.0which switched to Catalog 1.0.0. - (codebreaking) Removed support for loading pickled objects in EOPatches (deprecated since version 1.0.0).
- (codebreaking) Various improvements of
FeatureIOclass. Only affects direct use of class. - Added type annotations to majority of
eolearn.core. The types are now exposed viapy.typedfile, which enables use ofmypy. Added type-checking to CI for thecoremodule. - Numpy-array based features can now save and load
objectpopulated arrays. - Improved documentation building, fixed links to GitHub.
- Improved test coverage.
- Added pre-commit hooks to repository for easier development.
- Various minor improvements.
Version 1.2.1
Changelog:
- Corrected the default for
no_data_valueinImportFromTiffTaskandExportToTiffTasktoNone. The previous default of0was a poor choice in many scenarios. The switch might alter behavior in existing code. - Changed the way
SpatialResizeTaskaccepts parameters for the final image size. Now supports resizing by using resolution. - Added
ExplodeBandsTaskthat explodes a multi-band feature into multiple features. - Exposed resampling parameters in Sentinel Hub tasks and included a
geometryexecution parameter. - Reworked internal classes
FeatureIOand_FeatureDictto improve types and maintainability. - Fixed y-axis orientation of
MeteoblueRasterTask. FilterTimeSeriesTaskadjusted to work with multiprocessing.- EOPatch plotting no longer anti-aliases by default (removes issues with phantom values in mask plots)
- Improved documentation building, fixing a few broken links.
Version 1.2.0
Changelog:
- Improved handling of filesystem objects:
- introduced utility functions
pickle_fsandunpickle_fsintoeo-learn-core, - updated all IO tasks to fully support
filesystemas an__init__parameter, - updated
EOExecutorto supportfilesystempropagation to worker processes.
- introduced utility functions
- Official support for Python
3.10. - Moved
eolearn.coregistration.ThunderRegistrationTaskinto an extension ofeo-learn-coregistrationpackage because it doesn't support Python3.10. - Updated functionality of
eolearn.features.SimpleFilterTask. It now returns a newEOPatchand doesn't raise an error if all time slices would be filtered out. - Larger updates of
eolearn.io.ExportToTiffTask. It doesn't allow undefinedfolderparameter anymore, but it has better support forfilesystemobjects. - Added
eolearn.core.utils.raster.fast_nanpercentileutility function and movedconstant_padfunction into the same module. - Suppressed a warning when saving an
EOPatchwith empty vector features. - Updated code-style checkers by including
flake8and checks for Jupyter notebooks. - Various style improvements in example notebooks, code, and tests.
Version 1.1.1
Changelog:
- Fixed a bug in
eolearn.io.ImportFromTiffTaskwhere a bounding box from the image wasn't added to the EOPatch. - Increased minimal version of
Pillowdependency ineolearn.features.
Version 1.1.0
Changelog:
- Large improvements of parallelization in EOExecutor. Introduced the
eolearn.core.utils.parallelizemodule, featuring tools for different parallelization modes. - Added support for session sharing in
SentinelHubInputTask,SentinelHubEvalscriptTaskandSentinelHubDemTaskby adding asession_loaderparameter. Session sharing ofsentinelhub-pyis explained here. - Added
SpatialResizeTasktoeolearn.features.feature_manipulationfor spatially resizing EOPatch features. - Improved how
ImportFromTiffTaskreads from remote filesystems. - Switched to non-structural hashing of
EONodeclass to avoid massive slowdowns in large workflows. - Improved procedure for building documentation and displaying of type annotations.
- Various minor improvements.
Version 1.0.2
Changelog:
- Added workaround for an issue introduced by
fs==2.4.16. - Executor progress bar improved for use-cases with many EOPatches.
LoadTaskandSaveTaskcan now handle empty queries (by settingeopatch_folder=None).- Minor improvements in code and documentation.
Version 1.0.1
Changelog:
- Fixed an issue where vector features with empty dataframes couldn't be saved to a Geopackage.
- Memory improvement in
EOPatchmerging procedure. - Added support for
aws_session_token, contributed by @theirix. - Fixed an issue in
ImportFromTiffTask. - Fixed a packaging issue where some new subpackage extensions didn't work in the version
1.0.0that was released to PyPI. eo-learnabstract package from now on requires fixed versions ofeo-learnsubpackages.- Applied
isortformatting on the entire package. - Minor improvements in code and documentation.
Version 0.10.2
This version fixes the dependencies, so that pip install "eo-learn<1" works correctly.