resqpy.rq_import.import_vdb_all_grids¶
- resqpy.rq_import.import_vdb_all_grids(resqml_file_root, extent_ijk=None, vdb_file=None, vdb_case=None, corp_xy_units='m', corp_z_units='m', corp_z_inc_down=True, ijk_handedness='right', geometry_defined_everywhere=True, treat_as_nan=None, resqml_xy_units='m', resqml_z_units='m', resqml_z_inc_down=True, shift_to_local=False, local_origin_place='centre', max_z_void=0.1, split_pillars=True, split_tolerance=0.01, vdb_static_properties=True, vdb_recurrent_properties=False, decoarsen=True, timestep_selection='all', create_property_set=False, vdb_property_list=None)¶
Creates a RESQML dataset containing grids and grid properties, including LGRs, for a single realisation.
- Parameters
resqml_file_root (-) – output path and file name without .epc or .h5 extension
extent_ijk (-) – ijk extents (fortran ordering)
vdb_file (-) – vdb input file, either this or corp_file should be not None; required if importing from a vdb
vdb_case (-) – required if the vdb contains more than one case; if None, first case in vdb is used
corp_xy_units (-) – xy length units
corp_z_units (-) – z length units
corp_z_inc_down (-) – if True z values increase with depth
ijk_handedness (-) – ‘right’ or ‘left’
geometry_defined_everywhere (-) – if False then inactive cells are marked as not having geometry
treat_as_nan (-) – if a value is provided corner points with this value will be assigned nan (not-a-number)
resqml_xy_units (-) – output xy units for resqml file
resqml_z_units (-) – output z units for resqml file
resqml_z_inc_down (-) – if True z values increase with depth in output resqml file
shift_to_local (-) – if True then a local origin will be used in the CRS
local_origin_place (-) – ‘centre’ or ‘minimum’; if ‘centre’ the local origin is placed at the centre of the grid; ignored if shift_to_local is False
max_z_void (-) – maximum z gap between vertically neighbouring corner points; vertical gaps greater than this will introduce k gaps into resqml grid; units are corp z units
split_pillars (-) – if False an unfaulted grid will be generated
split_tolerance (-) – maximum distance between neighbouring corner points before a pillar is considered ‘split’; applies to each of x, y, z differences
vdb_static_properties (-) – if True, static vdb properties are imported; only relevant if vdb_file is not None; see also vdb_property_list
vdb_recurrent_properties (-) – if True, recurrent vdb properties are imported; only relevant if vdb_file is not None; see also vdb_property_list
decoarsen (-) – where ICOARSE is present, redistribute data to uncoarse cells
timestep_selection (-) – ‘first’, ‘last’, ‘first and last’, ‘all’, or list of ints being reporting timestep numbers to include; ignored if vdb_recurrent_properties is False
create_property_set (-) – if True a resqml PropertySet is created
vdb_property_list (-) – list of vdb static and/or recurrent properties to include in the import; if None, all properties are imported; vdb_static_properties and vdb_recurrent_properties boolean arguments must also be set True for respective properties to be included; ignored if not importing from vdb