mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python doc : Add doc directly in client code for export flow characteristics
This commit is contained in:
parent
89883c8606
commit
35b596a53c
@ -263,6 +263,19 @@ class Commands:
|
|||||||
return self.__execute(createSaturationPressurePlots=Cmd.CreateSatPressPlotRequest(caseIds=caseIds))
|
return self.__execute(createSaturationPressurePlots=Cmd.CreateSatPressPlotRequest(caseIds=caseIds))
|
||||||
|
|
||||||
def exportFlowCharacteristics(self, caseId, timeSteps, injectors, producers, fileName, minimumCommunication=0.0, aquiferCellThreshold=0.1):
|
def exportFlowCharacteristics(self, caseId, timeSteps, injectors, producers, fileName, minimumCommunication=0.0, aquiferCellThreshold=0.1):
|
||||||
|
""" Export Flow Characteristics data to text file in CSV format
|
||||||
|
|
||||||
|
Parameter | Description | Type
|
||||||
|
------------------------- | --------------------------------------------- | -----
|
||||||
|
caseId | ID of case | Integer
|
||||||
|
timeSteps | Time step indices | List of Integer
|
||||||
|
injectors | Injector names | List of Strings
|
||||||
|
producers | Producer names | List of Strings
|
||||||
|
fileName | Export file name | Integer
|
||||||
|
minimumCommunication | Minimum Communication, defaults to 0.0 | Integer
|
||||||
|
aquiferCellThreshold | Aquifer Cell Threshold, defaults to 0.1 | Integer
|
||||||
|
|
||||||
|
"""
|
||||||
if isinstance(timeSteps, int):
|
if isinstance(timeSteps, int):
|
||||||
timeSteps = [timeSteps]
|
timeSteps = [timeSteps]
|
||||||
if isinstance(injectors, str):
|
if isinstance(injectors, str):
|
||||||
|
Loading…
Reference in New Issue
Block a user