GitHub source

evo.objects.typed.block_model_ref.RegularBlockModelData

Data for creating a regular block model.

This creates a new block model in the Block Model Service and a corresponding Geoscience Object reference.

Parameters:

Name Type Description Default
name str

The name of the block model.

required
origin Point3

The origin point (x, y, z) of the block model.

required
n_blocks Size3i

The number of blocks in each dimension (nx, ny, nz).

required
block_size Size3d

The size of each block (dx, dy, dz).

required
cell_data DataFrame | None

DataFrame with block data. Must contain (x, y, z) or (i, j, k) columns.

None
description str | None

Optional description.

None
coordinate_reference_system str | None

Coordinate reference system (e.g., "EPSG:28354").

None
size_unit_id str | None

Unit for block sizes (e.g., "m").

None
units dict[str, str]

Dictionary mapping column names to unit IDs.

dict()