mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
Implement comprehensive Python API for importing well log data into ResInsight well paths using lists of float values. Core implementation: - RigImportedWellLogData: Data storage class inheriting from RigWellLogData - RimImportedWellLog: Scriptable model class for Python GRPC interface - RimcWellPath_addWellLogInternal: GRPC method using key-value store for data transfer - well_path.add_well_log(): Python API with validation and error handling Features: - Simple API: well_path.add_well_log(name='LogName', values=[1.0, 2.0, 3.0]) - Comprehensive input validation and type checking - Efficient data transfer via key-value store mechanism - Proper error handling with cleanup on failure - Integration with existing well path functionality Testing: - 10 comprehensive unit tests covering all functionality - Validation of input types, error conditions, and edge cases - Integration testing with well path creation Usage example included in PythonExamples directory demonstrating import of gamma ray, porosity, and permeability log data.
65 lines
3.2 KiB
CMake
65 lines
3.2 KiB
CMake
set(SOURCE_GROUP_HEADER_FILES
|
|
${CMAKE_CURRENT_LIST_DIR}/RigAccWellFlowCalculator.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigEclipseWellLogExtractor.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigFishbonesGeometry.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigGeoMechWellLogExtractor.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigMswCenterLineCalculator.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigOsduWellLogData.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigPipeInCellEvaluator.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigSimulationWellCenterLineCalculator.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigSimulationWellCoordsAndMD.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigSimWellData.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellAllocationOverTime.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellDiskData.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogCurveData.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogExtractionTools.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogExtractor.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogIndexDepthOffset.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPath.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathFormations.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathGeometryExporter.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathGeometryTools.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathIntersectionTools.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellResultBranch.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellResultFrame.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellResultPoint.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellTargetMapping.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogData.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogLasFile.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogCsvFile.h
|
|
${CMAKE_CURRENT_LIST_DIR}/RigImportedWellLogData.h
|
|
)
|
|
|
|
set(SOURCE_GROUP_SOURCE_FILES
|
|
${CMAKE_CURRENT_LIST_DIR}/RigAccWellFlowCalculator.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigEclipseWellLogExtractor.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigFishbonesGeometry.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigGeoMechWellLogExtractor.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigMswCenterLineCalculator.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigOsduWellLogData.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigSimulationWellCenterLineCalculator.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigSimulationWellCoordsAndMD.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigSimWellData.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellAllocationOverTime.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellDiskData.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogCurveData.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogExtractor.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogIndexDepthOffset.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPath.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathFormations.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathGeometryExporter.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathGeometryTools.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellPathIntersectionTools.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellResultBranch.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellResultFrame.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellResultPoint.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellTargetMapping.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogData.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogLasFile.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigWellLogCsvFile.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RigImportedWellLogData.cpp
|
|
)
|
|
|
|
list(APPEND CODE_HEADER_FILES ${SOURCE_GROUP_HEADER_FILES})
|
|
list(APPEND CODE_SOURCE_FILES ${SOURCE_GROUP_SOURCE_FILES})
|