コード例 #1
0
 def iget_restart_sim_time(self, index):
     """
     Will locate restart block nr @index and return the true time
     as a datetime instance.
     """
     ct = CTime(self._iget_restart_time(index))
     return ct.datetime()
コード例 #2
0
 def iget_date(self, time_index):
     """
     Returns the simulation date for element nr @time_index.
     """
     long_time = self._iget_sim_time(time_index)
     ct = CTime(long_time)
     return ct.datetime()
コード例 #3
0
ファイル: ecl_file.py プロジェクト: OPM/ResInsight
 def iget_restart_sim_time( self , index ):
     """
     Will locate restart block nr @index and return the true time
     as a datetime instance.
     """
     ct = CTime(self._iget_restart_time( index ))
     return ct.datetime()
コード例 #4
0
ファイル: ecl_restart_file.py プロジェクト: bska/ResInsight
 def get_sim_date(self):
     ct = CTime( self._get_sim_time( ) )
     return ct.datetime( )
コード例 #5
0
ファイル: ecl_restart_file.py プロジェクト: OPM/ResInsight
 def get_sim_date(self):
     ct = CTime( self._get_sim_time( ) )
     return ct.datetime( )