resqpy.gridΒΆ

The Grid Module

Classes

Grid

Class for RESQML Grid (extent and geometry) within RESQML model object.

RegularGrid

Class for completely regular block grids, usually aligned with xyz axes.

Functions

any_grid

Returns a Grid or RegularGrid or UnstructuredGrid object depending on the extra metadata in the xml.

establish_zone_property_kind

MOVED: Returns zone local property kind object, creating the xml and adding as part if not found in model.

extract_grid_parent

Returns the uuid of the parent grid for the supplied grid

find_cell_for_x_sect_xz

Returns the (k0, j0) or (k0, i0) indices of the cell containing point x,z in the cross section.

grid_flavour

Returns a string indicating type of grid geometry, currently 'IjkGrid' or 'IjkBlockGrid'.

is_regular_grid

Returns True if the xml root node is for a RegularGrid.