-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Milestone
Description
ResInsight requires PERMX, PERMY and PERMZ imported for completion (COMPDAT) computation. However, in many cases, permeability is not imported with exactly this name i.e. KLOGH, PERM, etc.
In other cases, we often assumed that PERMX and PERMY are the same, so there is only 1 file to be imported.
It will be great if ResInsight can set property name when importing. Propose API on the last line.
For example:
import os
import rips
resinsight = rips.Instance.find()
# Get the .roff case
roff_case_path = os.path.join(
test_models_path, "reek/reek_box_grid_w_out_props.roffasc"
)
roff_case = resinsight.project.load_case(roff_case_path)
# Import properties with file paths
poro_property_path = os.path.join(
test_models_path, "reek/reek_box_PORO_property.roffasc"
)
eqlnum_property_path = os.path.join(
test_models_path, "reek/reek_box_EQLNUM_property.roffasc"
)
roff_case.import_properties(file_names=[poro_property_path, eqlnum_property_path])
# Propose API
roff_case.import_properties_with_name({
"PERMX": "reek/reek_box_PERM_property.roff",
"PERMY": "reek/reek_box_PERM_property.roff"
})Metadata
Metadata
Assignees
Labels
No labels