Module array_ops

Source
Expand description

Array manipulation operations for raster processing. Array manipulation operations for raster processing.

This module provides functions for slicing, trimming, and transforming multidimensional arrays used in raster data processing.

Functionsยง

argmax
Returns the index of the maximum value in a slice.
array2_to_nested_vec ๐Ÿ”’
create_clustered_array
Creates an array with clustered values (for testing).
fill_nodata_simple
Fills no-data values in a 3D array using simple neighbor propagation.
rect_view
Extracts a rectangular view from a 2D array.
trimm_array3
Trims the overlap border from a 3D array.
trimm_array4
Trims the overlap border from a 4D array. The memory layout of the output is not guaranteed.
trimm_array3_asymmetric
Trims the overlap border from a 3D array using asymmetric overlap.
trimm_array4_owned
Trims the overlap border from a 4D array, returning an owned array with standard layout.
write_csv_array
Writes a 2D vector to a CSV file.