Skip to main content

Tensor3DGrid

GitHub source

Tensor3DGrid

evo.objects.typed.tensor_grid.Tensor3DGrid

A GeoscienceObject representing a tensor 3D grid.

A tensor grid is a 3D grid where cells may have different sizes. The grid is defined by an origin, the number of cells in each direction, and arrays of cell sizes along each axis. The grid contains datasets for both cells and vertices.

attributes

attributes: 'Attributes'

The cell attributes of this grid (alias for cells.attributes).

vertex_attributes

vertex_attributes: 'Attributes'

The vertex attributes of this grid.

compute_bounding_box

compute_bounding_box() -> BoundingBox

Compute the bounding box from the grid properties.

to_dataframe

to_dataframe(*keys: str, fb: IFeedback = NoFeedback) -> pd.DataFrame

Get a dataframe containing the cell attributes.

Parameters:

NameTypeDescriptionDefault
keysstrOptional list of attribute keys to include. If not provided, all attributes are included.()
fbIFeedbackOptional feedback object to report download progress.NoFeedback

Returns:

TypeDescription
DataFrameA DataFrame with cell attribute columns.

What is the reason for your feedback?