@@ -2867,8 +2867,7 @@ def aggregate_spatial(data, geometries, reducer, target_dimension=UNSET, context
2867
2867
aggregated values (i.e. no-data). The spatial dimensions are replaced by a dimension of type 'geometries'
2868
2868
and if `target_dimension` is not `null`, a new dimension is added.
2869
2869
"""
2870
- return _process (
2871
- "aggregate_spatial" ,
2870
+ return _process ('aggregate_spatial' ,
2872
2871
data = data ,
2873
2872
geometries = geometries ,
2874
2873
reducer = build_child_callback (reducer , parent_parameters = ['data' , 'context' ]),
@@ -2904,8 +2903,7 @@ def aggregate_spatial_window(data, reducer, size, boundary=UNSET, align=UNSET, c
2904
2903
labels will be set to the coordinate at the center of the window. The other dimension properties (name,
2905
2904
type and reference system) remain unchanged.
2906
2905
"""
2907
- return _process (
2908
- "aggregate_spatial_window" ,
2906
+ return _process ('aggregate_spatial_window' ,
2909
2907
data = data ,
2910
2908
reducer = build_child_callback (reducer , parent_parameters = ['data' , 'context' ]),
2911
2909
size = size ,
@@ -2944,8 +2942,7 @@ def aggregate_temporal(data, intervals, reducer, labels=UNSET, dimension=UNSET,
2944
2942
system and resolution) remain unchanged, except for the resolution and dimension labels of the given
2945
2943
temporal dimension.
2946
2944
"""
2947
- return _process (
2948
- "aggregate_temporal" ,
2945
+ return _process ('aggregate_temporal' ,
2949
2946
data = data ,
2950
2947
intervals = intervals ,
2951
2948
reducer = build_child_callback (reducer , parent_parameters = ['data' , 'context' ]),
@@ -2999,8 +2996,7 @@ def aggregate_temporal_period(data, period, reducer, dimension=UNSET, context=UN
2999
2996
the source data cube has just one dimension label `2020-01-05`, the process returns a data cube with just a
3000
2997
single dimension label (`2020-005`).
3001
2998
"""
3002
- return _process (
3003
- "aggregate_temporal_period" ,
2999
+ return _process ('aggregate_temporal_period' ,
3004
3000
data = data ,
3005
3001
period = period ,
3006
3002
reducer = build_child_callback (reducer , parent_parameters = ['data' , 'context' ]),
@@ -3141,8 +3137,7 @@ def apply_dimension(data, process, dimension, target_dimension=UNSET, context=UN
3141
3137
incrementing integers starting from zero, - the resolution changes, and - the reference system is
3142
3138
undefined.
3143
3139
"""
3144
- return _process (
3145
- "apply_dimension" ,
3140
+ return _process ('apply_dimension' ,
3146
3141
data = data ,
3147
3142
process = build_child_callback (process , parent_parameters = ['data' , 'context' ]),
3148
3143
dimension = dimension ,
@@ -3200,8 +3195,7 @@ def apply_neighborhood(data, process, size, overlap=UNSET, context=UNSET) -> Pro
3200
3195
:return: A raster data cube with the newly computed values and the same dimensions. The dimension
3201
3196
properties (name, type, labels, reference system and resolution) remain unchanged.
3202
3197
"""
3203
- return _process (
3204
- "apply_neighborhood" ,
3198
+ return _process ('apply_neighborhood' ,
3205
3199
data = data ,
3206
3200
process = build_child_callback (process , parent_parameters = ['data' , 'context' ]),
3207
3201
size = size ,
@@ -3230,8 +3224,7 @@ def apply_polygon(data, polygons, process, mask_value=UNSET, context=UNSET) -> P
3230
3224
:return: A data cube with the newly computed values and the same dimensions. The dimension properties
3231
3225
(name, type, labels, reference system and resolution) remain unchanged.
3232
3226
"""
3233
- return _process (
3234
- "apply_polygon" ,
3227
+ return _process ('apply_polygon' ,
3235
3228
data = data ,
3236
3229
polygons = polygons ,
3237
3230
process = build_child_callback (process , parent_parameters = ['data' , 'context' ]),
@@ -3325,8 +3318,7 @@ def ard_normalized_radar_backscatter(data, elevation_model=UNSET, contributing_a
3325
3318
DEM-based local incidence angles in degrees. The data returned is CARD4L compliant with corresponding
3326
3319
metadata.
3327
3320
"""
3328
- return _process (
3329
- "ard_normalized_radar_backscatter" ,
3321
+ return _process ('ard_normalized_radar_backscatter' ,
3330
3322
data = data ,
3331
3323
elevation_model = elevation_model ,
3332
3324
contributing_area = contributing_area ,
@@ -3381,8 +3373,7 @@ def ard_surface_reflectance(data, atmospheric_correction_method, cloud_detection
3381
3373
(optional): Contains coefficients used for terrain illumination correction are provided for each pixel.
3382
3374
The data returned is CARD4L compliant with corresponding metadata.
3383
3375
"""
3384
- return _process (
3385
- "ard_surface_reflectance" ,
3376
+ return _process ('ard_surface_reflectance' ,
3386
3377
data = data ,
3387
3378
atmospheric_correction_method = atmospheric_correction_method ,
3388
3379
cloud_detection_method = cloud_detection_method ,
@@ -3422,8 +3413,7 @@ def array_apply(data, process, context=UNSET) -> ProcessBuilder:
3422
3413
:return: An array with the newly computed values. The number of elements are the same as for the original
3423
3414
array.
3424
3415
"""
3425
- return _process (
3426
- "array_apply" ,
3416
+ return _process ('array_apply' ,
3427
3417
data = data ,
3428
3418
process = build_child_callback (process , parent_parameters = ['x' , 'index' , 'label' , 'context' ]),
3429
3419
context = context
@@ -3513,8 +3503,7 @@ def array_filter(data, condition, context=UNSET) -> ProcessBuilder:
3513
3503
:return: An array filtered by the specified condition. The number of elements are less than or equal
3514
3504
compared to the original array.
3515
3505
"""
3516
- return _process (
3517
- "array_filter" ,
3506
+ return _process ('array_filter' ,
3518
3507
data = data ,
3519
3508
condition = build_child_callback (condition , parent_parameters = ['x' , 'index' , 'label' , 'context' ]),
3520
3509
context = context
@@ -4067,8 +4056,7 @@ def filter_labels(data, condition, dimension, context=UNSET) -> ProcessBuilder:
4067
4056
system and resolution) remain unchanged, except that the given dimension has less (or the same) dimension
4068
4057
labels.
4069
4058
"""
4070
- return _process (
4071
- "filter_labels" ,
4059
+ return _process ('filter_labels' ,
4072
4060
data = data ,
4073
4061
condition = build_child_callback (condition , parent_parameters = ['value' , 'context' ]),
4074
4062
dimension = dimension ,
@@ -4168,8 +4156,7 @@ def fit_curve(data, parameters, function, ignore_nodata=UNSET) -> ProcessBuilder
4168
4156
4169
4157
:return: An array with the optimal values for the parameters.
4170
4158
"""
4171
- return _process (
4172
- "fit_curve" ,
4159
+ return _process ('fit_curve' ,
4173
4160
data = data ,
4174
4161
parameters = parameters ,
4175
4162
function = build_child_callback (function , parent_parameters = ['x' , 'parameters' ]),
@@ -4717,8 +4704,7 @@ def merge_cubes(cube1, cube2, overlap_resolver=UNSET, context=UNSET) -> ProcessB
4717
4704
:return: The merged data cube. See the process description for details regarding the dimensions and
4718
4705
dimension properties (name, type, labels, reference system and resolution).
4719
4706
"""
4720
- return _process (
4721
- "merge_cubes" ,
4707
+ return _process ('merge_cubes' ,
4722
4708
cube1 = cube1 ,
4723
4709
cube2 = cube2 ,
4724
4710
overlap_resolver = (build_child_callback (overlap_resolver , parent_parameters = ['x' , 'y' , 'context' ]) if overlap_resolver not in [None , UNSET ] else overlap_resolver ),
@@ -4917,8 +4903,7 @@ def predict_curve(parameters, function, dimension, labels=UNSET) -> ProcessBuild
4917
4903
:return: A data cube with the predicted values with the provided dimension `dimension` having as many
4918
4904
labels as provided through `labels`.
4919
4905
"""
4920
- return _process (
4921
- "predict_curve" ,
4906
+ return _process ('predict_curve' ,
4922
4907
parameters = parameters ,
4923
4908
function = build_child_callback (function , parent_parameters = ['x' , 'parameters' ]),
4924
4909
dimension = dimension ,
@@ -5009,8 +4994,7 @@ def reduce_dimension(data, reducer, dimension, context=UNSET) -> ProcessBuilder:
5009
4994
dimensions decreases by one. The dimension properties (name, type, labels, reference system and resolution)
5010
4995
for all other dimensions remain unchanged.
5011
4996
"""
5012
- return _process (
5013
- "reduce_dimension" ,
4997
+ return _process ('reduce_dimension' ,
5014
4998
data = data ,
5015
4999
reducer = build_child_callback (reducer , parent_parameters = ['data' , 'context' ]),
5016
5000
dimension = dimension ,
@@ -5241,8 +5225,7 @@ def sar_backscatter(data, coefficient=UNSET, elevation_model=UNSET, mask=UNSET,
5241
5225
:return: Backscatter values corresponding to the chosen parametrization. The values are given in linear
5242
5226
scale.
5243
5227
"""
5244
- return _process (
5245
- "sar_backscatter" ,
5228
+ return _process ('sar_backscatter' ,
5246
5229
data = data ,
5247
5230
coefficient = coefficient ,
5248
5231
elevation_model = elevation_model ,
0 commit comments