regrid_from_weights#
- named_arrays.regridding.regrid_from_weights(weights, shape_input, shape_output, values_input)#
Regrid an array of values using weights computed by
weights().- Parameters:
weights (AbstractScalar) – Ragged array of weights computed by
weights().shape_input (dict[str, int]) – Broadcasted shape of the input coordinates computed by
weights().shape_output (dict[str, int]) – Broadcasted shape of the output coordinates computed by
weights().values_input (AbstractScalar | AbstractVectorArray) – Input array of values to be resampled.
- Return type: