Skip to content

Commit bb4b368

Browse files
committed
Make it more clear that chunk_polygon is deprecated
just point to apply_polygon from docs
1 parent a239fe5 commit bb4b368

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

openeo/rest/datacube.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,19 +1453,7 @@ def chunk_polygon(
14531453
mask_value: float = None,
14541454
context: Optional[dict] = None,
14551455
) -> DataCube:
1456-
"""
1457-
Apply a process to spatial chunks of a data cube.
1458-
1459-
.. warning:: experimental process: not generally supported, API subject to change.
1460-
1461-
:param chunks: Polygons, provided as a shapely geometry, a GeoJSON-style dictionary,
1462-
a public GeoJSON URL, or a path (that is valid for the back-end) to a GeoJSON file.
1463-
:param process: "child callback" function, see :ref:`callbackfunctions`
1464-
:param mask_value: The value used for cells outside the polygon.
1465-
This provides a distinction between NoData cells within the polygon (due to e.g. clouds)
1466-
and masked cells outside it. If no value is provided, NoData cells are used outside the polygon.
1467-
:param context: Additional data to be passed to the process.
1468-
"""
1456+
""""""
14691457
process = build_child_callback(process, parent_parameters=["data"], connection=self.connection)
14701458
valid_geojson_types = [
14711459
"Polygon",

0 commit comments

Comments
 (0)