Releases: Open-EO/openeo-python-client
Releases · Open-EO/openeo-python-client
openEO Python client v0.8.2
Minor release to address version packaging issue.
openEO Python client v0.8.1
Added
- Support nested callbacks inside array arguments, for instance in
array_modify,array_create - Support
array_concat - add
ProcessGraphUnflattenerandPGNodeGraphUnflattenerto unflatten a flat dict representation of a process
graph to aPGNodegraph (EP-3609) - Add
Connection.datacube_from_flat_graphandConnection.datacube_from_jsonto construct aDataCube
from flat process graph representation (e.g. JSON file or JSON URL) (EP-3609) - Add documentation about UDP unflattening and sharing (EP-3609)
- Add
fit_curveandpredict_curve, two methods used in change detection
Changed
- Update
processes.pybased on 1.1.0 release op openeo-processes project processes.py: include all processes from "proposals" folder of openeo-processes project- Jupyter integration: Visual rendering for process graphs shown instead of a plain JSON representation.
- Migrate from Travis CI to GitHub Actions for documentation building and unit tests (#178, EP-3645)
Removed
- Removed unit test runs for Python 3.5 (#210)
openEO Python client v0.8.0
Added
- Allow, but raise warning when specifying a CRS for the geometry passed to
aggregate_spatialandmask_polygon,
which is non-standard/experimental feature, only supported by specific back-ends
(#204) - Add
optionalargument toParameterand fix re-encoding parameters with default value. (EP-3846) - Add support to test strict equality with
ComparableVersion - Jupyter integration: add rich HTML rendering for more backend metadata (Job, Job Estimate, Logs, Services, User-Defined Processes)
- Add support for filter_spatial
- Add support for aggregate_temporal_period
- Added class
Servicefor secondary web-services - Added a method
servicetoConnection - Add
Rfc3339.parse_dateandRfc3339.parse_date_or_datetime
Changed
- Disallow redirects on POST/DELETE/... requests and require status code 200 on
POST /resultrequests.
This improves error information wherePOST /resultwould involve a redirect. (EP-3889) - Class
JobLogEntrygot replaced with a more complete and re-usableLogEntrydict - The following methods return a
Serviceclass instead of a dict:tiled_viewing_serviceinImageCollection,ImageCollectionClientandDataCube,create_serviceinConnection
Deprecated
- The method
remove_serviceinConnectionhas been deprecated in favor ofdelete_servicein theServiceclass
openEO Python client v0.7.0
Added
- Add dependency on
xarraypackage (#159, #190, EP-3578) - Add support for default OIDC clients advertised by backend (#192, Open-EO/openeo-api#366)
- Add support for default OIDC provider (based on provider order advertised by backend) (Open-EO/openeo-api#373)
Changed
- Eliminate development/optional dependency on
openeo_udfproject (#159, #190, EP-3578). Now the openEO client library itself contains the necessary classes and implementation to run UDF code locally.
Fixed
Connection: don't send default auth headers to non-backend domains (#201)
openEO Python client v0.6.1
Changed
- Improve OpenID Connect usability on Windows: don't raise exception on file permissions
that can not be changed (byos.chmodon Windows) (#198)
openEO Python client v0.6.0
Added
- Add initial/experimental support for OIDC device code flow with PKCE (alternative for client secret) (#191 / EP-3700)
- When creating a connection: use "https://" by default when no protocol is specified
DataCube.mask_polygon: supportParameterargument formask- Add initial/experimental support for default OIDC client (#192, Open-EO/openeo-api#366)
- Add
Connection.authenticate_oidcfor user-friendlier OIDC authentication: first try refresh token and fall back on device code flow - Add experimental support for
array_modifyprocess (Open-EO/openeo-processes#202)
Removed
- Remove old/deprecated
Connection.authenticate_OIDC()
openEO Python client v0.5.0
Added
- Add namespace support to
DataCube.process,PGNode,ProcessGraphVisitor(minor API breaking change) and related.
Allows building process graphs with processes from non-"backend" namespaces
(#182) collection_itemsto request collection items through a STAC APIpaginateas a basic method to support link-based pagination- Add namespace support to
Connection.datacube_from_process - Add basic support for band name aliases in
metadata.Bandfor band index lookup (EP-3670)
Changed
OpenEoApiErrormoved fromopeneo.rest.connectiontoopeneo.rest- Added HTML representation for
list_jobs,list_services,list_filesand for job results - Improve refresh token handling in OIDC logic: avoid requesting refresh token
(which can fail if OIDC client is not set up for that) when not necessary (EP-3700) RESTJob.start_and_wait: add status line when sending "start" request, and drop microsecond resolution from status lines
Fixed
- Updated Vue Components library (solves issue with loading from slower back-ends where no result was shown)
openEO Python client v0.4.10
Added
- Add "reflected" operator support to
ProcessBuilder - Add
RESTJob.get_results(),JobResultsandResultAssetfor more fine-grained batch job result handling. (EP-3739) - Add documentation on batch job result (asset) handling and downloading
Changed
- Mark
Connection.imagecollectionmore clearly as deprecated/legacy alias ofConnection.load_collection - Deprecated
job_results()andjob_logs()onConnectionobject, it's better to work throughRESTJobobject. - Update
DataCube.sar_backscatterto the latest process spec: addcoefficientargument
and removeorthorectify,rtc. (openeo-processes#210)
Removed
- Remove outdated batch job result download logic left-overs
- Remove (outdated) abstract base class
openeo.job.Job: did not add value, only caused maintenance overhead. (#115)
openEO Python Client v0.4.9
Added
- Make
DataCube.filter_bbox()easier to use: allow passing a bbox tuple, list, dict or even shapely geometry directly as first positional argument or asbboxkeyword argument.
Handling of the legacy non-standard west-east-north-south positional argument order is preserved for now (#136) - Add "band math" methods
DataCube.ln(),DataCube.logarithm(base),DataCube.log10()andDataCube.log2() - Improved support for creating and handling parameters when defining user-defined processes (EP-3698)
- Initial Jupyter integration: add rich HTML rendering of backend metadata (collections, file formats, UDF runtimes, ...)
(#170) - add
resolution_mergeprocess (experimental) (EP-3687, openeo-processes#221) - add
sar_backscatterprocess (experimental) (EP-3612, openeo-processes#210)
Fixed
- Fixed 'Content-Encoding' handling in
Connection.download: client did not automatically decompress/result
responses when necessary (#175)
openEO Python Client 0.4.8
Added
- Add
DataCube.aggregate_spatial()
Changed
- Get/create default
RefreshTokenStorelazily inConnection - Various documentation tweaks