omfpandas.blockmodel

Functions

attribute_to_series

blockmodel_to_df

Convert block model to a DataFrame.

blockmodel_to_parquet

Convert blockmodel to a Parquet file.

create_index

Returns a pd.MultiIndex for the blockmodel element.

df_to_blockmodel

Write a DataFrame to a BlockModel.

index_to_geometry

Convert a MultiIndex to a VolumeGridGeometry.

read_blockmodel_attributes

Read the attributes/variables from the BlockModel.

series_to_attribute

Classes

TensorGeometry(origin, axis_u, axis_v, ...)

A dataclass to represent the geometry of a tensor grid block model.