def exportFlowCharacteristics(self, caseId, timeSteps, injectors, producers, fileName, minimumCommunication=0.0, aquiferCellThreshold=0.1): if isinstance(timeSteps, int): timeSteps = [timeSteps] if isinstance(injectors, str): injectors = [injectors] if isinstance(producers, str): producers = [producers] return self.__execute(exportFlowCharacteristics=Cmd.ExportFlowInfoRequest(caseId=caseId, timeSteps=timeSteps, injectors=injectors, producers=producers, fileName=fileName, minimumCommunication = minimumCommunication, aquiferCellThreshold = aquiferCellThreshold))
def export_flow_characteristics( self, time_steps, injectors, producers, file_name, minimum_communication=0.0, aquifer_cell_threshold=0.1, ): """Export Flow Characteristics data to text file in CSV format **Parameters**:: Parameter | Description | Type ------------------------- | --------------------------------------------- | ----- time_steps | Time step indices | List of Integer injectors | Injector names | List of Strings producers | Producer names | List of Strings file_name | Export file name | Integer minimum_communication | Minimum Communication, defaults to 0.0 | Integer aquifer_cell_threshold | Aquifer Cell Threshold, defaults to 0.1 | Integer """ if isinstance(time_steps, int): time_steps = [time_steps] if isinstance(injectors, str): injectors = [injectors] if isinstance(producers, str): producers = [producers] return self._execute_command( exportFlowCharacteristics=Cmd.ExportFlowInfoRequest( caseId=self.id, timeSteps=time_steps, injectors=injectors, producers=producers, fileName=file_name, minimumCommunication=minimum_communication, aquiferCellThreshold=aquifer_cell_threshold, ))