Releases: Open-EO/openeo-python-client
Releases · Open-EO/openeo-python-client
openEO Python Client v0.18.0
openEO Python Client v0.17.1
This is a fixup release, identical to the v0.17.0 release (except for a minor test fix)
openEO Python Client v0.17.0
Added
Connection.authenticate_oidc(): add argument to set maximum device code flow poll time- Show progress bar while waiting for OIDC authentication with device code flow, including special mode for in Jupyter notebooks. (#237)
- Basic support for
load_stacprocess withConnection.load_stac()(#425) - Add
DataCube.aggregate_spatial_window()
Fixed
- Include "scope" parameter in OIDC token request with client credentials grant.
- Support fractional seconds in
Rfc3339.parse_datetime(#418)
openEO Python Client v0.16.0
Added
- Full support for user-uploaded files (
/filesendpoints) (#377) - Initial, experimental "local processing" feature to use openEO Python Client Library functionality on local GeoTIFF/NetCDF files and also do the processing locally using the
openeo_processes_daskpackage (#338) - Add
BatchJob.get_results_metadata_url().
Changed
Connection.list_files()returns a list ofUserFileobjects instead of a list of metadata dictionaries. UseUserFile.metadatato get the original dictionary. (#377)DataCube.aggregate_spatial()returns aVectorCubenow, instead of aDataCube(#386). The (experimental)fit_class_random_forest()andfit_regr_random_forest()methods moved accordingly to theVectorCubeclass.- Improved documentation on
openeo.processesandProcessBuilder(#390). DataCube.create_job()andConnection.create_job()now require keyword arguments for all but the first argument for clarity. (#412).- Pass minimum log level to backend when retrieving batch job and secondary service logs. (Open-EO/openeo-api#485, Open-EO/openeo-python-driver#170)
Removed
- Dropped support for pre-1.0.0 versions of the openEO API (#134):
- Remove
ImageCollectionClientand related helpers (now unused leftovers from version 0.4.0 and earlier). (Also #100) - Drop support for pre-1.0.0 job result metadata
- Require at least version 1.0.0 of the openEO API for a back-end in
Connectionand all its methods.
- Remove
Fixed
- Reinstated old behavior of authentication related user files (e.g. refresh token store) on Windows: when
PrivateJsonFilemay be readable by others, just log a message instead of raisingPermissionError(387) VectorCube.create_job()andMlModel.create_job()are properly aligned withDataCube.create_job()regarding setting job title, description, etc. (#412).- More robust handling of billing currency/plans in capabilities (#414)
- Avoid blindly adding a
save_resultnode fromDataCube.execute_batch()when there is already one (#401)
openEO Python Client v0.15.0
Added
- The openeo Python client library can now also be installed with conda (conda-forge channel)
(#176) - Allow using a custom
requests.Sessioninopeneo.rest.auth.oidclogic
Changed
- Less verbose log printing on failed batch job #332
- Improve (UTC) timezone handling in
openeo.util.Rfc3339and addrfc3339.today()/rfc3339.utcnow().
openEO Python Client v0.14.1
Fixed
- Fine-tuned
XarrayDataCubetests for conda building and packaging (#176)
openEO Python Client v0.14.0
Added
- Jupyter integration: show process graph visualization of
DataCubeobjects instead of genericrepr. (#336) - Add
Connection.vectorcube_from_paths()to load a vector cube
from files (on back-end) or URLs withload_uploaded_filesprocess. - Python 3.10 and 3.11 are now officially supported
(test run now also for 3.10 and 3.11 in GitHub Actions, #346) - Support for simplified OIDC device code flow, (#335)
- Added MultiBackendJobManager, based on implementation from openeo-classification project
(#361) - Added resilience to MultiBackendJobManager for backend failures (#365)
Changed
execute_batchalso skips temporal502 Bad Gateway errors. #352
Fixed
- Fixed/improved math operator/process support for
DataCubes in "apply" mode (non-"band math"),
allowing expressions like10 * cube.log10()and~(cube == 0)
(#123) - Support
PrivateJsonFilepermissions properly on Windows, using oschmod library.
(#198) - Fixed some broken unit tests on Windows related to path (separator) handling.
(#350)
openEO Python client v0.13.0
Added
- Add
max_cloud_coverargument toload_collection()to simplify setting maximum cloud cover (propertyeo:cloud_cover) (#328)
Changed
- Improve default dimension metadata of a datacube created with
openeo.rest.datacube.DataCube.load_disk_collection DataCube.download(): only automatically addsave_resultnode when there is none yet.- Deprecation warnings: make sure they are shown by default and can be hidden when necessary.
- Rework and improve
openeo.UDFhelper class for UDF usage
(#312).- allow loading directly from local file or URL
- autodetect
runtimefrom file/URL suffix or source code - hide implementation details around
dataargument (e.g.data={"from_parameter": "x"}) - old usage patterns of
openeo.UDFandDataCube.apply_dimension()still work but trigger deprecation warnings
- Show warning when using
load_collectionproperty filters that are not defined in the collection metadata (summaries).
openEO Python client v0.12.1
openEO Python client v0.12.0
Added
- Allow passing raw JSON string, JSON file path or URL to
Connection.download(),
Connection.execute()andConnection.create_job() - Add support for reverse math operators on DataCube in
applymode (#323) - Add
DataCube.print_json()to simplify exporting process graphs in Jupyter or other interactive environments (#324) - Raise
DimensionAlreadyExistsExceptionwhen trying toadd_dimension()a dimension with existing name (Open-EO/openeo-geopyspark-driver#205)
Changed
DataCube.execute_batch()now also guesses the output format from the filename,
and allows usingformatargument next to the currentout_format
to align with theDataCube.download()method. (#240)- Better client-side handling of merged band name metadata in
DataCube.merge_cubes()