Currently fault polygons are exported from RMS projects in the following way:
Specify the horizon names
Specify a folder, under the assumption this folder exists for each horizon
Loop through each horizon, and if that folder is there and not empty,
Create an xtgeo.Polygon from the RMS polygon
Create an ExportData instance for each file format being exported
Set the polygon fileformat
Export
Simplification
A possible one-liner export could instead look something like this:
for hname in HORIZON_NAMES:
for fmt in ("csv", "irap_ascii"):
export_fault_polygons(
project: Any,
folder=POLYGON_FOLDER,
vertical_domain="depth", # or "time"
fformat=fmt,
workflow="RMS Structural Model", # Can be set to something default instead?
# classification=, ? needed ?
# cfg=CFG, ? needed ?
)
Unanswered questions
Do we need to give the global variables config, or can it be inferred?
Currently fault polygons are exported from RMS projects in the following way:
xtgeo.Polygon
from the RMS polygonExportData
instance for each file format being exportedSimplification
A possible one-liner export could instead look something like this:
Unanswered questions
Tasks