GitHub source

evo.objects.typed.regular_grid.Regular3DGrid

A GeoscienceObject representing a regular 3D grid.

The object contains a dataset for both the cells and the vertices of the grid.

Each of these datasets only contain attribute columns. The actual geometry of the grid is defined by the properties: origin, size, cell_size, and rotation.

attributes

attributes: 'Attributes'

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

vertex_attributes

vertex_attributes: 'Attributes'

The vertex attributes of this grid.

to_dataframe

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

Get a dataframe containing the cell attributes.

Parameters:

Name Type Description Default
keys str

Optional list of attribute keys to include. If not provided, all attributes are included.

()
fb IFeedback

Optional feedback object to report download progress.

NoFeedback

Returns:

Type Description
DataFrame

A DataFrame with cell attribute columns.