mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 06:38:13 -05:00
#14484 Orion Events: parse and apply data filter
Add a typed FILTER declaration to the ORIONEVENTS 2.0 grammar, e.g. FILTER POROPERM = "PORO > 0.4 AND PERMX > 100.0". A PERFORATION event references it with FILTER=POROPERM or supplies an inline quoted expression. When applied, each used filter is materialized as a case-level combined data filter (one property filter per term, one-sided inclusive bounds, AND/OR combine mode) and attached to the perforation. Unqualified result names are searched in STATIC_NATIVE, DYNAMIC_NATIVE then GENERATED results; a TYPE. qualifier restricts the search. Missing results raise before any event is applied. apply_orion_document gains an optional case= parameter defaulting to the project's first case. RimWellEventPerf carries a RimCellFilter ptr-field with scriptable AddFilter/cell_filter methods, and the filter is copied onto the RimPerforationInterval when the timeline materializes completions.
This commit is contained in:
1 parent
c9d118f2de
commit
a95c3f7ab9
9 files changed
+1059
-63
No files matched your search
@@ -42,6 +42,7 @@ set(SOURCE_GROUP_SOURCE_FILES
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimcWellPathCompletionSettings.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimcWellPathValve.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimcWellEventTimeline.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimcWellEventPerf.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimcColorLegend.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimcNestedCollectionBase.cpp
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user