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.

extent_kji_from_root

Returns kji extent as stored in xml.

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.