resqpy.derived_modelΒΆ

Creating a derived resqml model from an existing one; mostly grid manipulations.

Functions

add_edges_per_column_property_array

Adds an edges per column grid property from a numpy array to an existing resqml dataset.

add_faults

Extends epc file with a new grid which is a version of the source grid with new curtain fault(s) added.

add_one_blocked_well_property

Adds a blocked well property from a numpy array to an existing resqml dataset.

add_one_grid_property_array

Adds a grid property from a numpy array to an existing resqml dataset.

add_single_cell_grid

Creates a model with a single cell IJK Grid, with a cuboid cell aligned with x,y,z axes, enclosing points.

add_wells_from_ascii_file

Adds new md datum, trajectory, interpretation and feature objects for each well in a tabular ascii file..

add_zone_by_layer_property

Adds a discrete zone property (and local property kind) with indexable element of layers.

coarsened_grid

Generates a coarsened version of an unsplit source grid, optionally inheriting properties.

copy_grid

Creates a copy of the IJK grid object in the target model (usually prior to modifying points in situ).

drape_to_surface

Return a new grid with geometry draped to a surface.

extract_box

Extends an existing model with a new grid extracted as a logical IJK box from the source grid.

extract_box_for_well

Extends an existing model with a new grid extracted as an IJK box around a well trajectory in the source grid.

fault_throw_scaling

Extends epc with a new grid with fault throws multiplied by scaling factors.

gather_ensemble

Creates a composite resqml dataset by merging all parts from all models in list, assigning realization numbers.

global_fault_throw_scaling

Rewrites epc with a new grid with all the fault throws multiplied by the same scaling factor.

interpolated_grid

Extends an existing model with a new grid geometry linearly interpolated between the two source_grids.

local_depth_adjustment

Applies a local depth adjustment to the grid, adding as a new grid part in the model.

refined_grid

Generates a refined version of the source grid, optionally inheriting properties.

single_layer_grid

Extends an existing model with a new version of the source grid converted to a single, thick, layer.

tilted_grid

Extends epc file with a new grid which is a version of the source grid tilted.

unsplit_grid

Extends epc file with a new grid which is a version of the source grid with all faults healed.

zonal_grid

Extends an existing model with a new version of the source grid converted to a single, thick, layer per zone.

zone_layer_ranges_from_array

Returns a list of (zone_min_k0, zone_max_k0, zone_index) derived from zone_array.