Openeo

Latest version: v0.36.0

Safety actively analyzes 688238 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 11

0.30.0

Added

- Add `openeo.udf.run_code.extract_udf_dependencies()` to extract UDF dependency declarations from UDF code
(related to [Open-EO/openeo-geopyspark-driver237](https://github.com/Open-EO/openeo-geopyspark-driver/issues/237))
- Document PEP 723 based Python UDF dependency declarations ([Open-EO/openeo-geopyspark-driver237](https://github.com/Open-EO/openeo-geopyspark-driver/issues/237))
- Added more `openeo.api.process.Parameter` helpers to easily create "bounding_box", "date", "datetime", "geojson" and "temporal_interval" parameters for UDP construction.
- Added convenience method `Connection.load_stac_from_job(job)` to easily load the results of a batch job with the `load_stac` process ([566](https://github.com/Open-EO/openeo-python-client/issues/566))
- `load_stac`/`metadata_from_stac`: add support for extracting band info from "item_assets" in collection metadata ([573](https://github.com/Open-EO/openeo-python-client/issues/573))
- Added initial `openeo.testing` submodule for reusable test utilities

Fixed

- Initial fix for broken `DataCube.reduce_temporal()` after `load_stac` ([568](https://github.com/Open-EO/openeo-python-client/pull/568))

0.29.0

Added

- Start depending on `pystac`, initially for better `load_stac` support ([133](https://github.com/Open-EO/openeo-python-client/issues/133), [#527](https://github.com/Open-EO/openeo-python-client/issues/527))

Changed

- OIDC device code flow: hide progress bar on completed (or timed out) authentication

0.28.0

Added

- Introduced superclass `CubeMetadata` for `CollectionMetadata` for essential metadata handling (just dimensions for now) without collection-specific STAC metadata parsing. ([464](https://github.com/Open-EO/openeo-python-client/issues/464))
- Added `VectorCube.vector_to_raster()` ([550](https://github.com/Open-EO/openeo-python-client/issues/550))

Changed

- Changed default `chunk_size` of various `download` functions from None to 10MB. This improves the handling of large downloads and reduces memory usage. ([528](https://github.com/Open-EO/openeo-python-client/issues/528))
- `Connection.execute()` and `DataCube.execute()` now have a `auto_decode` argument. If set to True (default) the response will be decoded as a JSON and throw an exception if this fails, if set to False the raw `requests.Response` object will be returned. ([499](https://github.com/Open-EO/openeo-python-client/issues/499))

Fixed

- Preserve geo-referenced `x` and `y` coordinates in `execute_local_udf` ([549](https://github.com/Open-EO/openeo-python-client/issues/549))

0.27.0

Added

- Add `DataCube.filter_labels()`

Changed

- Update autogenerated functions/methods in `openeo.processes` to definitions from openeo-processes project version 2.0.0-rc1.
This removes `create_raster_cube`, `fit_class_random_forest`, `fit_regr_random_forest` and `save_ml_model`.
Although removed from openeo-processes 2.0.0-rc1, support for `load_result`, `predict_random_forest` and `load_ml_model`
is preserved but deprecated. ([424](https://github.com/Open-EO/openeo-python-client/issues/424))
- Show more informative error message on `403 Forbidden` errors from CDSE firewall ([512](https://github.com/Open-EO/openeo-python-client/issues/512))
- Handle API error responses more strict and avoid hiding possibly important information in JSON-formatted but non-compliant error responses.

Fixed

- Fix band name support in `DataCube.band()` when no metadata is available ([515](https://github.com/Open-EO/openeo-python-client/issues/515))
- Support optional child callbacks in generated `openeo.processes`, e.g. `merge_cubes` ([522](https://github.com/Open-EO/openeo-python-client/issues/522))
- Fix broken pre-flight validation in `Connection.save_user_defined_process` ([526](https://github.com/Open-EO/openeo-python-client/issues/526))

0.26.0

Added

- Support new UDF signature: `def apply_datacube(cube: DataArray, context: dict) -> DataArray`
([310](https://github.com/Open-EO/openeo-python-client/issues/310))
- Add `collection_property()` helper to easily build collection metadata property filters for `Connection.load_collection()`
([331](https://github.com/Open-EO/openeo-python-client/pull/331))
- Add `DataCube.apply_polygon()` (standardized version of experimental `chunk_polygon`) ([424](https://github.com/Open-EO/openeo-python-client/issues/424))
- Various improvements to band mapping with the Awesome Spectral Indices feature.
Allow explicitly specifying the satellite platform for band name mapping (e.g. "Sentinel2" or "LANDSAT8") if cube metadata lacks info.
Follow the official band mapping from Awesome Spectral Indices better.
Allow manually specifying the desired band mapping.
([485](https://github.com/Open-EO/openeo-python-client/issues/485), [#501](https://github.com/Open-EO/openeo-python-client/issues/501))
- Also attempt to automatically refresh OIDC access token on a `401 TokenInvalid` response (in addition to `403 TokenInvalid`) ([508](https://github.com/Open-EO/openeo-python-client/issues/508))
- Add `Parameter.object()` factory for `object` type parameters

Removed

- Remove custom spectral indices "NDGI", "NDMI" and "S2WI" from "extra-indices-dict.json"
that were shadowing the official definitions from Awesome Spectral Indices ([501](https://github.com/Open-EO/openeo-python-client/issues/501))

Fixed

- Initial support for "spectral indices" that use constants defined by Awesome Spectral Indices ([501](https://github.com/Open-EO/openeo-python-client/issues/501))

0.25.0

Changed

- Introduce `OpenEoApiPlainError` for API error responses that are not well-formed
for better distinction with properly formed API error responses (`OpenEoApiError`).
([491](https://github.com/Open-EO/openeo-python-client/issues/491)).

Fixed

- Fix missing `validate` support in `LocalConnection.execute` ([493](https://github.com/Open-EO/openeo-python-client/pull/493))

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.