You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_spatial_extent_description="""Limits the data to process to the specified bounding box or polygons.
283
-
284
-
For raster data, the process loads the pixel into the data cube if the point at the pixel center intersects with the bounding box or any of the polygons (as defined in the Simple Features standard by the OGC).
285
-
For vector data, the process loads the geometry into the data cube if the geometry is fully within the bounding box or any of the polygons (as defined in the Simple Features standard by the OGC). Empty geometries may only be in the data cube if no spatial extent has been provided.
286
-
287
-
Empty geometries are ignored.
288
-
Set this parameter to null to set no limit for the spatial extent. """
289
-
290
283
@classmethod
291
284
defspatial_extent(
292
285
cls,
293
286
name: str="spatial_extent",
294
-
description: str=_spatial_extent_description,
287
+
description: Optional[str]=None,
295
288
**kwargs,
296
289
) ->Parameter:
297
290
"""
298
-
Helper to easily create a 'spatial_extent' parameter, which is compatible with the 'load_collection' argument of
291
+
Helper to easily create a 'spatial_extent' parameter, which is compatible with the ``load_collection`` argument of
299
292
the same name. This allows to conveniently create user-defined processes that can be applied to a bounding box and vector data
300
293
for spatial filtering. It is also possible for users to set to null, and define spatial filtering using other processes.
301
294
@@ -307,6 +300,26 @@ def spatial_extent(
307
300
308
301
.. versionadded:: 0.32.0
309
302
"""
303
+
ifdescriptionisNone:
304
+
description=textwrap.dedent(
305
+
"""
306
+
Limits the data to process to the specified bounding box or polygons.
307
+
308
+
For raster data, the process loads the pixel into the data cube if the point
309
+
at the pixel center intersects with the bounding box or any of the polygons
310
+
(as defined in the Simple Features standard by the OGC).
311
+
312
+
For vector data, the process loads the geometry into the data cube if the geometry
313
+
is fully within the bounding box or any of the polygons (as defined in the
314
+
Simple Features standard by the OGC). Empty geometries may only be in the
315
+
data cube if no spatial extent has been provided.
316
+
317
+
Empty geometries are ignored.
318
+
319
+
Set this parameter to null to set no limit for the spatial extent.
0 commit comments