omfpandas.blockmodels.convert_blockmodel
OMF uses C-order, sorting by x, y, z, while PyVista uses Fortran-order, sorting by z, y, x. Our Pandas MultiIndex is sorted by x, y, z to align with OMF.
Functions
Convert regular block model to a DataFrame. |
|
Get the appropriate function to convert a DataFrame to a BlockModel. |
|
Requires the index to be a pd.MultiIndex with names ['x', 'y', 'z', 'dx', 'dy', 'dz']. |
|
Convert a DataFrame to a RegularBlockModel. |
|
Write a DataFrame to a BlockModel. |