Python client API for OpenEO
Connection.download()
,
Connection.execute()
and Connection.create_job()
apply
mode (#323)DataCube.print_json()
to simplify exporting process graphs in Jupyter or other interactive environments (#324)DimensionAlreadyExistsException
when trying to add_dimension()
a dimension with existing name (Open-EO/openeo-geopyspark-driver#205)DataCube.execute_batch()
now also guesses the output format from the filename,
and allows using format
argument next to the current out_format
to align with the DataCube.download()
method. (#240)DataCube.merge_cubes()
aggregate_spatial
, mask_polygon
, ...is_valid
in count
in reduce_dimension
(#317)RESTJob
class name to less cryptic and more user-friendly BatchJob
.
Original RESTJob
is still available as deprecated alias.
(#280)DataCube.reduce_temporal_simple()
h5netcdf
engine from XarrayIO.from_netcdf_file()
and XarrayIO.to_netcdf_file()
(#314)Connection.describe_collection()
from name
to collection_id
to be more in line with other methods/functions.context
/condition
confusion bug with count
callback in DataCube.reduce_dimension()
(#317)context
parameter to DataCube.aggregate_spatial()
, DataCube.apply_dimension()
,
DataCube.apply_neighborhood()
, DataCube.apply()
, DataCube.merge_cubes()
.
(#291)DataCube.fit_regr_random_forest()
(#293)PGNode.update_arguments()
, which combined with DataCube.result_node()
allows to do advanced process graph argument tweaking/updating without using ._pg
hacks.JobResults.download_files()
: also download (by default) the job result metadata as STAC JSON file (#184)Connection
: try to automatically refresh access token when expired (#298)Connection.create_job
raises exception if response does not contain a valid job_idopeneo.udf.debug.inspect
for using the openEO inspect
process in a UDF (#302)openeo.util.to_bbox_dict()
to simplify building a openEO style bbox dictionary, e.g. from a list or shapely geometry (#304)zonal_statistics
method from old ImageCollectionClient
API. (#144)<
, >
, <=
and >=
) in callback process buildingConnection.describe_process()
to retrieve and show a single processDataCube.flatten_dimensions()
and DataCube.unflatten_dimension
(Open-EO/openeo-processes#308, Open-EO/openeo-processes#316)VectorCube.run_udf
(to avoid non-standard process_with_node(UDF(...))
usage)DataCube.fit_class_random_forest()
and Connection.load_ml_model()
to train and load Machine Learning models
(#279)DataCube.predict_random_forest()
to easily use reduce_dimension
with a predict_random_forest
reducer
using a MlModel
(trained with fit_class_random_forest
)DataCube.resample_cube_temporal
(#284)target_dimension
argument to DataCube.aggregate_spatial
(#288)context
argument to DataCube.chunk_polygon()
Connection.version_info()
to list version information about the client, the API and the back-endConnection.default_timeout
(when set) also on version discovery requestImageCollection
from DataCube
's class hierarchy.date_range_filter
and bbox_filter
from DataCube
.
(#100, #278)DataCube.send_job
in favor of DataCube.create_job
for better consistency (internally and with other libraries) (#276)openeo.processes
module to 1.2.0 release (2021-12-13) of openeo-processesopeneo.processes
module to draft version of 2022-03-16 (e4df8648) of openeo-processesopeneo.extra.spectral_indices
to a post-0.0.6 version of Awesome Spectral Indices
DataCube.polygonal_mean_timeseries()
, DataCube.polygonal_histogram_timeseries()
,
DataCube.polygonal_median_timeseries()
and DataCube.polygonal_standarddeviation_timeseries()
chunk_polygon
process (Open-EO/openeo-processes#287)spatial_extent
, temporal_extent
and bands
to Connection.load_result()
OPENEO_BASEMAP_URL
allows to set a new templated URL to a XYZ basemap for the Vue Components library, OPENEO_BASEMAP_ATTRIBUTION
allows to set the attribution for the basemap (#260)sum
or all
functions in callbacks (Forum #113)execute_batch/run_synchronous/start_and_wait
).options
argument to DataCube.atmospheric_correction
(Open-EO/openeo-python-driver#91)atmospheric_correction_options
and cloud_detection_options
arguments to DataCube.ard_surface_reflectance
(Open-EO/openeo-python-driver#91)openeo.extra.spectral_indices
: experimental API to easily compute spectral indices (vegetation, water, urban, ...) on a DataCube
, using the index definitions from Awesome Spectral Indices
DataCube.ard_surface_reflectance()
to use process ard_surface_reflectance
instead of atmospheric_correction
openeo-auth token-clear
to remove OIDC refresh token cacheDataCube.dimension_labels()
(EP-4008)Connection.load_result()
(EP-4008)fit_curve
and predict_curve
(#229)ProcessBuilder
: Add support for array_element(data, n)
through data[n]
syntax (#228)ProcessBuilder
: Add support for eq
and neq
through ==
and !=
operators (EP-4011)DataCube.validate()
for process graph validation (EP-4012 related)Connection.as_curl()
for generating curl command to evaluate a process graph or DataCube
from the command lineDataCube.download()
to guess output format from extension of a given filenamecrs
(and base
/height
) in filter_bbox
: avoid explicitly sending null
unnecessarily
(#233).filter_bbox
should be integer code, not string
(#233).ProcessGraphVisitException
from ProcessGraphVisitor.resolve_from_node()
(instead of generic ValueError
)DataCube.linear_scale_range
is now a shortcut for DataCube.apply(lambda x:x.x.linear_scale_range( input_min, input_max, output_min, output_max))
.Minor release to address version packaging issue.
array_modify
, array_create
array_concat
ProcessGraphUnflattener
and PGNodeGraphUnflattener
to unflatten a flat dict representation of a process
graph to a PGNode
graph (EP-3609)Connection.datacube_from_flat_graph
and Connection.datacube_from_json
to construct a DataCube
from flat process graph representation (e.g. JSON file or JSON URL) (EP-3609)fit_curve
and predict_curve
, two methods used in change detectionprocesses.py
based on 1.1.0 release op openeo-processes projectprocesses.py
: include all processes from "proposals" folder of openeo-processes projectaggregate_spatial
and mask_polygon
,
which is non-standard/experimental feature, only supported by specific back-ends
(#204)optional
argument to Parameter
and fix re-encoding parameters with default value. (EP-3846)ComparableVersion
Service
for secondary web-servicesservice
to Connection
Rfc3339.parse_date
and Rfc3339.parse_date_or_datetime
POST /result
requests.
This improves error information where POST /result
would involve a redirect. (EP-3889)JobLogEntry
got replaced with a more complete and re-usable LogEntry
dictService
class instead of a dict: tiled_viewing_service
in ImageCollection
, ImageCollectionClient
and DataCube
, create_service
in Connection
remove_service
in Connection
has been deprecated in favor of delete_service
in the Service
class