예제 #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
 def get_sim_date(self):
     ct = CTime( self._get_sim_time( ) )
     return ct.datetime( )
예제 #5
0
 def get_sim_date(self):
     ct = CTime( self._get_sim_time( ) )
     return ct.datetime( )