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