resqpy.derived_model.copy_grid

resqpy.derived_model.copy_grid(source_grid, target_model=None, copy_crs=True)

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

Note

this function is not usually called directly by application code; it does not write to the hdf5 file nor create xml for the copied grid; the copy will be a resqpy Grid even if the source grid is a RegularGrid